vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Forum Display Enhancements - Advanced Forum Navbar (https://vborg.vbsupport.ru/showthread.php?t=220035)

Coroner 08-01-2009 10:00 PM

Advanced Forum Navbar
 
1 Attachment(s)
The original mod was created years ago for the wBB (Woltlab Burning Board) and was called "Advanced Forum Header".

This Mod will install an advanced navbar with user and forum informations.
The user have the ability to choose between the "default" and "advanced" navbar into his UserCP.

This mod needs code changes and adds a few queries for every page in the forum.
Take a look into the READ.ME for the code changes (it will add a HOOK in the fetch_template function).

FAQ's
All my users should have the advanced navbar for default.
Answer: Open the product.xml and locate the installcode. You will found a default value '0'. Simply change it into '1' und install the product.

How can I add more navbar's?
Answer: The advanced navbar template is called "afn_navbar_1". Simply create a template (for example: "afn_navbar_2") and place it into the product.
Next take a look into the template "afn_usercp_option". You will found an option menu like this:
Code:

<option value="0" $afn[0]>$vbphrase[afn_navbar_chooser1]</option>
<option value="1" $afn[1]>$vbphrase[afn_navbar_chooser2]</option>

You need to change those option into:
Code:

<option value="0" $afn[0]>$vbphrase[afn_navbar_chooser1]</option>
<option value="1" $afn[1]>$vbphrase[afn_navbar_chooser2]</option>
<option value="2" $afn[2]>my 3rd navbar</option>

All navbar templates needs a unique number at it's end ("afn_navbar_X"). Where X is the option number.

edit: 03.08.2009
Changed the product and add a new plugin to fix the "mostest online users".
edit: 04.08.2009
Fixed a problem with vBA and/or vBCMS

Coroner 08-02-2009 04:10 PM

*reserved for ...*

sherwood 08-06-2009 03:23 AM

Awesome... I love it. I wish you could choose [easily] what you wanted to show in this, but its great.

Question though,
How do I get rid of the question mark that follows my name?

Coroner 08-06-2009 04:07 AM

What question mark do you mean ?
I haven't a question mark

sherwood 08-06-2009 04:41 AM

http://forum.linkfire.org/images/navbar2.png

Here is a close up...

Coroner 08-06-2009 11:51 AM

An image say more than words.

If fixed it - simply overwrite the product.

sherwood 08-06-2009 05:27 PM

Awesome, worked perfect. Thanks.

HiPhone 08-09-2009 06:44 AM

hi!

Is there a possibility to set the advanced NAvbar as default?

faizulhaque 08-09-2009 07:42 AM

i installed this mod. it's great.
but little issue. when i selet the advance navbar. from usercp. chatbox and Help Contribute donation on index page. is hide.

what the issue?

any help

Coroner 08-09-2009 07:44 AM

Quote:

Originally Posted by HiPhone (Post 1863940)
hi!

Is there a possibility to set the advanced NAvbar as default?

See 1st post under FAQ


All times are GMT. The time now is 09: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.01054 seconds
  • Memory Usage 1,729KB
  • 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)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