valdet
02-02-2008, 09:20 PM
Hi there,
I woudl like to know if it is possible to insert some type of conditional in a plugin, so I restrict a particular thing only to one thread
Like this
<if condition="$thread[threadid] == xx">
Use my trick
<else />
dont use it
</if>
maybe this needs a PHP conditional in teh shape of
if (!$vbulletin->thread['threadid'] AND $vbulletin->thread['xx']) {
plugin code;
}
Any quick help is appreciated.
I woudl like to know if it is possible to insert some type of conditional in a plugin, so I restrict a particular thing only to one thread
Like this
<if condition="$thread[threadid] == xx">
Use my trick
<else />
dont use it
</if>
maybe this needs a PHP conditional in teh shape of
if (!$vbulletin->thread['threadid'] AND $vbulletin->thread['xx']) {
plugin code;
}
Any quick help is appreciated.