Jump to content

[SOLVED] Social Sharing Module not working


Recommended Posts

I have 1.6. I enabled the social sharing module that came with the update but it won't configure properly. The buttons show up perfectly on the front office product page but when I click on any of them, (I'll use pinterest as an example), it comes up with the pinterest login (as it should), I log in, enter the information in the block to share on pinterest but instead of posting, it comes up with an error saying I have to load the product URL.

 

Is there a setting in the back office I'm missing somewhere? There are not any settings on the module itself other than on and off. 

 

Any help would be appreciated.

Link to comment
Share on other sites

  • 2 weeks later...

I have the same problem. When I try to share something on Pinterest I get this (and a broken thumbnail):

Whoops!

You need to upload an image or provide the 'image_url' parameter

 

yes, the easiest way is an method that i provided in topic that i linked :)

check it, it's easy modification of js file. very easy ;)

Link to comment
Share on other sites

  • 2 weeks later...

Hey guys!
Remember the chaos after the introduction of the new store 1.6? Well, my problem became so big that i had reinstall the whole store and did a .sql back-up restoration. The store work now great. Except for the social sharing module. The one that showed social sharing buttons on the right, was wflowing along when scrolling the page and also showed on every store page. Now the buttons does not appea at al! I have no idea what to do... Anyone has a clue?

Thanks!

Link to comment
Share on other sites

Hey guys!

Remember the chaos after the introduction of the new store 1.6? Well, my problem became so big that i had reinstall the whole store and did a .sql back-up restoration. The store work now great. Except for the social sharing module. The one that showed social sharing buttons on the right, was wflowing along when scrolling the page and also showed on every store page. Now the buttons does not appea at al! I have no idea what to do... Anyone has a clue?

 

Thanks!

any example available? if so, please share url

Link to comment
Share on other sites

any example available? if so, please share url

Hi, thanks for such a fast reply! The website is http://www.clearbody.se/index.php

I have activated the social sharing module as I said, but the social sharing is not appearing unfortunately on the side of the website... However, after i "reset" the module it started now to appear on the product pages for some reason, in a weird format though...Here is a product page example as well

http://www.clearbody.se/index.php?id_product=11&controller=product

 

Thanks in adavance!

Link to comment
Share on other sites

  • 4 months later...

hello..
i have problem with the social share bottons. when i press share, facebook, no display my picture product...
what happen.. can anyting help me..??

im use module Social sharing v1.2.7 in prestashop 1.6.0.6

this is problem link:
https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fdoti-mamasa.com%2Fid%2Fhome%2F26-dresses-18.html

Edited by pianjielol (see edit history)
Link to comment
Share on other sites

  • 1 month later...

Hello... My website also has problem with social sharing buttons (at the product pages). None of them does anything when clicked (ie. nothing happens when clicked), on desktop as well as on mobile.

 

I've disabled it and enabled again, reset it, and clear cache a few times, and the same problem persists.

 

URL to a product page in my website is this:

http://whitetulipdecal.com/shapes/26-like-a-bird.html

 

Has anyone had this problem before?

 

Please help me, thanks a lot :)

 

Stella 

Link to comment
Share on other sites

there are missed functions, take a look:

xdoiL0d.png

 

 

functions from error report dont exist!

 

 

it looks like socialsharing.js file is modified / incomplete

 

paste to this file code below:
 

/**
* 2007-2014 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author PrestaShop SA <[email protected]>
*  @copyright  2007-2014 PrestaShop SA
*  @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*/
function socialsharing_twitter_click(message)
{
	if (typeof message === 'undefined')
		message = encodeURIComponent(location.href);
	window.open('https://twitter.com/intent/tweet?text=' + message, 'sharertwt', 'toolbar=0,status=0,width=640,height=445');
}

function socialsharing_facebook_click(message)
{
	window.open('http://www.facebook.com/sharer.php?u=' + encodeURIComponent(location.href), 'sharer', 'toolbar=0,status=0,width=660,height=445');
}

function socialsharing_google_click(message)
{
	window.open('https://plus.google.com/share?url=' + encodeURIComponent(location.href), 'sharergplus', 'toolbar=0,status=0,width=660,height=445');
}

