The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Checking if user is member of a certain forum
Does anyone know the if conditioon to check if a user has access to a certain forum? I know this is simple, but for some reason it is escaping me right now. Sorry.
And also, does anyone know how to set up a link to turn on access to a certain forum? And turn it off? |
#2
|
||||
|
||||
Nobody knows how to do this? Hmmmm....
|
#3
|
|||
|
|||
I can only help you with the first question and even then, it might not be what you're looking for.
Create a new field that is not editable by the user. For all of those users you want to be able to read the posts in this particular forum, put the word "Allowed" (without the quote) in the new field you created. Open up showthread.php PHP Code:
You do not have access to read the posts in this particular forum. Replace ['forumid'] == xx with the # for that particular forum. Replace fieldxx with the # of the particular new field you just created. Everyone will be able to enter the forum but only those with the "Allowed" field will be able to read the posts in that forum. Syl... |
#4
|
||||
|
||||
Thanks for the reply.
That's not quite was I was looking for, though. Sorry. What I want to do is say if this user has access to a certain forum, then do this boardwide. If they don't have access, do something else. I want to check for this from the postbit. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|