The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
register_not_agreed hook
What hook does the register_not_agreed error show up in?
|
#2
|
||||
|
||||
Huh? I'm not sure what you mean. I can only find the phrase being used once. It's in the register.php file around line 178.
|
#3
|
||||
|
||||
Right, but if I wanted to add another error conditions that would run in the same area, what php hook would I use?
|
#4
|
||||
|
||||
How about the register_start hook?
|
#5
|
||||
|
||||
I tried that and it instantly throws my error message when you click on the register button. I don't think it can be done the way I'd like without editing the php file, and that isn't gonna happen. I found a way around it, not how I wanted, but it will have to do, I guess.
|
#6
|
||||
|
||||
Did you put a condition around it so it only acts with that one condition - do=addmember ?
|
#7
|
||||
|
||||
Yes, I tried this:
Code:
if ($_REQUEST['do'] == 'addmember' && !$_REQUEST['duplicate']) { my error message here. } Code:
if ($_REQUEST['do'] == 'addmember' && !$_REQUEST['duplicate']) unset($_POST['agree']); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|