luke2kz71
06 Oct 2004, 16:28
I made this for our for-sale section..... thought someone else may want it... it has no user friendly control pannel or anything.... just plain code.
Open your newthread.php file in your forum directory...
find this line:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
right before it add this:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
This simple hack is extreamly simple, and there is nothing special about it.... but it may help someone who wants to limit access to a forum or 2... to make it work for only 1 forum... use this:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
73 being the only forumid
or for 2 forums:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
73 and 100 being the forum ids...
If you do not know how to get a forum id, just copy and paste a link to your forum.... like this:
http://www.fullsizechevy.com/forums/forumdisplay.php?f=3
the number after the equal sign is the forumid .... which in this case... is 3 :)
Open your newthread.php file in your forum directory...
find this line:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
right before it add this:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
This simple hack is extreamly simple, and there is nothing special about it.... but it may help someone who wants to limit access to a forum or 2... to make it work for only 1 forum... use this:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
73 being the only forumid
or for 2 forums:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
73 and 100 being the forum ids...
If you do not know how to get a forum id, just copy and paste a link to your forum.... like this:
http://www.fullsizechevy.com/forums/forumdisplay.php?f=3
the number after the equal sign is the forumid .... which in this case... is 3 :)