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

Reply
 
Thread Tools
User Links in Navbar for vB 4 Details »»
User Links in Navbar for vB 4
Version: 1.0.1, by Boofo Boofo is offline
Developer Last Online: Jun 2012 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 03-11-2011 Last Update: 03-11-2011 Installs: 55
Uses Plugins
 
No support by the author.

User Links in Navbar for vB 4
Version 1.0.1
(By Boofo)

What does this product do?
This product will add a drop-down menu with user links in the forum navbar. You can add up to 5 additional links, as well as link names and mouseover text, via the settings. It will check to see if you have Reputation enabled. If you do not, it will not show the reputation in the menu. It will also check to see if you have the "Threads Started by User in Postbit and Profile for vB 4" product installed on your site. If you do not, the thread count will not show in the menu.

Version Information:
Version 1.0.0 --Initial release for vB 4
Version 1.0.1 --Fixed issue with Friends link not working with vBSEO installed.

Installation Overview:
---------------------------
1 Product XML (2 Plugins, 58 Phrases, 1 Template, 17 Settings and 1 Style Variable)

Installation Instructions:
---------------------------
1. Add the following code to the additional.css template:

Code:
li.menuname {
	padding: 0.2em 0.5em;
	text-decoration: none;
	text-align: {vb:stylevar left};
	color: {vb:stylevar blockhead_link_color};
}

2. Go to your Admin CP
Scroll down to 'Plugin System'
Click 'Manage Products'
Click 'Add/Import Product'
Click the 'Browse' button, and locate the product-boofo_user_links.xml file on your computer

3. Go to your Admin CP -> vBulletin Options -> 'User Links in Navbar' and set the following options:
User Links Forum Menu Display Order: Choose the location you want the User Links menu to show up in the Forum Tab. (Default is 3, Navbar after Private Messages)
User Links Blogs Menu Display Order: Choose the location you want the User Links menu to show up in the Blogs Tab. (Default is 2, Blogs after My Blog)
Additional Link (1-5) URL: Enter the URL of the link you want set as Additional Link (1-5).
Additional Link (1-5) Name: Enter the name of the Additional Link (1-5) that you want to show up in the menu.
Additional Link (1-5) Title Text: Enter the title text of Additional Link (1-5) you want to show on mouseover.

4. Go to your Admin CP -> Styles & Templates -> Style Manager -> StyleVars (In the All Style Options drop-down) -> Boofo -> boofo_userlinks_color
Enter the color code of the font color that you want the User Links menu title to show up in.

NOTE: You will need to do this for all styles.
------------------------------------------------------

Done!
Enjoy!

NOTE: There is also an Advanced Version (paid) available that allows each user to add up to 5 links of their choosing (instead of the Admin having to do it for everyone), as well as a Search menu that allows you to add settings for how many days you want to search for (2 days, 7, days, 12 days, 180 days, etc.) that is only available through my site. If anyone is interested, contact me via PM for details.

Code:
if ($mark_as_installed != 'clicked')
{
	$you_get = 'squat';
}
else
{
	$you_get = 'support';
}

Download Now

File Type: zip User_Links_in_Navbar_vb4.zip (4.5 KB, 237 views)

Screenshots

File Type: png user_links_in_navbar.png (22.1 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
kylek

Comments
  #52  
Old 07-31-2011, 08:55 PM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can we get this for CMS also? Thanks...

One thing I messed with the link color and no matter what it refused to change.

I tried standard css and moding the color line to
Code:
color: {vb:stylevar navbar_link_color};
To be clear I want to change the color in the navbar itself. Im not worried about links in the drop down.
Reply With Quote
  #53  
Old 07-31-2011, 09:01 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to look in the block of code that you were supposed to add to the additional.css from the first post for the color change you are wanting.

As far as working with the CMS, I don't use that on my site yet so I haven't had a chance to play around with it. One of these days I will get around to that.
Reply With Quote
  #54  
Old 07-31-2011, 09:08 PM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got it I had the wrong css. I was using the one from the zip. Changed bofoo sylevar and all good now. Thanks...
Reply With Quote
  #55  
Old 07-31-2011, 10:42 PM
teach1st's Avatar
teach1st teach1st is offline
 
Join Date: Oct 2001
Location: Cream Corn, FL
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent! Thanks so much for the great addition to my 4.1.5 board.
Reply With Quote
  #56  
Old 10-28-2011, 01:03 PM
Breixo Breixo is offline
 
Join Date: Jun 2010
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice mod, working perfectly on 4.1.7. Thanks!
Reply With Quote
  #57  
Old 12-04-2011, 04:19 AM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and of course working (It's Boofo's it's supposed to work )

4.1.8
Reply With Quote
  #58  
Old 12-26-2011, 07:02 AM
docvader's Avatar
docvader docvader is offline
 
Join Date: Dec 2002
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still working on 4.19. Of course....
Reply With Quote
  #59  
Old 12-26-2011, 01:42 PM
RSNF's Avatar
RSNF RSNF is offline
 
Join Date: May 2010
Location: Florida
Posts: 242
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another great Mod sir appreciated as always!!
Reply With Quote
  #60  
Old 12-26-2011, 01:54 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

NOTE: There is also a version that allows each user to add up to 5 links of their choosing instead of the Admin having to do it for everyone, that is only available through donations. If anyone is interested, contact me via PM for details. (added to first post)
Reply With Quote
  #61  
Old 01-25-2012, 04:31 AM
TombstoneWarrior's Avatar
TombstoneWarrior TombstoneWarrior is offline
 
Join Date: Jan 2012
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed and nomiated for MOTM even though my bar is going above the navbar like the other member. any fix for this yet???
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 11:00 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.04793 seconds
  • Memory Usage 2,332KB
  • Queries Executed 26 (?)
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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete