krumch
Forum Replies Created
-
Forum: Plugins
In reply to: [KC S2M+MC] How long before user deletion reflects in MC?Hi, thanks for appreciating my plugin 🙂
The plugin updates info by wpcron() function, means it depends of the activity at your site. Any click on your site runs this function, it is a WP internal function. So if you want to update “now”, wait 10 seconds and click something. Load your home page, for example. If no caches and WP on the server runs, my plugin runs too and info will be updated.
Also note, that here stay a low version, may be delays too, because of lot of reasons.
No such integration, at least I don’t know. But I am curious to know more about what integration you need. Please find me so we can talk privately.
Is it possible to move them (by Stripe “modify” button) to another level with first month free? Will Stripe ask them CC info again?
OK, do a test: print EOT in any case, without turn it to date, and show some chars (I like !) before and after it, so you can see what exactly it prints, and where.
I think this happens only for new Paypal users, and that page may be is out of your control. Or maybe can change it by your Paypal account. Also you may have some custom settings in your site. If this is not for these without Paypal account only, please give more info.
White screen can also mean a typo in the code, so check your server’s error_log file, can be useful info there.
Nice solution, @kts915!
Did this member have EOT value? Please check in the admin area “Edit user” page.
Thanks @wpyogi, my fault. I understand the forum ethics, and do what is possible. A man needs help, but I can not help to this problem with pasting code here – there is so much event plugins. But can explain solution. Yes, I do custom coding, so it was usual for me to say that phrase. Sorry about.
At the image you have // before the “if” and it’s closing }, so $s2member_auto_eot_time variable will not have value, when date it created. In this case “date()” function generates “Unix epoch” date. Machines never lie… 🙂
OK, but this is not for beginners… First you must find how to set event’s state. May be a value in DB, may be a PHP function in the plugin… Must be related to the exactly member, so to not lock others people events accidentally. Then create a function (in “mu-plugins/s2-hacks.php” file) to do that. Then run that function by an AJAX call, in same file. This gives you a URL, which will include the ID of the member. Put it in “s2M -> API / Notifications -> Cancellation Notifications”. That is, now when a member cancels, the URL will run your function and it will lock the events.
Please describe “full cancellation”…
I can do this for you. Needs additional code to synchronize the two plugins, I think I am good in that…
Looks like my plugin “KC Group Management” is closer to what you need (and it works very similar way for several companies). Still some things must be added, but I can do this for you.
@kts915: Can you suggest alternative? I want it for a project of mine…