vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Advanced Navbar (add navbars & links, display it anywhere) (https://vborg.vbsupport.ru/showthread.php?t=115806)

Dr.Viggy 05-16-2006 11:16 PM

thanks for the help

Lady Divus 05-16-2006 11:18 PM

Quote:

Originally Posted by Dr.Viggy
thanks for the help

Your welcome. Dunno that i really actually helped, but you are most definately welcome :)

Lady Divus

Dr.Viggy 05-16-2006 11:24 PM

question: how do you make the extra navbars show up in places like ibproarcade?

JD45 05-17-2006 12:20 AM

I'm getting a few sql errors.

When trying to make a new navbar:

atabase error in vBulletin 3.5.4:

Code:

Invalid SQL:

                        INSERT INTO vb_advnavbar_navbar
                        (barname,barstatus,bargroups)
                        VALUES
                        ('1', '1', '0'
          );

MySQL Error  : Table 'justpres_jppforums.vb_advnavbar_navbar' doesn't exist
Error Number : 1146
Date        : Tuesday, May 16th 2006 @ 09:18:32 PM
Script      : http://www..net/forum/admincp/advanced_navbar.php
Referrer    : http://www.net/forum/admincp/advanced_navbar.php?do=addbar
IP Address  :
Username    : JD45
Classname    : vb_database

When trying to view navbars:

Code:

Database error in vBulletin 3.5.4:

Invalid SQL:

                SELECT *
                FROM vb_advnavbar_navbar
                ORDER BY barid DESC;

MySQL Error  : Table 'justpres_jppforums.vb_advnavbar_navbar' doesn't exist
Error Number : 1146
Date        : Tuesday, May 16th 2006 @ 09:19:17 PM
Script      : http://www..net/forum/admincp/advanced_navbar.php?do=viewbars
Referrer    : http://www..net/forum/admincp/index.php?do=nav
IP Address  :
Username    : JD45
Classname    : vb_database


evofile 05-17-2006 12:25 AM

whata nice hack.
thanks bro!
i'll install it during the day

JD45 05-17-2006 12:27 AM

and

Code:

Database error in vBulletin 3.5.4:

Invalid SQL:

                SELECT *
                FROM vb_advnavbar_links
               
               
                ORDER BY advnavbar_links.linkorder DESC
                LIMIT 0, 10;

MySQL Error  : Unknown table 'advnavbar_links' in order clause
Error Number : 1109

You don't need the <br />
in: $adv_navbars
<br />

if you want it to sit flush on your main navbar.


Also: The usergroup permissions don't work for adding a link. I added a link and only gave admins, mods and smods the ability to see it. The usergroup id's seperated by commas. I logged out and could still view the link as a guest.

Gooses 05-17-2006 02:50 AM

Oh, I get it now. It looks great! Thanks for making this.

apdcanari 05-17-2006 03:46 AM

Quote:

Originally Posted by JD45
I'm getting a few sql errors.

When trying to make a new navbar:

atabase error in vBulletin 3.5.4:

Code:

Invalid SQL:

                        INSERT INTO vb_advnavbar_navbar
                        (barname,barstatus,bargroups)
                        VALUES
                        ('1', '1', '0'
          );

MySQL Error  : Table 'justpres_jppforums.vb_advnavbar_navbar' doesn't exist
Error Number : 1146
Date        : Tuesday, May 16th 2006 @ 09:18:32 PM
Script      : http://www..net/forum/admincp/advanced_navbar.php
Referrer    : http://www.net/forum/admincp/advanced_navbar.php?do=addbar
IP Address  :
Username    : JD45
Classname    : vb_database

When trying to view navbars:

Code:

Database error in vBulletin 3.5.4:

Invalid SQL:

                SELECT *
                FROM vb_advnavbar_navbar
                ORDER BY barid DESC;

MySQL Error  : Table 'justpres_jppforums.vb_advnavbar_navbar' doesn't exist
Error Number : 1146
Date        : Tuesday, May 16th 2006 @ 09:19:17 PM
Script      : http://www..net/forum/admincp/advanced_navbar.php?do=viewbars
Referrer    : http://www..net/forum/admincp/index.php?do=nav
IP Address  :
Username    : JD45
Classname    : vb_database


Me too :surprised:

Shaliza 05-17-2006 04:39 AM

This looks like it might be better than the other two menu hacks. I'll try it later.

JD45 05-17-2006 04:48 AM

Quote:

Originally Posted by Shaliza
This looks like it might be better than the other two menu hacks. I'll try it later.

It is in principal, but it needs a LOT of work...


All times are GMT. The time now is 12:49 PM.

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.01219 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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