Quote:
|
Quote:
|
Quote:
|
1 Attachment(s)
I am trying to insert a an unique image heard for each of main page, HOME, Forum, What's New etc. How would you do that with condition?
Fore example: If you are on the Home page include home heard image, If you are on the Forum page include Forum image, and so on. Please see attachments. |
Quote:
Code:
<vb:if condition="THIS_SCRIPT == 'calendar'">Show this only on calendar.php</vb:if> So basically... Code:
--------------- Added [DATE]1285699615[/DATE] at [TIME]1285699615[/TIME] --------------- NEW POST HERE-- Stupid Auto Merge:rolleyes: FYI This is a useful conditional if you want to hide the Facebook Like button in forums that aren't open to the public. If someone "Likes" a thread in a private forum people will be greeted with a no-permission "have to register" message which usually people will just get annoyed at rather than register. In fact if it's a private forum they may not even have access even after registering. To use this conditional edit the SHOWTHREAD template... find the code: Code:
<vb:if condition="$show['fb_likebutton']"> Code:
<vb:if condition="$show['fb_likebutton'] AND !in_array($threadinfo['forumid'], array(3,4,5))"> |
any "if condition" to show text/html only once on a certain place?
I am using CMS on my live site, and it has 1x2 content column on front page. I tried to place text/html/adsense code after first column however it always displays the text on all columns. Any recommendations for that? |
<vb:if condition="is_member_of($bbuserinfo, 1,2,3)">Show this to user group 1, 2, and 3</vb:if>
what if I move someone to a group and then i wanted to show an image in the postbit for everyone to see IF that member is in a certain group. |
In postbit you can use this to see if a member is in usergroup x.
Code:
<vb:if condition="$post['usergroupid'] == x"> |
<font color="DarkGreen">Great work i love it
</font> |
I have tried this code below in my footer ad location and it display in all my usergroups. Is there something wrong with the code?
Code:
<vb:if condition="is_member_of($bbuserinfo, 1,2,3)">Show this to user group 1, 2, and 3</vb:if> |
All times are GMT. The time now is 01:27 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:
|