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.

admin post boady?

View previous topic View next topic Go down

Solved admin post boady?

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

how to make it diffent color?

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 on 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
Forumember

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

http://johor.forumn.org/

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