Hello guys,
Maybe someone can help me... I have this code: PHP Code:
I need that: - the link only shows when the user have threads at least in one of that two forums. - If not, the link doesn't appear. Is there any syntax for this? Or else, I had another idea... The links only appear If the user belongs to a specific group. |
Quote:
|
How do you use conditionals to hide a thread by use of it's thread id or a combination of thread ids?
Say for instance, I have a thread in a forum that I don't want guests to view but I want guests to be able to view the whole subforum and it's other threads. |
Awesome, thanks!
|
Is this the most efficient way to do a multi-THIS_SCRIPT if conditional?
Code:
<vb:if condition="in_array(THIS_SCRIPT, array('search' , 'calendar' , 'usercp' , 'online' , 'faq' , 'album' , 'profile' , 'member' , 'misc' , 'subscription' , 'private' , 'showgroups'))"> |
^yes, that is how I would do it.
|
Quote:
It might not be a bad idea to have that added to the article, it took me awhile to figure out how to do. :mad: |
any condition for article in CMS ???
|
What is the correct syntax for a conditional that is a member with at least 'X' posts/threads made in the last 30 days?
Any ideas? TIA! |
You cannot use a template conditional for posts within x days, you would need a plugin to calculate this value.
|
All times are GMT. The time now is 10:25 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|