PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > vBGallery Support > vBGallery How Do I...?

vBGallery How Do I...? Need help figuring out how to do something with PhotoPost vBGallery? Post here to get help.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old November 12th, 2006, 08:17 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Location: Apple Valley, CA
Posts: 46
Send a message via AIM to ricker Send a message via Yahoo to ricker
<If condition> To Change To Gallery Header?

I used to use:

<if condition="VBA_SCRIPT == 'gallery'">

to toggle my gallery header. This no longer works. Is there another way?

Thanks so much,
Sarah
ricker is offline   Reply With Quote
Old November 13th, 2006, 02:18 AM   #2 (permalink)
Senior Member
Verified Customer
 
Join Date: Mar 2006
Location: Yorkshire
Posts: 603
I use
Code:
Content visible to verified customers only.
To show something on the index page only...
Sybaris is offline   Reply With Quote
Old November 13th, 2006, 01:28 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Location: Apple Valley, CA
Posts: 46
Send a message via AIM to ricker Send a message via Yahoo to ricker
Thanks Sybaris, I'll give that a try.

In the meantime, any ideas on how to show one header for the forums and another for the gallery?
ricker is offline   Reply With Quote
Old November 13th, 2006, 03:48 PM   #4 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
vbgallery 2.1, 1.1
- They have the option to choose a custom style for the gallery and for each category.

AdminCP => vBGallery => Modify Settings
- Main Options
Zachariah is offline   Reply With Quote
Old November 13th, 2006, 07:29 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Location: Apple Valley, CA
Posts: 46
Send a message via AIM to ricker Send a message via Yahoo to ricker
I don't think that solves my problem. If it does, I'm not sure I understand how. I guess I will have to re-code my templates.
ricker is offline   Reply With Quote
Old November 14th, 2006, 07:42 AM   #6 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
Styles & Templates / The Style Manager

Create a child style under your main style. This child style will have all the the custom templates created in your main style.

You can re-code the child style as you wish (colors, images, template changes). You can then set the gallery to use the child style.
Zachariah is offline   Reply With Quote
Old November 14th, 2006, 06:49 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Location: Apple Valley, CA
Posts: 46
Send a message via AIM to ricker Send a message via Yahoo to ricker
Great, thanks. I'll give that a try!
ricker is offline   Reply With Quote
Old November 14th, 2006, 07:00 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Location: Apple Valley, CA
Posts: 46
Send a message via AIM to ricker Send a message via Yahoo to ricker
It works, if I go into each category and manually set an override. I have 20-some categories though, so that kinda sucks. Then, the slideshow header is broken, along with the main page header.

It's been 2 days now and I haven't gotten this resolved .... back to my original idea ... is there any way to modify this script so I can get my gallery running properly?

<if condition="VBA_SCRIPT == 'gallery'">
ricker is offline   Reply With Quote
Old November 14th, 2006, 08:36 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Location: Florida
Posts: 318
http://www.photopost.com/forum/showthread.php?t=127975
oldengine is offline   Reply With Quote
Old November 14th, 2006, 09:49 PM   #10 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
Quote:
Originally Posted by ricker View Post
It works, if I go into each category and manually set an override. I have 20-some categories though, so that kinda sucks. Then, the slideshow header is broken, along with the main page header.

It's been 2 days now and I haven't gotten this resolved .... back to my original idea ... is there any way to modify this script so I can get my gallery running properly?

<if condition="VBA_SCRIPT == 'gallery'">
There is 2 overrides in the gallery.
- Gallery level
- Category level

Main settings of the gallery.
AdminCP => vBGallery => Modify Settings
- Main Options
-- Default Style (choose)
-- Allow Users To Change Styles (yes/no)

This will change the default style the gallery uses. This includes each category. If you have a 3rd style (custom theme related to the subject) you can edit the category and use that style vs. the default gallery style.

The forums has its default style, and each forum has a choice of default or custom.

The gallery has a choice of default forums style or custom default, and each category has a choice of gallery default (if enabled else forum default) or custom style.


This should be in every file that shows an image.
Code:
Content visible to verified customers only.
Code:
Content visible to verified customers only.

Last edited by Zachariah; November 14th, 2006 at 10:02 PM.
Zachariah is offline   Reply With Quote
Old November 15th, 2006, 01:16 AM   #11 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Location: Apple Valley, CA
Posts: 46
Send a message via AIM to ricker Send a message via Yahoo to ricker
Ok, thanks, I'll give this a try. Maybe I'm missing one of those codes in my template from fooling around with this frantically.

*edit*
Apparently I was just missing the option to force the stylesheet.
Yay! Thanks for the help.

Does this version have documentation out?

Last edited by ricker; November 15th, 2006 at 01:27 AM.
ricker is offline   Reply With Quote
Old November 15th, 2006, 11:34 AM   #12 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
Quote:
Originally Posted by ricker View Post
Does this version have documentation out?
- I am working on that as I go. I have started by adding comments in the php files. I'll yell @ the guys about starting a PDF, CHM, On-line.
Zachariah 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
how to change header on gallery index page?? timdogge Photopost Pro Installation & Upgrades 3 March 7th, 2009 05:14 PM
Change/Add Condition Options bamaster Classifieds How do I...? 1 January 31st, 2006 09:02 AM
How do i change the field Condition and the price value wrang Classifieds Installation & Upgrades 4 September 26th, 2005 01:25 PM
Change gallery header logo hotwheels How Do I? - vBulletin 3.0.X 14 August 4th, 2005 07:42 PM


All times are GMT -5. The time now is 06:42 PM.

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