PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old January 2nd, 2008, 07:27 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jan 2005
Location: Lafayette, CA
Posts: 30
Send a message via AIM to flavoflav Send a message via Yahoo to flavoflav
How do I chnage where the breadcrumb link goes ?

Right now the breadcrumb in my VBgallery goes to the root of my web site - I want it to go to my forums instead - how would I chnage that?

Thanks

J -
flavoflav is offline   Reply With Quote
Old June 19th, 2008, 06:24 AM   #2 (permalink)
Member
Verified Customer
 
Join Date: Aug 2005
Posts: 47
Same question. I'm running vBulletin 3.7.1 patch 2 and vBGallery 2.4.3. When running previous versions I found instructions somewhere on these forums for changing the base breadcrumb link from HOME to FORUMS. Changed the link title and the URL where the link pointed. May have been a template change, but it has been a long time and I don't remember for sure.

Searched these forums again now and can only find instructions for header replacements and navbar replacements. I don't believe these are the solutions I'm looking for.

Help will be appreciated. Thank you.
rcwild is offline   Reply With Quote
Old June 19th, 2008, 06:49 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Aug 2005
Posts: 47
I found the solution on my own. Edited a couple things in gallery_global.php

Quote:
$navreplace['replace'] = array(
'"' . $vbulletin->options['bburl'] . '/clientscript',
'\'' . $vbulletin->options['bburl'] . '/misc.php',
iif($ppg_options['gallery_navbarhomelink'], '$GLOBALS[\'vbulletin\']->options[\'bbtitle\']', '$GLOBALS[\'ppg_options\'][\'gallery_title\']'),
iif($ppg_options['gallery_navbarhomelink'], '$GLOBALS[\'vbulletin\']->options[\'bburl\'] . "', '$GLOBALS[\'ppg_options\'][\'gallery_url\'] . "/index.php')
);
However, in the process I discovered other links from my gallery don't work. Examples include link to blogs and social groups. vBGallery is installed in a directory called Gallery in root, not in Forum directory. Where do I go to change the relative URL?
rcwild is offline   Reply With Quote
Old June 19th, 2008, 07:50 AM   #4 (permalink)
Member
Verified Customer
 
Join Date: Aug 2005
Posts: 47
Quote:
Originally Posted by rcwild View Post
However, in the process I discovered other links from my gallery don't work. Examples include link to blogs and social groups. vBGallery is installed in a directory called Gallery in root, not in Forum directory. Where do I go to change the relative URL?
Figured this one out, too.

Added: group.php and album.php to the NavBar Replacements list to fix the links from vBGallery to Social Groups and Profile Albums.

Fixing link from vBGallery to Blogs required changing to full URL in Blog Templates >> blog_navbar_link (http://www.domain.com/forums/blog.php)
rcwild is offline   Reply With Quote
Old June 19th, 2008, 08:27 AM   #5 (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
The blog and project tools needs a plugin to change the URL's as they load before the gallery can use the AdminCP replacements. I'll get the code for that.

Last edited by Zachariah; June 19th, 2008 at 09:30 AM.
Zachariah is offline   Reply With Quote
Old June 19th, 2008, 09:29 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
VB Blog navbar link, search
Project tools navbar link, search

/includes/vbgallery/global_setup_complete.php

After:
Code:
Content visible to verified customers only.
Add for Blog:
Code:
Content visible to verified customers only.
Add for Project Tools:
Code:
Content visible to verified customers only.
-----------------------------

We also need to change the Execution Order of a plugin.

AdminCP => Plugins & Products => Plugin Manager
- Product : PhotoPost vBGallery
-- Navbar Integration [edit]
--- Execution Order: 4
[save]
Zachariah is offline   Reply With Quote
Old June 19th, 2008, 09:35 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Aug 2005
Posts: 47
Do I need to add the code you provided for blog and undo the absolute URL that I added to the blog_navbar_link template? Or add the code and leave the absolute URL?
rcwild is offline   Reply With Quote
Old June 19th, 2008, 10:52 AM   #8 (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
No need to edit the template with that code. You can undo the edit.
Zachariah is offline   Reply With Quote
Old June 19th, 2008, 10:57 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: Aug 2005
Posts: 47
Quote:
Originally Posted by Zachariah View Post
No need to edit the template with that code. You can undo the edit.
Sorry, I'm confused. If I don't edit the template with the code you provided and go back and undo my URL edit, won't I be reverting back to the problem I was having with the blog link?
rcwild is offline   Reply With Quote
Old June 19th, 2008, 12:09 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
No problem.
- Post 6

To fix VB Blog navbar link, search.

VB Blog navbar link, search

Use FTP:
Edit: /forums/includes/vbgallery/global_setup_complete.php

After:
Code:
Content visible to verified customers only.
Add for Blog:
Code:
Content visible to verified customers only.
-----------------------------------------------------------------

We also need to change the Execution Order of a plugin.

AdminCP => Plugins & Products => Plugin Manager
- Product : PhotoPost vBGallery
-- Navbar Integration [edit]
--- Execution Order: 4
[save]

============================

This will auto add the forums URL.
You can revert the template change you did.

I will include this in the next version of the gallery.
Zachariah is offline   Reply With Quote
Old June 19th, 2008, 12:30 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Aug 2005
Posts: 47
Hmmm ...

I inserted your lines of code to ../global_setup_complete.php, then undid my edit to the blog_navbar_link template. As a result, mouseover "Blogs" when in the gallery went back to showing ../gallery/blog.php instead of ../forums/blog.php. Plus, It caused error messages to flash temporarily across the top of the page.

If either solution should work, I think I'll stick with my absolute URL in the template.

??
rcwild 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
chnage background Color Lordi Photopost Pro How Do I...? 6 April 3rd, 2007 03:30 PM
Breadcrumb Root Link DGTLMIK Bugs From 1.0.0 2 May 30th, 2005 10:22 PM
Breadcrumb link problem... BrentWilson Installs and Upgrade - vBulletin 3.0.X 2 May 9th, 2005 06:49 PM
Last Level of BreadCrumb Help Borinal How Do I? - vBulletin 3.0.X 3 March 29th, 2005 03:03 PM


All times are GMT -5. The time now is 10:59 PM.

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