![]() |
Moderating
I am looking for a 3.7.xx mod that will allow posts that need to be moderated to stand out boldly from the other posts. Something like a transparent gif over the top of the post that says "Moderation Required" or a change of color or a big bold statement that lets us know that this post needs to be moderated and cannot currently be seen by the masses.
As it stands, an unmoderated post looks just like all the other posts, except their is no post #. I have seen mods that help with the moderation queue and mods that make moderation easier to deal with, but nothing on this level. Any ideas would be appreciated. |
I think you can simply edit the postbit template. Find these lines:
HTML Code:
<if condition="$show['moderated']"> HTML Code:
<if condition="$show['moderated']"> HTML Code:
<if condition="$show['moderated']"> |
Works perfectly. Thank you
|
Doesn't seem to work for me.... hmm.
|
Quote:
|
Sorry for my vagueness.
Quote:
Thanks for the help! |
Just what I need, but for 3.6.3. Could someone suggest what to edit in Posbit/Postbit Legacy in 3.6.3?
Sorry, I realized that it is the same for Postbit Legacy. Postbit does not have that same <if statement. It only has: Code:
<if condition="$show['moderated']"> |
You could add this condition anywhere in postbit, probably best right before the code: $template_hook[postbit_signature_start]
Something like: Code:
<if condition="$show['moderated']"> |
Thanks for your help! Got something that works well now.
|
ok - yes I'm an idiot noob who only occasionally gets to manage Vbulletin
I'm looking to implement this in Vb 4.07 but not sure where to add the code in order to highlight Awaiting Moderation posts in bold So starting from the admincp Styles & Templates > Style Manager > vB4 Default Style > Edit Templates > Go Scroll down to Postbit Templates > doubleclick "postbit" which will bring up Customize Template:postbit Am I close? and if so or if not ... where do I add the code? |
Quote:
In the template look for the line: Code:
{vb:raw post.message} Code:
<vb:if condition="$show['moderated']"> |
Thanx for the quick reply .:) ...
I get an error trying to add it right above the line with {vb:raw post.message} Here's my current section before adding it: <div class="content<vb:if condition="$show['first_ad'] OR $show['last_ad']"> hasad</vb:if>"> <div id="post_message_{vb:raw post.postid}"> <blockquote class="postcontent restore"> {vb:raw post.message} </blockquote> </div> |
You seem to have a custom style but I don't know why that would stop this from working. I did it myself and it worked fine... Basically you want to make those lines into this:
Code:
<div class="content<vb:if condition="$show['first_ad'] OR $show['last_ad']"> hasad</vb:if>"> |
woohoo - ok - it worked the second time for some reason - no error
but currently only have one moderated "thread" vs a moderated "post" It isn't highlighted in red though would making these changes only affect "posts" and not new moderated "threads"? Edit: FYI ...I put it above the line {vb:raw post.message} and seemed to have no affect though the thread while still Awaiting Moderation was already present before making the change so maybe it only affects new messages made after the change? |
That is correct, this is only for moderated posts. If you wan to see it in threads it looks like you have to edit the threadbit template, you can use the same code but you'll have to figure out the best place to put it.
|
damn - you expect me to actually figure something out on my own - lol
Thanks much for the help ...will post back if it all works in the end :) |
Quote:
It's a "teach a man to fish" scenario over here. :) |
Thanks for this! :)
|
I'm looking to implement this in Vb 4.2 and can't find the code {vb:raw post.message}
in order to highlight Awaiting Moderation posts in bold, too. Please help! |
{vb:raw post.message} is most definitely in VB 4.2.0 postbit and postbit_legacy template. Use your browser's "Find on page" feature if you are missing it with your eyes.
|
Thanks I found it!!
|
All times are GMT. The time now is 05:57 PM. |
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:
|