vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > Add-On Modules & Modifications > vBa CMPS v3.x & 2.x > Modifications (version 3.x & 2.x)

Reply
 
Thread Tools Display Modes
  #121  
Old 06-11-2006, 02:40 PM
zooki zooki is offline
Junior Member
 
Join Date: Jun 2006
Posts: 7
Default Re: Dynamic Forum / Home Link in Navbar

Hi guys, anyone having trouble with incorrect links just need to have a look at the code and change it a bit. Maybe you need to take out an extra "/" or you need to make sure your paths correlate with the variables.
Reply With Quote
  #122  
Old 06-14-2006, 06:07 PM
DaleBrown's Avatar
DaleBrown DaleBrown is offline
Junior Member
 
Join Date: Mar 2006
Posts: 20
Default Re: Dynamic Forum / Home Link in Navbar

Ok this is all a little all run together ;0 Let me try and explain what I'm looking for in detail and see if there is an option. when you are on the below sections of the site this is how I want the breadcrumb to look.

"Home" always refers to the root (VBadvanced CMPS)

"Forums" Always refers to the Forums Root

1. When on Main Home Page Breadcrumb looks like this:

Home

2. When on the Forums Main page:

Home > Forums

3. When anywhere in the forums the breadcrumb looks like this:

Home > Forums > bla bla bla

4. When in Gallery (Photopost) breadcrumb looks like this:

Home > Gallery > etc.....

I always want HOME to be the first link in breadcrumb and send you to main page

Hope this is clear.

Last edited by DaleBrown; 06-14-2006 at 06:55 PM.
Reply With Quote
  #123  
Old 06-17-2006, 02:09 AM
DomP DomP is offline
Junior Member
 
Join Date: Nov 2005
Posts: 12
Default Re: Dynamic Forum / Home Link in Navbar

did this change for 3.6 beta ?

any help is appreciated :-)
Reply With Quote
  #124  
Old 07-05-2006, 04:56 PM
mholtum's Avatar
mholtum mholtum is offline
I ******* single moms.
 
Join Date: May 2004
Location: Tempe, Arizona
Posts: 1,938
Default Re: Dynamic Forum / Home Link in Navbar

should still work
Reply With Quote
  #125  
Old 07-07-2006, 12:16 PM
DarkSoul DarkSoul is offline
Member
 
Join Date: Jul 2006
Posts: 47
Default Re: Dynamic Forum / Home Link in Navbar

I cannot get this to work, Whenever i add said code in said place, my menu "Quick Links" show up above my shoutbox. and totally displace the entire page.

what am i doing wrong?
Reply With Quote
  #126  
Old 07-15-2006, 08:23 PM
Jimbo Jimbo is offline
Junior Member
 
Join Date: Dec 2005
Posts: 7
Default Re: Dynamic Forum / Home Link in Navbar

I have this installed, and working fine.

The only [slight] problem I have is in gallery. I do not get a forum link i.e.

CMPS
Forum Gallery Links Usercp etc.

Forum
Home Gallery Links Usercp etc.

Gallery
Home Gallery Links Usercp etc.

Links

Home Forum Gallery Links Usercp etc.

Note that in gallery and links, I also get a link to the same page.

Does anyone know the fix to this? - I have searched the topic and cannot see the answer.

Code used is :-
Code:
<if condition="THIS_SCRIPT != 'adv_index'">
<td class="vbmenu_control"><a href="$vboptions[homeurl]?$session[sessionurl]">Home</a></td>
</if>
<if condition="defined('VBA_SCRIPT')">
<td class="vbmenu_control"><a href="$vboptions[bburl]?$session[sessionurl]">Forums</a></td>
</if>
<if condition="VBA_SCRIPT != 'gallery'">
<td class="vbmenu_control"><a href="$vboptions[homeurl]/gallery/?$session[sessionurl]">Gallery</a></td>
</if> 
<if condition="VBA_SCRIPT != 'links'">
<td class="vbmenu_control"><a href="$vboptions[homeurl]/links/?$session[sessionurl]">Links</a></td>
</if>
Cheers,
Jimbo
Reply With Quote
  #127  
