Forum Replies Created
-
AuthorPosts
-
KhaledMember
Hello,
With your single site license, you will able to validate your license on production site, but before that you will need to withdraw the license from dev site.Thanks.
KhaledMemberHello,
These codes might be helpful for you:add_action( 'user_meta_after_user_update', 'updateCurrency' ); function updateCurrency( $response ) { $userID = $response->ID; $currencySelect = get_user_meta( $userID, 'buyer_default_currency_select', true ); if ( empty( $currencySelect ) ) return; switch( $currencySelect ) { case 'pound' : update_user_meta( $userID, 'buyer_default_currency_code', 'GBP' ); update_user_meta( $userID, 'buyer_default_currency_symbol', '£' ); break; case 'dollar' : update_user_meta( $userID, 'buyer_default_currency_code', 'USD' ); update_user_meta( $userID, 'buyer_default_currency_symbol', '$' ); break; case 'euro' : update_user_meta( $userID, 'buyer_default_currency_code', 'Euro' ); update_user_meta( $userID, 'buyer_default_currency_symbol', '€' ); break; } }
Assume value of buyer_default_currency_select are pound, dollar or euro.
Thanks.
KhaledMemberHello, please try version 1.1.5
Thanks.
KhaledMemberHello,
You could use something like that:
[user-meta type="profile" form="Name_of_your_default_form" diff="subscriber=form1, editor=form2"]
Thanks.
February 27, 2014 at 12:13 am in reply to: File upload field > update image in wordpress library #4925KhaledMemberHello,
If your image_profil meta_key is using by UMP, its value already contain /uploads/
Checkout those code:
global $userMeta; $filename = get_user_meta( $current_user->ID, 'image_profil', true ); $file = $userMeta->determinFileDir( $filename ); $filepath = $file['path']; $wp_filetype = wp_check_filetype( basename( $filepath ), null );
Change your
WP_CONTENT_DIR . '/uploads' . $filename
to
$filepath
You can access file url by $file[‘url’]
Thanks.
KhaledMemberSounds good. Making this topics as resolved 🙂
KhaledMemberHi, UMP 1.1.5 is not using resetpass page for logout anymore 🙂
KhaledMemberHello, most probably you have sent temp admin without any reference url. Please send it again with this forum url.
Thanks.
KhaledMemberHello,
Thanks for your clue. WordPress changes field id for “Admin Color Scheme” so it was not working. However, we have updated our code to fix it. Please download Development version from http://user-meta.com/downloads/KhaledMemberHello, Please try latest RC version. Thanks.
KhaledMemberHello,
If you can save your changes on UMP menus, you don’t need to increase these values. Please make sure, your extra fields have meta_key. Only extra fields with meta_key can be added to backed profile.Thanks.
KhaledMemberHello,
1. You can use several shortcode in a single page. And I believe “Form XX is not found” issue comes from your form name not matching, please check again or try to create a new form and assign in shortcode.
2. UMP stored all of the extra data to wp_usermeta table (WP standard), So every other plugin on your system can able retrieve those user’s data even if UMP being deactivated. So, there is no requirement to make the field visible on the front-end in order to use them by other plugin. You just need meta_key to retrieve users’s stored value.
Ohh one thing, amr-users try to find unique meta_key by looking on wp_usermeta table. Suppose, you have just created one extra filed with meta_key “xyz” by UMP, At this point UMP just store field configuration, not field data. When any user tries to store data in this field, then this field has some value to store. And it stores that value to the wp_usermeta table with meta_key “xyz”.
Reinstalling or updating UMP has no effect on your stored data. Every field, forms, settings, user data will be there.
Thanks.
KhaledMemberHello,
Until now, login redirection is only working with UMP generated login widget or login form. If you are using UMP widget or login form, keep in mind, redirections are based on role.Thanks.
KhaledMemberHello, In WordPress Catalan suffix is “ca” although it suppose to work with es_CA if you define it in wp-config.php
https://codex.wordpress.org/WordPress_in_Your_Language#Catalan_-_Catal.C3.A0_.28ca.29However, if you define define(‘WPLANG’, ‘ca’) in your wp-config.php and put user-meta-ca.mo into user-meta/helper/languages/ directory it should work.
Thanks.
-
AuthorPosts