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)
-   -   Custom Navbar Links (https://vborg.vbsupport.ru/showthread.php?t=98934)

G_Gekko 10-24-2005 01:31 AM

Nice work
Just one question. How do i change the name of the dropdown menu from "Extras" to something else?

harmor19 10-24-2005 01:34 AM

Quote:

Originally Posted by G_Gekko
Nice work
Just one question. How do i change the name of the dropdown menu from "Extras" to something else?

crap, I forgot to add that in the phrases.

open navbar and find "Extras"
just replace it with whatever you want

harmor19 10-24-2005 02:20 AM

Quote:

Originally Posted by eNforce
A nice feature would be to be able to sort the order of the links in the drop down menu, like you would your forums and categories. ;)

Edit: When adding a link with too much text the drop down menu does not expand in width.

Edit 2: How about an option to add categories in the drop down menu? lol I have too many ideas i'll shutup now.

I'd already got the sort feature coded.

I can make categories manually but I don't know how to go about making them automatically.
I'll brainstorm and see if something comes to mind, if not then I'll upload the files.

G_Gekko 10-24-2005 02:22 AM

Thanks

That solves the problem with the name in the Nav bar put it still has Extras in first position in the drop down menu.

harmor19 10-24-2005 02:28 AM

Quote:

Originally Posted by G_Gekko
Thanks

That solves the problem with the name in the Nav bar put it still has Extras in first position in the drop down menu.

sorry pal,
look for "Extras" again. (there's two instances of the word.)

G_Gekko 10-24-2005 02:32 AM

I am the one that should sorry. I looked for another Extras but was blind ;-)

I appriciate if you provide the information on how to create categories manually if you fail to find a way to do it from the adminCP.

Regards and thanks for a great hack

twitch 10-24-2005 02:52 AM

very cool extension

harmor19 10-24-2005 07:08 AM

You can now sort the display order in the drop down menu.
New screen shots posted

I still cannot figure out how I would do categories with mysql.
I was so close but I couldn't get it.

TygerTyger 10-24-2005 02:46 PM

Hm... I have this in the forum itself error (with either version of the XML) after uploading:

Database error in vBulletin 3.5.0:

Invalid SQL:
SELECT * FROM vb_custom_singlelinks WHERE linkid ORDER BY number ASC;

MySQL Error : Unknown column 'number' in 'order clause'
Error Number : 1054
Date : Monday, October 24th 2005 @ 04:39:30 PM
Script : http://www.xxx.co.uk/index.php
Referrer : http://www.xxx.co.uk/showthread.php?t=90
IP Address : Bzzt.
Username : TygerTyger
Classname : vb_database

and this error in the Product Manager itself when uploading:

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the

right syntax to use near '-End Error Mess = 'a:4:{s:17:\"custom_link_added\";s:44:\"The c
Error Number : 1064
Date : Monday, October 24th 2005 @ 04:39:23 PM
Script : http://www.xxxr.co.uk/admincp/plugin.php
Referrer : http://www.xxx.co.uk/admincp/plugin.php?do=productadd
IP Address : Bzzt.
Username : TygerTyger
Classname : vb_database

I also have the vbFavorites mod installed, which adds to the navbar as well in case that is relevant.

harmor19 10-24-2005 03:12 PM

Re-download the zip and replace "admin_custom_links.php" and import the product. xml.


All times are GMT. The time now is 10:53 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.01333 seconds
  • Memory Usage 1,740KB
  • 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
  • (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