2011-12-08, 04:10 PM
Hi there,
Am working over some plugin related to user title. Now, I saw but there was no hook especially for user title, but just for edit profile. I want something here to check when a user enters new user title, for example lets say,
A user is entering a custom usertitle having the letters "example" in it, and I code some links along which I added example as disallowed character in user title, then it should throw an error.
Am using something like:
But that doesn't seem to work well.
Any ideas? Not sure what to do with these user title input thing.
Any help would be appreciated.
Thank you.
Am working over some plugin related to user title. Now, I saw but there was no hook especially for user title, but just for edit profile. I want something here to check when a user enters new user title, for example lets say,
A user is entering a custom usertitle having the letters "example" in it, and I code some links along which I added example as disallowed character in user title, then it should throw an error.
Am using something like:
if($mybb->input['usertitle'] != $mycondition)
{
// Return error here
}
But that doesn't seem to work well.
Any ideas? Not sure what to do with these user title input thing.
Any help would be appreciated.
Thank you.