General ⇒ DVCS Info (Mercurial/CVS) ⇒ Social plugins ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum IndexDVCS Info (Mercurial/CVS)

Social plugins Reply to topic


Just pushed Facebook, Google and Linkedin share buttons (like, plusone etc), enjoy it!

More will be added soon but more Services will be added upon request (please provide direct URL for plugin documentation)

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


Thanks Nano!

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux/Apache2.2.9/MySql 5.1.59/PHP 5.2.17/CPGDragonfly 9.3.3.0


here is 1 popular plugin from social site pinterest pinterest.com/about/goodies/

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
MySQL Version 5.0.45 PHP Version 5.2.6 apache is 1.3.41 Dragonfly 9.2.1 Windows 7


Just pushed many changes about Social plugins.

It now supports many more services.

If you want to include this feature within your pages the minimum required is:
<?php
# before requiring header.php
$Social = Dragonfly::getKernel()->SOCIAL;

# get the return value of the following function and place it the above div
echo '<div class="share hidden">'.$Social->cpgtplShareUrls().'</div>';


You can share multiple resources within the same page using:

<?php
# before requiring header.php
$Social = Dragonfly::getKernel()->SOCIAL;

# Inside a loop
#"url" and "title" are now required
#"desc" and "image" are always optional as rarely used
while () {
	$Social->updateArgs(array(
		'url' => 'the url where the resourse point to',
		'title' => 'the title'
	));
	echo '<div class="share hidden">'.$Social->cpgtplShareUrls().'</div>';
}


If you care about OpenGraph you can add more images with:
<?php
# before requiring header.php
$Social = Dragonfly::getKernel()->SOCIAL;
$Social->og->addImage();

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


Above is changed a bit, however Facebook's "Insights for your website" support added.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


I want to ask,
whether this extension can be used to dragonfly v.9.4 now?

Haryo Chandra ----->>> www.akooh.com

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
unknown/Apache 2.4.10/MySql 5.1.61/PHP5.5/ DragonflyCMS v.9.4


The question is not about which DragonflyCMS version you want it to use it with, the real question is about the PHP version your server have installed.

However I doubt it will work on v9.4 straight away, It will require little tweaking to be done.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS

All times are UTC


Jump to: