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
  #242  
Old 04-12-2006, 11:09 PM
dreck's Avatar
dreck dreck is offline
 
Join Date: Nov 2004
Location: Pickens SC
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this allow you have more than 1 drop down menu?
Reply With Quote
  #243  
Old 04-13-2006, 02:00 AM
dreck's Avatar
dreck dreck is offline
 
Join Date: Nov 2004
Location: Pickens SC
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found the answer to my question.
Be nice if you could.

Very great hack... love it
Reply With Quote
  #244  
Old 04-13-2006, 06:39 PM
kif kif is offline
 
Join Date: May 2005
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack, thanks. Worked great on my 3.5.4 install.

Is there any way to rename the Extra drop down menu to something else?

thanks,

kif

Never Mind I found it here:

Link
Reply With Quote
  #245  
Old 04-13-2006, 10:41 PM
Killer_Charge Killer_Charge is offline
 
Join Date: May 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<td id="custom_links" class="vbmenu_control"><a href="#custom_links">$vbphrase[custom_links_link]</a> <script type="text/javascript"> vbmenu_register("custom_links"); </script></td>
$custom_singlelinks

dude, help me plz i realy need this! it just dont work, my site is www.neronix.com/forum/index.php

please help, all that i see is the extras bit, then it drops down to reveal notin
Reply With Quote
  #246  
Old 04-14-2006, 05:41 PM
harmor19 harmor19 is offline
 
Join Date: Apr 2005
Posts: 1,324
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Killer_Charge
<td id="custom_links" class="vbmenu_control"><a href="#custom_links">$vbphrase[custom_links_link]</a> <script type="text/javascript"> vbmenu_register("custom_links"); </script></td>
$custom_singlelinks

dude, help me plz i realy need this! it just dont work, my site is www.neronix.com/forum/index.php

please help, all that i see is the extras bit, then it drops down to reveal notin
You must've fixed it because it works for me.
Reply With Quote
  #247  
Old 04-21-2006, 02:22 AM
b6gm6n's Avatar
b6gm6n b6gm6n is offline
 
Join Date: Aug 2002
Location: UK
Posts: 691
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All workin... just wondered about the images... they show, but have a small border to them...though this might be my css, but it's there with the default style to... just a small black border appears to each image on the bottom and to the right... and thats it... very odd, see attached... i may just need to remove the <img> link info for the images....

-b6

EDIT - sussed that is was the image sizes....mine were 15x15... the plugin called them up to 16x16 thus the graphical glitch!
Reply With Quote
  #248  
Old 04-24-2006, 06:57 PM
sandalwood sandalwood is offline
 
Join Date: Mar 2006
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cmbehan
Yes, I refreshed my Admincp, logged out and back in, cleared all temp internet files, etc...

I'm still only getting "Announcement Manager" and "Add New Announcement" under the Announcement menu.
I have the exact same problem. I came here installed, I have installed maybe 20 addons or plugins and ALL worked perfect 100% the first time every time, because I am a smart user who follows all the directions.

This extension is broken. It FAILS to add a link in the admincp to be able to access from the acp.

I added it myself manually, but you should know your software has a bug and looks like several other users here reported the same thing.
Reply With Quote
  #249  
Old 04-24-2006, 06:59 PM
harmor19 harmor19 is offline
 
Join Date: Apr 2005
Posts: 1,324
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The only think I can think of is that the people who cannot see the category in the Admin CP didn't upload the cpnav xml file to the correct location.
Reply With Quote
  #250  
Old 04-24-2006, 07:31 PM
sandalwood sandalwood is offline
 
Join Date: Mar 2006
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by harmor19
The only think I can think of is that the people who cannot see the category in the Admin CP didn't upload the cpnav xml file to the correct location.
what kind of weird sht are you pulling here buddy? you must not be thinking very hard if the "only thing you can think of" is that we must have failed to follow directions. we all followed the directions perfectly. the flaw is yours.

1. by default it DOES NOT add a link in the admincp. it just doesn't. all the people who installed this but *didn't* complain either have some nonstandard setup, or they just uninstalled it and didn't bother to post about their experience.

2. you have a PERMISSIONS mask set
Code:
permissions="canadminmyhack"
that is totally un-FCKING-documented anywhere, so it won't even show up unless you have that set.

i finally tracked down what you did:
https://vborg.vbsupport.ru/showthrea...canadminmyhack

MOST PEOPLE DONT HAVE THAT VARIABLE SET and that code installed!

the only people who this could have possibly ever worked for are people like me who had to go in an change everything manually and force it... or people who had for some warped reason set up further admin privelege settings as per that other thread, and only if they used the EXACT phrase "canadminmyhack" and set it up in advance.

SOME OF US don't want that extra sht "custom admin persmissions" crap that is a whole SEPARATE thing and extremely unwelcome! I'm pissed that you tried to jam that crap in with your mod.
Reply With Quote
  #251  
Old 04-24-2006, 07:41 PM
sandalwood sandalwood is offline
 
Join Date: Mar 2006
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok look sorry perhaps i have a hot temper.

the solution is easy.

remove the text i quoted, from cpnav_custom_links.xml

so remove
Code:
permissions="canadminmyhack"
then it will show up in cpadmin
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 07:47 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.05070 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
  • (3)bbcode_code
  • (4)bbcode_php
  • (3)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