Bienvenue sur Geeklog France, anonyme 08 décembre 2016 - 06:52

SocialShare Plugin Version 1.0

  • Par
  • Lu 5,252

Greg Gillis vient de publier un plugin nomé SocialShare qui permet de partager les articles publier avec le CMS geeklog sur les sites à vocation sociale comme Facebook, Google Bookmarks, Digg, Del.icio.us, Wikio, Twitter, MySpace...

Cette version, compatible avec Geeklog 1.6.0 et suivante, s'installe automatiquement grace à la fonction autoinstall dans l'interface d'administration des plugins mais requiert l'ajout de la variable {socialshareicons} dans les fichiers du template ou vous souhaitez faire apparaître les liens comme dans storytext.thtml, featuredstorytext.thtml et archivestorytext.thtml

Télécharger SocialShare Plugin

Liste des sites de partages disponibles

  • Facebook
  • Google Bookmarks
  • Dotnetkicks
  • Connotea
  • Bumpzee
  • Blogter AC
  • Bloglines
  • Blinkbits
  • Ask
  • Kirtsy
  • Laaik.it
  •  LinkedIn
  • Meneame
  • Mixx
  • muti
  • N4G
  • Propeller
  • Ratimarks
  • Socialogs
  • Upnews
  • Wikio
  • Xerpi
  • Link Areana
  • GWar
  • Global Grind
  • Dzone
  • NuJIJ
  • Digg
  • IM
  • Twitter
  • Sphere
  • SlashDot
  • Reddit
  • MySpace
  • Fark
  • Del.icio.us
  • Co.mments
  • Blogter
  • Blogmarks
  • BlogMemes
  • BlinkList
  • Yahoo Buzz

Vous pouvez à tout moment créer, ajouter ou supprimer un site.

 

SocialShare Plugin install.txt
Version 1.0
By Greg Gillis

Last Modified: October 16, 2009
Web site: http://www.sillig.com
Test site: http://www.rudebastard.com

This is the initial release of the SocialShare plugin for Geeklog 1.6+.

This plugin comes with many popular share links and icons already installed and has Facebook and Google Bookmarks
already enabled. Of course you can enable and disable any of the pre-installed share links or create your own.
-----------------------

Backup your database!
-----------------------

Copy the files to the appropriate locations and install the plugin.
-----------------------

I have included replacements for the following files in the professional theme.
storytext.thtml
featuredstorytext.thtml
archivestorytext.thtml

If you use a different theme or have customized these files in the professional theme you will need to add the references
manually. Add {socialshareicons} to the files shown above in your custom theme.
-----------------------

Popup methods.
Edit the config.php file

//Set popup type
// 0 = small javascript popup (default)
// 1 = _blank style popup
// 2 = no popup. use the same browser instance

$CONF_SOCIALSHARE['popup'] = 0;

I like the javascript popup myself. Some dont. Choose what you like.
-----------------------

When entering a URL string for a share site your need to replace the URL, Title and Text to the following
<SHAREURL>
<SHARETITLE>
<SHARETEXT>

The plugin installs some examples such as google bookmarks. This is what we enter
http://www.google.com/bookmarks/mark?op=edit&bkmk=<SHAREURL>&title=<SHARETITLE>&annotation=<SHARETEXT>
<SHAREURL> is replaced with the story page URL
<SHARETITLE> is replaced with the story title
<SHARETEXT> is replaced with the first 150 characters of the story text
-----------------------

To do in future versions.
Add option to change the display options from the current icons to text or a combination of icon and text.
-----------------------