The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Convert VB3 mod to VB4?
Hello, I am wondering how I could impliment this mod in VB4.
Code:
Support will only be given in the modification thread, or to those who clicked install! Inspired by a popular 4chan feature, this is a great way to show what is and what is not acceptable on your forums. If the entire community can see what what they can get an infraction for, there are less likely to do it. It's a very simple modification. If a user is given an infraction, it will display the respective text underneath the post, but above the signature. Same if the user is only given a warning. It will not edit or alter any other part of the postbit. If you don't like the colors, they can be easily changed with either simple HTML knowledge or "googling" hex codes. Thank you Dismounted, couldn't have created it without your help. https://vborg.vbsupport.ru/showthread.php?t=218966 For installation help, please read my thread on installing hacks. https://vborg.vbsupport.ru/showthread.php?t=149588 INSTALLATION 1- Go into the postbit or postbit legacy template, depending which one you are currently using. 2- Search for the this text- <!-- message --> <div id="post_message_$post[postid]"> $ad_location[ad_showthread_firstpost_start] $post[message] </div> <!-- / message --> 3- Add this right underneath it- <if condition="$post['infraction'] == 2"> <font color="red"><b>(USER RECEIVED AN INFRACTION FOR THIS POST)</b></font> </if> <if condition="$post['infraction'] == 1"> <font color="#FFCC11"><b>(USER RECEIVED A WARNING FOR THIS POST)</b></font> </if> 4- Save the template and enjoy! It's just a simple conditional, but I don't even think they use that $post['infraction'] var anymore and I know they now use <vb:if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|