View Full Version : I need a conditional wrap around if you could be so kind
April 12th, 2010, 01:10 PM
This is bugging me and for the life of me I cant think what code I need to wrap around a bit of code to stop something from showing in the gallery.
I use vb enterprise translator on my forums. What I need is the conditional code to stop the flags showing in my gallery. A simple bit of code, but I just cant think of it.
My gallery is located here
Spain Photo Gallery (http://www.thespainforum.com/gallery/)
If that helps
Thanks in advance for any help
April 12th, 2010, 01:17 PM
How about something like this?
<vb:if condition="VB_AREA" != "vBGallery">
YOUR CODE HERE
April 12th, 2010, 03:56 PM
Thanks for getting back Chuck. Its a 3.8.1 forum. In all honesty I have not had the guts to change over to VB4 yet. I break it, it works :o
I know I cant be that far off at present.
There cant be much wrong with the code. This is what Im now playing with.
<if condition="THIS_SCRIPT == 'vBGallery'">
April 12th, 2010, 04:03 PM
wow your header looked like vb4 LOL
<if condition="VB_AREA" != "vBGallery">
YOUR CODE HERE
No way for me to test it
April 12th, 2010, 05:04 PM
See Chuck, these VB guys you cant trust them. They even try and nick my ideas for VB4 :D
The only good thing about VB4 imo at present is the customer feed back area there. Im at the stage now of doing the upgrade once they manage to make something stable. Until then, Im going all out on my VB3 forum.
Thanks for your help. I will suss this thing eventually. Its one of those little annoyances, thats annoying me, if you know what I mean.
Its going to be something so daft I kick myself for it after.
April 12th, 2010, 06:44 PM
LOL well its all good my friend.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.