this is not work too with me :(
Code:
<vb:if condition="$forum[forumid] == x">Show this if forum id is x</vb:if> |
Quote:
Do you know if there is any work around? |
I have an idea.
I want to give someone control of their own thread. I figure that a good way to do that would be to duplicate the supermoderator group, calling it "threadModerator", then only display the "show admintools" dropdown IF the current user is both a threadAdmin AND is author of the current thread. In other words, if the threadmoderator group is "100," How can I then say If currently_logged_in_user is threadmoderator and If currently_logged_in_user = thread_starter then show admintools I figure its something close to: <vb:if condition="is_member_of($bbuserinfo, 100)"> <vb:if condition="is_author_of($thread)"> show admintools </vb:if> </vb:if> It has to be something close to this...though I dont know how to query the system to find out the author of a thread...nor do I know how to reference the "show admintools" function...but I figure I've reasoned this out and given enough effort that one of you...who are MUCH better programmers than I...is willing to help me (and anyone that wants to use the code, giving myself and the person who cleans this up the credit). How bout it people? Can someone help with this...? |
What would the code be to only show on forumhome?
|
Quote:
|
Can any one tell me what i would have to use to get a sign to come up only when a thread is closed ?
So basically if a thread is closed i want a certain peace of HTML to show up |
i need some help with the variables below to work with certian group and also an option not to show to certian groups can anyone help
so far i have this Code:
i hope i got the code in the correct order so far i wanna add {vb:raw vboptions.wmf_grp_noperm} but not sure where to put it and if i need to add anything else to my exist code after the one i want inserted |
lol Wish I would have saw this before. Oh well, I figured it out :P Thanks for this though!
|
Quote:
|
Try this;
Code:
<vb:if condition="in_array($foruminfo[forumid], array(x,y,z))"> |
All times are GMT. The time now is 11:08 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:
|