The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
Need help whith a plugin [vB3.8 > vB4]
Hello, long time to create a plugin for my users to add a code in the title (+ pv) deprived his subjects could do if they wanted visitors.
Hook Location: showthread_postbit_create Code:
if(stristr($thread[title], '+pv') == TRUE) { $onlyreg = TRUE; } Code:
<if condition="($onlyreg == TRUE) and ($bbuserinfo[posts]<=1)"> <center><h2>Thread Visible for Registered Users Only</h2></center> <else /> Code:
</if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|