![]() |
Different background for unapproved post?
Hi,
i'd like to ask for little help here. I'm trying set different post background color for unapproved/moderated post, but i can't figure it, why my modifications doesn't work. What i done is: In postbit template find <div class="postbody"> and changed it for the first time to: Code:
<div class="<vb:if condition="$show['moderated']">postbodymod<vb:else />postbody</vb:if>"> Code:
<div Code:
.postbitlegacy .postbodymod { Code:
.postbodymod { Can anyone please help me what i'm doing wrong? My vB version is 4.0.2. Thanks in advance and sorry for my english ;) Holy |
noone? :(:(
|
Hello there HolyKiller,
First of all, if you are still testing this method online, you might consider posting your forum's URL .! Anyway, I tested your mod and it works like CHARM .! The only thing I changed in your mod is that instead of editing the "Postbit" template I edited the "Postbit_legacy" template .. OH! before I forget, your CSS code should be like this: Code:
.postbitlegacy .postbodymod { Code:
.postbitlegacy .postbodymod { I hope that this helps you out and if it didn't I advice to post your url .! |
Bah, now i'm feeling like an idiot :D, i always edited that postbit against postbit_legacy :rolleyes:
Thanks a LOT !! BTW: About that css, that second bracket was only mistake in first post, but thx for warn too :) |
We've got our unapproved post color changed, but I can't figure out how to make the unapproved posts in the "posts by user" list to change as well. Our moderators are sorely missing this feature that went away when we recently upgraded to 4.2.2.
Thanks in advance for help! |
All times are GMT. The time now is 07:10 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|