Topic: Staff post color changer

Is there a way to change the color of a post by a staff member, the background of the post.

Re: Staff post color changer

Moved to Modifications

Re: Staff post color changer

Can this even be done? =/

Re: Staff post color changer

You could probably make the users' group ID into a class for the post and add CSS rules accordingly. If you need help doing that, just ask.

Looking for a certain modification for your forum? Please take a look here before posting.

Re: Staff post color changer

Yeah I really need the help. Please and Thank you =]]

Re: Staff post color changer

In viewtopic.php, change

<div id="p<?php echo $cur_post['id'] ?>" class="blockpost<?php echo $vtbg ?><?php if (($post_count + $start_from) == 1) echo ' firstpost'; ?>">

to

<div id="p<?php echo $cur_post['id'] ?>" class="<?php echo $cur_post['g_id'] ?> blockpost<?php echo $vtbg ?><?php if (($post_count + $start_from) == 1) echo ' firstpost'; ?>">

Then use CSS like

#punviewtopic DIV.1 DIV.postright {BACKGROUND-COLOR: color}

for administrators, for example.

Looking for a certain modification for your forum? Please take a look here before posting.