Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

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
  #22  
Old 03-12-2011, 11:36 PM
sulasno sulasno is offline
 
Join Date: Feb 2010
Posts: 588
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tagged and thanks

does this mod allow users to select their own links ?
Reply With Quote
  #23  
Old 03-13-2011, 02:09 AM
gamerzhut gamerzhut is offline
 
Join Date: Jan 2010
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, works like a charm.

Mark as installed & rated *****
Reply With Quote
  #24  
Old 03-13-2011, 11:56 AM
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hippy View Post
Just tested this and your correct.. but the defaul style is good .
it's a custom style i see this one..

downloaded here @ vb.org called blackend
using vb4.1.2 and the style is also for vb4.1.2

other wise Seems this will be a mch used mod
Quote:
It looks like they use a lot of padding in that skin, which would account for it, I suppose.
Yes it may be the padding on mine as I did increase the size of the navbar and sub navbar slightly.

When I remove the additional links it does stay below.

Sulasno
Quote:
does this mod allow users to select their own links ?
No not as of 1.0.1 but...Additional links can be set.
vB --> Settings --> Options --> User Links in Navbar

Thanks again Boofo rated 5 stars

Cheers,
Mr_Running
Reply With Quote
  #25  
Old 03-13-2011, 12:05 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Allowing users to add their own links would requite setting up profile fields. That could be done fairly easily, I suppose. If I get enough calls for it, then maybe I will look into it. It would have to be worth the time to mess with it.
Reply With Quote
  #26  
Old 03-13-2011, 12:41 PM
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
There should be some spacing on the left of the the menu subtitles if the code is installed in the additional.css..
Menu subtitles (Statistics, Post, etc) do seem a little close on mine as seen in post #9
The additional.css is added ???


Cheers,
Mr_Running
Reply With Quote
  #27  
Old 03-13-2011, 12:49 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check and make SURE you added the code to the additional.css exactly as it is supposed to be. Are you using a custom skin of any kind? What browser were you in when you took that pic?
Reply With Quote
  #28  
Old 03-13-2011, 01:10 PM
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Checked additional.css --> seems good.
The only custom skin I am using is a change in some vB default colors.

The Browser was FireFox for the pic and I have now checked EI and Google. = Same
I have cleared the cache and cookies too.
Did not change.

Cheers,
Mr_Running
Reply With Quote
  #29  
Old 03-13-2011, 01:24 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mr_Running View Post
Yes it may be the padding on mine as I did increase the size of the navbar and sub navbar slightly.

Sulasno
You messed with the padding on the navbar. That is why it looks like it does now. If you check it with a default skin that has not been tampered with, it will show correctly. There is no way to account for all changes someone can make. I suggest either setting the padding and whatever else you did back to the default, or you will need to go into the additional.css and adjust the settings in the code you added there.
Reply With Quote
  #30  
Old 03-13-2011, 01:32 PM
UncoderMom UncoderMom is offline
 
Join Date: May 2006
Location: My office chair!
Posts: 567
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Was waiting for you to release this! Its about time! LOL
Reply With Quote
  #31  
Old 03-13-2011, 01:52 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All you had to do was ask. You knew I was working on it.
Reply With Quote
Reply

Thread Tools

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 04:17 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.06514 seconds
  • Memory Usage 2,326KB
  • 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
  • (2)bbcode_code
  • (5)bbcode_quote
  • (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