PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old September 19th, 2008, 06:16 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2008
Posts: 15
Complete Gallery Conditional

Trying to display an image ONLY when not viewing a vBGallery page. I'm having trouble with a conditional for this.

Any ideas?

Example: For VBALinks I use <if condition="VBA_SCRIPT != 'links_directory'">


Is there one that can be used for all pages in vBGallery?

Thanks,
philmckrackon is offline   Reply With Quote
Old September 19th, 2008, 11:38 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,729
No there is no such conditional the gallery pages each script has its own define name.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 20th, 2008, 03:51 AM   #3 (permalink)
Moderator
Verified Customer
 
Join Date: Aug 2005
Posts: 1,231
well it depends on your gallery version... in newer versions you could use..

<if condition="PP_SCRIPT != 'vBGallery'">

check out if all your vbgallery scripts have the line :
define('PP_SCRIPT', 'vBGallery');
at the top... ( i cant remember in which version this was introduced)

Luc
Luciano is offline   Reply With Quote
Old September 20th, 2008, 07:20 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,729
Code:
Content visible to verified customers only.
It exists in 2.43 series
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 20th, 2008, 08:59 AM   #5 (permalink)
Moderator
Verified Customer
 
Join Date: Aug 2005
Posts: 1,231
Yes.. so you can definetely use:
<if condition="PP_SCRIPT != 'vBGallery'">
as a conditional...

Luc
Luciano is offline   Reply With Quote
Old September 20th, 2008, 04:49 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,729
Yep thats a winner
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add gallery conditional to navbar bouncingpeanut How Do I? - vBulletin 3.5.X 0 August 10th, 2006 10:12 AM
Conditional to exclude gallery? C500HP How Do I? - vBulletin 3.5.X 5 February 4th, 2006 09:37 PM
Gallery Conditional.... imported_theMusicMan How Do I? - vBulletin 3.0.X 10 March 28th, 2005 11:06 AM
My Suff conditional Fiber How Do I? - vBulletin 3.0.X 1 January 10th, 2005 11:16 AM


All times are GMT -5. The time now is 12:07 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0