![]() |
register_not_agreed hook
What hook does the register_not_agreed error show up in?
|
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.
|
Right, but if I wanted to add another error conditions that would run in the same area, what php hook would I use?
|
How about the register_start hook?
|
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.
|
Did you put a condition around it so it only acts with that one condition - do=addmember ?
|
Yes, I tried this:
Code:
if ($_REQUEST['do'] == 'addmember' && !$_REQUEST['duplicate']) Code:
if ($_REQUEST['do'] == 'addmember' && !$_REQUEST['duplicate']) unset($_POST['agree']); |
All times are GMT. The time now is 01:49 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|