vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 5.x Products & Extensions (https://vborg.vbsupport.ru/forumdisplay.php?f=258)
-   -   Miscellaneous Hacks - More Share Options FREE for VB5 by BOP5 (https://vborg.vbsupport.ru/showthread.php?t=287907)

mdawg 10-03-2016 04:51 AM

Quote:

Originally Posted by SpaceStar (Post 2576047)
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

Quote:

Originally Posted by mdawg (Post 2576510)
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.


All times are GMT. The time now is 01:39 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.01258 seconds
  • Memory Usage 1,734KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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