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?

vbboarder 01-28-2009 05:45 PM

Quote:

Originally Posted by Armyqt (Post 1727209)
I had to diable this hack because it got rid of my Facebook Connect link. I would love to have this feature. Any ideas?

This mod uses the navbar_additions template instead of navbar for the login/ PM area, so instead of doing the manual template edits to navbar that the Facebook Connect mod needs, you should do those edits to the navbar_additions template.

Instructions from Facebook Connect mod:
Find in navbar/ navbar_additions:
<!-- / login form -->


Insert After:
HTML Code:

<!-- fbconnect -->
<center>
<span class="fbconnect" style="height:21px">
<img src="http://static.ak.fbcdn.net/images/loaders/indicator_white_small.gif" alt="Connect with Facebook" />
</span>
</center>
<!-- / fbconnect -->


Armyqt 01-28-2009 06:08 PM

Quote:

Originally Posted by vbboarder (Post 1727422)
This mod uses the navbar_additions template instead of navbar for the login/ PM area, so instead of doing the manual template edits to navbar that the Facebook Connect mod needs, you should do those edits to the navbar_additions template.

Instructions from Facebook Connect mod:
Find in navbar/ navbar_additions:
<!-- / login form -->


Insert After:
HTML Code:

<!-- fbconnect -->
<center>
<span class="fbconnect" style="height:21px">
<img src="http://static.ak.fbcdn.net/images/loaders/indicator_white_small.gif" alt="Connect with Facebook" />
</span>
</center>
<!-- / fbconnect -->


I'm sorry but I don't understand what you mean. I didn't have to do any templete edits with this mod. What exactly am I editing. I need very specific instructions because I'm new at this. :)

vbboarder 01-28-2009 06:21 PM

Are you using the Facebook Connect mod? If so, read the INSTALL.html file that's included with that mod.
If you added your own links to the navbar in the login/ notifications area, then you need to add those links to the navbar_additions template.

Fungsten 01-28-2009 06:46 PM

I have a PayPal/Donate Button and Google Search which disappears when this MOD is activated. However they do return when the MOD is disabled. Why does it do this? TIA!

vbboarder 01-28-2009 07:26 PM

Quote:

Originally Posted by Fungsten (Post 1727462)
I have a PayPal/Donate Button and Google Search which disappears when this MOD is activated. However they do return when the MOD is disabled. Why does it do this? TIA!

This mod uses the navbar_additions template instead of navbar for the login/ notifications area, so you should do those edits to the navbar_additions template.

Sunsetblue 01-31-2009 05:40 PM

I don't need all of the features this navbar has, but I do need to add a login
area to my navbar. I do not have one and no one can log in. I had a member box to the
right of the forum but it made the forum too small so i deleted it. Is there a way to just add a login link to navbar?

Jason UK 02-05-2009 08:18 AM

Lovely mod and very promising.

frogster 03-11-2009 06:21 PM

Is there anyway to add the ShareThis button to each post as well?

DobieGillis? 03-13-2009 02:18 PM

I love this mod but it killed my Pkus Mood in the Postbit, can't have that.

Fungsten 03-13-2009 05:35 PM

Quote:

Originally Posted by DobieGillis? (Post 1767215)
I love this mod but it killed my Pkus Mood in the Postbit, can't have that.

It killed everything on mine. I had Paypal Google Search and the Moods.

DobieGillis? 03-13-2009 06:20 PM

Quote:

Originally Posted by Fungsten (Post 1767335)
It killed everything on mine. I had Paypal Google Search and the Moods.

lol! Not worth it, Aye?

frogster 03-16-2009 11:14 PM

BUMP...anyone know? I really like the sharethis button and would love to add it to each post...

Quote:

Originally Posted by frogster (Post 1765893)
Is there anyway to add the ShareThis button to each post as well?


tommac3 04-01-2009 01:17 AM

Stopped working on 3.8.1 / 3.8.2 is this compatible?

vbboarder 04-01-2009 04:27 PM

Updated: version 1.3.5 was just released. Provided an option to manually edit the navbar template, in case if you have conflicts with other mods. Read the 2nd post for the navbar manual edit instructions. It is recommended that you install this update if you are having conflicts with other mods or if you want to optimize the navbar template.

Fungsten 04-01-2009 06:23 PM

Quote:

Originally Posted by vbboarder (Post 1781835)
Updated: version 1.3.5 was just released. Provided an option to manually edit the navbar template, in case if you have conflicts with other mods. Read the 2nd post for the navbar manual edit instructions. It is recommended that you install this update if you are having conflicts with other mods or if you want to optimize the navbar template.

