jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => Suggestions - Feature Request => Topic started by: wolfspyryt on 10.06.2015 04:59:45

Title: Please support SCOpenGraph to Like Downloads for Social networks
Post by: wolfspyryt on 10.06.2015 04:59:45
[Edit]In order to use  Google and Facebook to 'like' a Download  it would be helpful to support SCOpenGraph in the same sort of way as Adsense is supported.  Basically to have ability for Social network buttons to appear with Downloads.[/Edit]

I have a line of code I need to insert into the file details page.
It is:
{SCOpenGraph image=http://somewebssite.xxx/image.jpg}{SCOpenGraph description=Enter a good description here.}

In both cases, after the = I have tried replacing the text with the obvious:
{SCOpenGraph image={thumbnail}}{SCOpenGraph description={long_description}}
then adding it into the layout.

When I do that, the page displays normal, except now on the page I see   }}
The rest of the line is invisible as it should be.

It does not work. It is needed to apease google and facebook for the "Like" and +1" buttons.
Title: Re: Need a little code help
Post by: ColinM on 11.06.2015 03:32:26
Hi
Is your objective to show the "Like" and "+1" buttons as active buttons in order to 'rate' the Download?
jD will not know what to do with {ScOpenGraph as it is not one of its place holder key words  so it will skip to the first } and take the next } as regular text.   Hence the result you see.

I yhink what you are asking is could jD please support ScOpenGraph as a place holder. Also you are asking jD to support a place holder in a place holder although the 'arguments' could be implied to aviod the need for recursion.

If my assumption is right then I will move this thread to Suggestions.
Colin
Title: Re: Need a little code help
Post by: wolfspyryt on 11.06.2015 03:35:07
As always ColinM, you are intuitive, intelligent and correct. Yes to all you said.
Title: Re: Please support SCOpenGraph to Like Downloads for Social networks
Post by: Arno on 14.06.2015 10:26:17
Hi,
i understand not really what the SCOpenGraph should be.
It is a part from JFBConnect? Is used here a Joomla plugin?
If so then you must before you test it activate the 'Activate support for all Joomla content plugins?' option in the jD configuration.

[gelöscht durch Administrator]