Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-09-2010, 07:06 AM
discontained discontained is offline
 
Join Date: Oct 2009
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Change HOME link in navbar

I have searched for a good 2 hours on how to change this. I have found many posts that have no information except telling me to look elsewhere.

All I want to do, is change the HOME (where it says HOME | FORUMS | BLOG | WHATS NEW ) tab link, its currently pointed to content.php but I want it to point to the portal instead.

I have no luck. Please help me.
Reply With Quote
  #2  
Old 02-09-2010, 03:45 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by discontained View Post
I have searched for a good 2 hours on how to change this. I have found many posts that have no information except telling me to look elsewhere.

All I want to do, is change the HOME (where it says HOME | FORUMS | BLOG | WHATS NEW ) tab link, its currently pointed to content.php but I want it to point to the portal instead.

I have no luck. Please help me.
Hello. The template you need is navbar and the specific code is:

HTML Code:
<li class="selected"><a class="navtab" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}">{vb:rawphrase forum}</a>
And enter the url to your portal inside the href attribute. Hope it helps.
Reply With Quote
  #3  
Old 02-09-2010, 06:03 PM
discontained discontained is offline
 
Join Date: Oct 2009
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by borbole View Post
Hello. The template you need is navbar and the specific code is:

HTML Code:
<li class="selected"><a class="navtab" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}">{vb:rawphrase forum}</a>
And enter the url to your portal inside the href attribute. Hope it helps.
Hi if i change that in the NAVBAR template it changes my FORUM link to whatever i put in there.

I have uploaded what im talking about.

Somehow the HOME tab is pointing towards "content.php"
Attached Images
File Type: jpg navbartemp.jpg (216.0 KB, 0 views)
File Type: jpg navtabs.jpg (67.2 KB, 0 views)
File Type: jpg navtabsforum.jpg (63.1 KB, 0 views)
Reply With Quote
  #4  
Old 02-09-2010, 06:31 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry about that, I thought that you wanted to change the Forum link. Anyway, follow the example with the home link and you should be all set.

P.s. Can you open the index.php fiel in the root folder of your forum and check if you have this:

PHP Code:
require('content.php'); 
Cos that is why it is pointing to the content.php.
Reply With Quote
  #5  
Old 02-09-2010, 06:45 PM
discontained discontained is offline
 
Join Date: Oct 2009
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Open the index.php f ile in my root folder, it doesnt have anything with content.php in it.

Also, I can not find where the HOME link is. It looks like it starts with forum link, in the code sequence.
Reply With Quote
  #6  
Old 02-09-2010, 07:19 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

From what is that home link added? A portal or from the CMS?
Reply With Quote
  #7  
Old 02-09-2010, 08:02 PM
DivineMessenger DivineMessenger is offline
 
Join Date: Feb 2008
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what if you just want it to say "forums" instead of "forum"?
Reply With Quote
  #8  
Old 02-09-2010, 08:08 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DivineMessenger View Post
what if you just want it to say "forums" instead of "forum"?
Do you mean to change the name of the Forum tab at the nav bar from Forum to Forums? if so, you can do it at the Languages and Phrases in the Acp. The phrase you need is forum.
Reply With Quote
  #9  
Old 02-09-2010, 09:56 PM
discontained discontained is offline
 
Join Date: Oct 2009
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by borbole View Post
From what is that home link added? A portal or from the CMS?
Its linked right now to CMS however we dont use CMS and use the vB CMPS portal. I want to link the HOME to the portal page

here is my site the home button is annoying me!
www.aepautomotive.com
Reply With Quote
  #10  
Old 02-09-2010, 11:16 PM
DivineMessenger DivineMessenger is offline
 
Join Date: Feb 2008
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Then yeah just change the href to the url of the page you'd like rather than all that code that makes no sense to me lol
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 02:22 AM.


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.04331 seconds
  • Memory Usage 2,281KB
  • Queries Executed 12 (?)
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_html
  • (1)bbcode_php
  • (4)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
  • (3)postbit_attachment
  • (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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete