fergbrain
Forum Replies Created
-
Forum: Plugins
In reply to: [Countdown Timer] Dates > 2038 not working@trike: this is currently a known issue with how most computers store dates: http://en.wikipedia.org/wiki/Year_2038_problem
I’ve created an new issue to get this resolved: https://github.com/fergbrain/countdown-timer/issues/31
Forum: Plugins
In reply to: [Countdown Timer] Customise the styleYou should be able to accomplish everything you need using CSS as documented at: https://wordpress.org/plugins/countdown-timer/installation/
Forum: Plugins
In reply to: [Social] Can't add Twitter accountsFYI: @fatleaf (whom works at CrowdFavorite) beat me to it and pushed an update to the feature/wp4-updates branch on GitHub: https://github.com/crowdfavorite/wp-social/tree/feature/wp4-updates
It’s not part of the core release on the WordPress Plugins site, but you can download it at https://github.com/crowdfavorite/wp-social/archive/feature/wp4-updates.zip
I only briefly tested the update to make sure the nonce issue was resolved and I could link to my Facebook (and Twitter) account, YMMV.
Forum: Plugins
In reply to: [Social] Can't add Twitter accounts@alexking, et al:
I’ll take a look at creating a patch sometime between tonight and this weekend.
Note that I’m not affiliated with Alex King/CrowdFavorite, so if I find a fix I can only submit it as a patch and then Alex will have to incorporate it (which is more or less a matter of approving it and pushing out a new version to the WordPress Plugins repo).
As a side note:
Unfortunately, I have seen (and experienced myself) a growing culture where users of WordPress expect things to happen on their own timetable and/or for free. The reality of open source is that it is a collaborative effort (case in point: @cang Luo provided a temporary workaround).
At the WordCamp Europe meetup last month, @mattmullenweg was advocating that companies
“should dedicate 5% of their people to working on something to do with core — be it development, documentation, security, support forums, theme reviews, training, testing, translation or whatever it might be that helps move WordPress mission forward … at least if they want to be vibrant a decade from now.”
Source: http://ma.tt/2014/09/five-for-the-future/
As a developer (and I use that term loosely since my day job has nothing to do with WordPress, web development, or even programming), I would love to see all users contributing to the WordPress core (and plugins).
There are many ways you can contribute: http://codex.wordpress.org/Contributing_to_WordPress
If you don’t know PHP but want to learn, start here: http://www.codecademy.com/en/tracks/php
If you don’t want to learn PHP, consider funding a particular bug fix (for core or your favorite plugin).For what it’s worth, without understanding the complete scope of the issue I suspect it will take about four hours for me to come up with a suitable fix (most of which will be spent actually _reading_ code: http://blog.codinghorror.com/when-understanding-means-rewriting/).
How much does everything think that is worth?
Forum: Plugins
In reply to: [Social] not more than 25 FB CommentsForum: Plugins
In reply to: [Social] not more than 25 FB CommentsDeal…I work on it when I get to my normal computer.
Forum: Plugins
In reply to: [Social] not more than 25 FB Comments@deraleks: I can confirm this issue as well (Social v2.11, WP v3.9.1).
I think the issue may have to do with Facebook depreciating API v1.0 in favor of v2.0.
Anyway, it looks like the
aggregate_by_apifunction (in lib/social/service/facebook.php) doesn’t pass an explicit limit function, which means that Facebook defaults to a limit of 25 (http://stackoverflow.com/questions/14876105/the-limit-of-facebooks-graph-api-limit-parameter
). It also doesn’t look like the aggregation function does any paging for comments (there is some paging support for “Likes”)For posts where there are more than 25 comments, there is a “paging” and “next” field that should be followed:
"paging": { "cursors": { "after": "MjU=", "before": "MQ==" }, "next": "https://graph.facebook.com/v1.0/{FB_POST_ID}/comments?fields=parent,message,from,created_time,can_comment&filter=stream&limit=25&after=MjU="Adding ‘limit’=>’100’ to the end of the array in line 255 of lib/social/service/facebook.php seems to provide an interim solution (at least up to 100 comments):
$request = $this->request($account, $broadcasted_id.'/comments', array('filter' => 'stream', 'fields' => 'parent,message,from,created_time,can_comment', 'limit'=>'100'));Forum: Plugins
In reply to: [Countdown Timer] PHP 5.4?If you haven’t already, would you be willing to rate the plugin: http://wordpress.org/support/view/plugin-reviews/countdown-timer
Forum: Plugins
In reply to: [Countdown Timer] Conflict with Events ManagerSure: andrew@fergcorp.com
Forum: Plugins
In reply to: [Countdown Timer] Conflict with Events ManagerHmmm…I’m going to need to dig into this….
Forum: Plugins
In reply to: [Countdown Timer] After an update on my server Countdown Timer issuesSorry for the delay in getting this fixed. Things have been crazy. Anyway, just released version 3.0.6…should resolve any issues.
Forum: Plugins
In reply to: [Countdown Timer] Counting to…The best way is probably to set the event date to “now” and set the “how long the timer remains visible” to 172800 (48 hours * 60 minutes * 60 seconds).
Forum: Plugins
In reply to: [Countdown Timer] UTC vs Local Time ProblemThe time information is taken from the WordPress installation….what timezone setting are you using in WordPress (Settings -> General)?
Forum: Plugins
In reply to: [Countdown Timer] Bad translation (Catalan)Thanks for the translation update. I’ve added to the list of things to do! https://github.com/fergbrain/countdown-timer/issues/28
Forum: Plugins
In reply to: [Countdown Timer] after time expiresNot without hacking into the code.
I do provide per-hour code changes if you are interested in funding such development.