Welcome to Geeklog, Anonymous Tuesday, February 18 2025 @ 08:00 pm EST
Geeklog Forums
To add new user in customized group.
Status: offline
koalasoft
Forum User
Full Member
Registered: 03/09/05
Posts: 242
Location:Mexico
How I can do so that at the moments that a user registers itself in the site, this is added besides the group; "Logged-in Users" one adds a group that I have created, for example "Group A".
Some idea?
Grettings !!
**Cuando el Alumno esta listo, el Maestro Aparece **
::Geeklog support in Spanish::
Some idea?
Grettings !!

**Cuando el Alumno esta listo, el Maestro Aparece **
::Geeklog support in Spanish::
16
15
Quote
Status: offline
suprsidr
Forum User
Full Member
Registered: 12/29/04
Posts: 555
Location:Champaign, Illinois
Try adding a function to path_to_geeklog/system/lib-custom.php
function CUSTOM_userCreate($uid,$bulkimport=false){
// your add to group code here.
}
You can edit the example function that may already be there.
Then turn on custom registration.
-s
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
Text Formatted Code
function CUSTOM_userCreate($uid,$bulkimport=false){
// your add to group code here.
}
You can edit the example function that may already be there.
Then turn on custom registration.
-s
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
15
15
Quote
Status: offline
koalasoft
Forum User
Full Member
Registered: 03/09/05
Posts: 242
Location:Mexico
Ok, but...
For example, I have a list of groups in combobox in " memberdetail.thtml" like:
select option: ....
Group A
Group B
Group C
How I say to him to the system in that group to add the user when the group of the list chooses.
Grettings !!
**Cuando el Alumno esta listo, el Maestro Aparece **
::Geeklog support in Spanish::
For example, I have a list of groups in combobox in " memberdetail.thtml" like:
select option: ....
Group A
Group B
Group C
How I say to him to the system in that group to add the user when the group of the list chooses.
Grettings !!

**Cuando el Alumno esta listo, el Maestro Aparece **
::Geeklog support in Spanish::
14
17
Quote
Status: offline
suprsidr
Forum User
Full Member
Registered: 12/29/04
Posts: 555
Location:Champaign, Illinois
whatever you named your combobox in memberdetail.thtml
$_POST['combobox_name']
-s
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
$_POST['combobox_name']
-s
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
22
14
Quote
Status: offline
koalasoft
Forum User
Full Member
Registered: 03/09/05
Posts: 242
Location:Mexico
Quote by: suprsidr
whatever you named your combobox in memberdetail.thtml
$_POST['combobox_name']
-s
sorry but I do not understand ..


one example please !! :pray:
Grettings !!

**Cuando el Alumno esta listo, el Maestro Aparece **
::Geeklog support in Spanish::
9
11
Quote
All times are EST. The time is now 08:00 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content