The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Image Before Username Problem

View previous topic View next topic Go down

Image Before Username Problem

Post by soapface on September 13th 2011, 12:34 am

I'm having problems with my image before my username.
This is the code I'm using:

Code:
#fo_stat a[href="/u4"], .activeusers-box p a[href="/u4"], #chatbox a[href="/u4"], #chatbox_members a[href="/u4"], table.ipbtable td a[href="/u4"], .postprofile strong, .module a[href="/u4"] {
        background: url("http://i52.tinypic.com/9gim2c.png") no-repeat scroll 0 0 transparent;
        padding-left: 18px;
        padding-top: 2px;
  }
    #fo_stat a[href="/u2"], .activeusers-box p a[href="/u2"], #chatbox a[href="/u2"], #chatbox_members a[href="/u2"], table.ipbtable td a[href="/u2"], .postprofile strong, .module a[href="/u2"] {
        background: url("http://i55.tinypic.com/2u9l6b6.jpg") no-repeat scroll 0 0 transparent;
        padding-left: 18px;
        padding-top: 2px;
  }

As you can see User 2 has the red crown and User 4 has a white and orange one.
But when I look at it, the red crown is on User 4.

Here's the crown on User 2


Here's the crown on user 4.


The crown works everywhere else except when he posts.
See:


And



soapface
Forumember

Male Posts : 50
Reputation : 0
Language : English

Back to top Go down

Re: Image Before Username Problem

Post by Mike on September 13th 2011, 2:32 am

Try this:

Code:
fo_stat a[href="/u4"], .activeusers-box p a[href="/u4"], #chatbox a[href="/u4"], #chatbox_members a[href="/u4"], table.ipbtable td a[href="/u4"], .postprofile strong, .module a[href="/u4"] {
        background: url('http://i52.tinypic.com/9gim2c.png') no-repeat scroll 0 0 transparent !important;
        padding-left: 18px;
        padding-top: 2px;
  }
    #fo_stat a[href="/u2"], .activeusers-box p a[href="/u2"], #chatbox a[href="/u2"], #chatbox_members a[href="/u2"], table.ipbtable td a[href="/u2"], .postprofile strong, .module a[href="/u2"] {
        background: url('http://i55.tinypic.com/2u9l6b6.jpg') no-repeat scroll 0 0 transparent !important;
        padding-left: 18px;
        padding-top: 2px;
  }

Mike
Hyperactive

Male Posts : 4242
Reputation : 466
Language : English, HTML, CSS
Location : Bozeman, Montana

Back to top Go down

Re: Image Before Username Problem

Post by soapface on September 13th 2011, 9:32 am

Drogba921 wrote:Try this:

Code:
fo_stat a[href="/u4"], .activeusers-box p a[href="/u4"], #chatbox a[href="/u4"], #chatbox_members a[href="/u4"], table.ipbtable td a[href="/u4"], .postprofile strong, .module a[href="/u4"] {
        background: url('http://i52.tinypic.com/9gim2c.png') no-repeat scroll 0 0 transparent !important;
        padding-left: 18px;
        padding-top: 2px;
  }
    #fo_stat a[href="/u2"], .activeusers-box p a[href="/u2"], #chatbox a[href="/u2"], #chatbox_members a[href="/u2"], table.ipbtable td a[href="/u2"], .postprofile strong, .module a[href="/u2"] {
        background: url('http://i55.tinypic.com/2u9l6b6.jpg') no-repeat scroll 0 0 transparent !important;
        padding-left: 18px;
        padding-top: 2px;
  }

Damn, that doesn't work. Sad

soapface
Forumember

Male Posts : 50
Reputation : 0
Language : English

Back to top Go down

Re: Image Before Username Problem

Post by isnanz on September 13th 2011, 5:48 pm

this is..

Code:
#chatbox_members a[href="/u1"] {
        background: url(http://i.imgur.com/TMANB.gif) no-repeat;
        padding-left: 17px;
    }
    #chatbox a[href="/u1"] {
        background: url(http://i.imgur.com/TMANB.gif) no-repeat;
        padding-left: 17px;
    }

isnanz
Forumember

Male Posts : 206
Reputation : 0
Language : Indonesian
Location : Indonesia

http://help.forumotion.com

Back to top Go down

Re: Image Before Username Problem

Post by Shea on September 14th 2011, 6:10 am

This is what i use.

Add a js page and enter this code:

Code:
/* Kruna ispred nicka administratora. By BubbleDreams 2011 -
AdminCentar.net . Nemoj uklanjati copyright! Don't remove copyright! */

$(function() {
if($('a[href="/u1"] span strong')){
$('a[href="/u1"] span strong').before('<img src="Imagehere" border="0" />');
}
});

Shea
New Member

Posts : 5
Reputation : 1
Language : English

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum