PDA

View Full Version : Custom registration for unique usergroup


mustang_lex
05-30-2005, 12:47 AM
Yes I'm belting out the requests , :squareeyed:

I need a have a registration for for a custom usergroup I created. The standard one is approved once activated via email, this one will have to be approved by an admin. Has this been done??

Alex

Marco van Herwaarden
05-30-2005, 04:18 AM
Easiest way would be to register them into the normal Registered Users group, then let them join a public joinable usergroup, with a Group Leader assigned.

mustang_lex
05-31-2005, 11:49 PM
OK. I'm new at this and joining to a group seemed great, except anyone could join with out authorizing it as well as I would request a bit more info, then there general membership. Is this possible

Andreas
06-01-2005, 12:05 AM
Place a group leader on that usergroup, the he/she can approve/disapprove applications.

mustang_lex
06-01-2005, 12:09 AM
Is this in Admin CP? I'll try it

Ok tried, not what I need. It only allows the usergroup ID2 to join NOT replace the usergroup to ID9 as I need... :lick:

Marco van Herwaarden
06-01-2005, 06:53 AM
If your settings are correct the user can choose in his UserCP which group he want to show.

mustang_lex
06-01-2005, 11:08 AM
I think the settings are fine, but the fundementals of the Joining the group is different then what I need.

I need a promotional type system in which a member will be upgraded to a custom usergroup upon approval from the admin (another words replacing ID2 (member) to (ID9) custom usergroup I created.

Joining merely makes a member part of a usergroup but still holds a member (ID2) title.

Andreas
06-01-2005, 11:12 AM
As MarcoH64 already said, if it is correctly set up the user can choose which group he wants to appear as.

mustang_lex
06-01-2005, 11:27 AM
OK I tried this again and if this is suppose to work then I missed something

1) Created a Usergroup (Stangette) and made it Joinable

2) Created a new user called StangetteAdmin

Settings were:
Primary Usergroup = Moderator (as I want to give this user mod permissions)
Additional Usergroup = Stangette

3) Went back to Usergroup Manager
4) Assign StangetteAdmin as Group Leader

Logged out

5) Logged in a registered member, -> User CP -> Requested to Join Stangette

6) Logged out, Logged in as StangetteAdmin
7) Approved the request in UserCP

Logged out

8) Logged in as the same registered member.

and got

User Group | User Title | Leave Group

Registered | Users Newbie | (Cannot leave primary group)
Stangette | Stangette | Leave Group

its hard to show, but the member is still Register as its primary and can't be changed. and I need Stangette to be its primary usergroup.
BTW "Newbie" is just the title I set up under "User Title Manager"

What could of I missed?


Oh and quick note. when I was in Usergroup Manager I saw
Groups marked with a * can be selected by their members to override the username markup and user title from their primary usergroup.

I have a feeling this may have something to do with it


UPDATE:::

Still checking things out. could this be the problem
This is under Registered Users setting in Admin CP

Allow Users to have Member Groups
(Sets whether or not permissions from the user's member (secondary) user group memberships are inherited or not)

Checked YES

Andreas
06-01-2005, 11:39 AM
Primary Usergroup = Moderator (as I want to give this user mod permissions)

This is not necessary, users in any group can be moderators.


its hard to show, but the member is still Register as its primary and can't be changed. and I need Stangette to be its primary usergroup.

The primary usergroup will not change, the user will just become a member of the group.


Oh and quick note. when I was in Usergroup Manager I saw
Groups marked with a * can be selected by their members to override the username markup and user title from their primary usergroup.

Exactly. You have to select this, then the user can decide which group he wants to show up as.

mustang_lex
06-01-2005, 11:42 AM
I checked no and still the primary user group has not been changed. :disappointed:

Andreas
06-01-2005, 11:42 AM
As said, the primary usergroup will not change.

mustang_lex
06-01-2005, 11:47 AM
Thank You KirbyDE. It makes sense. This is something not for me. I want to be able to upgrade a member from "Registered User" to "Stangette Custom Usergroup" replace the usergroup, not have 2.

Its almost like if I could change the Promotions to be a request form instead of amount of posts. because "Promotions" I believe actually replaces the user to a different usergroup as I need.

another thing i noticed is

Can override primary group title/markup selected NO

This is located in the same spot where make usergroup joinable.

Does this make a difference

Andreas
06-01-2005, 11:49 AM
May I ask why you want to change the primary usergroup?
As I see no real reason for that ...


Can override primary group title/markup selected NO

As said before, you must set this to YES to allow your members to chose which usergroup they want to be displayed as.

mustang_lex
06-01-2005, 12:08 PM
Maybe if I explain my purpose there may be a totally different way.

My website is a Woman/Mustang Showcase website.

I wanted to have a Community (Vbulletin)
and have a Showcase (Coppermine, WSN which ever I can get working)

The showcase will only be accessible for Stangettes (usergroup ID9) to be able to add photos to their albums and everyone else can only view, rate and comment. But cannot create there own showcase profile.

This BTW i been working on first and having better success.

Then theres the community. I was hoping to have this be the initial entrance, thereby a new person can either register to be a "Registered Member" (activated by email) to view and rate and comment and also have a vbulletin UserCP like normal,

or the person if SHE meets the minimum requirements (1 photo and is in fact a female) can register to be a Stangette (Usergroup ID9) (activated by admin or mod approval)

I been looking at these options

1) 2 seperate registrations
2) joining a group (i which replacing the usergroup ) didn'y work
3) use the registration form from the Gallery (coppermine etc...) but heard it conflicts with vbulletin.

I hope this makes sense. as this is the point of Stangette.com

Andreas
06-01-2005, 12:51 PM
This all does work out of the box.
- Let users register normally
- Set Usergroup registered to be allowed to have membergroups
- Set Usergroup ID 9 to be public and can override title/markup
- Put a Usergroup Leader on Usergroup ID 9 to make sure only females with fotos do join this group
- Set permissions so that only members of usergroup ID 9 can create albums/upload photos
(Dunno if this does work with Coppermine/WSN, but it should - at least it does with vBAdvanced Gallery)

mustang_lex
06-01-2005, 12:58 PM
This is sooooooooooooooo close to working!!!!!! The only problem is that the person who is part of the Group will still have a title as a "Registered member" and it may confuse people in the members list. Plus once they join, i want it so they can't leave. Unless requested, so I can delete there Gallery first.

Andreas
06-01-2005, 01:04 PM
Can't leave is a problem, the Title isn't as they can select which title they want.

To keep them from leaving the group

In profile.php

FIND

if ($_REQUEST['do'] == 'leavegroup')
{


BELOW that ADD

eval(print_standard_error('You cannot leave this group', false));