Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 06-02-2009, 02:21 AM
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
Posts: 1,128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Links added to the nav bar....

I've just installed the vBadvanced Home Page and it works fine, but as soon as I leave the Home Page to go into my Forum I am unable to link back as I don't have a link installed on my nav bar.

How do I insert a link for the Home Page into the nav bar.
Easy steps please guys as I am new to all of this.

Thanks.
Reply With Quote
  #2  
Old 06-02-2009, 02:56 AM
josh2007 josh2007 is offline
 
Join Date: Mar 2009
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go to Admin CP->Style and Templates->Style Manager->%YOUR STYLE&->Edit Templates (in dropdown box)->then down to Navigation/Breadcrum Templates->Expand/Collapse-> then navbar

Click Customize

Look for:
Quote:
<!-- nav buttons bar -->
<div class="tborder" style="padding:$stylevar[cellspacing]px; border-top-width:0px">
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr align="center">
Add underneath:
Quote:
<td class="vbmenu_control"><a href="YOUR FORUM URL">Portal</a></td>
Change YOUR FORUM URL to the path of your forum index
Reply With Quote
  #3  
Old 06-02-2009, 03:13 AM
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
Posts: 1,128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, where you said Change "YOUR FORUM URL to the path of your forum index" where would I find this path to add?
Reply With Quote
  #4  
Old 06-02-2009, 03:27 AM
josh2007 josh2007 is offline
 
Join Date: Mar 2009
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol easy you go to your forum homepage where it shows all the forums and subforums and the currently active users. That is your forum url

should end like /forums/index.php
(depending what directory your forum is in)
If you have more trouble post your site link here
Reply With Quote
  #5  
Old 06-02-2009, 03:39 AM
Biker_GA Biker_GA is offline
 
Join Date: Oct 2004
Location: Where my hat is
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In your navbar template find:

Code:
<!-- nav buttons bar -->
<div class="tborder" style="padding:$stylevar[cellspacing]px; border-top-width:0px">
	<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
	<tr align="center">
After that put in:

Code:
<!-----Link to Portal (Home)----->
                         <td class="vbmenu_control"><a href="http://www.yourforumname.com$session[sessionurl_q]">$vbphrase[portal]</a></td>
<!-----End Link to Portal (Home)----->
Save the template.

Then create a phrase called Portal. The text for the phrase can be anything you wish. I use Home.
Reply With Quote
  #6  
Old 06-02-2009, 03:42 AM
josh2007 josh2007 is offline
 
Join Date: Mar 2009
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

either way works lol
Reply With Quote
  #7  
Old 06-02-2009, 03:44 AM
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
Posts: 1,128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by josh2007 View Post
Go to Admin CP->Style and Templates->Style Manager->%YOUR STYLE&->Edit Templates (in dropdown box)->then down to Navigation/Breadcrum Templates->Expand/Collapse-> then navbar

Click Customize

Look for:


Add underneath:


Change YOUR FORUM URL to the path of your forum index
All done, that worked great, :up:
next thing for my nav bar is to insert a Forum link, this link is where I want it to direct me to my main Forum, same code as above with a different path?
If so where would I find the main forum path within my Admin Panel?

Thanks.
Reply With Quote
  #8  
Old 06-02-2009, 03:45 AM
josh2007 josh2007 is offline
 
Join Date: Mar 2009
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes and your admin panel path should be yourdomain.com/forums/admincp
Reply With Quote
  #9  
Old 06-02-2009, 03:49 AM
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
Posts: 1,128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, I didn't mean an Admin Panel path , I meant a path to my main forum.
Where you I find that path to insert to replace, <td class="vbmenu_control"><a href="YOUR FORUM URL">Portal</a></td>
(Your Forum)
Thanks again.
Reply With Quote
  #10  
Old 06-02-2009, 03:51 AM
josh2007 josh2007 is offline
 
Join Date: Mar 2009
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

should be http://www.YOURDOMAIN.com/forums/index.php

replace YOURDOMAIN with whats between the www. and the .com lol

--------------- Added [DATE]1243918343[/DATE] at [TIME]1243918343[/TIME] ---------------

also if you dont like the word portal you can change Portal in the code and change it to whatever you want to appear in the navbar
Reply With Quote
Reply

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


All times are GMT. The time now is 10:20 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.05111 seconds
  • Memory Usage 2,248KB
  • Queries Executed 11 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete