![]() |
Help with adding and removing a button hack...
Need some quick help on this guys. Ive got the html coding part done, i just need to know where to insert the code to get it to work right.
Code:
if ($bbuserinfo[usergroupid]==6) { Anyways what the above does is take away the registration button for people that are already registered or banned, and it also displays the admin button on the top allowing only admins to view it. I have tried adding this to index.php but i get nothing... it doesnt even look like index.php calls the header template. Anyone know where i can insert this to get it to work? |
no one is able to help me with this? can it be done at all? Thanks.
|
Why don't you try Logicians's Dynamic Templates hack and you can do it in the templates instead of doing it in the php from now on?
|
All times are GMT. The time now is 10:02 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|