in the file register.php find the line $newusergroupid=2; it about ln 248 all you have to do is replace that number,
the ones i know
1=unregistered guest
2=normal user
3=coppa (i think)
4=moderated coppa i think
5=supper moderator
6=admin
7=moderator
this would then put them straight into the user group using the normal register page.
i however copyed the adultregister and adultsignup template and then renamed them to modsignup and modregister, then done a find and replace in register.php of "adult" to "mod" saved file as registermod.php went back into the custom templates and changed the register.php forms to registermod.php no problems as of yet, there probably is a quicker and better way to do this hack, and if anyone knows then post.
you may need to add stuff to make a coppa one. (more templates)
oh then made a link to the new file registermod.php?s=$session[sessionhash]&action=signup
happy hacking
hope it works
|