Firefox PHP

Automatically user-registration into a group

Posted by Backbone 
Automatically user-registration into a group
October 05, 2004 03:08AM
My idea:

I already have some forums running which cover completely different scopes. Most times a user comes by and want to register, while interested in only ONE special forum.

Is it possible to change the login.php (and whatever else is needed) in an easy way to make the user a member of a group depending on the forum he is in?

I do not use the eMail-verification. Only direct registration is used.

If you have an idea how I can do this, plz let me know!
- Which files do I need to change?
- What are the important variables to know?
- Is it possible to do it as an module?
- Maybe a drop-down-box at the registration-form can do a good job?

.. and I will program it on my own, of course. (This is not the request for someone to program it for me - because that would be only half the fun.. *g*)

[edit]
Oh, I see someone else mentioned this before, but never got an answer (most probably because noone did the work *g*): [phorum.org]
[/edit]



Edited 7 time(s). Last edit at 10/05/2004 03:15AM by Backbone.
Re: Automatically user-registration into a group
October 16, 2004 08:00AM
there is no hook to do this as a module currently.
but a hook could be added.
you will need to modify register.php as you want to register users.
check the user-functions how they handle adding a user to a group. the you will know what do you in register.php to have it working.


Thomas Seifert
Re: Automatically user-registration into a group
October 18, 2004 08:23AM
thx!
Sorry, only registered users may post in this forum.

Click here to login