The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Usergroup needed to view links on forum
Need a tiny bit of code that checks user is logged in before showing a link on my forum but not only does the user require to be logged in but needs a certain usergroup also
Or can the usergroup bit cover the not logged in part also?? I was wondering if it was down to the condition bit of the link but not really sure :S Thanks in advance |
#2
|
|||
|
|||
You can't condition a hyperlink.
You'd need a hook (possibly on showthread_complete). The usergroup would cover the logged in bit, as you'd have to log in to be part of a usergroup. To check if a member is part of a usergroup: PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|