function socialsharing_pinterest_click(image_url)
{
	window.open('http://www.pinterest.com/pin/create/button/?media=' + encodeURIComponent(image_url) + '&url=' + encodeURIComponent(location.href), 'sharerpinterest', 'toolbar=0,status=0,width=660,height=445');
}
  • Like 1
Link to comment
Share on other sites

 

there are missed functions, take a look:

xdoiL0d.png

 

 

functions from error report dont exist!

 

 

it looks like socialsharing.js file is modified / incomplete

 

paste to this file code below:

 

/**
* 2007-2014 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author PrestaShop SA <[email protected]>
*  @copyright  2007-2014 PrestaShop SA
*  @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*/
function socialsharing_twitter_click(message)
{
	if (typeof message === 'undefined')
		message = encodeURIComponent(location.href);
	window.open('https://twitter.com/intent/tweet?text=' + message, 'sharertwt', 'toolbar=0,status=0,width=640,height=445');
}

function socialsharing_facebook_click(message)
{
	window.open('http://www.facebook.com/sharer.php?u=' + encodeURIComponent(location.href), 'sharer', 'toolbar=0,status=0,width=660,height=445');
}

function socialsharing_google_click(message)
{
	window.open('https://plus.google.com/share?url=' + encodeURIComponent(location.href), 'sharergplus', 'toolbar=0,status=0,width=660,height=445');
}

function socialsharing_pinterest_click(image_url)
{
	window.open('http://www.pinterest.com/pin/create/button/?media=' + encodeURIComponent(image_url) + '&url=' + encodeURIComponent(location.href), 'sharerpinterest', 'toolbar=0,status=0,width=660,height=445');
}

 

Hi Vekia,

 

Thanks a lot for the help.. It works now!!!!!

 

Stella

Link to comment
Share on other sites

  • 3 weeks later...

Yes that vekia's code works. I don't understand howcome prestashop's default module js file can be incomplete or modified? It's fresh out of the box. Is there a logical explanation here? Is prestashop a "selfpatch" ecommerce or what? This is the 10th crap I have been patching through forum.

Edited by bitpixel (see edit history)
Link to comment
Share on other sites

Yes that vekia's code works. I don't understand howcome prestashop's default module js file can be incomplete or modified? It's fresh out of the box. Is there a logical explanation here? Is prestashop a "selfpatch" ecommerce or what? This is the 10th crap I have been patching through forum.

 

you use default theme? if not, you've got an answer ;)

Link to comment
Share on other sites

  • 2 weeks later...

hello..

i have problem with the social share bottons. when i press share, facebook, no display my picture product...

what happen.. can anyting help me..??

 

im use module Social sharing v1.2.7 in prestashop 1.6.0.6

 

this is problem link:

https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fdoti-mamasa.com%2Fid%2Fhome%2F26-dresses-18.html

 

 

Hello by little time i have the same problem with PS 1.6.0.9 Theme deco-evo.

 

Help me please.

 

thx

Link to comment
Share on other sites

you use default theme? if not, you've got an answer ;)

Still not a valid reason. your solution work for both default and modified themes; prestashop default works in latrine. I strongly believe that it was built broken on purpose for selling more commercial modules. Just like "round price" function was built broken on purpose. Also, whenever when we google a solution for such trouble, first result is the commercial module and then forum posts that are marked as "solved". Also solved topics have "link to commercial module" solutions. This is a joke.

 

I think prestashop should be entirely commercialized. Entire solution looks like a "free game, get now" and then you gotta purchase in game items to beat your enemies faster. :D  Prestashop is a joke.

Edited by bitpixel (see edit history)
  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

you use default theme? if not, you've got an answer ;)

Hi, I use free leo_tshirt theme. My socialsharing module doesnt work. I changed file socialsharing.js encoding given above. (at httdocs/modules/socialsharing/js/socialsharing.js) mysite: www.istanbulproperty.agency

Link to comment
Share on other sites

Hi, I use free leo_tshirt theme. My socialsharing module doesnt work. I changed file socialsharing.js encoding given above. (at httdocs/modules/socialsharing/js/socialsharing.js) mysite: www.istanbulproperty.agency

I reset socialsharing module at admin panel. Problem resolved.

Link to comment
Share on other sites

×
×
  • Create New...