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
  #292  
Old 09-05-2007, 06:48 AM
Aros Aros is offline
 
Join Date: Mar 2002
Location: Netherlands
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ouch.. You may want to take a look at the way you're using the template system - Right now you may aswell not use templates as you use PHP to output the HTML. This makes it really difficult to customize the hack.
Reply With Quote
  #293  
Old 09-05-2007, 11:30 PM
Atsuko Atsuko is offline
 
Join Date: Jan 2005
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Aros View Post
Ouch.. You may want to take a look at the way you're using the template system - Right now you may aswell not use templates as you use PHP to output the HTML. This makes it really difficult to customize the hack.
Dear Aros,

Thank you , and would you teach how and where I should check and fix?
Reply With Quote
  #294  
Old 10-05-2007, 06:18 PM
DiverTree's Avatar
DiverTree DiverTree is offline
 
Join Date: Jun 2006
Location: Coastal Louisiana
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PimvanJ View Post
global $header, $vbphrase, $vboptions, $stylevar, $headinclude, $bbuserinfo, $session, $show, $pmbox, $custom_singlelinks,
Quote:
Originally Posted by PimvanJ View Post
global $header, $vbphrase, $vboptions, $stylevar, $headinclude, $bbuserinfo, $session, $show, $pmbox, $custom_droplinks;
one says to add $custom_singlelinks, and the other says to add $custom_droplinks in the functions.php ... but, neither one work by themselves or with each other to get the links to show up in my arcade. i love this hack so if anybody would mind helping me out on this it would be greatly appreciated. im running vb 3.6.8 with the ibproarcade 2.6.3. any ideas?

should the line end with a ";" or a ","?

i found out the hard way that it ends with a semicolon.
Reply With Quote
  #295  
Old 10-05-2007, 07:28 PM
DiverTree's Avatar
DiverTree DiverTree is offline
 
Join Date: Jun 2006
Location: Coastal Louisiana
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DiverTree View Post
one says to add $custom_singlelinks, and the other says to add $custom_droplinks in the functions.php ... but, neither one work by themselves or with each other to get the links to show up in my arcade. i love this hack so if anybody would mind helping me out on this it would be greatly appreciated. im running vb 3.6.8 with the ibproarcade 2.6.3. any ideas?

should the line end with a ";" or a ","?

i found out the hard way that it ends with a semicolon.
if i add ...
Quote:
... $session, $show, $pmbox, $custom_singlelinks, $custom_droplinks;
at the end of line 1241 in the arcade functions.php file, the single links show up, but the dropdown links dont show up at all. could the arcade navbar just underneith the forums navbar be effecting it?
Reply With Quote
  #296  
Old 10-05-2007, 08:18 PM
DiverTree's Avatar
DiverTree DiverTree is offline
 
Join Date: Jun 2006
Location: Coastal Louisiana
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it took me a little while, but i got it. i added this to get all the links to work in the arcade ...

Quote:
$custom_droplinks_cat, $custom_droplinks, $custom_singlelinks;
thank you everything is working great.
Reply With Quote
  #297  
Old 10-07-2007, 08:37 PM
ETDC ETDC is offline
 
Join Date: Aug 2007
Location: United Kingdom
Posts: 354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working well with 3.6.8. Thanks.

? How do I move the position of my links/dropdowns along the navbar?

? The links are opening fine in a new window but they're quite large and 'square' in shape; how do I get the new window to follow existing dimensions for all users?

Great mod.
Reply With Quote
  #298  
Old 10-28-2007, 10:10 PM
youradhere4222 youradhere4222 is offline
 
Join Date: Sep 2007
Location: Houston, TX
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm sorry... but where the hell are the controls for this? I've been looking all over the ACP.
Reply With Quote
  #299  
Old 10-30-2007, 02:38 PM
StreetTriple's Avatar
StreetTriple StreetTriple is offline
 
Join Date: Sep 2007
Location: Italy
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice mod!
in the next release, can you add an option to select background color for the new link in navbar?
Reply With Quote
  #300  
Old 10-30-2007, 08:43 PM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Second Navbar For The Links

Is it possible to get this hack to make a second navbar on top of the breadcrumb box. So when you add menus and links they go in a second navbar and not the default.

How can I make a second navbar for this hack?
Reply With Quote
  #301  
Old 11-25-2007, 03:29 PM
oatsy oatsy is offline
 
Join Date: Aug 2005
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by youradhere4222 View Post
I'm sorry... but where the hell are the controls for this? I've been looking all over the ACP.
In the left menu panel in AdminCP. 6 or 7 down, depending on what other hacks you might have. Under 'Forums & Moderators' for me.
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 01:51 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.12207 seconds
  • Memory Usage 2,318KB
  • 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
  • (1)bbcode_code
  • (7)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
  • (1)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