The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
What part of a field? To see if what User A entered is the same as anyone else?
|
#12
|
|||
|
|||
Correct. I have a gamertag profile field and don't want anyone else choosing someone elses gamertag.
|
#13
|
||||
|
||||
You would have to do a query.
PHP Code:
|
#14
|
|||
|
|||
Is it possible for it to do this when someone enters in a profile field?
|
#15
|
||||
|
||||
As in AJAX?
|
#16
|
|||
|
|||
no just check to see if someone has the same profile field as someone else after updating.
|
#17
|
||||
|
||||
There should be a hook where you can do a check before the data is commited to the database. Probably userdata_presave.
|
#18
|
|||
|
|||
So I code a plugin with your script on the first page?
|
#19
|
||||
|
||||
Yep. Be sure to make note of the variables that exist (i.e. $this->registry instead of $vbulletin, etc.).
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|