vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Mini Mods - Advanced Navbar Links (https://vborg.vbsupport.ru/showthread.php?t=120517)

harmor19 07-06-2006 10:00 PM

Advanced Navbar Links
 
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

harmor19 07-07-2006 12:10 AM

Some of you may know this hack from 3.5.x. When I first created this hack I slowly worked out the bugs. Let us pray that this hack runs smoothly on the 3.6 branch.
In the thread for the 3.5.x hack some members demanded usergroup permissions, seperators, and multiple drop down boxes. Well I didn't know how to go about it. I did however deliver on the usergroup permissions a few days ago but I have a feeling they're not going to be as excited as much as if I released closer to when they asked for it.

Atakan KOC 07-07-2006 05:40 AM

Nice. :)

sam anders 07-07-2006 05:56 AM

nice feature will install :)

Snake 07-07-2006 01:57 PM

Very nice! Thank you... :)

harmor19 07-07-2006 02:52 PM

I would like to improve this hack by adding user defined seperators to the drop down box.
Please read this thread

harmor19 07-07-2006 06:03 PM

I do not need help with with the seperators anymore because I have figured out how to do it.

What you can do is create a seperator and apply usergroup permissions to it.
So you could create a seperator called "Staff Links" and only allow admin, s-mods, and mods see it.
Then under the seperator have a link to the "Admin CP" and only allow admins to see the link.
I'll try to illustrate it for you people

[Staff Links] <-- Only viewable by Admins, S-Mods, and Mods
[Admin CP] <-- Only viewable by Admins
[ModCP] <-- Only viewable by S-Mods and Mods
[Fun Links] <-- Viewable by everyone
[Arcade] <-- Viewable by everyone except guests and banned users

I am coding everything I need to and I'll ship it out as soon as I'm sure it works correctly.

Tyegurl 07-10-2006 03:06 AM

thanks a bunch been looking for a way to do this kind of thing!

i am running beta 4 and i got nothing :( i have a "extra" button and then and "extra" header but no links.....i added them but they do not show

harmor19 07-11-2006 08:51 PM

Both "Stand Alone" and "Drop Down" links aren't showing?

dwbro1 07-12-2006 04:18 AM

mine either .. :(

Update:

It does show on the nav on the forums but not on the main vbadvanced page.. hmm

BTW can you assign multiple drop downs and stack links under them?


All times are GMT. The time now is 11:31 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.02398 seconds
  • Memory Usage 1,736KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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