vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Need to figure out how to add more options... (https://vborg.vbsupport.ru/showthread.php?t=89607)

imported_Massie 08-05-2004 12:03 PM

Need to figure out how to add more options...
 
1 Attachment(s)
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!

defi 08-05-2004 05:28 PM

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

imported_Massie 08-06-2004 02:39 AM

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!

imported_Massie 08-06-2004 02:56 AM

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!

defi 08-06-2004 03:30 AM

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

imported_Massie 08-06-2004 01:01 PM

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:


All times are GMT. The time now is 08:39 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.01094 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete