Search Results for 'custom field'

Viewing 15 results - 121 through 135 (of 147 total)
  • Author
    Search Results
  • #1744

    emendesign
    Buyer
    Post count: 74

    Ok, is there anything I can do in the meantime? I want to add the expiration date and a custom field that was added to the post type.

    #1737

    In reply to: Bug new fields


    Patrik
    Moderator
    Post count: 1971

    Hi Andrea,

    You can choose “Let user decide” option from “is public” option while creating fields in usersWP->Form Builder. This will allow users to chose field visibility from their privacy page which can be found on the account page.

    So for each custom fields, you can choose “Let user decide” option so that user can make it public or private. Here private means no one can see except the user itself.

    Let me know if it helps you.

    Regards,
    Patrik

    #1729

    emendesign
    Buyer

    Hello,
    If I wanted to add some additional details with each post under the “Listings” tab within the profile, /profile/user/listings/. So for instance I would like to include an expiration date and one custom field.

    Can you help me out with how I would echo out the expiration date and the custom post field data?

    I see that the loop for these posts is in the functions.php file in the UsersWP Geodirectory add-on includes folder is there anyway to make this addition and still allow the plugin to be updatable?

    Just let me know when you can.

    Thanks!

    #1694

    gxwpm
    Buyer
    Post count: 8

    Hey,

    Thanks for the link, I’ve checked it. I don’t ask for a customization though, just looking for a sample function to set a field value for UsersWP.

    #1688

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    The forum is for support of the plugin as designed, and we are unable to perform customizations here.

    You can try something like this, though: https://stackoverflow.com/questions/2930396/can-you-set-a-form-field-value-with-php

    I will flag your question for the developers in case they have an easy fix.

    #1683

    gxwpm
    Buyer

    Hey,

    May I get an example about how can I set a field’s value via code?

    Let’s say I have a custom field on UWP called “pet_name” and I want to set “Puppy” as it’s value via script not UWP interface. Can I get a little snippet for it?

    Thanks,

    #1619

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    ReCaptcha is setup for all forms, now, but there are errors on your site. Your site will need SSL.

    To add custom fields or adjust settings, please see the documentation here:

    https://userswp.io/docs/userswp-overview/

    there are several CORS errors showing in the console that need your attention.

    ReCaptcha is showing an error, too, in console: “ReCAPTCHA couldn’t find user”…

    I will flag that issue for the developers.


    Guust
    Moderator
    Post count: 29970

    Hi Derek, that would require some custom code, which is outside support.
    You could create a multiselect custom field that has all the authors listed? Or an HTML field if you want to do it manually.

    Thanks

    #1343

    Alex Rollin
    Moderator
    Post count: 27815

    The name and username and display name are stored in the normal way, and any additional custom fields are stored in UsersWP tables.


    Dominik Schendl
    Free User

    Hi there,

    Regular there is that [#extras#] variable, which displays the default fields (in my case, I use only Name and emailadress) of the newly registrated user in the admin notification email.
    But Id’ like to display custom values/fields of the registration form in this email as well.
    Specifically, do I have a additional Text-field and a phonenumber-field I created.

    I couldn’t find out, where I could add those two fields to the variable. And would be very great full for help.

    Some Information:
    >I got some basic knowledge in coding but im far away from Pro in my opinion.
    >The PlugIn is used on a swissgerman Site, so I translated parts of the PlugIn to German (only displaying strings, no variables or such)
    >I saw in the PlugIn Files some criterias, from the Query I thought would pull the Information and I think the settings are correct. (I got some Screenshots from the two Fields)

    Thank you in advance

    #1202

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    You would need to add a hook after registration to change user role to the custom field you have added.

    Stiofan

    #1120

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I have added the following snippet but not tested it, please test it and let us know.
    For example if you have a custom field with html_var of “gender” then you would add a GF field of “uwp_account_gender” and that should work.

    Please let us know how u get on.

    Stiofan

    
    
    add_filter( 'gform_field_value', '_gf_populate_uwp_fields', 10, 3 );
    function _gf_populate_uwp_fields( $value, $field, $name ) {
     
         $user_id = get_current_user_id();
      if(!$user_id){return $value;}
      
      $values = array();
      
    	 $usermeta = uwp_get_usermeta_row($user_id); 
    	  if(!empty($usermeta)){
    		foreach($usermeta as $key=>$meta){
    		  if (strpos($key, 'uwp_account_') === 0) {
    				$values[$key] = $meta;
    		  }
    		}
    	  }
    
     
        return isset( $values[ $name ] ) ? $values[ $name ] : $value;
    }
    #1095
    Resolved

    Topic: Form Builder Custom Icon


    Philipp
    Buyer

    Hey 😀
    I’d like to add custom Icons from Media to my textfields. I entered the URL of the Media file (.png) and it happens nothing on profile page.

    #988

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    Please make a private reply and include your site URL as well as Admin credentials. In case of plugin conflicts we may also need FTP access.

    Just for clarification, can you describe what you are trying to do? My understanding is that you are trying to set the Form Label for a custom field, as displayed inside the form to a user editing their profile. Is that correct?

    Related Docs:
    https://userswp.io/docs/userswp-form-builder/

Viewing 15 results - 121 through 135 (of 147 total)