Quote:
Originally Posted by TheInsaneManiac
How can I go about that? Cause I don't want to add any extra queries, I just need this to run on my staff application area.
|
You'd do something like this:
PHP Code:
$vfarray=$vbulletin->options[appsaccess];
$appsaccess = explode(",", $vfarray);
if (in_array($vbulletin->userinfo['userid'], $appsaccess)) $userinarray = true;
Then in your template:
HTML Code:
<if condition="$userarray == true">
do something
</if>
(not tested)