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.

admin post boady?

2 posters

Go down

Solved admin post boady?

Post by njaguar February 3rd 2012, 4:52 pm

how to make it diffent color?
njaguar
njaguar
Forumember

Male Posts : 113
Reputation : 1
Language : English
Location : United Kingdom

http://d4jsp.forumotion.com/

Back to top Go down

Solved Re: admin post boady?

Post by xiaomah01 February 4th 2012, 9:16 am

Rideem3 wrote:Hi, go to Admin Panel -> Modules -> JavaScript Codes Management -> Make sure it's on -> Create new -> Title it whatever you want -> Select in the topics -> Paste:
Code:
$(function() {
var x = $('tr.post:contains("RANKORUSERNAMEHERE")');

if (x) {
$('tr.post:contains("RANKORUSERNAMEHERE") td').css('background-color','#000');
}
});

Replace "RANKORUSERNAMEHERE" with the special rank title of the user (for group post color) or the username (for individual colors). The rank title is the user's rank you gave. So I would think that on your forum the admin rank title would be Administrator unless that's changed.

Also replace #000 with whatever color you want the background to be Wink

Make sure the rank title or username is the exact spelling or it won't work Wink

Nick thumright
xiaomah01
xiaomah01
Forumember

Male Posts : 206
Reputation : 7
Language : English|Chinese|malay
Location : malaysia

http://johor.forumn.org/

Back to top Go down

Back to top

- Similar topics

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