Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
More Share Options TNG by BOP5 (Facebook, Twitter, Google +1, AddThis) Share Buttons Details »»
More Share Options TNG by BOP5 (Facebook, Twitter, Google +1, AddThis) Share Buttons
Version: 3.2, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 07-01-2011 Last Update: 07-07-2012 Installs: 800
Supported Uses Plugins Auto-Templates
Translations  

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!

Download Now

File Type: zip More Share Options for VB4 by BOP5v261.zip (17.6 KB, 2423 views)
File Type: zip More Share Options TNG FREE (v 3.2) by BOP5.zip (15.9 KB, 1466 views)

Screenshots

File Type: jpg msotng_forumhome_free.jpg (98.0 KB, 0 views)
File Type: jpg msotng_stylevars_free.jpg (95.0 KB, 0 views)
File Type: jpg msotng_thread_free.jpg (112.5 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #172  
Old 07-23-2011, 02:14 AM
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Location: Pensacola, FL
Posts: 772
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
Thank you for your report. Unfortunately I can't reproduce the problem so I don't have any suggestions at this time. I will keep a look-out should I find more info on the problem.



I don't use the media library so I'm not sure how it would fit in, if at all. I'd imagine it would require you to manually modify a template to add {vb:raw more_share_options} to the template and then a custom plugin to register the share template to the media library template(s).

As for setting an image you should be able to set an image for your facebook application and it should use that if you have your app-id set in facebook settings.
My Facebook App Image seems to be broken. I'll figure it out thanks!
Reply With Quote
  #173  
Old 07-23-2011, 03:09 AM
onegawd onegawd is offline
 
Join Date: May 2011
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yahooooh View Post
syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/xxxxxx/public_html/includes/class_core.php(4464) : eval()'d code on line 108

vbulletin 4.0.4 pl2
i try v225
and this error appeared
I'm getting the exact same thing.

But on Vbulletin 4.1.4 pl2 with v225
Reply With Quote
  #174  
Old 07-24-2011, 12:56 AM
Mukashi's Avatar
Mukashi Mukashi is offline
 
Join Date: Jan 2004
Location: Brisbane, Australia
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
Thanks for the info, I'm not 100% sure what the issue yet, althogh VBSEO seems like a good scape-goat.

I actually just noticed I left some debug code in causing all parts of the mod to be active at all times. I just fixed this and released version 2.25. Please try it when you get a chance- you will probably still get the error but maybe you can tell me if it's specific to 1 page this time? (Like just formhome, just theeads, just albums, just member profiles, etc...) or if you still get them on all pages.

Thanks.

I suggest everyone upgrade to 2.25 as it should have better performance with the debug code removed.
Okay, finally got a chance to update, let's see what we've got.

As soon as I turn the extension on, with all the other settings set to No or disabled, threads show me this. Just get a white page with this error, no thread loading whatsoever.

Code:
Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/themozz/public_html/bmgf/includes/class_core.php(4465) : eval()'d code on line 108

Parse error: syntax error, unexpected '=' in /home/themozz/public_html/bmgf/includes/class_core.php(4465) : eval()'d code on line 108

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php(4465) : eval()'d code:108) in [path]/vbseo/includes/functions_vbseo_url.php on line 549

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php(4465) : eval()'d code:108) in [path]/vbseo/includes/functions_vbseo_url.php on line 553
Reply With Quote
  #175  
Old 07-24-2011, 01:01 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by onegawd View Post
I'm getting the exact same thing.

But on Vbulletin 4.1.4 pl2 with v225
Quote:
Originally Posted by yahooooh View Post
syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/xxxxxx/public_html/includes/class_core.php(4464) : eval()'d code on line 108

vbulletin 4.0.4 pl2
i try v225
and this error appeared
Could you guys try turning Auto Template Edits OFF (No) and see if anything changes?

Quote:
Originally Posted by Mukashi View Post
Okay, finally got a chance to update, let's see what we've got.

As soon as I turn the extension on, with all the other settings set to No or disabled, threads show me this. Just get a white page with this error, no thread loading whatsoever.

Code:
Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/themozz/public_html/bmgf/includes/class_core.php(4465) : eval()'d code on line 108

Parse error: syntax error, unexpected '=' in /home/themozz/public_html/bmgf/includes/class_core.php(4465) : eval()'d code on line 108

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php(4465) : eval()'d code:108) in [path]/vbseo/includes/functions_vbseo_url.php on line 549

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php(4465) : eval()'d code:108) in [path]/vbseo/includes/functions_vbseo_url.php on line 553
You said everything was already off, but if yo left auto template edits on please try again with them off.

Also if everyone could confirm WHAT PAGES do you get these errors on?
ALL?
Threads?
Blogs?
Forumhome?

etc... Please would help in debugging these issues.
Reply With Quote
  #176  
Old 07-24-2011, 04:32 PM
onegawd onegawd is offline
 
Join Date: May 2011
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same issue.

So I uninstalled the plugin, downloaded again with a different browser, installed, and enabled with auto template updates off. No go, same issue.

As well, what I just noticed, is if I edit the template files with the one that was posted earlier, I hit save, and it looks like it saves. But when I go back and check, nothing has changed.
Reply With Quote
  #177  
Old 07-24-2011, 07:34 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by onegawd View Post
Same issue.

So I uninstalled the plugin, downloaded again with a different browser, installed, and enabled with auto template updates off. No go, same issue.

As well, what I just noticed, is if I edit the template files with the one that was posted earlier, I hit save, and it looks like it saves. But when I go back and check, nothing has changed.
OK I found your problem- it is likely the problem everyone has been having.

Somehow in the code for the Facebook Send button I used a funky quote character instead of the normal quote character ("). Probably a copy and paste issue.

To fix your issue edit the XML product file... look for the line:

Code:
<fb:send <vb:if condition="$bophref">href="{vb:raw bophref}?</vb:if> font=?tahoma" colorscheme="{vb:raw boplord}"></fb:send>
Replace all the " quotes in red with a normal " quote.

You might not see a difference in the shape of the quote depending on the font you are using but trust me they are different characters.

The funky quote isn't valid on some systems.

I will fix the quotes in the next release, due out very soon, if you don't want to manually edit yourself.

Once you make the changes re-import the product, it should work.

The new version I am pleased to announce will allow for asynchronous javascript loading of all buttons to improve page load performance.
Reply With Quote
  #178  
Old 07-24-2011, 08:21 PM
onegawd onegawd is offline
 
Join Date: May 2011
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
OK I found your problem- it is likely the problem everyone has been having.

Somehow in the code for the Facebook Send button I used a funky quote character instead of the normal quote character ("). Probably a copy and paste issue.

To fix your issue edit the XML product file... look for the line:

Code:
<fb:send <vb:if condition="$bophref">href="{vb:raw bophref}?</vb:if> font=?tahoma" colorscheme="{vb:raw boplord}"></fb:send>
Replace all the " quotes in red with a normal " quote.

You might not see a difference in the shape of the quote depending on the font you are using but trust me they are different characters.

The funky quote isn't valid on some systems.

I will fix the quotes in the next release, due out very soon, if you don't want to manually edit yourself.

Once you make the changes re-import the product, it should work.

The new version I am pleased to announce will allow for asynchronous javascript loading of all buttons to improve page load performance.
Nice, thanks. That seems to have solved 1 issue. I can see the facebook like button now when the mod is enabled.

But I cant see any more buttons. My template file still is incomplete, and when I copy over the completed one and save, it processes like it's saving, but it remains the same.
Not sure if you have any ideas what's going on there.
Reply With Quote
  #179  
Old 07-24-2011, 08:26 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe you need to "revert" the more_share_options template now. It might have saved over the old version.

Worst case uninstall the mod, then go to edit templates- if the more_share_options template still exists after uninstalling, manually delete it, then re-install.
Reply With Quote
  #180  
Old 07-24-2011, 08:38 PM
onegawd onegawd is offline
 
Join Date: May 2011
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Weird.
I uninstalled the mod, deleted the template. then re-installed it. And the template is still messed up.
It cuts off at the exact same point every time and won't allow it to go passed that.
Reply With Quote
  #181  
Old 07-24-2011, 08:54 PM
onegawd onegawd is offline
 
Join Date: May 2011
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok. Fixed it.
For the template, when I copied over the good one that was posted here. I replaced the same quotes in that file as you specified for the xml. Worked perfect. Thanks!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:03 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05798 seconds
  • Memory Usage 2,413KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (39)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete