vBulletin Mods

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

More Share Options TNG by BOP5 (Facebook, Twitter, Google +1, AddThis) Share Buttons
by BirdOPrey5
02 Jul 2011 13:06

4 Attachment(s)
Brought to you by BirdOPrey5
www.Qapla.com


Current Version: 3.2

More Share Options The Next Generation (v 3.0) is a complete rewrite of my "More Share Options" mod. If you are looking for the old version I am keeping it attached (More Share Options for VB4 by BOP5v261.zip) but it will no longer be updated or supported.

The purpose of the mod is to add additional share "buttons" (Besides Facebook Like) to vBulletin.

Demo: Practically every page of Qapla.com has the "Gold" version enabled.

There is GOLD Version with additional features available at:
http://www.qapla.com/mods/showthread...4-by-BOP5-GOLD

The FREE Version allows sharing to the following sites:
  • Facebook (Like OR Recommend with Send Button Option, and with old style "Share" option, Dark Option, Show Faces Option)
  • Twitter (Specify "Via" Username, Related Account, default hash tags, and language- With or without counts)
  • Google +1 (With or without count, option to use built in Facebook language or specify custom language)
  • Add This (Option to input publisher ID for analytics tracking, enable/disable printing, disable duplicate sites option)

The FREE Version also has the following Style Vars for basic styling:
  • Height of Share Bar (in Pixels)
  • Padding
  • Margins

The GOLD Version has all of the above PLUS the following additional share options:
  • Pinterest (With or without count, option to specify pinned image, better Pin It sharing button in Beta available for testing)
  • Digg (With count or icon only)
  • Linked In (With or without count)
  • StumbleUpon (Several options with/without counts)
  • Reddit (Several options with/without "points")
  • Custom Buttons (Add as many additional custom buttons as you want!)

The GOLD Version also has additional Style Vars for complete control of Share Bar Styling:
  • Background
  • Border

(Both FREE and GOLD can be completely customized by CSS as well if you prefer not to use Style Vars.)

Some of the major differences between More Share Options TNG and the Original Version:
  • Share Buttons now show on ALL pages, including pages by 3rd party applications like Arcades and Media Galleries.
  • Twitter Count Now WORKS
  • Table-less design (All formatting done via CSS/Style Vars)
  • Additional built-in Facebook and Twitter options
  • New options to disable by Usergroup and/or THIS_SCRIPT value (as well as by Forum and by Style)
  • Pinterest Now Integrated (Gold version only)


As with the prior version, fast loading Asynchronous JavaScript is used everywhere possible.

IMPORTANT UPGRADE NOTICE!

If you are "upgrading" from an old version (any version less than 3.0) be aware this version (TNG) has been coded as a completely new and separate mod. It will NOT upgrade an old version.

I suggest if you run an old version of "More Share Options" you disable it via Product Manager in Admin CP.

Install and configure this new mod and make sure it works and you like it.

If you do like it then you can uninstall the old mod from Product Manager.

IMPORTANT - Some users have reported the new mod will not run until the old mod is uninstalled. If you have installed 3.0 and it is not running, please try uninstalling the old mod first.

VBSEO Compatibility:

UPDATE: It has been reported working with VBSEO!

Basically I have no idea how compatible this may be with VBSEO as I don't have access to a VBSEO enabled forum. If you use VBSEO be sure it works as designed (you can share pages.)

Test share 3 pages: The Forum Home, a Thread (showthread), and a Forum (forumdisplay) - if all 3 shares work I am confident the mod will work completely for you. I suggest you use Twitter or Facebook for your testing.

If you do run into VBSEO issues please post here and I will do my best to fix.

General Compatibility:
This has been tested as far back a VB 4.0.8 and as recent as VB 4.2.0. It is expected to work on all VB 4.x.x versions however if you have a very old version of VB please try the FREE version before purchasing the Gold to ensure compatibility. This is not compatible with VB 3.x.

As of version 3.2.0 there is a recommended manual file edit for those running VB 4.1.9 or below.

Admin CP Full Screen Shot: http://www.qapla.com/mods/ss/msotng_admincp_free.jpg

VB 3.8 Version Here.

Please Mark as Installed if you use this. :)
Donations always appreciated. :up:

To be clear the New (TNG) Version is: More Share Options TNG FREE (v 3.2) by BOP5.zip

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

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

BirdOPrey5 02 Jul 2011 13:08

1 Attachment(s)
Reserved.

The following text is not relevant to Version 3.0 or above.

Quote:

This post will contain useful hints and options for the Share Buttons that are outside the scope of the mod itself.


Condition to show Share Button(s) Only on Specific / Guest Viewable Forusm

This is a useful conditional if you want to hide the Facebook Like button (and all of the share buttons) in forums that aren't open to the public. If someone "Likes" a thread in a private forum people will be greeted with a no-permission "have to register" message which usually people will just get annoyed at rather than register. In fact if it's a private forum they may not even have access even after registering.

