bipolab
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] wpcf7 is not definedThank you for your replay.
The issue is giving us problems with iubenda…
I’ll try your suggestion as soon as our boss will give the ok to preceed ??Forum: Plugins
In reply to: [Contact Form 7] wpcf7 is not definedHello,
could you kindly explain it better (and how you have fixed it)?Forum: Plugins
In reply to: [Adminimize] Editors don’t see article list in mobileany help?
Thank you.
So, at this time the only solution is deactivating your plugin? ??
I don’t know my comment has been deleted…
Anyway, I’m having same issue.
Your suggestion did not work ??Thank you!
I’ll follow your suggestions.
Great job!Got it.
THANK YOU VERY MUCH!!!!!!
Since I need the username instead of the ID I’ve changed the code this way:add_action( 'um_registration_complete', 'um_110821_user_referral', 1 ); function um_110821_user_referral($referer_name) { $current_user = wp_get_current_user(); $user_name = $current_user->user_login; update_user_meta( $referer_name, "um_user_referral", $user_name ); }
And I’ve seen that I can add its email field too, with its meta_key.
In the following example, I’ve used um_mail_referral as meta_key (for a text field… mail field will be used for other purposes and there is no more of them available ) and I’ve changed the name of the action. (Maybe there’s a way to do it faster and smarter but it works)add_action( 'um_registration_complete', 'um_88046_mail_referral', 1 ); function um_88046_mail_referral($referer_mail) { $current_user = wp_get_current_user(); $user_mail = $current_user->user_email; update_user_meta( $referer_mail, "um_mail_referral", $user_mail ); }
BTW, is there a way to cleanup the meta_keys used in deleted field? They still appears in members directory…
I’m going to see if I can hide those text field too!
Again: Thank you!Hello Missveronica, thanks for taking the time to reply me back.
I’ve added a text field in registration form with the name “user registered by” (meta key can’t have spaces so…)
And I’ve set this field to be shown in members directory.
I’ve added the provided code into functions.php
but nothing happens.
I’ve trying both writing something in “user registered by” field and leaving it blank during registration but without success.
I’m sure I’m missing something or maybe I’ve not explained myself correctly ??Thank you for such a prompt reply!!
I really appreciate it ??
However I’m afraid I’ve not understood something.
Should I add a text field that must be filled from the admin each time?(I was wondering instead if I could populate the text field with a shortcode instead… a shortcode for a wp_get_current_user() function, without the need for the admin to fill it)
Even if the topic is closed, I would add a question down here…
Since several admins will add users this way (front-end), I’d need to retrive their username/mail from the form and I would use it as a filter/sorting criteria.
It could be used in an autofilled text field (no matter if editable or not or even hidden).
In few words, I would like to have the ability to show all and only the users registered by [email protected] or by [email protected]
Thank you!
It worked… I have few more questions but I’ll ask them in separate topics so to be more helpful for other usersSame problem here.
Have you fixed it somehow?Forum: Plugins
In reply to: [WP Custom Admin Interface] Admin toolbar won’t loadGood morning,
it seems to be a issue with Divi.
With twenty-thing theme the page has been loaded and I coould save the settings.Forum: Everything else WordPress
In reply to: New admin created by a script (hacked, I guess)Thank you for replying. I’ve already done first two steps.
And I’ve also deleted the created user.So I’m going to start from the deep breath ??
I wonder how this could have happened. Seems a targeted attempt more than an automated stuff….
Thanks