Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Advanced Navbar Links Details »»
Advanced Navbar Links
Version: 2.0.2, by harmor19 harmor19 is offline
Developer Last Online: May 2023 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.4 Rating:
Released: 07-06-2006 Last Update: 04-24-2007 Installs: 466
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

Author: Andrew Harmor
Version: 2.0.2
File Edits: 0
Template Edits: 2
Difficulty: Easy


Description:
You can add links or multiple menus to the navbar quickly through a form. Specify which usergroups can see each link via the permissions system.


F.A.Q.
Q: Why aren't the links showing?
A: Edit the link in your Admin CP and check the usergroup permissions

Q: All the links I made from the last version are gone
A: Go into phpmyadmin and select your vbulletin database.
Browse the table named "custom_droplinks". Change all the "catid's" with 0 to 1.
Go into your ACP --> Advanced Navbar Links --> Modify/Delete The links should show up under the first category. You can edit the links from here and select a different category to place it in.

Q: How do I get the links to appear on vBAdvanced?
A: Go into your ACP --> vBa CMPS --> Default Settings
Look for "Portal Output Global Variables". Add the following into the text area.
Code:
custom_singlelinks
custom_droplinks
custom_droplinks_cat


If you install this mod please press the "Install" button.

--Change Log--
1.0.0 - Initial Release

1.0.1 - took out the code that automatically added HTML to the navbar. I thought having it do it automatically was cool but can be annoying because you can't easily customize the class or placement

2.0.0 - Added the functionality to add multiple drop down menus

2.0.1 - Added missing table prefixes

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #192  
Old 04-21-2007, 01:45 PM
Kiint Kiint is offline
 
Join Date: Nov 2006
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was hoping you would release something like this and you've done a great job of it

I had to do some slight modifications for the Epic skin that I use and that was just changing calls to vbmenu_control over to vbmenu_control_header but that only took a few minutes.

Thanks for doing this, It's much appreciated.
Reply With Quote
  #193  
Old 04-21-2007, 02:17 PM
giovannicosta giovannicosta is offline
 
Join Date: Feb 2007
Location: London, England, UK
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tried importing the new attached file and I get this error:

Database error in vBulletin 3.6.5:

Invalid SQL:
CREATE TABLE `vb_custom_droplinks` (
`linkid` mediumint(10) unsigned NOT NULL auto_increment,
`url` varchar(120) NOT NULL default '',
`name` varchar(100) NOT NULL default '',
`new_window` tinyint(2) unsigned NOT NULL default '0',
`alt` varchar(60) NOT NULL default '',
`number` int(20) unsigned NOT NULL default '0',
`image` varchar(230) NOT NULL default '',
`link_perms` varchar(100) NOT NULL default '',
PRIMARY KEY (`linkid`)
);;

MySQL Error : Table 'vb_custom_droplinks' already exists
Error Number : 1050
Date : Saturday, April 21st 2007 @ 11:16:05 AM
Script : http://URL/admincp/plugin.php?do=productimport
Referrer : http://URL/admincp/plugin.php?do=productadd
IP Address : my ip
Username : my username
Classname : vb_database
Reply With Quote
  #194  
Old 04-21-2007, 05:31 PM
harmor19 harmor19 is offline
 
Join Date: Apr 2005
Posts: 1,324
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by giovannicosta View Post
tried importing the new attached file and I get this error:

Database error in vBulletin 3.6.5:

Invalid SQL:
CREATE TABLE `vb_custom_droplinks` (
`linkid` mediumint(10) unsigned NOT NULL auto_increment,
`url` varchar(120) NOT NULL default '',
`name` varchar(100) NOT NULL default '',
`new_window` tinyint(2) unsigned NOT NULL default '0',
`alt` varchar(60) NOT NULL default '',
`number` int(20) unsigned NOT NULL default '0',
`image` varchar(230) NOT NULL default '',
`link_perms` varchar(100) NOT NULL default '',
PRIMARY KEY (`linkid`)
);;

MySQL Error : Table 'vb_custom_droplinks' already exists
Error Number : 1050
Date : Saturday, April 21st 2007 @ 11:16:05 AM
Script : http://URL/admincp/plugin.php?do=productimport
Referrer : http://URL/admincp/plugin.php?do=productadd
IP Address : my ip
Username : my username
Classname : vb_database
You'll need to uninstall it first then reimport it.
Reply With Quote
  #195  
Old 04-21-2007, 05:43 PM
giovannicosta giovannicosta is offline
 
Join Date: Feb 2007
Location: London, England, UK
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I cant uninstall it as it doesnt appear in my products area.
Reply With Quote
  #196  
Old 04-21-2007, 05:57 PM
harmor19 harmor19 is offline
 
Join Date: Apr 2005
Posts: 1,324
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by giovannicosta View Post
I cant uninstall it as it doesnt appear in my products area.
Run these queries in your ACP --> Maintenance --> Execute SQL Query
Code:
DROP TABLE `vb_custom_droplinks`;
DROP TABLE `vb_custom_droplinks_cat`;
DROP TABLE `vb_custom_singlelinks`;
Reply With Quote
  #197  
Old 04-21-2007, 06:10 PM
giovannicosta giovannicosta is offline
 
Join Date: Feb 2007
Location: London, England, UK
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get this message:
You are not authorized to execute SQL queries
Reply With Quote
  #198  
Old 04-21-2007, 06:14 PM
harmor19 harmor19 is offline
 
Join Date: Apr 2005
Posts: 1,324
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You'll need to edit config.php and add your userid.
If you do not have access to the FTP I will create a product for the sole purpose of removing those tables.
Reply With Quote
  #199  
Old 04-21-2007, 06:45 PM
giovannicosta giovannicosta is offline
 
Join Date: Feb 2007
Location: London, England, UK
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where is the config.php file located, I do have access to the FTP...
Reply With Quote
  #200  
Old 04-21-2007, 06:50 PM
harmor19 harmor19 is offline
 
Join Date: Apr 2005
Posts: 1,324
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the config.php file is in "public_html/includes/"
Reply With Quote
  #201  
Old 04-21-2007, 08:04 PM
giovannicosta giovannicosta is offline
 
Join Date: Feb 2007
Location: London, England, UK
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Executed queries now what?
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 09:10 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.08360 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete