Garry K
Forum Replies Created
-
Forum: Plugins
In reply to: [amr users] Date Format bug for "Registered Days Ago" fieldI found time this morning to write my own plugin.
It now works as expected.
really didn’t take much code at all.Forum: Plugins
In reply to: [amr users] Date Format bug for "Registered Days Ago" fieldI finally updated all plugins and wordpress.
php version 5.4
wordpress version 4.1
wp timezone Vancouver (PST) UTC – 8hrsI deactivated all plugins except this one and rebuilt the cache
No change
Perhaps the easiest thing to do is provide a different function to format the date.
Could you point me in the right direction.
I can easily write a php script which gets the date diference between now and date registered and formats it properly.My question is where do I hook in the code? How do I get a new field to show up in your list?
Forum: Plugins
In reply to: [amr users] Date Format bug for "Registered Days Ago" fieldI do update the cache every time just before I run the report.
I’m just questioning the date math with your formatting.
Trying to figure out what you were trying to accomplish.Forum: Plugins
In reply to: [amr users] Sort not working for meI’m having a sort problem also.
1) First field I added to wp_usermeta which is a string field containing what I call a metric date “yyyymmdd”
2) The second field is Registered Days Ago
Sorting is Column 3 descending then Column 1 ascending
What I get is something like this2014-12-11 03:31:15 ARQROBERTOCARLOS 2014-12-11
2014-12-11 14:57:52 RonaMarin 2014-12-11
2014-12-11 15:26:38 ABBAS 2014-12-11
2014-12-11 23:54:04 lkady 2014-12-11
…However it is formatted like this
4 minutes ago ARQROBERTOCARLOS 2014-12-11
37 minutes ago RonaMarin 2014-12-11
8 minutes ago ABBAS 2014-12-11
41 minutes ago lkady 2014-12-11
…It appears that the data is sorted correctly – just not formatted properly
I am not using SSL
Before the update:
[11/27/2014 6:49 PM] – SUCCESS :Received IPN from PayPal
[11/27/2014 6:49 PM] – SUCCESS :
Array
(
…
)
[11/27/2014 6:49 PM] – SUCCESS :Verifying IPN using CURL
[11/27/2014 6:49 PM] – FAILURE :cURL error: [302]After the update I am getting a curl error 0
Forum: Plugins
In reply to: [amr users] report is out of synchI’ve tried resetting and I’ve tried rebuilding the cache.
I deactivated, removed and reinstalled. It appears that you don’t clean up the data.
What is the process for “blowing away”?
That was the exact error that came from the web dialog.
It appears that I’m not able to perform a cross domain Ajax call to my web service when your plugin is activated. If I deactivate it and use the other paypal plugin and my 6 others everything is fine.
There is some incompatibility happening. Maybe rights or something.
My service won’t run. It is a restful JSONP service written in php
It returns a status of 200 but comes back with a parse error
$.ajax({
url: ‘HOST’,
crossDomain: true,
timeout: 10000,
data: { cipher_data : data },
dataType: ‘jsonp’,
success: function(data) { ruby_call(data.cipher_data); },
error: function(jqXHR, textStatus, errorThrown) {
ruby_call( ‘error:’ + textStatus + ‘:’ + jqXHR.status );
}});I tried using this plugin but it interferes with 1 of my web services that I have running.
I deactivate Easy Digital Downloads plugin and my web service works.
Forum: Plugins
In reply to: [Sell Digital Downloads] Hooking eventsAfter a diligent code review it has come to my attention that this plugin does not check for processing the same transaction multiple times. This means that the sales count will be incremented each time a duplicate transaction comes in ‘Completed’
Also refunds do not adjust the sales count at all.
And finally the manual edit and or creation of a sale does not adjust the sales count.
I am going to put in the following checks and changes.
1) If the current transaction is ‘Completed’ then check to see if we have already recorded a ‘Completed’ status.2) If the current transaction is ‘Refunded’ then decrement the sales count but only if we haven’t already recorded a ‘Refunded’ status for the current transaction.
Forum: Plugins
In reply to: [Sell Digital Downloads] Hooking eventsWell I jumped in an modified the plugin to suit my needs. It took about a day.
Sub classing isn’t really possible, but there were action hooks that I could follow. However, the code is reasonably well written.
I did the following:
1) Added a default Tax rate on the main isell page.
2) Added an apply tax to products.
3) Added a tax amount to the products list.
4) Added a paid tax field to the order history.
5) Added a tax column to the order list.
5) Added a paid tax field to the edit page for orders.
6) Also added a user name to the edit page for orders.
7) Passed in the user name in the ‘custom’ field to paypal which gets returned.
8) Passed the ‘tax_rate’ field to paypal or ‘0.00’ if products apply tax is false.
9) Updated the wp-usermeta table based on product name and user name.Forum: Plugins
In reply to: [WP-Members Membership Plugin] Block individual postsI’ve got it working! Found it in shortcodes
[/wp-members][wp-members status=”in”]
this shows up when user is logged in
[/wp-members][/wp-members][wp-members status=”out”]
this shows up when user is NOT logged in
[/wp-members]Forum: Plugins
In reply to: [WP-Members Membership Plugin] register with passwordThankyou that works
The free version – can I hook the IPN post back and update 1 wp-usermeta field?
Doesn’t seem to me that this would be too complicated.
I can leave the other create a license key for later. That part isn’t selling much at this time.
Forum: Plugins
In reply to: [EZ PayPal] Can I remove Admin from top of pay pal formI believe that I have reduced this to a single requirement. All I need to do is update 1 wp-usermeta field once you get the post back from paypal. Isn’t that what IPN is about.
If you could point me in the right direction I can do the modification myself.