 | |  | |
December 14th, 2004, 02:55 AM
|
#1 (permalink)
| | Registered User
Join Date: Jan 2003
Posts: 85
| How Do I link users back to the forums?
Currently when people are on the (vbadvanced) homepage there's a link in the navbar to the forums ( www.site.com/forum.php, named 'forums'). As soon as they're on the forum, that link is changed automatically to 'home' (directing people back to the mainpage www.site.com/index.php).
But now with the gallery, the link in the original navbar is 'home' and directing people to the home of the gallery ( www.site.com/gallery/index.php). But the link on the new gallery navbar is also named 'home' and is directing people also to the mainpage of the gallery ( www.site.com/gallery/index.php).
So how can I change the main navbar so that when you're in the gallery the link says 'forums' and direct people to www.site.com/forum.php? |
| |
December 14th, 2004, 07:09 AM
|
#2 (permalink)
| | Junior Member Verified Customer
Join Date: Jul 2004
Posts: 16
| Re: How Do I link users back to the forums?
I added a Gallery and Forums link in the forum Nav bar, like above your post.
This simply allows users to travel to whichever part of the site they want. My original alternative was a category with the url direct feature pointing to the gallery index.php. The category was simply labelled 'Gallery'.
Gallery Categories dont support this, so I then looked into editing the Forum Nav bar which is simple enough. Just go to your forum template in AdminCP and edit the header where your nav bar links are...
[Edit:] After reading through your question again, I dont think I completely answered your problem, but it may help.
|
| |
December 14th, 2004, 09:04 AM
|
#3 (permalink)
| | Guest | Re: How Do I link users back to the forums?
You need to make sure the link is /index.php if you want it to always take you back to your homepage.
| |
| |
December 14th, 2004, 10:45 AM
|
#4 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2004
Posts: 21
| Re: How Do I link users back to the forums?
I can get it to link back to the homepage by the breadcrumb option in acp but how can i change that you go too the forum instead? Kinda like how it would display if you viewed the calender?
|
| |
December 14th, 2004, 10:52 AM
|
#5 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2004
Posts: 21
| Re: How Do I link users back to the forums? Code: Content visible to verified customers only.
How can I make that go back to the forums instead of the homepage of the site basically |
| |
December 14th, 2004, 12:59 PM
|
#6 (permalink)
| | Guest | Re: How Do I link users back to the forums?
/forum/includes/functions_gallery.php
Look for: Code: Content visible to verified customers only.
Replace with: Code: Content visible to verified customers only.
Look for: Code: Content visible to verified customers only.
Replace with: Code: Content visible to verified customers only.
| |
| |
February 6th, 2005, 07:29 PM
|
#7 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2004
Posts: 21
| Re: How Do I link users back to the forums?
Has this code been changed? Cant seem to find those terms in RC3
|
| |
February 7th, 2005, 07:26 AM
|
#8 (permalink)
| | Guest | Re: How Do I link users back to the forums?
It's been moved to the gallery_global.php file.
| |
| |
February 7th, 2005, 11:02 AM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Nov 2004 Location: az
Posts: 182
| Re: How Do I link users back to the forums?
Brian followed the code above and I get this. Quote: |
Parse error: parse error, unexpected T_VARIABLE in /usr/home/hunttalk/public_html/forums/gallery/gallery_global.php on line 87
| |
| |
February 7th, 2005, 03:49 PM
|
#10 (permalink)
| | Guest | Re: How Do I link users back to the forums?
Try making the change again. There's no way you would get a parse error if you found/replaced the exact code.
| |
| |
February 7th, 2005, 11:31 PM
|
#11 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2004
Posts: 21
| Re: How Do I link users back to the forums?
Those codes arent showin up in there either. You perhaps change the wording or anything?
|
| |
February 8th, 2005, 03:40 AM
|
#12 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2001
Posts: 12
| Re: How Do I link users back to the forums? Quote: |
Originally Posted by Ablistical Those codes arent showin up in there either. You perhaps change the wording or anything? | Can't find it either ...
|
| |
February 9th, 2005, 09:52 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Nov 2004 Location: az
Posts: 182
| Re: How Do I link users back to the forums?
Brain sorry for the long delay. ive been out
I get no error now just redid it.
Delw
|
| |
February 10th, 2005, 10:08 AM
|
#14 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2005
Posts: 13
| Re: How Do I link users back to the forums?
Hi,
Im having the same problem and cant seem to find that code anywhere, just did a search of all the files and nothing.
|
| |
February 10th, 2005, 12:15 PM
|
#15 (permalink)
| | Member Verified Customer
Join Date: Nov 2004 Location: az
Posts: 182
| Re: How Do I link users back to the forums?
in the gallery rc3 its in gallery_global
I found that one or 2 of the words isnt exact so a search of the whole phrase wont work, do bits and piece till you find it. Code: Content visible to verified customers only.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 06:08 AM. | |