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
  #272  
Old 06-05-2007, 07:54 AM
gator777's Avatar
gator777 gator777 is offline
 
Join Date: Feb 2005
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by talenak View Post
Oh but there IS Harmor! I found it a little bit ago, AFTER, I posted of course.

Can I suggest you link to this post in your MOD description?

Edit to add a suggestion and pictures: For anyone who wants to add the categories using the linked to methiod, Don't add a category strip as the first to display. There is an extra space added above each manually added strip that just looks tacky if its in the #1 display order. Images attached. Also it doesn't display correctly in acp, but it doesn't harm anything. See attached images.
This would make an already good mod even greater. I hope you can add this to your mod as well. Thanks for all the hard work.
Reply With Quote
  #273  
Old 06-06-2007, 02:08 AM
UaeStar UaeStar is offline
 
Join Date: May 2006
Location: UAE
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice thanks
Reply With Quote
  #274  
Old 06-14-2007, 06:38 PM
Ophelia Ophelia is offline
 
Join Date: Feb 2006
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure if it's been noted yet.

Adding a ' into the hover text removes anything after the '

Today's Photos turns into Today
Reply With Quote
  #275  
Old 06-15-2007, 02:52 AM
harmor19 harmor19 is offline
 
Join Date: Apr 2005
Posts: 1,324
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ophelia View Post
Not sure if it's been noted yet.

Adding a ' into the hover text removes anything after the '

Today's Photos turns into Today
Thanks. I'll see if I can fix the problem.
Reply With Quote
  #276  
Old 06-21-2007, 01:56 PM
Jay-MOB Jay-MOB is offline
 
Join Date: Oct 2006
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can the menu style be changed to the normal forum style?
Reply With Quote
  #277  
Old 06-25-2007, 06:35 PM
HaCaoChien HaCaoChien is offline
 
Join Date: Jun 2005
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed.

Everything seem work well when I add Menu and Link to Menu. But in Stand-Alone Link, I checked all in option "Select the usergroups that can see this link" but it do not show and when I try to edit that Stand-Alone Link, I see in that option, nothing checked. Please help

Thanks
Reply With Quote
  #278  
Old 07-25-2007, 11:36 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you put conditionals in links that you add to this hack? Or doesn't that work?
Reply With Quote
  #279  
Old 07-26-2007, 06:38 PM
vcruiser's Avatar
vcruiser vcruiser is offline
 
Join Date: May 2007
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All went well with the install and it works great. The link I created is Home. It shows in the navbar, in the center, how do I position it to where ever I want?
Reply With Quote
  #280  
Old 08-04-2007, 10:56 PM
Brew's Avatar
Brew Brew is offline
 
Join Date: Sep 2002
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My navbar links are not in my navbar template, they're in the header.

I have been trying to get this to work but the table rows and columns just won't let this format correctly.

My source is:

HTML Code:
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
 <td><a href="index.php"><img src="redbar/elements/logo.jpg" border="0"></a></td>
</tr>
<tr>
<td>
<br>
$header_advertisement
</td></tr>
<tr>
 <td background="redbar/elements/catsub.jpg" height="24" class="menu">
<a href="index.php">Main</a> &nbsp;&nbsp; 
<if condition="$show['member']">
<a href="usercp.php">User CP</a> &nbsp;&nbsp; 
</if>
<if condition="$show['registerbutton']">
<a href="register.php">Register</a> &nbsp;&nbsp; 
</if>
<a href="memberlist.php">Member List</a> &nbsp;&nbsp; 
<a href="calendar.php">Calendar</a> &nbsp;&nbsp; 
<a href="faq.php">FAQ</a> &nbsp;&nbsp; 
<if condition="$show['member']">
<a href="search.php">Search</a> &nbsp;&nbsp;
</if>
<if condition="$show['member']">
<a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">Logout</a>
</if>

$custom_droplinks_cat
$custom_singlelinks

</td>
</tr>

$custom_droplinks

<tr>
  <td width="655">
<!-- /logo -->
<!-- content table -->
$spacer_open
$leftcolumn_advertisement
$_phpinclude_output
As you can see I have the first two variables just after the login/logout link and the other is outside the table columns/rows.

I have tried to put the three lines ( $custom_singlelinks, $custom_droplinks_cat and $custom_droplinks ) everywhere I can think of but the formatting just isn't working.

Can someone give me a hand with this?

You can see what the above code is doing to the layout (as of 8/4/07) here:

http://www.criticalreactor.com/forums/index.php

Whoever can help me I would greatly appreciate it, I'm pulling my hair out in this
Reply With Quote
  #281  
Old 08-05-2007, 08:27 PM
cynthetiq's Avatar
cynthetiq cynthetiq is offline
 
Join Date: Jul 2005
Location: NYC
Posts: 190
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks alot! I haven't created my menus but
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:05 PM.


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.07311 seconds
  • Memory Usage 2,322KB
  • 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
  • (1)bbcode_html
  • (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
  • (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