PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   How Do I? - vBulletin 3.6x (http://www.photopost.com/forum/how-do-i-vbulletin-3-6x/)
-   -   Nav Bar issue with Gallery 2.1 (http://www.photopost.com/forum/how-do-i-vbulletin-3-6x/128786-nav-bar-issue-gallery-2-1-a.html)

clearchannel November 18th, 2006 06:18 PM

Nav Bar issue with Gallery 2.1
 
I am having a problem with the nav bar in the gallery since upgrading to 2.1

On my cmps page the nav bar appears as follows:

-Forums- -Gallery- -User Cp-

On the forum homepage the nav bar appears as follows:

-Home- -Gallery- -User Cp-

On the gallery home page the nav bar appears as follows:

-Home- -Gallery- -User Cp-


The problem is, on the Gallery homepage the nav bar should read as follows:

-Home- -Forums- -User Cp-

How do I fix the Gallery link to reflect a link to the forums?

clearchannel November 21st, 2006 04:35 PM

Am I to assume there is no longer any support for the photopost vbgallery software?

I also submitted a support ticket with no response either.

KW802 November 21st, 2006 05:06 PM

Clearchannel, as far as I know Zachariah is handling vBGallery support.

In regards to your problem, though... from reading some of the threads here it looks like the script identifier has changed somewhere along the way with the various 2.x revisions. What is the current conditional you have in your navbar to detect whether you're viewing a vBGallery page?

KW802 November 21st, 2006 05:17 PM

clearchannel, OK, I just realized that my site is affected as well. <bangs head on desk>

Here are the conditional changes you need to do...

- Instead of looking for VBA_SCRIPT look instead for PP_SCRIPT.

- Instead of looking for gallery as the script value look for vBGallery instead.

Example #1 Before:
Code:

Content visible to verified customers only.
Example #1 After:
Code:

Content visible to verified customers only.
Example #2 Before:
Code:

Content visible to verified customers only.
Example #2 After:
Code:

Content visible to verified customers only.

mlucek November 21st, 2006 09:23 PM

<slaps forehead> .... :p Thanks for pointing that out - have same issue on my upcoming site. Minor thing and easily fixable.

myuption November 22nd, 2006 09:16 PM

Oh, yeah, you are right, it changed Oo

Thanks, i thought i had a memory problem XD

clearchannel November 26th, 2006 10:43 AM

If someone would be so kind as to explain how excatly do I make these conditional changes?

Thanks in advance.

mlucek November 26th, 2006 11:49 AM

I'm sure this has been gone over a number of times, but I'll put it here again since we're on the subject.

This works for vBGallery.

From the VB control panel, go to the Styles & Templates
dropdown, select Style Manager, expand the templates listing and fin d the Navigation/Breadcrumb Templates, doubleclick that to expand it and then doubleclick on the navbar template which will open an editing box for that template.

Find:
Code:

Content visible to verified customers only.
Just below that, add:

Code:

Content visible to verified customers only.
So it should now look like this:

Code:

Content visible to verified customers only.
Save the template, also probably a good idea to Save in Template History so you can always get back to the original template :)

Hope that helps !!

clearchannel November 26th, 2006 07:39 PM

I fixed the problem Thanks again for the assistance.

Quote:

Originally Posted by mlucek
I'm sure this has been gone over a number of times, but I'll put it here again since we're on the subject.

I did search for a solution to address this issue for gallery v2.1, I found solutions for earlier versions, which I had no problem with. The issue only came to surface when I upgraded to v2.1.

Should anyone with this problem in v 2.1 do a search for nav bar, this is the first thread listed. If everyone placed the approporate thread title in their topic ie Nav Bar issue with Gallery 2.1 rather then please help or I have a error or please read or important! I have a problem, everyone would find solutions a great deal easier.

MikeF November 26th, 2006 09:44 PM

It looks like these conditionals are not working in 2.1. And I have a nasty Javascript that is screwing up the display of the gallery.

mlucek November 26th, 2006 11:03 PM

Quote:

Originally Posted by MikeF (Post 1181346)
It looks like these conditionals are not working in 2.1. And I have a nasty Javascript that is screwing up the display of the gallery.

Yes they are.

I copied the above code snippets right from my navbar template from my test site (not public) which is currently running VB 3.6.3, vBAdvanced 2.2.1 and vBGallery 2.1.

Mike


All times are GMT -5. The time now is 02:31 PM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97