Old 07-17-2006, 06:23 AM
hex4 hex4 is offline
Junior Member
 
Join Date: Jul 2006
Posts: 10
Default Re: Dynamic Forum / Home Link in Navbar

what if I need to have something like this:

Homepage (cmps_index.php)
-Forums- -FAQ- -Members List- -Calendar- -Search- -Log Out-

and in the Forums page (index.php)
-Home- -User Cp- -FAQ- -Members List- -Calendar- -Search- -Log Out-
Reply With Quote
  #128  
Old 09-23-2006, 11:07 PM
interfx interfx is offline
Senior Member
 
Join Date: Aug 2004
Posts: 340
Default Re: Dynamic Forum / Home Link in Navbar

This works great, but I am now trying to add "Chat" to my nav menu...

Here's what I did

created a new page in VBa (identified as "chat") in which I integrated (flashchat) into a template which is on that custom page (chat).

then in my navbar I added this line

Code:
<if condition="defined('chat')">
<td class="vbmenu_control"><a href="$vboptions[bburl]/chat/flashchat.php">
Chat</a></td>
</if>
It's not working??? Any ideas out there?
__________________
InterFX
<br><br>

my Clients using VBa:
ChristianMom.com | BrassReview.com | TrumpetForum.com

Last edited by interfx; 09-24-2006 at 08:54 AM.
Reply With Quote
  #129  
Old 10-04-2006, 07:19 AM
SLGR SLGR is offline
Junior Member
 
Join Date: Jul 2005
Posts: 22
Default Re: Dynamic Forum / Home Link in Navbar

I upgraded to 3.6.1.
On forums page, the link back to the main works wonderfully.
But, the link on the main page to the forums page, does this:

http://www.yourdomainname.com/forum//index.php. Why the second line is added?
Reply With Quote
  #130  
Old 10-18-2006, 12:04 AM
CordlezToaster CordlezToaster is offline
Junior Member
 
Join Date: Oct 2006
Posts: 4
Default Re: Dynamic Forum / Home Link in Navbar

Quote:
Originally Posted by eclectica View Post
Okay this is what happens in vBulletin 3.5.2. When you try to find in the template:

The term comes up in several places in the template. Every time you hit the "find" button it finds more instances of it. You want to insert the modification above the second instance of it in the template.

You have to hit the "find" button twice or it will be put in the wrong place. When you find it, insert above it:

and you should be good.

Thank you this works GREAT!!
Reply With Quote
  #131  
Old 10-24-2006, 07:57 PM
eclectica eclectica is offline
Member
 
Join Date: Mar 2004
Location: Brooklyn
Posts: 80
Default Re: Dynamic Forum / Home Link in Navbar

One thing I discovered about this fix, is that while it may be more aesthetically pleasing to see your yoursite.com/ than yoursite.com/?, the latter is preferable because it works for people who can not use cookies or have them blocked. Otherwise the session link will fail because it will be yoursite.com/index.phps=sesssionhash instead of yoursite.com/index.php?s=sessionhash. So those two question marks before $session in the added template modification serve a practical though aesthetically unpleasing purpose.
Reply With Quote
  #132  
Old 11-17-2006, 12:53 AM
Black Cobra Black Cobra is offline
Stealth Killer
 
Join Date: May 2005
Posts: 15
Default Re: Dynamic Forum / Home Link in Navbar

This doesn't work for the gallery 2.1
Reply With Quote
  #133  
Old 11-17-2006, 01:27 AM
mholtum's Avatar
mholtum mholtum is offline
I ******* single moms.
 
Join Date: May 2004
Location: Tempe, Arizona
Posts: 1,938
Default Re: Dynamic Forum / Home Link in Navbar

You might have to change the code a bit. I have it working on my site. http://www.ravensrealm.net Cant remember if I had to change anything.
Reply With Quote
  #134  
Old 11-25-2006, 02:29 AM
Skavenger Skavenger is offline
Banned
 
