vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=268967

Share Buttons Bar by BOP5 (Facebook Like, Twitter, Google+1, and more share options)
by BirdOPrey5
23 Aug 2011 02:58

3 Attachment(s)
This is the VB 3.8 version of my very popular "More Share Options" for VB4.

Since VB4 already had Facebook built in the mod was called "More Share Options." But since VB 3.8 (and earlier) do not have any share options built in the mod is called "Share Buttons Bar." but they do very much the same thing.

This mod will automatically add a bar to your navbar with many popular dedicated share buttons available including:
  • Facebook (Like/Recommend/Send)
  • Twitter Tweet
  • Digg
  • Google +1
  • Linked In
  • Stumble Upon
  • Add This (which contains hundreds of more sites!)

There are no other mods available on vBulletin.org with as many share options, nor a simple install-able product with no manual edits needed in most cases.

In the event you want to make manual template edits instructions are included on how to do so.

I am using this mod on my forum, http://www.juot.net/forums/ but only in threads and I have manually included it in my SHOWTHREAD template only. For a better idea of what this mod really looks like see the screenshot.

This mod will allow you to share any page of your forum including forumhome, forumdisplay, threads, social groups, calendars, albums, pictures, arcade games, blogs- any page that has the navbar on it can be shared. In this respect it is actually far more useful than my 4.x version.

All Share Buttons are set to load JavaScript Asynchronously so it will never slow down a page load!

https://www.vbulletin.org/forum/external/2011/08/1.gif

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

Please "Mark as Installed" if you use this. :)
Donations always appreciated. :up:
Nominate MOTM if you LOVE it! ;)

BirdOPrey5 23 Aug 2011 03:00

Reserved.

EddyMaxx 23 Aug 2011 16:55

Joe,

Where can I add a <center> </center> tag? I'm only using a few and would look better if I had those particular ones centered.

Thanks.

BirdOPrey5 23 Aug 2011 17:08

In the template more_share_options

Directly under the line: (near the top)

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add the line:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then near the bottom directly above the line

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

add the line:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and Please Mark as Installed if you do use this.

Max Taxable 23 Aug 2011 17:55

Installed.

Morrus 23 Aug 2011 18:10

One issue I often have with these types of mods - especially with vBSEO or something running, is that Twitter shares usually have URLs too long to be much use on Twitter with its 140 character limit. You often get a few characters of the thread title and then a long URL, when what you need is the full thread title and a short URL.

Does or can this mod incorporate URL shortening such as bit.ly or similar?

BirdOPrey5 23 Aug 2011 18:29

Quote:

Originally Posted by Morrus (Post 2237060)
One issue I often have with these types of mods - especially with vBSEO or something running, is that Twitter shares usually have URLs too long to be much use on Twitter with its 140 character limit. You often get a few characters of the thread title and then a long URL, when what you need is the full thread title and a short URL.

Does or can this mod incorporate URL shortening such as bit.ly or similar?

Twitter will auto shorten any URL... once you tweet it you will see the URL is really a "short URL."

Morrus 23 Aug 2011 19:06

2 Attachment(s)
Quote:

Originally Posted by BirdOPrey5 (Post 2237078)
Twitter will auto shorten any URL... once you tweet it you will see the URL is really a "short URL."

Not quite. Twitter does shorten the URL, but only AFTER it's composed the tweet.

See the following image - this is from the current Tweet mod we have installed after it's gone through to Twitter. As you can see, the thread title is cut off and a long URL is shown. Twitter shortens the URL after this, not before.


So you do end up with a shortened URL, but you still have a cut-off thread title, resulting in this:


Therefore, URL shortening would need to take place BEFORE the info is sent to Twitter.

Mishima 24 Aug 2011 12:25

Installed. But not working :(

Do I have to update any counters in "Maintenance"?

Under vBulletin Options I have enabled the Mod and various Social sites but nothing is appearing. Any ideas?

BirdOPrey5 24 Aug 2011 12:34

Quote:

Originally Posted by Mishima (Post 2237363)
Installed. But not working :(

Do I have to update any counters in "Maintenance"?

Under vBulletin Options I have enabled the Mod and various Social sites but nothing is appearing. Any ideas?

If you have a customized style the auto-template edit might not work. Check your navbar template.

The mod looks for this exact line of code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If it's not there the auto-template edit will fail. In that case you should manually add the code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to your navbar template anywhere you want the button bar to show.

Then in the mod options you can turn off the option for the auto-template edit since it's not needed.

Mishima 24 Aug 2011 12:46

Thanks, this is now displaying on the index but how do I get it to work within thread, for posts etc?

BirdOPrey5 24 Aug 2011 13:15

If you put the code in the navbar template it should be showing on every page that has the navbar, including threads and posts. Is it not?

Mishima 25 Aug 2011 09:56

Its showing on every page within navbar but not on each post within a thread

BirdOPrey5 25 Aug 2011 18:22

It's not supposed to show on each post. You are sharing the entire thread, not each post.

pokesph 29 Aug 2011 17:31

Thanks for the PM, Downloaded and am checking it out on our board.

:)


All times are GMT. The time now is 20:47.

Powered by vBulletin® Version 3.8.13
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.