![]() |
|
Article Options |
#121
|
||||
|
||||
That didn't work either. I don't think the problem is the actual conditional though ... I just think that the plugin isn't accessing the profile information in order to apply it.
No members have liked this post.
|
#122
|
||||
|
||||
Originally Posted by malmazan
thanks for the correct code!
![]()
No members have liked this post.
|
#123
|
||||
|
||||
There is no possible way the code you quoted works... It starts of as VB3 condition with just: <if condition="..."> and ends with the VB4 conditional </vb:if>... so that code won't work in any version... In VB3 you don't use the "vb:" at all, in VB4 you need to use it every time.
__________________
-Joe Former vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. No members have liked this post.
|
#124
|
|||
|
|||
inserting a IMG as a template conditinal?
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. No members have liked this post.
|
#125
|
||||||||||||||||
|
||||||||||||||||
Originally Posted by utahwildlife
You'd use this condition:![]()
You need to find out what the script names are for each page you want to show... I think home is "index" and forums is "forumdisplay" So basically...
Any other pages (like "showthread" and "calendar") won't show an image at all... --------------- Added 28 Sep 2010 at 19:46 --------------- NEW POST HERE-- Stupid Auto Merge ![]() 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:
and change it too:
Where 3,4,5 are forum id's of the forums you want to hide the button in.
__________________
-Joe Former vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. No members have liked this post.
Last edited by BirdOPrey5; 02 Jul 2011 at 05:47. Reason: Auto-Merged DoublePost |
#126
|
||||
|
||||
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?
__________________
Need for mods No members have liked this post.
|
#127
|
|||
|
|||
<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. No members have liked this post.
|
#128
|
||||
|
||||
In postbit you can use this to see if a member is in usergroup x.
__________________
-Joe Former vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. No members have liked this post.
|
#129
|
||||
|
||||
Great work i love it
No members have liked this post.
|
#130
|
||||
|
||||
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?
__________________
Additional navbar 3.7 with dropdowns Additional side navbar Additional navbar 3.5.3 Rotating banners No members have liked this post.
|
#131
|
||||
|
||||
Originally Posted by attroll
What did the code you used look like?
![]()
__________________
No members have liked this post.
|
#132
|
||||
|
||||
Originally Posted by attroll
This exact code is working fine in my footer, only issue would be is if you somehow pasted it in-between some other <if> code... Also are you sure you are using vBulletin 4.x? This won't work on 3.x.
![]()
__________________
-Joe Former vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. No members have liked this post.
|
#133
|
||||
|
||||
Damn, my bad. this web site that I am trying to get it to work on is VB3. Sorry guys. Thanks for the help anyways. It will have to wait until i upgrade to VB4.
Thnaks
__________________
Additional navbar 3.7 with dropdowns Additional side navbar Additional navbar 3.5.3 Rotating banners No members have liked this post.
|
#134
|
||||
|
||||
Originally Posted by attroll
The code for VB3 is very similar...![]()
__________________
-Joe Former vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. No members have liked this post.
|
#135
|
||||
|
||||
BirdOPrey5
Thank you very much. that will hold me over until I update to VB4.
__________________
Additional navbar 3.7 with dropdowns Additional side navbar Additional navbar 3.5.3 Rotating banners No members have liked this post.
|
![]() |
«
Previous Article
|
Next Article
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Article Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 21:28.