Welcome to Geeklog, Anonymous Thursday, July 10 2025 @ 09:05 am EDT
Geeklog Forums
To add new user in customized group.
Status: offline
Forum User
Full Member
Registered: 03/09/05
Posts: 242
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 !!
Some idea?
Grettings !!

20
18
Quote
Status: offline
Forum User
Full Member
Registered: 12/29/04
Posts: 555
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
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
18
17
Quote
Status: offline
Forum User
Full Member
Registered: 03/09/05
Posts: 242
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 !!
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 !!

19
21
Quote
Status: offline
Forum User
Full Member
Registered: 12/29/04
Posts: 555
whatever you named your combobox in memberdetail.thtml
$_POST['combobox_name']
-s
$_POST['combobox_name']
-s
24
18
Quote
Status: offline
Forum User
Full Member
Registered: 03/09/05
Posts: 242
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 !!

11
13
Quote
All times are EDT. The time is now 09:05 am.
- 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