![]() |
Forum Access masking
hiya
been trying to get this to work and its now doing my head in. I have a particular forum on my site that I want people to complete a subscriptioon page in-order to access. The subscription page I have done works 100% but what i can seem to do is when the user (who is usergroup 2 - registered) goes into this form I want it to instead of displaying the threads, display an error template (which I have dont already) which contains a link to the subscription form. now i thought i had done it by editing forumdisplay.php under require ("./global.php"); i added : Code:
if (($forumid=="6") && ($bbuserinfo[usergroupid]=="5") || ($bbuserinfo[usergroupid]=="6") Code:
} else { BUT! it also displays this message for every other forum aswell :( where have I gone wrong? help! |
i think i have sorted it, me being dumb, needed to step back and look at it again and then it was plainly obvious what i had done.
please close |
Closed as requested. :)
|
All times are GMT. The time now is 01:39 PM. |
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:
|