![]() |
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) Code:
<if condition="($onlyreg == TRUE) and ($bbuserinfo[posts]<=1)"> Code:
</if> |
You need to preregister $onlyreg for use in that template after you define it.
PHP Code:
|
Thanks Lynne, Can you outline the steps to follow? :erm:
|
I did. Add that line after you defined the variable.
|
All times are GMT. The time now is 01:05 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:
|