Jump to content

Welcome to DevFuse Forums

Sign In  Log in with Facebook

Create Account
Welcome to DevFuse Forums, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of DevFuse Forums by signing in or creating an account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get email updates
  • Get your own profile page and make new friends
  • Send personal messages to other members.
Guest Message by DevFuse

(View All Products)Featured Products

  • Donations

    Help fund your forum with donations, setup goals and track member donations. Offer rewards for members donating.
  • Timeslips

    Have your members submit their race times and share with others.
  • Videos

    Allows your members to submit their own videos for community viewing. Support is included for all the major video sites.
  • Forms

    Build your own forms for your members without coding experience. Support included for pm, email and topics.
  • Collections

    Build a community database of items for your members. Full features custom fields included.


[IPS] [rct] Unique Custom Profile Fields

This topic has been archived. This means that you cannot reply to this topic.
No replies to this topic

#1 News Bot

News Bot

    Dedicated Member

  • Members
  • PipPipPipPipPip
  • 1,909 posts
  • IP.Board Version:N/A

Posted 31 January 2014 - 03:44 AM

This hook allows you to specify which custom profile fields have to be unique amongst your members. It is similar to the built-in IP.Board functionality which ensures that member names and email addresses are unique.
  • Runs on all boards from 3.2.3 onwards
  • Supports the built-in custom profile fields, and your own custom profile fields
  • Can be switched on and off for individual profile fields
  • Fully integrated into AdminCP
  • Tests for field uniqueness in User Control Panel AND on Member Registration
  • Moderators and Admins can override the uniqueness requirement through their own ModCP and AdminCP
  • All text used in the hook is imported into language files so you can edit to suit or localize
  • Fully automatic install and deinstall, no hand edits required
Simply install/deinstall the hook in your AdminCP 
Usage/Set Up
  • In AdminCP, select Members -> Custom Profile Fields
  • Note the extra column which shows whether Custom Profile Fields must be unique (see screenshot for example)
  • Select the Unique Yes/No toggle when adding or editing custom profile fields. (see screenshot)
 Test Case
  • In AdminCP, set a custom profile field to be unique AND required on registration
  • Input a value into the custom profile field for yourself to be something unique, not used by anybody else
  • Try and register a new user and use the same value in the custom profile field that you are using yourself
  • If you see the error message and registration does not complete, then the hook is installed correctly (see main screenshot)

View Resource