vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - Navbar - adds social bookmarking, notifications highlighting, & search fields (https://vborg.vbsupport.ru/showthread.php?t=201758)

vbboarder 01-13-2009 10:00 PM

Navbar - adds social bookmarking, notifications highlighting, & search fields
 
1 Attachment(s)
Navbar Additions + ShareThis

This mod adds 3 features to the navigation bar:
1. ShareThis social bookmarking: ShareThis is a free social networking script tool that enables users to add your site to the top 20 social bookmarking sites, send e-mails & SMS to friends about your site, and post to networking sites like MySpace & Facebook. Also, it provides free tracking & reporting so you?ll know how well your site is being shared, automatic updates with new features, and a JS API to customize its display. It?s similar to AddThis, but provides more features and a better user interface.

2. 7 search fields & links: In the ?Search? drop-down menu, this mod adds 2 search fields (?Search Members? and ?Search Social Groups?) and 5 search links ? Advanced Member Search, Advanced Group Search, Who?s Online, My Posts, My Threads.

3. Highlighting of Notifications: This mod will highlight the Notifications area in the navbar and the Notifications links in its drop-down menu when the user receives: friend or social group requests; private messages, visitor messages, or picture comments that are unread; visitor messages, picture comments, or social group messages that are awaiting approval.

ShareThis Social Bookmarking

Sign up and get your free script at ShareThis: http://sharethis.com/publisher
Support FAQ page is located at - http://support.sharethis.com/publishers
ShareThis API for customizations is at: http://sharethis.com/publisher?type=stapi
Sample ShareThis report page & graphs: http://sharethis.com/example_report

10 Features & Customizations

1. Search headers & links are fully phrased (all phrases start with ?navbarMod?).

2. Search fields are CSRF protected and will work even if you have vbAdvanced installed in a non-forum directory.

3. The user?s name will be marked up if you specified HTML in ?Username HTML Markup? for the usergroups in Usergroup Manager. Also, if you use vbExperience and a user has awards, those awards will also be displayed.

4. With ShareThis bookmarking, VB?s basic bookmarking is now redundant. To disable, go to vBulletin Options > select Thread Display Options (showthread) > at bottom of page, set ?Enable Social Bookmarking? to No and save.

5. You can change the background color of the Notifications area in the navbar. It?s currently set to aqua, but you can change that to any color or even use CSS to add a background image (just make sure it fits without getting cropped or overflowing).

6. You can change the color of the Notifications links in the dropdown menu. It?s currently set to red, but you can change that to any color or even use CSS to style it.

7. You can choose to show all notices or hide links with 0 new notices. Also, you can sort the notifications alphabetically.

8. Two links, Register & Forgot Password?, are added to the navbar login area. The ?Remember Me?? checkbox for user login is automatically checked.

9. Private Messages link in the navbar near the Welcome message has a dropdown menu for: Inbox, Sent Items, Send New Message, Track Message, & Edit Folders.

10. A VB Options page is provided to easily set script, styles & colors.

Installation
1. Download the product xml file. Go to Manage Products > Add/Import Product, upload that xml file, set ?allow overwrite? = yes, and click Import.

2. Sign up and get your free script at ShareThis: http://sharethis.com/publisher
It?s recommended to set ?embeds? to true when setting up the ShareThis script to prevent possible conflicts with embedded Flash. Using the ShareThis bookmarking is optional, but if you don?t, you?ll be missing out on 1/3 of this mod?s features.

3. Go to VB Options > Navigation + Notifications Additions to add the ShareThis script and set the styles & colors.

Update:
Reimport the new product xml file and allow overwrite.

Notes:
1. You need to have a new notification in order for the highlighting to take effect.
2. I read all posts for this mod so feel free to post any comments or suggestions.
3. You will be notified by e-mail for future updates if you click ?Marked as Installed.? If you find this mod useful, remember to click ?Nominate for MOTM.?


vbboarder 01-14-2009 05:09 PM

To manually edit the navbar template, go to Style Manager > Edit Templates > navbar:
FIND these 2 comments:
<!-- breadcrumb, login, pm info -->
<!-- / breadcrumb, login, pm info -->

REPLACE the content between those 2 comments with everything in the navbar_additions template and save. Remember to set “auto template navbar?” to ‘No’ in the Navbar Notices, ShareThis, Links settings in VB Options.

Black Tiger 01-15-2009 11:08 AM

Seems a very cool hack to me. The red color in the notifications is nice.
Quote:

The “Remember Me?” checkbox for user login is automatically checked.
Can this be disabled in the admincp? If we don't want to have that automatically checked?

solidlink 01-15-2009 12:16 PM

looks very cool and promising

thunderclap82 01-16-2009 09:30 PM

Is there a way to configure this to only work for registered users?

DawnsWebDesigns 01-17-2009 12:06 AM

Problem with this in IE. Wouldn't let me login. I disabled this mod & was able to login so I'm assuming it was this one.

vbboarder 01-17-2009 04:18 PM

Quote:

Originally Posted by DawnsWebDesigns (Post 1715257)
Problem with this in IE. Wouldn't let me login. I disabled this mod & was able to login so I'm assuming it was this one.

Probably your configuration or settings.... it's the first issue posted about IE login problems (I also had this mod posted in the VB 3.7 Mods forum). It's working fine for me in IE7 with VB 3.8.

etechno 01-19-2009 12:36 PM

Thank you!

Armyqt 01-27-2009 08:14 PM

Very cool. Thanks!! :)

Armyqt 01-28-2009 01:19 PM

I had to diable this hack because it got rid of my Facebook Connect link. I would love to have this feature. Any ideas?


All times are GMT. The time now is 10:23 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.01298 seconds
  • Memory Usage 1,744KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete