Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-05-2004, 12:03 PM
imported_Massie imported_Massie is offline
 
Join Date: Aug 2002
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Need to figure out how to add more options...

to the navbar... I want to add a Store option and a Today's Posts option too, how to I add them, I'd appreciate any help...

This is the style I am using and how it looks like... Thanks!
Attached Images
File Type: jpg navbards.jpg (28.2 KB, 0 views)
Reply With Quote
  #2  
Old 08-05-2004, 05:28 PM
defi's Avatar
defi defi is offline
 
Join Date: Nov 2003
Location: Florida
Posts: 279
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're more then likely going to run out of room with that small style width, but you can try anyways.

I believe the navbar links are being read in the header template... let me know if you can't find them in there... But assuming they are:

Open the admincp and go to;
styles & templates > style manager > edit templates > header
find the following code

Code:
		<if condition="$show['registerbutton']">
			<td class="vbmenu_control"><a href="register.php?$session[sessionurl]">$vbphrase[register]</a></td>
		</if>
add under

Code:
<td class="vbmenu_control"><a href="store.php?$session[sessionurl]">Store</a></td>
 
<td class="vbmenu_control"><a href="search.php?do=getnew">Today's Posts</a></td>
be sure to replace the a href with the correct link for your forums


As I said, the width of that style is extremely small for fitting all those links in... You may want to take some links out of there...

Anyways, Good luck.

Jonathan
Reply With Quote
  #3  
Old 08-06-2004, 02:39 AM
imported_Massie imported_Massie is offline
 
Join Date: Aug 2002
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That worked great, thank you! I saw that your response earlier said to look in the navbar templates but yeah, it wasn' t there, it was as you said, on the header one. I just added the store one and it changed the width just a bit, how do you shorten other links? for example there is one that says Members List, how to edit it to say just Members?

Thanks so much for your help, I truly appreciate it!
Reply With Quote
  #4  
Old 08-06-2004, 02:56 AM
imported_Massie imported_Massie is offline
 
Join Date: Aug 2002
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You know I bought a few styles for my forums, some of them have graphic links, I have the pdf files to make extra one but I have no idea how to add them. I really need to add one that says store and another that says Today's Posts to that navigation bar... could you help me with this? I'd appreciate it so much!
Reply With Quote
  #5  
Old 08-06-2004, 03:30 AM
defi's Avatar
defi defi is offline
 
Join Date: Nov 2003
Location: Florida
Posts: 279
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Massie
how do you shorten other links? for example there is one that says Members List, how to edit it to say just Members?
It's in one of the <td> tags called $vbphrase[members] or something... It will look similiar to that, Just replace the variable with Members.

Unfortuanetly, I can not provide support for other styles bought through other design/template sites besides blue tropic designs.

Jonathan
Reply With Quote
  #6  
Old 08-06-2004, 01:01 PM
imported_Massie imported_Massie is offline
 
Join Date: Aug 2002
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh there are so many of those $vbphrase ones, I don't know which ones to change...

I understand about the other question, thanks !! :smile:
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 04:44 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04265 seconds
  • Memory Usage 2,228KB
  • Queries Executed 14 (?)
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_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (1)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)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_postinfo_query
  • fetch_postinfo
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete