![]() |
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 |
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:
|
All times are GMT. The time now is 07:11 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:
|