Quote:
Originally Posted by Revan
You have to add the function to an array defined somewhere in adminfunctions_template.php
Give me 1 min and I will edit this post with the exact name and place
In adminfunctions_template.php find:
PHP Code:
// vBulletin-defined functions
'can_moderate', // obvious one
'can_moderate_calendar', // another obvious one
'exec_switch_bg', // harmless function that we use sometimes
'is_browser', // function to detect browser and versions
'is_member_of', // function to check if $user is member of $usergroupid
under, add:
PHP Code:
'is_os', // function to check the OS of the member
Original Thread
Kall wrote the thread, but I was the one to put him on the right track to find this code 
|
Now i can see if my code works. which I believe it should. I knew there was another file i needed to add somethning.
thanks!
Alright, that allows me to use the template conditional, now All i need to do is figure out why it's not working.

well kinda working, but it's not showing for any os listed in the code.