![]() |
custom on/off for a forum ID
Little help here :)
this is the code in index.php for the on/off buttons Code:
if ($bbuserinfo['lastvisitdate']=='Never') { if forumid equals number 20 (using 20 as an example) then $forum['onoff']='20on'; ... $forum['onoff']='20off'; The idea is to have custom on/off buttons to certain forums .. is this possible ? :) Carlos |
add
PHP Code:
PHP Code:
PHP Code:
Replace X with the forumid. Enjoy.. |
I've been trying to get this to work to no avial. :( Can you please post the part of the code already modified (i.e. replace this with this)
Thanks in advance :) |
Edit index.php, find:
PHP Code:
PHP Code:
|
thanks for your quick reply, but i still get the same error....
Quote:
|
try to use that:
PHP Code:
if the error occurs again, look at one line before... |
same error....:(
|
there is no error (at least no parse errors) in this code (after Xenon's correction). Try to reapply carefully..
BTW Are you using Opera as your browser? Then dont copy/paste from here, just type the code manually. |
ok, I'm not home atm, and yes, I was using Opera. When I get home I'll copy & paste with IE. Thanks Logician. :D
|
it works now, thanks Logician & Xenon :D
|
All times are GMT. The time now is 01:42 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:
|