The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
You wouldn't be able to see it as it is only visible to Staff.
|
#12
|
|||
|
|||
so if you are an admin why not ask the owner how it was done
|
#13
|
||||
|
||||
I don't with to be chasing up people for it.
I just wanted to see if anyone knew how to do it here. |
#14
|
|||
|
|||
Without getting a live link I would say the owner has done it with a custom plugin. That would be the best way to do it
|
#15
|
||||
|
||||
I'll look around and see what else can be done.
|
#16
|
||||
|
||||
I'm not really sure what ForceHSS is expecting to see on the live site (especially since, from the given code, that site is obviously vB3.x, and this is the vB4 section).
Adding such an image to the background of a post per se is rather trivial with CSS. The interesting part is how to decide whether the post has been reported or not. If you configure vB to open a thread for reported posts in a hidden staff forum (Admin CP -> vBulletin Options -> User Infractions & Post Reporting Options->Post Reporting Discussion Forum), this can be quite easily achived, there's not even a need for a plugin. Look at the post table. There's a column named reportthreadid. If a post is reported and a thread created in the staff forum, this table will contain the threadid of that thread. So, the only thing to do is to check in the postbit (or postbit_legacy) template if that table field is 0 or not. If it is != 0, then a thread has been created, and the post has been reported. Using an if condition you can use this to add the needed css code. Try this: In postbit (or postbit_legacy) template find: Code:
<div class="postbody"> Code:
<div class="postbody"<vb:if condition="$post['reportthreadid'] != 0 AND in_array($bbuserinfo['usergroupid'], array(5, 6, 7))"> style="background: url('http://www.smilies.4-user.de/include/Brutal/smilie_b_018.gif') top right no-repeat;"</vb:if>> Of course, you would replace the smiley I used for testing with a more sophisticated banner, and you can do whatever additional css magic you like. And remember: It is essential that you configure vB to open a thread in a staff forum upon a report. E-Mail notification to Admins and Mods is not enough. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|