The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Is it possible to have a custom field check to see if the information entered has already been entered by another user?
Basically i want user's to have display names but it wouldent be good if people started making displaynames that are the same ![]() I desperatly need any direction on this. Thanks. |
#2
|
|||
|
|||
![]()
Yes it is possible, there are hooks in the profile section of the usercp where you can (once the user has submitted) check to see if the name is already used by running a query, and if so, stop the execution of the code and print out an error saying "hey dumbo, display name is already in use".
|
#3
|
|||
|
|||
![]()
Thanks
But i forgot to mention that i have the field setup so it can only be built/edited at user registration. Would i still do this in the same place? |
#4
|
|||
|
|||
![]()
No, you would have to do it in the registration hooks if that was the case (im not sure where, I havent looked into those hooks
![]() |
#5
|
|||
|
|||
![]()
Yeah i took a peak in there...so lost lol.
Thanks for all your input. |
#6
|
|||
|
|||
![]()
If you dont know much about it, you should request something.
|
#7
|
|||
|
|||
![]()
Or try to learn it.
![]() |
#8
|
|||
|
|||
![]() Quote:
Yeah thats going to have to be what happens ![]() Plus the time frame that i have to have this done by is getting closer and closer lol. |
#9
|
|||
|
|||
![]() Quote:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|