vb.org Archive

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

vbboarder 09-01-2008 10:00 PM

Navbar Mod - adds social bookmarking, notifications highlighting, & search fields
 
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.
Important: you must revert the navbar_additions template if your version is older than 1.2.0.

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.?

Versions:
Code:

  1.0.0 Initial Release.
  1.1.0 Auto templating added:
Added VB Options page to easily set script, styles & colors.
Added product version checking and auto-checked ?Remember Me? for user login.
Fixed URL for 1 form & 1 link (only affects users with vbAdvanced installed in a non-forum directory).
  1.2.0 New Features:
Added dropdown menu for the private messages link in the navbar (near the Welcome message).
Added Register & Forgot Password? links to the navbar login area.
Added 2 search links (My Posts & My Threads) to search all of the user?s posts & threads.
Added an option to disable the ?Search Site? extra links: Who?s Online, My Posts, My Threads.
  1.3.0 Added option to sort notifications alphabetically.
  1.3.5 Provided an option to manually edit navbar template.

.

vbboarder 09-02-2008 03:20 AM

To manually edit the navbar template (version 1.3.5), 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.

Version 1.2.0: new dropdown menu for private messages (see attachment).

Hornstar 09-02-2008 06:34 AM

I can see this being very useful..but what is the catch with using this service?

vbboarder 09-02-2008 06:59 AM

No catch - it's absolutely free and no advertising! Check out the links to ShareThis and see for yourself. ;)

vbboarder 09-05-2008 07:36 PM

Version 1.1.0 JUST RELEASED!
New Features: No more template edits! You can now specify settings in VB Options for highlighting colors, hiding links with no new notifications, and inserting the ShareThis script.

To update, reimport the new product xml file and allow overwrite.
Important: you must revert the navbar_additions template (only if updating from first version 1.0.0).
Then go to VB Options > Navigation + Notifications Styles to add the ShareThis script and set the styles & colors.

Celtkin 09-06-2008 01:24 PM

Clicks Installed and voted for MOTM.

Great job!

vbboarder 09-07-2008 03:28 AM

Thanks for showing your support! :D

vbboarder 09-12-2008 09:01 PM

JUST RELEASED: Version 1.2.0
New Features:
Added dropdown menu for the private messages link in the navbar (near the Welcome message – see attachment for a screenshot).
Added Register & Forgot Password? links to the navbar login area.
Added 2 search links (My Posts & My Threads) to search all of the user’s posts & threads.
Added an option to disable the “Search Site” extra links: Who’s Online, My Posts, My Threads.

aus360 09-19-2008 10:41 AM

i got database error in my forum after uninstalling mod!!!!!!
i am using 3.7.2



>>>>>>>>>>Problem Fixed<<<<<<<<<<

aus360 09-19-2008 10:45 AM

>>>>>>>>>>Problem Fixed on September 20, 2008<<<<<<<<<<

Database error in vBulletin 3.7.2:

Invalid SQL:

SELECT administrator.*,
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
language.phrasegroup_global AS phrasegroup_global,
language.phrasegroup_plugins AS phrasegroup_plugins,
language.phrasegroup_cpglobal AS phrasegroup_cpglobal,
language.options AS lang_options,
language.languagecode AS lang_code,
language.charset AS lang_charset,
language.locale AS lang_locale,
language.imagesoverride AS lang_imagesoverride,
language.dateoverride AS lang_dateoverride,
language.timeoverride AS lang_timeoverride,
language.registereddateoverride AS lang_registereddateoverride,
language.calformat1override AS lang_calformat1override,
language.calformat2override AS lang_calformat2override,
language.logdateoverride AS lang_logdateoverride,
language.decimalsep AS lang_decimalsep,
language.thousandsep AS lang_thousandsep

FROM user AS user
LEFT JOIN userfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN administrator AS administrator ON (administrator.userid = user.userid) LEFT JOIN language AS language ON (language.languageid = IF(user.languageid = 0, 1, user.languageid))

WHERE user.userid = 2;

MySQL Error : Unknown column 'language.phrasegroup_global' in 'field list'
Error Number : 1054
Request Date : Friday, September 19th 2008 @ 06:36:35 AM
Error Date : Friday, September 19th 2008 @ 06:36:35 AM
Script : http://aus360.net/vb/admincp/plugin.php?do=product
Referrer : http://aus360.net/vb/admincp/plugin.php?do=productkill
IP Address : 86.96.226.86
Username :
Classname : vB_Database
MySQL Version :


All times are GMT. The time now is 11:47 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.01103 seconds
  • Memory Usage 1,755KB
  • 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
  • (1)bbcode_code_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