View Full Version : Miscellaneous Hacks - More Share Options FREE for VB5 by BOP5
BirdOPrey5
09-15-2012, 10:00 PM
This is my first released mod for vBulletin 5.
vBulletin 5 mods are completely different than VB 4.x and VB 3.x mods- they work different and are designed differently.
Be sure you read the install instructions in the README file before installing. You will need to upload files, after that the mod should auto-install. (Make sure the product/hook system is enabled.)
More Share Options FREE for VB5 brings the Facebook Like/Recommend/Send buttons, Twitter Tweet button, Google +1 button, and AddThis share button to vBuletin 5. AddThis, if you're not aware is a single button that allows content submission to HUNDREDS of social media sites including ALL the popular ones such as Digg, Pinterest, and even direct to email like Gmail.
This mod is essential to give users an easy way to share interesting threads, photos, and other content on your site with their friends and followers.
This is the FREE version.
The GOLD version is available on Qapla.com (http://www.qapla.com/mods/showthread.php/74-More-Share-Options-for-VB4-and-VB5-by-BOP5-GOLD) and has the following extra features-
Separate buttons for: Pinterest, Digg, Stumbleupon, Linked In, and Reddit
Ability to add new/custom buttons
Usergroup Permissions (Show only to specific usergroups)
Disable by forum (now called channels)
Disable by page (What would have been THIS_SCRIPT on VB4 is now page numbers)
Disable by Style
Live Demo: Here. (http://www.qapla.com/mods/showthread.php/723-More-Share-Options-VB5-FREE-Version-by-BOP5) (Demo is still VB4 version, very similar.)
If you have any questions, and I expect you will, feel free to ask them in this thread.
Please "Mark as Installed" if you use this. :)
Please Nominate It for MOTM if you like it. :D
Donations Always Appreciated! :up:
BirdOPrey5
09-16-2012, 07:09 PM
Reserved.
Hornstar
09-17-2012, 09:17 AM
Nice work. So once you upload the files, is that it? It auto installs.
BirdOPrey5
09-17-2012, 10:40 AM
Yes, assuming the VB5 Product/Hook system is enabled... it's disabled by default (like it is in earlier VB versions.)
You have to enable it either by going to Manage Products in the Admin CP or the the product/hook settings in settings.
Then on the first front-end page load it installs, so you have to refresh/reload the page twice really to see it work as designed.
Most VB5 mods will probably auto-install, it's a fairly easy option for mod authors to setup...
Wayne Luke
09-19-2012, 06:42 PM
Anyway to move the share bar under the thread title?
BirdOPrey5
09-20-2012, 09:49 PM
No not at this time... Because it's using a template hook from the header so it is always going to be above the title unless new template hooks are added.
eva2000
09-21-2012, 03:01 AM
Hey Joe, can you individually select which social sites to display ? i.e. all displayed but disable facebook ?
BirdOPrey5
09-21-2012, 08:08 PM
Yes in the mod settings you can enable disable each specific share button.
For example if you only wanted Twitter and +1 that is fine...
For Twitter and Google+1 you can also choose to show or not show the count if you enable them.
For Facebook you can choose between it saying "Like" or "Recommend" if enabled, and choose between standard count and box counts, and optionally enable the Send button as well, even choose light or dark buttons.
eva2000
09-22-2012, 03:02 AM
Awesome Joe, installed :D
eva2000
09-25-2012, 02:04 AM
Would be nice if the placement of the social icons is made into a module, that way you could drag it to areas of each individual page template (i.e. sidebar or above or below main content container etc) or create a new page template with social icon module in a preset position.
Or generate code wizard, so you could add the social icon html code to a new custom html module :)
BirdOPrey5
09-27-2012, 03:05 PM
Maybe... when I figure out how to make Modules. ;)
Michael.A
09-28-2012, 03:43 AM
so vb5 its more like wordpress so why not make it so we can download and install the plugins from the admincp just like wordpress ..
TheSupportForum
09-28-2012, 06:04 AM
so vb5 its more like WordPress so why not make it so we can download and install the plugins from the admincp just like WordPress ..
the wrong place to ask questions like this
you are asking a question about how products are installed through admincp
rather than this product itself
please ask questions likes this in
https://www.vbulletin.com
BirdOPrey5
09-30-2012, 04:35 PM
so vb5 its more like wordpress so why not make it so we can download and install the plugins from the admincp just like wordpress ..
I can't speculate on why the VB5 developers did or did not do anything- I also don't believe the premise that VB5 was made to be more like WordPress.
VB5 is VB5... The way mods work now I suppose someone could build a mod that allowed admins to browse and download other mods in one step if all the coders were willing to follow specific patters for how their mods get saved and uploaded.
As was pointed out this particular thread about my one mod is not the place for a serious answer.
bestfirearmdeal
04-24-2013, 10:17 PM
I am in need of a mod for VB5 that shows all of the user,post stats, member count etc. I see these on alot of forums. Let me know. Thanks
austin1945
04-29-2013, 01:13 AM
Love it! Thanks
SteveV
10-05-2013, 09:24 AM
Thanks for this mod.
I installed is a few days ago and am configuring and testing all kind of things.
All i see is the Google+ and tweet button but the Facebook button does not show.
I have it set to Default Like and the other 3 options to no but wne i set them to yes or any other combination the facebook button still does not show.
What am i doing wrong?
Thanks
*edit* Never mind i forgot to set the inbuild Facebook settings and now it is showing.
sandrose
01-13-2014, 02:40 PM
Good tool.
But, you know the vbulletin 5 URL is too long could you make the script to convert the url to tinyurl.
Regards
Uji Hardana
01-16-2014, 08:57 PM
nice tool :up: thanks ;)
Spangle
01-22-2014, 11:38 AM
Does this work on 5.0.5
Spangle
01-31-2014, 08:38 PM
***UPDATE***
For those interested I have this working hunky dory on my VB5.0.5 install
sandrose
02-17-2014, 07:02 PM
This is good plugins, but it requires to shorten the topic URL. Could you please integrate goo.gl as a shortening tool with it.
Thanks
Larz979
03-24-2014, 09:00 PM
I installed the free version on 5.0.5, and I'm not getting a Twitter icon or an AddThis icon (although I don't care so much about the latter). I do get a "Tweet" link though. Do you have any suggestions?
Here's what it looks like: http://i.imgur.com/K2SCeC4.png
Thanks!
EDIT: Ok, I figured out why I'm not getting any buttons. Our site is https, and the icons are blocked because they are using http. Would I only need to search/replace http->https in the xml file?
EDIT2: Yup, that fixed it.
BirdOPrey5
03-25-2014, 08:31 PM
Glad you figured it out... when I update the mod next I'll make sure it works with or without https.
ARLreborn
03-30-2014, 09:10 AM
Works great on vB 5.1
I liked it so much I brought the full edition :)
Top work - thanks!
PetrS
04-02-2014, 01:37 PM
Hello, how can I add another language (for buttons) to Facebook module? Default is English. I need Czech. G+ and Tweet is easy.
Thank you, Peter
BirdOPrey5
04-02-2014, 08:37 PM
You must edit the GLOBAL phrase facebook_language in the Admin CP, Phrase Manager. The default is en_US, change it to the language code you need by providing a translation for your custom language(s).
This is because the Facebook code is built into VB5.
PetrS
04-03-2014, 08:59 AM
Thank you!
AcemanWolf
05-07-2014, 06:52 AM
Will this work for 5.1.0?
BirdOPrey5
05-07-2014, 09:57 AM
It should.
BirdOPrey5
05-07-2014, 10:44 AM
I have confirmed it does work in 5.1.0.
However to have the Facebook Like button show up you must enable Facebook Platform in vBulletin's Facebook Options and provide an Application ID and Secret. This is required for VB to load the Facebook code the Like button relies on.
badawidollah
07-31-2014, 06:46 PM
really like it
awesome
badawidollah
07-31-2014, 06:48 PM
how if there share button also recommend button and like button for facebook
Atsuko
01-27-2015, 03:45 AM
Hi,
I installed to ver 5.0 and the mods worked well.
Then upgraded to 5.15, the faces of facebook had disappeared.
of facebook?
mdawg
07-25-2015, 06:46 PM
I have this installed and it works fine although sometimes the Facebook like button disappears until the site is reloaded.
Question: will this mod conflict with [OneAll] Social Login
https://vborg.vbsupport.ru/showthread.php?t=319606
Hectorsky
11-19-2015, 09:17 PM
with latest version doesn't work
mdawg
11-22-2015, 02:06 PM
with latest version doesn't work
I'm using it with vb 5.1.9 PL 3 seems okay.
Hectorsky
11-23-2015, 08:59 PM
I'm using it with vb 5.1.9 PL 3 seems okay.
yea . but doesn't work properly
BrokenChaos
11-27-2015, 04:39 AM
BUG: Twitter count does not work on 5.1.9 PL3
SpaceStar
09-19-2016, 10:25 AM
Well yo can't ask for more with a free plugin. Though has some issue...
1) Alignment out of frame
2) Facebook only worked once
3) Take a bit longer to load page
didn't tested many other but on the plus point..
Worked every time with Google+ - excellent.
Don't know if I will continue - i like it, need it, but for the issues :(
mdawg
10-03-2016, 04:51 AM
Well yo can't ask for more with a free plugin. Though has some issue...
1) Alignment out of frame
True, I find that the Like button for Facebook ends up wayyyy to the left (IF the browser is stretched too wide), but the others Twitter, Google, and the pull down for the rest, align okay.
SpaceStar
10-03-2016, 07:20 AM
True, I find that the Like button for Facebook ends up wayyyy to the left (IF the browser is stretched too wide), but the others Twitter, Google, and the pull down for the rest, align okay.
Correct. I see the same just to the right.
I am suddenly getting a 403 FORBIDDEN error on Facebook-share all other works superbly well.
mdawg
10-03-2016, 12:44 PM
Well, at my 5.2.4 forum the Facebook integration works correctly. But the only thing we use this mod for is the Facebook Like button. This works via this mod.
To publish something to Facebook at the same time as at the forum is a vbulletin function not part of this Mod anyway. Is that what you mean by the Facebook-share?
BirdOPrey5
10-04-2016, 08:00 AM
I know this mod is due for an update, sorry, it will be the first big mod I overhaul when I get some time.
The only thing this mod does is put various Like/Share buttons on the page, it isn't designed to automatically share any content upon posting.
mdawg
02-08-2018, 05:17 PM
It seems that with vb 5.3.4 the AddThis button is no longer there...the Facebook, Twitter and Google buttons remain.
mdawg
07-12-2020, 10:01 PM
Only the Facebook and Twitter buttons remain.
1)
And also there is an issue that the http needs to be changed to https for at least twitter:
<script id="bop5twt" type="text/javascript">
(function() {
var twitterScriptTag = document.createElement('script');
twitterScriptTag.type = 'text/javascript';
twitterScriptTag.async = true;
twitterScriptTag.src = 'http://platform.twitter.com/widgets.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(twitterScriptTag, s);
http://platform.twitter.com/widgets.js
needs to be
https://platform.twitter.com/widgets.js
2) Within the AddThis_toolbox you appear to be using, also there is an https problem:
addth.src = 'http://s7.addthis.com/js/250/addthis_widget.js#pubid=';
should be
addth.src = 'https://s7.addthis.com/js/250/addthis_widget.js#pubid=';
Both of these appear to be inside the
product_bop5moresharevb5.xml
mdawg
07-13-2020, 01:05 AM
All right I went into your product_bop5moresharevb5.xml and using Xcode converted all of your http to https. The mod runs better now. More of your buttons load.
However, the following URLs used within your XML are dead links:
https://www.google.com/webmasters/+1/button/
https://twitter.com/about/resources/buttons#tweet
https://static.ak.fbcdn.net/connect.php/js/FB.Share
so you need to update your app to use new resources, or remove whatever functionality these URLs need to pull, because it leads to page load errors otherwise.
I believe these are the errors that still now load related to your app, AFTER changing all of the http to https within your XML:
https://imgur.com/DpNvHk1
there were more errors previously, but these remain.
mdawg
09-21-2023, 03:03 PM
I disabled this mod because it doesn't seem to work any longer on vb 5.7.5, at least not the Facebook "Like" button.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.