Forum Replies Created
-
AuthorPosts
-
SupportMember
Hi, Glad to know you like the plugin. Yes you can set different role for different form. Create several role field with several config. And use thse role field on different form.
Thanks.
SupportMemberHi pixel, Is it possible to set a temp admin for us (support[at]user-meta.com) and let us know what you want, So that we can try to fix the issue on your site.
Thanks.
SupportMemberIt could be a plugin conflict. Please disable other similar plugin (which deal with users) to find which one is conflicting. Thanks.
SupportMemberHello Cristian,
Which types of errors are showing in login widget? It will be better if you can post your login url here or email to support(at)user-meta.comThanks.
SupportMemberSolved by “Contact Us”
SupportMemberSupportMemberHello mikeb_gd and audemedia,
Could you please send your site url to support(at)user-meta.comThanks.
SupportMemberHello,
Don’t lose in desert, here to help you 🙂
Create a text field with meta_key: invitation_code
Use the field to the registration form and put following codes to functions.phpadd_filter( 'user_meta_pre_user_register', 'invitationCode' ); function invitationCode( $userData ) { if ( empty( $userData['invitation_code'] ) ) { return new WP_Error( 'required', "Invitation code is required." ); } $codes = array( "world99", "new24", "bob39", ); if ( ! in_array( $userData['invitation_code'], $codes ) ) { return new WP_Error( 'missmatch', "Invalid invitation code!" ); } unset( $userData['invitation_code'] ); return $userData; }
Thanks.
SupportMemberHello,
We are sorry to being late. Please try development version. You can download dev version from http://user-meta.com/downloads/
If dev is not working, send an email to support(at)user-meta.com with the site url where you need to activate the plugin.
Thanks.
SupportMemberHello,
Most probably, you have lots of fields in Fields editor and that exceed your current server settings. Please increase value of following php settings
max_input_vars, post_max_size, memory_limit
Thanks.
SupportMemberHello,
You can get user extra field’s data by get_user_meta
http://codex.wordpress.org/Function_Reference/get_user_meta
Thanks.
SupportMemberHello,
In multisite, go to “Network Settings” and add csv to “Upload file types”. It might be one of the reasons.
Thanks.
SupportMemberHello,
There is some work around with the upcoming version. Please try Development Version from http://user-meta.com/downloads/
Thanks.
SupportMemberHello, These are some example code. You can use customize these code as your need.
add_action( 'user_meta_after_user_register', 'createNewPost' ); function createNewPost( $response ){ global $userMeta; $userID = $response->ID; $user = new WP_User( $userID ); $role = $userMeta->getUserRole(); if( $role = 'artist' ){ // Assume you have custom role named 'artist' $newPost = array( 'post_title' => 'New post', // You can use user data here, for first_name: $user->first_name 'post_content' => 'This is a new post.', 'post_status' => 'publish', 'post_author' => $userID, 'post_type' => 'artist', // Assume, you have a custom post type named 'artist' ); wp_insert_post( $newPost ); } }
Thanks.
-
AuthorPosts