Tried the manual editing, etc. and it still doesn't work proberly.

sbsforum.us 04-10-2009 02:49 AM

This is cool!!!

sbsforum.us 04-28-2009 04:42 PM

Installed and using

It's great.

Love the extra features!!

gcxboxps 05-14-2009 02:52 AM

Installed and works great.

Just one thing though, is there a way you can remove the ShareThis part from showing up in private boards?

vbboarder 05-14-2009 03:46 PM

Quote:

Originally Posted by gcxboxps (Post 1810455)
Installed and works great.

Just one thing though, is there a way you can remove the ShareThis part from showing up in private boards?

If your whole board is private, you can just remove the script tag from the navbar Sharethis options page in VB Options.

If only some of your forums are private, then in the navbar_additions template, you can surround the Sharethis code with an if condition. For example:
Code:

<if condition="!$foruminfo['showprivate']">
$vboptions[sharethis_script]
</if>


GeorgeB85 05-14-2009 03:48 PM

I like this mod, but to bad it gives the name and email address for the administrator who signs up with the sharethis website. So I just changed the name to my company name, and the email to one I dont use.

vbboarder 05-14-2009 03:55 PM

Quote:

Originally Posted by GeorgeB85 (Post 1810730)
I like this mod, but to bad it gives the name and email address for the administrator who signs up with the sharethis website. So I just changed the name to my company name, and the email to one I dont use.

Sounds reasonable, but if you have good spam filter or want to be contacted, you may want to use your company's email or create one just for Sharethis.

gcxboxps 05-14-2009 09:04 PM

Quote:

Originally Posted by vbboarder (Post 1810726)
If your whole board is private, you can just remove the script tag from the navbar Sharethis options page in VB Options.

If only some of your forums are private, then in the navbar_additions template, you can surround the Sharethis code with an if condition. For example:
Code:

<if condition="!$foruminfo['showprivate']">
$vboptions[sharethis_script]
</if>


thanks, what about for the User Control Panel area?

GeorgeB85 05-15-2009 01:45 AM

Is there away to get rid of the color aqua for the notifications window and have it as it was before installing the mod? Thanks.

vbboarder 05-15-2009 02:28 PM

Quote:

Originally Posted by gcxboxps (Post 1810909)
thanks, what about for the User Control Panel area?

You can add the script's name to the if condition for any page you don't want Sharethis. The script's name is usually at the first 20 lines of code in any php page. For example:
Code:

<if condition="!$foruminfo['showprivate'] and THIS_SCRIPT != 'usercp'">
$vboptions[sharethis_script]
</if>

Quote:

Originally Posted by GeorgeB85 (Post 1810990)
Is there away to get rid of the color aqua for the notifications window and have it as it was before installing the mod? Thanks.

To remove the color, remove the notifications area style in the options page for this mod in VB Options. Alternatively, you can change the color or style to whatever you want.

GeorgeB85 05-15-2009 02:44 PM

Quote:

Originally Posted by vbboarder (Post 1811210)
To remove the color, remove the notifications area style in the options page for this mod in VB Options. Alternatively, you can change the color or style to whatever you want.

After playing around with it for about a minute, I finally got it.

It is a good idea, but just isnt needed for my board right now.

So far I have had some good remarks about the mod. Good job, once again!

vbboarder 10-01-2009 02:58 PM

Fixed a minor bug - version updated to 1.3.8. To update, reinstall xml file and allow overwrite.

mp3u 10-02-2009 09:14 AM

Nice mod, installed.:up: Bumping up the idea of having the button appear in each post.

luket79 10-04-2009 10:57 PM

What is the difference with these 2 XML files? I want to upgrade but I dont know why there are 2 XML's here...

EDIT: I see both versions are available, nevermind.

luket79 10-21-2009 02:11 AM

Is there a way to widen this area created to the left of the login box? I have added other stuff there and need some more width....thanks for any help.

vbboarder 10-21-2009 06:18 PM

Quote:

Originally Posted by luket79 (Post 1902970)
Is there a way to widen this area created to the left of the login box? I have added other stuff there and need some more width....thanks for any help.

Go to Style Manager and edit navbar_additions IF you enabled navbar sharethis auto-templating, OR edit navbar IF you disabled the auto-templating. For either templates, find 15% and 85%, and changed them to whatever % values you want.


All times are GMT. The time now is 05:28 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.01452 seconds
  • Memory Usage 1,843KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_html_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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