Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-29-2004, 06:17 AM
SeanThomps SeanThomps is offline
 
Join Date: Nov 2004
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Navbar addon for vBadvanced CMPS?

It would be cool if the homepage portal actually followed suit as far as the navigation goes. In other words:

Homepage=>Forums=>Catagory=>Forum=>Topic


etc....

That way users could readily use the portal page more...

Know what I mean? So when you're on the rest of the site you can still get to the frontpage via the folders.

Oh and by the way, I just got my vbulletin installed, and did the portal right away. I think it looks hot http://www.volconvo.com
Reply With Quote
  #2  
Old 11-29-2004, 07:54 AM
Jaxx Jaxx is offline
 
Join Date: Mar 2003
Location: Seattle, Wa
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure if this is what you mean: https://vborg.vbsupport.ru/showthread.php?t=65198

Its what I use so folks can get back to the home page. And also on the CMPS forum itself, there is info about adding just the Home link to the nav bar.
Reply With Quote
  #3  
Old 11-29-2004, 09:36 AM
Jason McConnell Jason McConnell is offline
 
Join Date: Jun 2004
Location: Syracuse NY
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jaxx
Not sure if this is what you mean: https://vborg.vbsupport.ru/showthread.php?t=65198

Its what I use so folks can get back to the home page. And also on the CMPS forum itself, there is info about adding just the Home link to the nav bar.
How about just using a conditional statement in the $navbar template?

Find:
Code:
<!--<td class="vbmenu_control"><a href="$vboptions[forumhome].php?$session[sessionurl]">Home</a></td>-->
And replace it with this:
Code:
<td class="vbmenu_control"><if condition="THIS_SCRIPT == 'adv_index'"><a href="$vboptions[bburl]?$session[sessionurl]"> Forums <else /> <a href="$vboptions[homeurl]?$session[sessionurl]"> Home </if></a></td>
This way, on your portal you have a link to the forums, and then on the forum you have a link back home. I have this on my own site, if you need to see what I'm talking about. http://www.unifiedx.com

Sean, what you have in mind, I think is using Custom Pages on the portal. Check this page out: vBadvanced CMPS User's Manual for Adding Custom Pages. Good Luck
Reply With Quote
  #4  
Old 11-29-2004, 03:18 PM
SeanThomps SeanThomps is offline
 
Join Date: Nov 2004
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey thanks guys! Looks great Jason...just what I need.

Hey Jason, since it sounds like you know a bit about the code. Do you know how I can change the logo on the portal from linking to the portal (when on the portal page), to changing it to link to the forums? I would love if my users could just click that logo, and go into the index.

here's my site to see the logo example: http://www.volconvo.com
Reply With Quote
  #5  
Old 11-29-2004, 05:15 PM
Andrew's Avatar
Andrew Andrew is offline
 
Join Date: Nov 2004
Location: Pennsylvania
Posts: 441
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SeanThomps
hey thanks guys! Looks great Jason...just what I need.

Hey Jason, since it sounds like you know a bit about the code. Do you know how I can change the logo on the portal from linking to the portal (when on the portal page), to changing it to link to the forums? I would love if my users could just click that logo, and go into the index.

here's my site to see the logo example: http://www.volconvo.com
The easiest way would just be to modify the url in the header template. I just hardcoded mine to point directly to my forum index page. If you're just using the default header template this should help you out.

Find in Header :
---------------
HTML Code:
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
Then just modify the "$vboptions[forumhome].php?$session[sessionurl]" part to point directly to your forum index page.
Reply With Quote
  #6  
Old 11-29-2004, 08:29 PM
SeanThomps SeanThomps is offline
 
Join Date: Nov 2004
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

EXCELLENT! Thanks
Reply With Quote
  #7  
Old 11-29-2004, 09:04 PM
Bison's Avatar
Bison Bison is offline
 
Join Date: Jun 2002
Location: Virginia Beach, Virginia
Posts: 522
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now where is that "Thank You" button?
Reply With Quote
Reply


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


All times are GMT. The time now is 01:44 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04662 seconds
  • Memory Usage 2,226KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete