The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Re-setting $userdata->set('usergroupid', $newusergroupid);
I haven't got an testing board at the moment so can't test this.
Question: In register.php can you re-set PHP Code:
PHP Code:
register_addmember_process even though it is set before the hook (but not saved)? TIA |
#2
|
|||
|
|||
Well it looks like it should work, I tried it and it creates a banned user, but I can't say for sure if everything will work as it should.
|
#3
|
||||
|
||||
Wouldn't that put all new users into the banned usergroup? Is that what you are trying to do?
If the variable isn't saved yet, you should be able to overwrite the set like you have written. |
#4
|
||||
|
||||
Thanks
Yes, I'm going to wrap it in a condition (antispam measure) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|