Join Date: Sep 2005
Posts: 15
Default Re: Dynamic Forum / Home Link in Navbar

How can i make this?

On Index
Forums / Gallery

On Forums
Home / Gallery

On Gallery
Forums / Gallery






Quote:
Originally Posted by Black Cobra View Post
This doesn't work for the gallery 2.1
use this
Code:
<if condition="PP_SCRIPT == 'vBGallery'">

Last edited by Skavenger; 11-25-2006 at 02:31 AM.
Reply With Quote
  #135  
Old 11-25-2006, 12:06 PM
JohnnyBGood JohnnyBGood is offline
Junior Member
 
Join Date: Nov 2005
Posts: 15
Default Re: Dynamic Forum / Home Link in Navbar

Hi guys,

I used the code as specified in my navbar template and it seems to work fine other than one small problem.

The 'home' link takes me to my root, but the 'forum' link takes me to /forums/cmps_index.php instead of /forums/index.php.

For the life of me I can not work out what is wrong here.

Thanks,

John
Reply With Quote
  #136  
Old 11-25-2006, 12:31 PM
JohnnyBGood JohnnyBGood is offline
Junior Member
 
Join Date: Nov 2005
Posts: 15
Default Re: Dynamic Forum / Home Link in Navbar

I found a solution. Basically I removed some of the code, so the URL I get for 'Forum' is now:

a href="$vboptions[bburl]"

/John
Reply With Quote
  #137  
Old 12-06-2006, 04:11 PM
The dman The dman is offline
Junior Member
 
Join Date: Dec 2006
Posts: 19
Default Re: Dynamic Forum / Home Link in Navbar

If someone would have a moment to help it would be appreciated.

My cmps portal is index.php and my forums portal is forums.php. I have my forums installed in my root directory and I have tried everything in this thread and still can't get the forums navbar link in cmps to go to my forums. Could any body spell it out in simple terms?

Thanks
Reply With Quote
  #138  
Old 12-06-2006, 08:50 PM
StuntFactoryX StuntFactoryX is offline
Senior Member
 
Join Date: May 2006
Posts: 174
Default Re: Dynamic Forum / Home Link in Navbar

im taking a shot in the dark.. but did you try going to

admincp > cmps > default settings and make sure you changed cmps_index to index

then

admincp > vboptions > forum homepage options and rename index to forums

im not sure if its the solution.. just a idea?
Reply With Quote
  #139  
Old 12-06-2006, 09:04 PM
The dman The dman is offline
Junior Member
 
Join Date: Dec 2006
Posts: 19
Default Re: Dynamic Forum / Home Link in Navbar

StuntFactoryX

Yes this is set up correct.

Allthough

admincp > cmps > default settings,cmps_index is set to forums.php

Last edited by The dman; 12-06-2006 at 09:09 PM.
Reply With Quote
  #140  
Old 12-07-2006, 11:32 AM
StuntFactoryX StuntFactoryX is offline
Senior Member
 
Join Date: May 2006
Posts: 174
Default Re: Dynamic Forum / Home Link in Navbar

Quote:
Originally Posted by The dman View Post
StuntFactoryX

Yes this is set up correct.

Allthough

admincp > cmps > default settings,cmps_index is set to forums.php

that could be the problem.. that setting is calling for what u remamed your vbadvanced to if you changed on set up.. by default it should be cmps_index.php.. many renamed this to index.php so when yo go to yoursite.com it comes up.

the second setting is calling for what you renamed your original vbulletin index.php too if you changed it to make vbadvanced/vbulletin work together in the root. and i think its set to index by default.

im assuming that you renamed your cmps_index.php to index.php and your origional vbulletin index.php to forums.php
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Link To Forum Home addictive "How Do I..." Questions 2 06-27-2005 07:49 AM
Dynamic Forum Home Announcement - vBaCMPS Integration kall Add-On Modules & Modifications 2 09-12-2004 03:58 AM


All times are GMT -4. The time now is 05:49 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.