PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Bugs - vBulletin 3.5.X (http://www.photopost.com/forum/bugs-vbulletin-3-5-x/)
-   -   (3.5) Homepage Link In Navbar (http://www.photopost.com/forum/bugs-vbulletin-3-5-x/118748-3-5-homepage-link-navbar.html)

ConqSoft July 16th, 2005 08:44 PM

Gallery 1.0.1 for vB 3.5 - Homepage Link In Navbar
 
Quote:

Homepage Link in Navbar
Set this option to 'Yes' if you would like the breadcrumbs in your navbar to begin with a link back to your homepage. Otherwise it will begin with a link back to your gallery as the first breadcrumb.
This option is still set to Yes (from my vB 3.0.7 install), but the Gallery no longer shows it:

http://www.fireblades.org/gallery/

As your browse deeper, it shows Gallery in the breadcrumbs twice.

ConqSoft July 16th, 2005 09:09 PM

Re: Gallery 1.0.1 for vB 3.5 - Homepage Link In Navbar
 
Also getting a JS error on every page except the Gallery Home page. Might be related.

Brian July 16th, 2005 09:40 PM

Re: (3.5) Homepage Link In Navbar
 
See post #13.

ConqSoft July 16th, 2005 09:52 PM

Re: (3.5) Homepage Link In Navbar
 
That did it.

It looks like the JS errors may only be when you are logged in and viewing a full size image:
http://www.fireblades.org/gallery/sh...0&userid=10728

Brian, your user account still has Admin rights, if you want to log in to view it.

Brian July 16th, 2005 10:05 PM

Re: (3.5) Homepage Link In Navbar
 
If you'll look in your 'ADV_GALLERY_SHOWIMAGE' template for this bit of code:
Code:

Content visible to verified customers only.
And replace with this:
Code:

Content visible to verified customers only.
Then that should take care of the js error.

ConqSoft July 16th, 2005 10:10 PM

Re: (3.5) Homepage Link In Navbar
 
Yep. :D Thanks.

Brian July 16th, 2005 10:13 PM

Re: (3.5) Homepage Link In Navbar
 
No problem. Thanks for pointing the error out. :)

ConqSoft July 24th, 2005 01:34 PM

Re: (3.5) Homepage Link In Navbar
 
Quote:

Originally Posted by Brian
If you'll look in your gallery_global.php file for this code:
Code:

Content visible to verified customers only.
And replace with this:
Code:

Content visible to verified customers only.
Then that should take care of the navbar problem. I'm not seeing any js errors on your site or my localhost, but if you'd like to submit a support ticket I'll be glad to take a look into that for you.


Update: Just noticed that it links to the Gallery, just like the "Gallery" link in the breadcrumbs does. I assume it should link to the Forums, or the Root?

Brian July 24th, 2005 04:37 PM

Re: (3.5) Homepage Link In Navbar
 
Whoops... I've got to train my mind to be more careful about the differences between 3.x and 3.5. I just updated the post with the correct code.

ConqSoft July 24th, 2005 04:55 PM

Re: (3.5) Homepage Link In Navbar
 
Hmm. It's still doing the same thing.

http://www.fireblades.org/gallery/br...ages.php?c=504

Both items in the breadcrumbs still link to the Gallery. I'm pretty sure I made the change correctly. (Tried it twice to be sure, but that doesn't mean I did it right. :D )

Brinnie July 24th, 2005 05:58 PM

Re: (3.5) Homepage Link In Navbar
 
Quote:

Originally Posted by ConqSoft
Update: Just noticed that it links to the Gallery, just like the "Gallery" link in the breadcrumbs does. I assume it should link to the Forums, or the Root?

That's what I was submitting from a ticket, but it didn't work! See, I wasn't lying! I have no reason to!

but Byran says he updated it, and I will try it now.

Brinnie July 24th, 2005 06:10 PM

Re: (3.5) Homepage Link In Navbar
 
stirr doring the same thing for me too, conqsoft :(

Brian July 24th, 2005 06:56 PM

Re: (3.5) Homepage Link In Navbar
 
I think vB may have changed something in their last release... If you look for this code in the original file:
Code:

Content visible to verified customers only.
And replace with this:
Code:

Content visible to verified customers only.
Then that will take care of the problem.

ConqSoft July 24th, 2005 07:13 PM

Re: (3.5) Homepage Link In Navbar
 
Yep. Perfect.

Brinnie July 25th, 2005 12:01 AM

Re: (3.5) Homepage Link In Navbar
 
prease help :(

ConqSoft July 25th, 2005 06:23 AM

Re: (3.5) Homepage Link In Navbar
 
Start with the original gallery_global.php from the Gallery zip file, and make the above change.

Brinnie July 25th, 2005 08:26 PM

Re: (3.5) Homepage Link In Navbar
 
Quote:

Originally Posted by ConqSoft
Start with the original gallery_global.php from the Gallery zip file, and make the above change.


Hmm...

I applied the hack, but it goes back to my hompage, not my forum. :confused:

Brian July 26th, 2005 10:25 AM

Re: (3.5) Homepage Link In Navbar
 
It's not meant to go back to your forum.

ConqSoft July 31st, 2005 12:51 AM

Re: (3.5) Homepage Link In Navbar
 
If I set the Homepage Link In Navbar option to No, I get:

Parse error: parse error, unexpected '\"' in /usr/www/users/fbforums/gallery/index.php(253) : eval()'d code on line 50

If I put the original code back in, from before the navbar fix above, it works fine with this option set to No.

Brian July 31st, 2005 10:17 AM

Re: (3.5) Homepage Link In Navbar
 
Try applying the code from post #13 again. I believe I noticed that problem shortly after I made the post (and shortly after you posted to say it was working) and updated the post with the correct code.


All times are GMT -5. The time now is 04:19 AM.

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