Florian
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] Wordfence wants me to edit RewriteRuleThanks for the answer!
Hi again, unfortunately the last update didn’t fixed our filter problems. Any idea when you can have a look at this bug?
Example:
User X is a subscriber and has logged in 4 days ago.
When we filter on his name we also see this last activity.
When we also filter his role, his last activity is 2 weeks ago (user X always was s subscriber).
When we filter only on role subscribers, the most recent activity is 6 days ago form another user. The activity from user X from 4 days ago doesn’t show up, also when we sort on date.Hope this helps.
Forum: Plugins
In reply to: [Theme My Login] No login error messageThanks, it was indeed a security plugin that was causing it.
Forum: Plugins
In reply to: [Theme My Login] No login error messageHi, we have the same issue here. We don’t see error messages. Normal messages like “You are logged out now” do appear but no error messages like wrong password. The div.tml-alerts is visible but nothing in it. We don’t have any translation plugins (like Loco) installed, I’ve tested it with Twenty Twenty-One theme and also reinstalled it. Nothing will help. Do you have any suggestions what to try?
Thanks,
FlorianHi, thanks for the quick fix! I’v installed the new version and the errors has gone.
YESY! That works! Now I have to babystep my way to the point where my code fails… Is it the double hook call that did the job?
Thanks a lot and I wish you a pleasant Christmas ??
Regards, Florian
- This reply was modified 4 years, 11 months ago by Florian.
Thanks for your continuing support!
I’ve changed the hook, unfortunately without success. I’ve also tried it with priority 1.
add_action( 'um_post_registration_pending_hook', 'nvz_user_awaiting_admin_review', 10, 2 ); function nvz_user_awaiting_admin_review( $user_id, $args ) { //do stuff }
Hi @champsupertramp ,
yes, the user can select one out of two roles (normal and student), both roles are setup to require the admin review. You have the options to display a message or redirect to another page after registering. I tried both options without any change to my override.
Thanks for your help,
FlorianOK, also as a child theme of Twentytwenty all other hooks are working but still not the first…
Hi,
I’ve already tried 5 to test it what didn’t work. Also priority 1 doesn’t help.
I’ve changed the code so it will only email me to check if the code is executed and no other “problems” get raised by my code, but I’m getting nothing…
add_action( 'um_post_registration_awaiting_admin_review_hook', 'nvz_user_awaiting_admin_review', 1, 2 ); function nvz_user_awaiting_admin_review( $user_id, $args ) { mail("[email protected]", "nvz_user_awaiting_admin_review", "It's working"); /* $wp_user = new WP_User( $user_id ); if ( !empty( $wp_user->roles ) && is_array( $wp_user->roles )){ $contributie = 0; if(in_array('Lid', $wp_user->roles)) $contributie = intval(get_field('contributie_lid', 'option')); if(in_array('Student', $wp_user->roles)) $contributie = intval(get_field('contributie_student', 'option')); if($contributie > 0){ $stripe = new Stripe(); $input = ["user_id" => $user_id, "amount" => $contributie, "description" => "Lidmaatschap ".$wp_user->first_name .' '.$wp_user->last_name, "return_url" => 'https://'.$_SERVER['HTTP_HOST'].'/lidmaatschap-betaald/']; $stripe->Betalen($input); } } */ } add_action( 'um_after_user_updated', 'nvz_after_user_updated', 10, 3 ); function nvz_after_user_updated( $user_id, $args, $userinfo ) { $user = new Lid($user_id); $user->Opslaan(); } add_action( 'um_after_user_is_approved', 'nvz_after_user_is_approved', 10, 1 ); function nvz_after_user_is_approved( $user_id ) { $user = new Lid($user_id); $user->NieuweLidnummer(); $user->Opslaan(); }
All other functions are getting executed, but not the first… I will try it with a default template and let you know.
Hi,
thanks for your input! I’ve overlooked that hook completely.
I’ve changed my code but unfortunately, it still doesn’t work…
add_action( 'um_post_registration_awaiting_admin_review_hook', 'nvz_user_register', 10, 2 ); function nvz_user_register( $user_id, $args ) { //do stuff }
The user gets the status ‘awaiting_admin_review’ in de database, I can see him in users.php in the admin but the hook is not executed. All other UM hooks are working fine (um_after_user_updated, e.g.), so my file is correctly loaded.
Do you have any other suggestions?
Regards, Florian
WP version: 5.3.1
UM version: 2.1.2
PHP version: 7.3.12Forum: Plugins
In reply to: [GF Mollie by Indigo] Identification DescriptionHi,
this is exactly what I’m looking for too. Any help would be highly appreciated. I’ve tested it with the standard embed code {fieldname:id} but this wasn’t translated at all.
Forum: Plugins
In reply to: [WP Catalogue] Medialibrary not worklngOK, this is another incompatibility with another plugin.
Solved.
Florian
Forum: Plugins
In reply to: [WP Catalogue] Plugin not showingHi, thanks for your answer. It was indeed a conflict with another plugin.
Thanks,
FlorianForum: Plugins
In reply to: [WP Catalogue] Plugin not showingI’m running a Headway 3.5.5 theme, mayby this helps.