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.
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 modifications, plugins and integrations → Staff post color changer
Is there a way to change the color of a post by a staff member, the background of the post.
Moved to Modifications
Can this even be done? =/
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.
Yeah I really need the help. Please and Thank you =]]
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.
PunBB Forums → PunBB 1.2 modifications, plugins and integrations → Staff post color changer
Powered by PunBB, supported by Informer Technologies, Inc.