View Full Version : New User Registration Configuration
Petormin
03-03-2015, 03:25 AM
So I am at the point of banging my head against the wall. What I am trying to figure out is when a new user registers is there a way to require them to enter a message that gets sent along with the email notification or even just in the registration itself. It would make it alot easier to distinguish between the "Human Spam Bots" and actual people trying to register that i end up just deleteing (Example *Please enter a short message [Hey its billybob stop deleting my account im not a bot.]
If you create a profile field that's on the registration page, say it's field7, then you can edit the newuser phrase (the ones of type 'email body'), and add something like:
Phrase: {$vbulletin->GPC['options']['field7']}
Edit: well, that will work but you might need a plugin to 'clean' that value. Although offhand I can't think of anything a user could enter that would cause problems.
Petormin
03-03-2015, 04:10 AM
is there no way to do it within vbulletin itself? (assuming your talking about editing the register.php file to add that bit.. somewhere)
It's all within vbulletin. I meant you should edit the phrase that's used for the email body. Go to "Search in Phrases" and search for newuser (click the 'Phrase Variable Name Only' radio button). There are several with that name, but it's obvious which one is the email body.
And also I looked again and I don't think you need to worry about 'cleaning', since nothing special is done to the other values like email and referrer before being used in the email.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.