The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
User's can revert to 'Registered'
Many apologies if this hack has already been written, i did try searching for it, but could find nothing.
On my board i have use the hack that allows moderators to change usergroups, each moderator of their own clan forum is able to change the group of members of their group and the standard 'Registered' group only. If a forum member changes clan, they have to request from their moderator to change their group back to 'Registered' so that the moderator of the new clan forums can change their group to the new clan's one. The ability for users to move themselves into the 'Registered' group would be perfect. It should obviously not work if they are in a Banned or unregistered usergroup, maybe make it so only members of certain groups can use it, and hopefully it could be as simple as clicking a link and moving into the 'Registered' group. Would this be possible? Would anyone be willing to have a go at it, would be much appreciated Thanks Tenpit |
#2
|
|||
|
|||
Am i allowed to *bump* ?
|
#3
|
|||
|
|||
[sql]
UPDATE user SET usergroupid = 2 WHERE userid = $bbuserinfo['userid']; [/sql] ...is the query you can use, if you want to try to write it yourself. |
#4
|
|||
|
|||
Upload this to the forums directory and link it, sould do the trick.
Also, add a new template named redirect_gourpupdated and fill it with the text you want to display when it redirects. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|