To use this conditional edit the SHOWTHREAD template... find the code:

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

and change it too:

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

Where 3,4,5 are forum id's of the forums you want to hide the button in. You can add or remove more numbers as needed so long as they are separated by commas.


Alternate location for Share Buttons

This location has been used by VB 3.x forms and was recently suggested by someone (forget who, sorry) as a good location for the Facebook button on VB 4.x.

To do this edit the SHOWTHREAD template.

Find the code:

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

DELETE IT.

Now find the code:

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

And right below it add:

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

This is for the default vBulletin 4 style. You may have to play with the style settings to get it to look right on a custom style.

This looks good on Chrome, IE9, and Firefox. The height alignments are a little off on Opera browsers but nothing too bad.

Screenshot Attached.

Ricsca 02 Jul 2011 13:45

In my site (vbulletin + vbseo) dont work...

BirdOPrey5 02 Jul 2011 13:47

Quote:

Originally Posted by Ricsca (Post 2215836)
In my site (vbulletin + vbseo) dont work...

Please give me some more info- how is it not working?

What version of vBulletin?

Do you see anything at all?

Do you have the regular Facebook Like button enabled?

Link to your site?

BirdOPrey5 02 Jul 2011 14:02

I just updated to version 1.01 - Found an error on 4.1.2, maybe other version as well. Please update.

reasoner 02 Jul 2011 14:31

Quote:

Originally Posted by Ricsca (Post 2215836)
In my site (vbulletin + vbseo) dont work...

The same to me. (4.1.4) I don`t see anything in the frontend!? (I can give you no link, because i installed it in my test-VB

singh9211 02 Jul 2011 14:35

can please provide the download link to whole zip file as u have mentioned, currently only product xml file is available for download.........

BirdOPrey5 02 Jul 2011 14:41

Quote:

Originally Posted by reasoner (Post 2215846)
The same to me. (4.1.4) I don`t see anything in the frontend!? (I can give you no link, because i installed it in my test-VB

Very sorry about that. Yes I have uploaded the zip file now instead of just the xml.

Quote:

Originally Posted by singh9211 (Post 2215849)
can please provide the download link to whole zip file as u have mentioned, currently only product xml file is available for download.........

I have no way of testing this with VBSEO installed. My only guess if maybe VBSEO overrides the default Like Button as well for some reason.

I have installed this on the following forums:

VB 4.1.4 Suite
VB 4.1.2 Forum Only
VB 4.0.8 Forum Only

It worked on all of them on different servers, but none of them have VBSEO installed.

Just to double check make sure you have Enabled the mod and enabled the extra share buttons- everything is disabled by default.

singh9211 02 Jul 2011 14:52

hi BirdOPrey5,

thanks for providing the download zip file.

I request you to please check my website http://www.geekworld.co.in, as i have installed the mod and its showing properly but none of the facebook, tweeter, and google +1 buttons are working.

You can check right now.

BirdOPrey5 02 Jul 2011 15:28

I was just able to Like and Google +1 this thread which I picked at random just fine:
http://www.geekworld.co.in/showthread.php?2103-apps-gt

Make sure you are testing it with a thread in a public accessible (guest accessible) forum. They might not work in hidden/secret forums.

Twitter is working fine too.

What browser are you using?

I am unliking the page now so it won't show but the +1 will.

singh9211 02 Jul 2011 15:47

Quote:

Originally Posted by BirdOPrey5 (Post 2215863)
I was just able to Like and Google +1 this thread which I picked at random just fine:
http://www.geekworld.co.in/showthread.php?2103-apps-gt

Make sure you are testing it with a thread in a public accessible (guest accessible) forum. They might not work in hidden/secret forums.

Twitter is working fine too.

What browser are you using?

I am unliking the page now so it won't show but the +1 will.

Ya u r correct its working, the problem comes only in firefox browser, while it working fine in google chrome.

So want you to please check it under the firefox browser.

BirdOPrey5 02 Jul 2011 17:07

I just "Liked" and Google +1 this page: http://www.geekworld.co.in/showthread.php?277-books

Using Firefox 3.6.17 without any problem.

Maybe you are running NoScript on Firefox? That would block any of these from working since they are all javascript based.

Also, what version of vBulletin are you running?

sweetpotato 02 Jul 2011 17:53

Love this nice mod, thanks!

BirdOPrey5 02 Jul 2011 18:03

Quote:

Originally Posted by sweetpotato (Post 2215901)
I have this error when try to install it

Please try downloading it again. If the error persists try downloading with a different web browser.

I just downloaded it myself and it imported fine.

The error you got is usually the result of a corrupt download.

EDIT- I guess you got it working. ;)

zelnik 02 Jul 2011 18:15

The twitter button doesn't work with VBSEO install as it tries to post the nonvbseo url to twitter.

Oddly it works on your previous twitter button integration just fine.

The twitter button also has all your custom @JUOTnet stuff in it also.


All times are GMT. The time now is 07:21.

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.