The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi all
I hope someone can help me with this I know about how to make some setting for a hack in ACP to enable it or disable it or whatever.. I'm still newbie in this field and I want to know how to set (if condition) to enable the hack or disable it from create (new thread) page. I already made the template and named it, and I could make the options show up in two ways to enable or disable the hack the first way is by checking box to enable the hack (unchek the box to disable it). just like (Thread Management) options. the second way is Yes/No option (yes to enable the hack). if the hack enabled that will add some features to the thread and how it looks, and if it disabled nothing will change.. but I couldn't figure out how to set the (if condition) for that. and I really hope any one of you guys can help me with this... I only need to set the condition to one of the two ways I've mentioned above about enabling the hack. thanks ![]() --------------- Added [DATE]1212078183[/DATE] at [TIME]1212078183[/TIME] --------------- no one can help here? |
#2
|
|||
|
|||
![]()
any help please?
|
#3
|
||||
|
||||
![]()
My understand is that you have a plugin which includes some functionality, in which case it should be as simple as using the variable you created inside the plugin with conditional such as:
Code:
<if condition="$myvariable">here is the code that I want to appear</if> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|