vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Add a forum link... this should be easy... (https://vborg.vbsupport.ru/showthread.php?t=78231)

bmpwe 03-16-2005 09:43 PM

Add a forum link... this should be easy...
 
I'm using vBadvanced and would like a link to the forum in the title bar (where, on this site there are links to: User CP, FAQ, Site Rules...

I'm sure this has been answered before... I just didn't know what to search for.

Thanks for your help,
Brandon

Reeve of shinra 03-16-2005 10:25 PM

Check your nav bar template. Copy paste some of hte html and change your link.

bmpwe 03-17-2005 02:13 AM

Quote:

Originally Posted by Reeve of shinra
Check your nav bar template. Copy paste some of hte html and change your link.

And where would this be located?

nyunyu 03-17-2005 02:16 AM

in admincp ~ style manager..expand it,

bmpwe 03-17-2005 02:24 AM

Quote:

Originally Posted by nyunyu
in admincp ~ style manager..expand it,

Is this some where in here:
# Navigation / Breadcrumb Templates [? ?]

* navbar [Customize]
* navbar_link [Customize]

?

Thanks for your help... this is new to me.

nyunyu 03-17-2005 11:42 AM

yes, its in navbar

the easiest way to look for it is find "forum" in the search box. then you will have the idea

bmpwe 03-17-2005 08:59 PM

Ok, I tried this... and got the following error:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@mavsonline.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.33 Server at www.mavsonline.com Port 80

Is there somewhere I can edit this in a static file?

Surely this exists somewhere.

TruthElixirX 03-17-2005 09:17 PM

Your wanting a link to your homepage? I can do you one better. One that changes to a link to your forums or homepage depending on where youi're at!

In your navbar template find:

Code:

<!--<td class="vbmenu_control"><a href="$vboptions[forumhome].php?$session[sessionurl]">Home</a></td>-->
Replace with

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 will give you a link to the forums on vBa pages



-Zach

Source:http://www.vbadvanced.com/forum/show...e+dynamic+link

bmpwe 03-17-2005 10:07 PM

When I try to do this, I get a 500 server error error.

Is there some file I can ftp and edit that way?

TruthElixirX 03-17-2005 10:16 PM

Nope. This mod worked excellent for me.

www.supportcore.org

very first link. Are you sure you're editing the riight template?


All times are GMT. The time now is 09:54 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.01171 seconds
  • Memory Usage 1,737KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete