If you’re running a phpLD directory script, you probably know that its comment system leaves a lot to be desired. You can’t edit comments for one. You can only approve or delete comments. There is also very little spam protection. You can require users to register before leaving comments to minimize spam, but doing this would also minimize the comments itself. In this day and age of social media, there’s not going to be a whole lot of people willing to take the time to register and login just so they can leave a couple of lines.
Fortunately though, there are free commenting systems out there that you could use on your directory or any website for that matter. E.g. Intense Debate and Disqus
I chose to implement Disqus on my directories. If you want to see it in action, you can see it here and here.
If you are dissatisfied with the current commenting system on your directory or website, here’s why you really should give Disqus a try.
- Disqus allows you to manage comments for ALL your websites in one place.
- Disqus allows you to reply to comments via email
- Disqus uses Akismet to filter comments
- Finally, Discuss allows your users to optionally log in using their Facebook, Twitter, OpenID, and their Yahoo credentials allowing your users to easily spread the discussion all across the social web.
Implementing Disqus on your website is easy. Just signup for their service, fill in your website information, and follow the specific instruction for your platform. For example, for a self-hosted WordPress blog, you will need to install Disqus’ WordPress plugin.
For phpLD, you’ll need to copy Disqus’ generic JavaScript code and paste it where ever you want to place their comment form.
If you want to install the comment form on the detail pages of your links, edit your detail.tpl file and paste the JavaScript code there. phpLD uses the Smarty template system so make sure that you enclose the JavaScript code with a {literal} tag. This will allow your JavaScript code to be taken “literally”.
For example,
{literal}
YOUR JavaScript CODE HERE
{/literal}
Also, you probably don’t want to confuse your users with two comment form systems so make sure you disable phpLD’s comment submission in its admin panel.










