Search Results for 'custom field'

Viewing 15 results - 106 through 120 (of 147 total)
  • Author
    Search Results
  • #3039

    In reply to: Show Bio First


    Jeff Adams
    Buyer
    Post count: 1780

    Wait a minute, this isn’t going to work. Remember how there was a problem with the bio being cut short: https://userswp.io/support/topic/bio-is-cut-short/

    Well, after over a week of trying to resolve this the only thing I could do to fix it was create a custom field to replace the bio field. The whole point of me asking was to move the bio field to the beginning.

    What you’re talking about are just rearranging activity tabs. The activity tabs are already in a smart order with posts first. Right now though I want to show the bio first like I was sharing in the original post here.

    #3038

    In reply to: Show Bio First


    Patrik
    Moderator
    Post count: 1971

    Hi,

    It was due to JS problem and we have fixed it and will be available in the next update. I have made the same changes on your server for now. Please check and let me know if it works or not. You may rearrange the tabs by removing all and adding tabs in the order you want in UsersWP->Profile settings page. Custom fields are added at last in tabs and are not available in this settings.

    Regards,
    Patrik

    #3037

    In reply to: Bio is Cut Short


    Patrik
    Moderator
    Post count: 1971
    This reply has been marked as private.
    #3023

    In reply to: Bio is Cut Short


    Patrik
    Moderator
    Post count: 1971

    Hi Jeff,

    What about the fact that I removed the bio via admin (see image) but it’s still showing on the front end?

    We have another table uwp_user_meta for storing custom fields data of user meta. So on removing bio from the account will only remove it from the profile.

    For HTML field, we will work on it but the problem is not due to the field. It’s due to a table structure where only 255 chars are only stored for texarea even I changed it to long text.

    We can definitely help you if we regenerate the issue from our side. If possible create a small video of registering the new user with bio and going to profile tab where it shows cut which will help us to regenerate issue.

    Regards,
    Patrik

    #3002

    In reply to: Bio is Cut Short


    Patrik
    Moderator
    Post count: 1971

    Hi Jeff,

    All the time I register with bio content in Vegan Story field in the registration form, it displays full content in the profile bio tab. Also, I tried to change it from the account form and still no issues. I would suggest you create a new custom field with HTML field type instead of using biofield for the vegan story.

    Regards,
    Patrik

    #2930

    In reply to: Feature Questions


    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Jeff,

    Let me try and go over each point below:

    1. We have a advanced search addon coming soon that should let you filter by any custom fields.

    2. I had not thought about that but if its possible then we will implement it.

    3. The display and filtering is something done by the theme, we don’t currently have a way to restrict categories but it sounds like something that could be relevant.

    4. This will be in advanced search.

    5. There is a country custom field and you could add other custom fields that could be further used to filter users by location.

    6. We have a private messaging addon that is almost ready for release.

    7. Users can also delete their job postings. We don’t have a way to follow jobs listings, i’m not sure if job manager does?

    8. Not at the moment.

    9. There is a privacy section in your account area that you can hide your profile.

    If i can help further just let me know 🙂

    Thanks,

    Stiofan

    #2892

    emendesign
    Buyer

    Hello,
    I’m trying to utilize the custom fields option of the plugin Users Insights with UsersWP but because the user information from UsersWP is not stored in the normal user meta table I’m having difficulties.

    What would I use for a meta key with the user inputs created through UsersWP?

    https://usersinsights.com/wordpress-user-meta-display-search-filter/

    Thanks.

    #2743

    Patrik
    Moderator
    Post count: 1971

    Hi Marc,

    Currently, UsersWP requires username field in the registration form and it can’t proceed without it. But we have hooks and filters available which can be used to customize the plugin and generate username from the email. We do not provide support for customization here. We will consider this for the future enhancements.

    Let me know if you have any questions.

    Regards,
    Patrik

    #2727

    Jonah Knulst
    Free User
    Post count: 1

    I have tried it both as an admin and as a non-admin. In either case the settings do not save when I submit them and simply revert to their original state, which in my case is ‘yes’. One of the fields is the default last name field and the remaining two are custom ones.

    The only setting that does work is hiding your profile from the users listing page.

    Thanks for the response in such a short time. I hope we can figure something out. =)

    #2362

    In reply to: Too Many Fields?


    Lauren Magnuson
    Free User
    Post count: 2

    After getting into the SQL database, I see the problem – each of my custom profile fields is VARCHAR 254, so after approximately 60 of those fields we hit SQL error 1118. I’m manually paring down those fields to VARCHAR 25 because that’s way more than the characters of any of my radio button options that I’ll need, but I noticed in class-formbuilder.php that the default new field is set to VARCHAR 254, which seems to be applying to radio buttons (the other field type seem to calculate the max characters needed for the field on the fly using the $op_max variable, but please correct me if I’m reading that wrong).

    I don’t want to ‘hack core’ and make changes that will prevent me from updating this plugin – any suggestions for how I might hook into this and write my own add-on that would enable me to have a whole bunch of fields?, or would you possibly consider writing an enhancement or accepting a pull request? What I’m interested in doing is possibly breaking up the profile form into multiple pages/tables, which would give more space for all the crazy fields I need to store.

    Thanks (and thanks for a totally awesome plugin, BTW!)

    Lauren

    #2361

    Lauren Magnuson
    Free User

    Hi, I’m using UsersWP in possibly an unusual way – we’re tracking user skills, and have over 250 skills we’ve started adding to UsersWP as custom fields (radio buttons)

    Once we’ve added approximately 60 skills, we start to see some strange behavior. When editing fields, we see this message:

    Column change failed, you may have too many columns.

    And the default values don’t seem to populate.

    Have you found there’s a limit to how many fields can be added to the user table in WordPress?

    #2149

    Alex Howes
    Buyer
    Post count: 175

    Thanks Patrik

    It’s now working 🙂 In case anyone else on here is interested in doing this, I’ve written my code below. The html variable name for the role field is ‘role’ which must be prefixed by ‘uwp_account_’. The two options it can take on my form are ‘Worker’ and ‘Employer’ which correspond to my two roles ‘um_worker’ and ’employer’.

    
    
    add_action('uwp_after_custom_fields_save', 'assign_user_role_on_registration', 10, 4);
    
    function assign_user_role_on_registration( $form_type, $data, $result, $user_id ) {
      
      if ($form_type == 'register') {
    	
            $role = $data['uwp_account_role'];	
    		$current_user = get_userdata($user_id);
    	    
    	    if ($current_user) {
    	
    			$current_user_roles = $current_user->roles;
    	
    			if (in_array('subscriber', $current_user_roles)) {
    		  
    		  		if ($role == 'Worker') {
    	  
    	  				$current_user->set_role( 'um_worker' );	
    		    	}
    		  
    		  		if ($role == 'Employer') {
    		   
    		    		$current_user->set_role( 'employer' );			  
    		    	}
      	  		 }
    	   }
      }
    }
    #2148

    Patrik
    Moderator
    Post count: 1971

    Hi Alex,

    Go to the file plugins/userswp/includes/class-forms.php at line no. 341 and you will see following action which you can use to process the form data and assign role to the user as you will get $data and $user_id as a parameter to use.

    do_action('uwp_after_custom_fields_save', 'register', $data, $result, $user_id);

    Let me know if this helps you!

    Regards,
    Patrik

    #1955

    Alex Rollin
    Moderator
    Post count: 27815

    Is there any way to add one more register field in general option, so that we can assign student registration page to the field.

    It is currently only possible to have one ‘version’ of the registration form, not multiple different versions with different fields.

    In some cases you may be able to hide an optional field on a page with custom CSS based on the page ID.

    The student registration page is ‘page-id-12910’ for example.

    
    
    
    .page-id-12910 #uwp_account_user_types_row.required_field.uwp_form_row {
        display: none !important;
    }
    
    #1823

    In reply to: MyCred


    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Colin,

    You can assign points for filling out any field including new custom fields you add.
    Users can also send eachother points.

    Our 30 day money back guarantee applies, if it does not work how you wan just ask for a refund 🙂

    Thanks,

    Stiofan

Viewing 15 results - 106 through 120 (of 147 total)