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
  #12  
Old 03-12-2011, 06:49 PM
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Location: Scotland
Posts: 1,229
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
Do you have vBSEO installed Gemma? The reason I am asking is because I took that link off of the Friends Tab itself in the profile, so I know it is correct.
Yes I do but I used the default link with vBSEO disabled.
Reply With Quote
  #13  
Old 03-12-2011, 06:56 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you give me the product name of the vBSEO mod? I will do a conditional that will change the link if vBSEO is installed and enabled. Even disabled, aren't there some link changes in the htaccess file?
Reply With Quote
  #14  
Old 03-12-2011, 07:02 PM
McAtze McAtze is offline
 
Join Date: Oct 2009
Location: de-DE
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Boofo: u have pm ..

i use vbseo with this rewrite ..

domain.de/members/username.html

--------------

€dit: Stop your searching Boofo .. the link from Gemma works ..

HTML Code:
<li><a href="{vb:raw vboptions.bburl}/member.php?u={vb:raw bbuserinfo.userid}&amp;tab=friends">{vb:rawphrase boofo_friends}: {vb:raw bbuserinfo.friendcount}</a></li>
Reply With Quote
  #15  
Old 03-12-2011, 07:11 PM
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
What is your screen size? Remember, the longer menu has to adapt to the page size and where you are scrolled at. Plus you need to add the code to the additional.css.
Screen size is 14 inch and additional.css is added

I guess I need a screen for the longer meau :up: I will let the wife know
Reply With Quote
  #16  
Old 03-12-2011, 07:26 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
Screen size is 14 inch and additional.css is added

I guess I need a screen for the longer meau :up: I will let the wife know
There should be some spacing on the left of the the menu subtitles if the code is installed in the additional.css..
Reply With Quote
  #17  
Old 03-12-2011, 07:27 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 McAtze View Post
@Boofo: u have pm ..

i use vbseo with this rewrite ..

domain.de/members/username.html

--------------

?dit: Stop your searching Boofo .. the link from Gemma works ..

HTML Code:
<li><a href="{vb:raw vboptions.bburl}/member.php?u={vb:raw bbuserinfo.userid}&amp;tab=friends">{vb:rawphrase boofo_friends}: {vb:raw bbuserinfo.friendcount}</a></li>
We know it works for those with vBSEO installed. That wasn't the problem. But it is fixed now so you can download the update.
Reply With Quote
  #18  
Old 03-12-2011, 07:32 PM
McAtze McAtze is offline
 
Join Date: Oct 2009
Location: de-DE
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx for the fast help ...
Reply With Quote
  #19  
Old 03-12-2011, 07:42 PM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mr_Running View Post
Thanks Boofo

I notice a difference from the screen shot and what I have.
Some of the User Links go above the navbar
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
Attached Images
File Type: jpg default.jpg (90.9 KB, 0 views)
File Type: jpg blackend.jpg (52.4 KB, 0 views)
Reply With Quote
  #20  
Old 03-12-2011, 07:47 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just edit the additonal.css code you added and change the color: {vb:stylevar blockhead_link_color}, if you want something other than white. As far as it being above the navbar, the custom skin must be causing that. Since I only use the default skin, that is what I coded it in. It looks like they use a lot of padding in that skin, which would account for it, I suppose.
Reply With Quote
  #21  
Old 03-12-2011, 08:39 PM
Mikevet1984's Avatar
Mikevet1984 Mikevet1984 is offline
 
Join Date: Nov 2010
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Boofo's Miracle one more time....

hahahah

Thanks bro!
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 12:08 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.04553 seconds
  • Memory Usage 2,348KB
  • 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
  • (2)bbcode_html
  • (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
  • (3)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
  • (4)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