![]() |
Check if user has permission to post in forum
I'm looking for a conditional to check if a user has permission to post in a certain forum.
My goal is to show a message to members where the 'post thread' button would be for users who don't have permission to post in a certain forum. One of my forum's sections is a paid section for upgraded members only, and I'd like to show a 'you must upgrade your account to post here' message. |
You might be able to use $show['newthreadlink'].
|
That's what the template already uses. I'm using vb 4.1.12.
It says if condition shownewthreadlink I was thinking underneath that if statement I could add something, like an additional statement to would show the message I described. Can I just add a ! to the condition like !$showthreadlink in an additional if statement underneath? |
Quote:
Code:
<vb:if condition="$show['newthreadlink']"> either way you get the same result. |
All times are GMT. The time now is 11:30 AM. |
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:
|