oSiNaReF
(oSiNaReF)
10 במרץ, 2014, 10:25am
1
Reading this
https://meta.discourse.org/t/sharing-to-social-networks/3164
I think that it could be more social Discourse, adding more social networks, like reddit, meneame, wk, but the problem is that there are a lot of social networks… so what choose?
The solutión could be add on admin pannel a tab to customize social networks, with 3 fields:
Icon:
Name:
API url to share on this social network:
It’s more flexible and the admin user can be customize his discourse forum with social network that he wants.
Regards
3 לייקים
riking
(Kane York)
10 במרץ, 2014, 4:47pm
2
It’s already possible to remove or reorder them in the site settings, but there isn’t currently a nice way to add new ones.
The available icons can be seen here:
http://fontawesome.io/icons/#brand
לייק 1
oSiNaReF
(oSiNaReF)
11 במרץ, 2014, 8:19am
3
That is. Reorder, yes, remove, yes, add, NO.
It would be more flexible add new social networks. For example, to add social network tumblr to share links (in case that this network allow send links)
Icon: tumblr icon
Description: share this link to tumblr
API: www.tumblr.com/?api=fnoaf&apitumblerwherever …$urlforum
REgards
לייק 1
riking
(Kane York)
14 במרץ, 2014, 3:20am
4
This PR fixes the problem of it being difficult to add share links:
discourse:master
← riking:extensible-share
opened 03:17AM - 14 Mar 14 UTC
For example, this javascript code, if added by a plugin, would allow for a Tumbl… r share link:
``` js
Discourse.ShareLink.supportedTargets.push('tumblr');
Discourse.ShareLink.iconClasses.tumblr = 'fa-tumblr';
Discourse.ShareLink.urlFor.tumblr = function(link, title) {
return ("http://www.tumblr.com/share/link?url=" + encodeURIComponent(link) + "&description=" + encodeURIComponent(title));
};
```
לייק 1
oSiNaReF
(oSiNaReF)
14 במרץ, 2014, 7:34am
5
Great news @riking !!!. When will be available in discourse?
tradpainter
(Andy Crichton)
3 באוקטובר, 2014, 11:37pm
7
How would I be able to add a Pinterest button to the social share box. I’m on managed hosting.
You’d need to submit a PR to add the relevant provider in the code.
Interestingly, we have gotten zero requests for this from our hosted customers so far.
לייק 1
tradpainter
(Andy Crichton)
4 באוקטובר, 2014, 10:35am
9
Do you have many forums in the interior design world? The visuals and the demographic of Pinterest users is right up that street.