The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Image Before Username Problem

4 posters

Go down

Image Before Username Problem Empty Image Before Username Problem

Post by soapface 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
Image Before Username Problem 35kops2

Here's the crown on user 4.
Image Before Username Problem A3kxhs

The crown works everywhere else except when he posts.
See:
Image Before Username Problem Jsd4yf

And

Image Before Username Problem 1563de9
avatar
soapface
Forumember

Male Posts : 50
Reputation : 0
Language : English

Back to top Go down

Image Before Username Problem Empty Re: Image Before Username Problem

Post by Mike 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
Mike
Hyperactive

Male Posts : 4255
Reputation : 471
Language : English, HTML, CSS
Location : Loveland, Colorado

Back to top Go down

Image Before Username Problem Empty Re: Image Before Username Problem

Post by soapface 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
avatar
soapface
Forumember

Male Posts : 50
Reputation : 0
Language : English

Back to top Go down

Image Before Username Problem Empty Re: Image Before Username Problem

Post by isnanz 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
isnanz
Forumember

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

https://help.forumotion.com

Back to top Go down

Image Before Username Problem Empty Re: Image Before Username Problem

Post by Shea 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" />');
    }
});
avatar
Shea
New Member

Posts : 5
Reputation : 1
Language : English

Back to top Go down

Back to top

- Similar topics

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