PDA

View Full Version : Stylvar for Moderated Post?


kether1
02-14-2011, 01:18 PM
Can someone tell me the name of the stylevar that controls the moderated post background color? Currently a post that is moderated appears the same as an unmoderated post. I would like to change the color to make it stand out for the mods. Thanks for your help.

Kether

Lynne
02-14-2011, 10:45 PM
There is none. You'll have to edit the template and also add some CSS. In postbit(_legacy) find:
<div class="postbody">

Change to:
<div class="postbody <vb:if condition="$show['moderated']">moderated</vb:if>">

Then add some CSS to additional.css like:
.postbitlegacy div.postbody.moderated {background: pink;}

kether1
02-15-2011, 11:33 AM
Thank you, Lynne. You always come through for me. I appreciate your help so very much.

Kind regards,
Kether

boodog
03-21-2011, 07:34 PM
This works beautifully. Thank you Lynne.

I might also add that I changed the default moderated_small.gif icon to a red square which makes it easier to spot where moderated posts are.

thisgeek
08-25-2011, 10:58 AM
Thanks for this. Made it much easier to spot moderated posts while skimming a thread.

Mooff
08-25-2011, 12:37 PM
This works beautifully. Thank you Lynne.

I might also add that I changed the default moderated_small.gif icon to a red square which makes it easier to spot where moderated posts are.

haha yeah, i changed that gif some years ago in the style i use to a 80px long colorful gif. :D

baghdad4ever
02-15-2012, 09:40 AM
thanks lynne

it is work perfect

but i dont know why vbulletin doesnt add this stylevay to the system yet !!!

cjwinternet
06-30-2012, 02:05 PM
Works great in 4.2, thanks.