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

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

Version: 3.5.0 Rating:
Released: 10-20-2005 Last Update: 07-06-2006 Installs: 219
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

Author: Andrew Harmor
Version: 1.20
File Edits: 0
Template Edits: 1
Difficulty: Easy

Please click



Description:
Adds a drop down menu on your navbar which contains links you add through the ACP.


################################################## ###############
FAQ


Q: The link doesn't look right on the navbar
A: While on your forums view the source and search for id="navbar_search"
To the right should be "class" (For the default skin the class is "vbmenu_control")

Edit the navbar template
Find:
PHP Code:
<td id="custom_links" class="vbmenu_control"
Replace the "class" so it's the same as the search's class.
Let's say you're class is "nav_element" then it should look like this
PHP Code:
 <td id="custom_links" class="nav_element"
Open the product xml in an editor
Find:
PHP Code:
<td class='vbmenu_control'
Replace with your class.
PHP Code:
<td class='nav_element'
################################################## ###############

To get this to work with CMPS (Thanks To: drl2005)
Code:
In your CMPS settings under Portal Output Global Variables place:
custom_droplinks
custom_singlelinks
###########Changelog################

1.00
Initial Release

1.02
All Phrases are now in the product xml
The option to have link open in new window

1.03
Option to add new links on navbar as a stand alone link or in the drop down menu.

1.04
Sort the display order of links in the drop down menu.

1.05
16x16 images can be added to both stand-alone and drop down links

1.06
Templates are now cached


1.07
Fixed bug in product.
Changed the maximum characters for "name" from "20" to "100"

1.20
Usergroup permissions per link

Show Your Support

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

Comments
  #282  
Old 07-06-2006, 10:52 PM
harmor19 harmor19 is offline
 
Join Date: Apr 2005
Posts: 1,324
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For members that are upgrading...
I am sorry but I do not know how to make an upgrade script so you'll need to delete the product from your admin control panel and reupload it.

Overwrite admincp/admin_custom_links.php
Reply With Quote
  #283  
Old 07-07-2006, 04:12 AM
harmor19 harmor19 is offline
 
Join Date: Apr 2005
Posts: 1,324
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I updated the screenshots
Reply With Quote
  #284  
Old 07-07-2006, 11:22 AM
louis_chypher's Avatar
louis_chypher louis_chypher is offline
 
Join Date: Mar 2006
Location: Boise, Idaho
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if upgrading after copying the files to your forum then in admin cp | maintenance | Execute sql query you should run two queries to update the two custom links tables

The following is an example of the queries

number one:
Code:
ALTER TABLE *custom_singlelinks ADD link_perms varchar(100) NOT NULL default ''
number two:
Code:
ALTER TABLE *custom_droplinks ADD link_perms varchar(100) NOT NULL default ''
Notice the * in the query. If you have a table prefix replace the * with the name of your table prefix. If you do not have a table prefix then do not include the * in the alter table sql querys
Reply With Quote
  #285  
Old 08-19-2006, 11:05 AM
Puntoboy Puntoboy is offline
 
Join Date: Sep 2005
Location: Northampton UK
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i've uninstalled this mod as i'm now using Menu Control version 1.3 but its left an arrow in my nav bar, how do i remove this?
Reply With Quote
  #286  
Old 08-19-2006, 11:14 AM
Puntoboy Puntoboy is offline
 
Join Date: Sep 2005
Location: Northampton UK
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its ok, i've sorted it,

thanks for the mod, it worked very well
Reply With Quote
  #287  
Old 09-15-2006, 03:02 PM
interceptor's Avatar
interceptor interceptor is offline
 
Join Date: Sep 2004
Location: Slovenia
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In my case is work under 3.6.0 now I install 3.6.1 and i dont get any links in navabar ..
Reply With Quote
  #288  
Old 12-17-2006, 06:03 AM
Konstantinos Konstantinos is offline
 
Join Date: Apr 2006
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it doesnt work in 3.6.4
Reply With Quote
  #289  
Old 12-18-2006, 02:04 PM
kanadian kanadian is offline
 
Join Date: Jun 2004
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works great on 3.6.2


how do i change the link from saying 'extras' to 'links' imo, it should say that by default
Reply With Quote
  #290  
Old 02-15-2007, 09:55 AM
PimvanJ PimvanJ is offline
 
Join Date: Jan 2006
Location: Netherlands
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where to put the $custom_droplinks and $custom_singlelinks variables, to get this work in ibproarcade?
I'm using VB 3.54 and I already try this in the Arcade template but that didn't resolve the problem.
Any help highly appreciated.
Reply With Quote
  #291  
Old 02-15-2007, 03:04 PM
harmor19 harmor19 is offline
 
Join Date: Apr 2005
Posts: 1,324
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have no idea.
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 05:42 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.05111 seconds
  • Memory Usage 2,314KB
  • 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
  • (3)bbcode_code
  • (4)bbcode_php
  • (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