Log in

View Full Version : how to set (if condition) to enable hack from (create new thread) page?


Super Jinni
05-29-2008, 04:47 AM
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 1212078183 at 1212078183 ---------------

no one can help here?

Super Jinni
05-30-2008, 09:15 PM
any help please?

GameWizard
05-31-2008, 01:55 AM
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:

<if condition="$myvariable">here is the code that I want to appear</if>