Giter Site home page Giter Site logo

andrewbartel / disqus_recent_comments Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aaronjwhite/disqus_recent_comments

4.0 4.0 6.0 472 KB

WordPress plugin that creates a configurable widget that displays your most recent comments from Disqus. Download from here if you want the latest and greatest or from below if you want the latest stable.

Home Page: http://wordpress.org/plugins/disqus-recent-comments-widget/

CSS 3.76% PHP 96.24%

disqus_recent_comments's People

Contributors

aaronjwhite avatar andrewbartel avatar renettarenula avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

disqus_recent_comments's Issues

Getting a warning probably because of having no comments at all

Hi,

I just installed your widget on my website with no comments at all yet. When I add the widget to the sidebar I get the fallowing warning:

Warning: Invalid argument supplied for foreach() in /home/domainpc/domains/domain.nl/public_html/wp/wp-content/plugins/disqus-recent-comments-widget/disqus_recent_comments_widget.php on line 323

I haven't checked the code yet (cause at the moment I am tired as hell), but if I need to guess I think it might have to do with a empty array because of not having any comments at all?

I might check it out later (probably next week) myself, but I just wanted to let you know of the warning just in case ;).

edit:
FYI, api seems to be called as I refresh it's counting up to the 1000 API calls you can have max every hour (3 / 1000 calls).

Return of the `Invalid argument supplied for foreach()` error

I've just set up disqus and disqus_recent_comments on my personal site davidlowryduda.com. You can see the displayed error message in the top right of the landing page.

The error itself refers to

Warning: Invalid argument supplied for foreach() 
in /home/djlowry/webapps/dldwordpress/wp-content/plugins/disqus-recent-comments-widget/disqus_recent_comments_widget.php on line 368

which is the same foreach() that pops up all the time. I cannot imagine that I'm the only one affected, so I've very likely done something wrong.

I should also mention that the support site http://deusmachine.com/disqus-instructions.php seems to lead to an empty page.

Comment Count and Rotation

Not sure where to post this, but the comments do not rotate. Is this possible?

The comment count wll show all 5 (default).

Widget title resets when left blank. Would like to leave blank

Please advise on how to post.

Notice: Undefined index

Hello,

First of all, great plugin! :)

I'm getting the following notice. Just thought you might want to check it out.

Notice: Undefined index: relative_time in mywebsite/wp-content/plugins/disqus-recent-comments-widget/disqus_recent_comments_widget.php on line 57

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.