![]() |
How to update a usergroup?
Hi there,
I'd like to manually update a usergroup based on a querystring value: PHP Code:
I'd appreciate a little help, thanks! |
Why would you want to do this via phpMyAdmin?
|
Quote:
updateuseridgroup.php?userid=1 And the scripts updates the usergroup of the given userid. I just need a function or possible way to manually update the usergroup of a vB user. I don't want to fire a raw SQL Update Query as I don't know what other fields vB is updating when changing the usergroup.. |
You want to do something like this:
PHP Code:
|
You always have to use $dmclassvariable->set_existing() when using a data manager (or ones that manipulate data). That way it will know what to edit...
|
Thanks Opserty, that way it's working!
Ok, thanks Kovifor! |
All times are GMT. The time now is 09:13 PM. |
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:
|