social 0.14.2: Link to new shariff backend
This commit is contained in:
parent
996f93f027
commit
5e317c0432
|
@ -1,3 +1,6 @@
|
|||
0.14.2
|
||||
* Link to new shariff backend home
|
||||
|
||||
0.14.1
|
||||
* Don't change entry image if entry_image is not set.
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
@define('PLUGIN_EVENT_SOCIAL_TWITTERVIA_DESC', 'Twittername, der am Ende des Tweets angehängt werden soll ("none" deaktiviert dies).');
|
||||
@define('PLUGIN_EVENT_SOCIAL_LANG_DESC', 'Sprache der Sharebuttons.');
|
||||
@define('PLUGIN_EVENT_SOCIAL_BACKEND', 'Backend für Zähler');
|
||||
@define('PLUGIN_EVENT_SOCIAL_BACKEND_DESC', 'URL für ein Shariff-Backend, mit dem einige der Buttons (u.a. Facebook) anzeigen wie oft der Artikel geteilt wurde. "none" deaktiviert den Zähler. Standard: "https://onli.columba.uberspace.de/s9y_shariff"');
|
||||
@define('PLUGIN_EVENT_SOCIAL_BACKEND_DESC', 'URL für ein Shariff-Backend, mit dem einige der Buttons (u.a. Facebook) anzeigen wie oft der Artikel geteilt wurde. "none" deaktiviert den Zähler. Standard: "https://onli2.uber.space/s9y_shariff"');
|
||||
@define('PLUGIN_EVENT_SOCIAL_IMAGE', 'Fallback-Bild');
|
||||
@define('PLUGIN_EVENT_SOCIAL_IMAGE_DESC', 'Ein Bild, das auf Twitter und Facebook angezeigt wird, wenn der Eintrag kein eigenes Bild erhält. "none" deaktiviert es.');
|
||||
@define('PLUGIN_EVENT_SOCIAL_ENTRY_IMAGE', 'Bild für Social Media');
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
@define('PLUGIN_EVENT_SOCIAL_TWITTERVIA_DESC', 'Username of the twitter user that shall be mentioned (set to "none" to disable.');
|
||||
@define('PLUGIN_EVENT_SOCIAL_LANG_DESC', 'Language of the share buttons');
|
||||
@define('PLUGIN_EVENT_SOCIAL_BACKEND', 'Backend for share counter');
|
||||
@define('PLUGIN_EVENT_SOCIAL_BACKEND_DESC', 'URL to a shariff backend, that provides some buttons (like Facebook) with a share counter. Set to "none" to deacivate. Default: "https://onli.columba.uberspace.de/s9y_shariff"');
|
||||
@define('PLUGIN_EVENT_SOCIAL_BACKEND_DESC', 'URL to a shariff backend, that provides some buttons (like Facebook) with a share counter. Set to "none" to deacivate. Default: "https://onli2.uber.space/s9y_shariff"');
|
||||
@define('PLUGIN_EVENT_SOCIAL_IMAGE', 'Fallback Image');
|
||||
@define('PLUGIN_EVENT_SOCIAL_IMAGE_DESC', 'Image shown on Twitter and Facebok if the entry contains no own image. Set to "none" to deacivate.');
|
||||
@define('PLUGIN_EVENT_SOCIAL_ENTRY_IMAGE', 'Image shown on Social-Media');
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
@define('PLUGIN_EVENT_SOCIAL_TWITTERVIA_DESC', 'Twittername, der am Ende des Tweets angehängt werden soll ("none" deaktiviert dies).');
|
||||
@define('PLUGIN_EVENT_SOCIAL_LANG_DESC', 'Sprache der Sharebuttons.');
|
||||
@define('PLUGIN_EVENT_SOCIAL_BACKEND', 'Backend für Zähler');
|
||||
@define('PLUGIN_EVENT_SOCIAL_BACKEND_DESC', 'URL für ein Shariff-Backend, mit dem einige der Buttons (u.a. Facebook) anzeigen wie oft der Artikel geteilt wurde. "none" deaktiviert den Zähler. Standard: "https://onli.columba.uberspace.de/s9y_shariff"');
|
||||
@define('PLUGIN_EVENT_SOCIAL_BACKEND_DESC', 'URL für ein Shariff-Backend, mit dem einige der Buttons (u.a. Facebook) anzeigen wie oft der Artikel geteilt wurde. "none" deaktiviert den Zähler. Standard: "https://onli2.uber.space/s9y_shariff"');
|
||||
@define('PLUGIN_EVENT_SOCIAL_IMAGE', 'Fallback-Bild');
|
||||
@define('PLUGIN_EVENT_SOCIAL_IMAGE_DESC', 'Ein Bild, das auf Twitter und Facebook angezeigt wird, wenn der Eintrag kein eigenes Bild erhält. "none" deaktiviert es.');
|
||||
@define('PLUGIN_EVENT_SOCIAL_ENTRY_IMAGE', 'Bild für Social Media');
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
@define('PLUGIN_EVENT_SOCIAL_TWITTERVIA_DESC', 'Username of the twitter user that shall be mentioned (set to "none" to disable.');
|
||||
@define('PLUGIN_EVENT_SOCIAL_LANG_DESC', 'Language of the share buttons');
|
||||
@define('PLUGIN_EVENT_SOCIAL_BACKEND', 'Backend for share counter');
|
||||
@define('PLUGIN_EVENT_SOCIAL_BACKEND_DESC', 'URL to a shariff backend, that provides some buttons (like Facebook) with a share counter. Set to "none" to deacivate. Default: "https://onli.columba.uberspace.de/s9y_shariff"');
|
||||
@define('PLUGIN_EVENT_SOCIAL_BACKEND_DESC', 'URL to a shariff backend, that provides some buttons (like Facebook) with a share counter. Set to "none" to deacivate. Default: "https://onli2.uber.space/s9y_shariff"');
|
||||
@define('PLUGIN_EVENT_SOCIAL_IMAGE', 'Fallback Image');
|
||||
@define('PLUGIN_EVENT_SOCIAL_IMAGE_DESC', 'Image shown on Twitter and Facebok if the entry contains no own image. Set to "none" to deacivate.');
|
||||
@define('PLUGIN_EVENT_SOCIAL_ENTRY_IMAGE', 'Image shown on Social-Media');
|
||||
|
|
|
@ -16,7 +16,7 @@ class serendipity_event_social extends serendipity_event {
|
|||
$propbag->add('description', PLUGIN_EVENT_SOCIAL_DESC);
|
||||
$propbag->add('stackable', false);
|
||||
$propbag->add('author', 'onli, Matthias Mees, Thomas Hochstein');
|
||||
$propbag->add('version', '0.14.1');
|
||||
$propbag->add('version', '0.14.2');
|
||||
$propbag->add('requirements', array(
|
||||
'serendipity' => '2.0'
|
||||
));
|
||||
|
@ -102,7 +102,7 @@ class serendipity_event_social extends serendipity_event {
|
|||
$propbag->add('type', 'string');
|
||||
$propbag->add('name', PLUGIN_EVENT_SOCIAL_BACKEND);
|
||||
$propbag->add('description', PLUGIN_EVENT_SOCIAL_BACKEND_DESC);
|
||||
$propbag->add('default', 'https://onli.columba.uberspace.de/s9y_shariff/');
|
||||
$propbag->add('default', 'https://onli2.uber.space/s9y_shariff/');
|
||||
break;
|
||||
case 'social_image':
|
||||
$propbag->add('type', 'media');
|
||||
|
@ -145,7 +145,7 @@ class serendipity_event_social extends serendipity_event {
|
|||
if ($twitter_via != 'none') {
|
||||
$twitter_via_tag = ' data-twitter-via="' . str_replace('@', '', $twitter_via) .'"';
|
||||
}
|
||||
$backend = $this->get_config('backend', 'https://onli.columba.uberspace.de/s9y_shariff/');
|
||||
$backend = $this->get_config('backend', 'https://onli2.uber.space/s9y_shariff/');
|
||||
if ($backend != 'none') {
|
||||
$backend_tag = ' data-backend-url="' . $backend .'"';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue