Find the Exponential Software extensions you want
UNIX name | Owner | Status |
---|---|---|
ezdisqus | 7x | stable |
Version | Compatible with |
---|---|
N/A | N/A |
eZDisqus is an integration of Disqus commenting system in eZ Publish.
The goal is to have a tight integration of the Disqus service inside any eZ Publish installation.
This extension provides a datatype
that can be added to any content class.
Out of the box, eZDisqus comes with:
eZ Disqus LS requires eZ Publish version 4.6+/2011.6+.
PHP 5.3.x is required if you use the export system as it uses namespaces and some advanced features.
Otherwise, the requirements are the same as for eZ Publish legacy.
Compatibility with eZ 5: eZ Disqus LS conflicts with CommentsBundle, that has been released with eZ 5.2.
If you use Symfony stack, please use CommentsBundle instead.
If you don't use the export API, eZDisqus would probably run smoothly on top of eZ Publish 4.1+.
However, autoload generator might have unexpected issues (see Install 5th point) since namespace support has been added
in Annapurna. You might need to patch the autoload generator if you have issues
(see this patch.
First of all, you'll need to setup a new account to the Disqus service.
That's it! Your now ready to use Disqus comments!
Disqus allows you to import already existing comments into their service.
To make it easy, eZDisqus provides an export system that will generate an XML file in the right format (aka Disqus WXR).
Export script example from eZComments:
use Disqus\Export\Processor as ExportProcessor,
Disqus\Export\Exporter\EzComments as EzCommentsExporter,
Disqus\Export\Formatter\DisqusWXR as DisqusFormatter;
$processor = new ExportProcessor(
new EzCommentsExporter(),
new DisqusFormatter()
);
$processor->export();
echo $processor->render();
Note that above script would need to be run with ezexec.php:
php bin/php/ezexec.php extension/ezdisqus/bin/php/export.php