custom user field

  1. N

    XF 2.2 How to update custom user field?

    We know we can get user custom field value from the '$user' object - $facebook_url = $user->Profile->custom_fields->facebook; We also know we can easily update any user field using 'fastUpdate' method - $user->fastUpdate('user_state', "valid"); What is the easiest way to update user custom...
  2. celebrir

    XF 2.1 BB Code to return value of custom user field

    I want to create a BB Code which returns the value of a certain simple custom user field. I have a staff list as a thread on my internal Forum and I want to include the telephone number of the staff members. (Field ID "user_tel"). I figured I need to use the PHP Callback function on the BBcode...
  3. Ali Ahmed

    XF 2.1 Rebuild User Cache with Cron Job

    hi I'm not very friendly to xenforo development source, its MVC model and etc.. So I'm building externally from xenforo such as subdomain and then using php and ajax from my xenforo forum for controlling my plugin (Don't ask me to use xenforo method of code, because I'm not good at all)...
  4. T

    XF 2.0 Save the Input from a custom display Location

    Hello, that's a repost because @S Thomas said that my first post is simply to long to understand my problem. Since the last week I'm trying to add a new display location for some input fields in the account settings location. I want to add for example a new location for a first name. Everything...
  5. Sam96

    XF 2.0 How can I access the value of Username for custom user field validation on registration page.

    I'm using the following method to validate the custom user field. https://xenforo.com/community/resources/custom-user-field-callback-validate-value.379/ However, for my situation, I need to access the Username that the user typed into the registration form to determine if the custom user field...
  6. Oblivion Knight

    XF 2.0 Overlays for custom user fields?

    Just wondering whether there is way of achieving this? I've taken a quick look at the existing "userinfo" and "report" overlays, but it seems a like what I'm wanting to achieve could be a little tricky? Basically I want to have custom fields for: Xbox PlayStation I would ideally have icons...
  7. R

    Check whether custom user field (really) exists? (no cache)

    (moved from a bug report) If I have an add-on which uses a custom user field, how can I check whether the field exists? array_key_exist does not really help, because it only checks the cache in this case. Without this check the field is still considered valid even when the field was in fact...
  8. wmtech

    [WMTech] Custom User Field Error Enhancer

    wmtech submitted a new resource: [WMTech] Custom Field Error Enhancer - Show Your Users Why They Get An Error With A Custom User Field! Read more about this resource...
  9. wmtech

    [WMTech] Custom User Field Error Enhancer 1.0.0

    Description / Features: This add-on solves a major annoyance with the default XenForo error messages of custom user fields. If you setup "Value Match Requirements" for a custom user field and those requirements are not matched, a default error message "Please enter a value that matches the...
Top Bottom