Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Untitled #8

Open
wants to merge 56 commits into
base: master
Choose a base branch
from
Open

Untitled #8

wants to merge 56 commits into from

Conversation

shaund
Copy link

@shaund shaund commented Feb 26, 2011

hey graham. I also have a devel branch in which I changed the settings page and updated the help message when the app id check fails. I also updated the settings method itself from the deprecated POST method to using wp api calls. I'll put both and let you decide which branch to use.

cheers!

shaund and others added 30 commits February 14, 2011 06:08
todo: change call from user to app, to load all users' comments
…ing json_decode. As a result, changed object op ('->') accesses to subscripted accesses.

Added check so people who use the same fb app id for multiple sites (bad!) will only see comments relevant to the site they are currently on.
…o cURL options so facebook won't deny us GETs.
… skipped because it belongs to another instance of this fb app id.
facebook-comments.php: settings arrays, constants, and all program hooks and filters.

facebook-comments-recentcomments.php: all of the code for the Recent Comments widgets, both the website and dashboard flavors.

facebook-comments-admin.php: the admin settings page.

facebook-comments-core.php: core functions (e.g., logging, getFbApi, etc.).

facebook-comments-display.php: actual facebook comment inclusion functions. Previously located at the bottom of the facebook-comments-functions.php file.

facebook-comments-combinecomments.php: all combined comment count functionality.

facebook-comments-ajax.php: unchanged.
shaund and others added 26 commits March 5, 2011 10:58
…ariations of fb comment system, various tweaks
Start using git again
Fix for comment count not updating
Redundant Anchor tags causing invalid HTML in the widget
The previous fix fixed comment counts to be displayed only the in post's
page itself and not in page such as the home page of the blog etc (where
you only saw a "comments" like without the number of comments).

This commit fixes it by adding our very own javascript that fetches all
the comment counts when any page loads and updates the links
accordingly.

What more, because we now call the FQL server ourselves, we have a
callback to rely on in order to make sure that the correct pluralization
of the comments count is displayed (e.g. '1 comment' vs '2 comments')
Fixing comments count
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants