Link to Mod (http://mods.simplemachines.org/index.php?mod=485)
This mod will let members of your forum pick a membergroup when they register to the forum. The membergroups that they are allowed to register to are configured by the admin in:
Admin / Registration / Settings / Groups that members can register to upon registration
Note: Membergroups with any of the following permissions are not selectable to be allowed by the admin due to security risks:
- Administrate forum and database
- Manage boards and categories
- Manage attachments and avatars
- Manage smileys
- Edit news
- Moderate forum members
- Manage and assign membergroups
- Manage permissions
- Manage ban list
- Send a forum email to members
Although the checking is done when the group is selected from the admin panel, so if the permissions are changed afterwards a group with one of those permisions can still be picked if they are on the list for groups that are selectable on registration, so be careful.
Downloaded... Installed... Tested... Worked..
Works Like A charm..
Thanks akabugeyes...
Now my MultiCommunity can be better organized..
Just a Suggestion to those who use this.. Create a Temp Group for each of the groups. Then you can move them over to the correct group after you allow them into it.. ;D
First of all, great job. It's something I've asked about lately.
Questions:
1) Is the group the User joins a primary or a secondary?
I ask this because I'm using the PayPal mod. If User chooses a publicly available group, how it interacts with how PayPal ties User to a group is important. If it's a secondary or additional group, it's almost perfect.
Almost... :)
2) Can this option be moved to allow User to make their choice on their Profile (Account Related Settings)?
My needs for this option only apply to those who are motivated to set up their Profile.
Question 1 is a bigger issue. Question 2 is just an issue of preference, and I'll likely play around with it and report any findings. All in all a tremendous effort and very helpful.
Number 2 I am already planning to do in the future. :)
As for number 1, it is the primary group, but I can provide a small tweak to make it the post count based group instead.
Thanks for the comments Jim R and SleePy. :)
Post count group based? Is there something that can be done simply to make it a secondary/additional group, like the options the Admin has when looking at a User's profile?
Oops, I'm sorry. I meant to say additional membergroup, not post count based group. :-X
Oh...thank you. :)
Will let us--me--know when you get that done? :P
Have you applied this mod yet? If you haven't I can give you a package that you can install that will work as the member's additional group rather than their primary group. If you have installed this mod already I can give you find and replace instructions to do this.
I've installed it, but either is fine. Whichever is easier for you. I haven't done much with it so uninstalling and reinstalling is no big deal.
I simply need a option for users to request memebershim in some of the user groups. I mean not to add himself to the group but to request group moderator to add him.
USer should be able to request several user groups.
Does ths mod provide such option?
Is there any reason why I can't see this mod in action, although it's been installed sucessfully? (Admin > Registration > Settings)
All I have is:
QuoteMethod of registration employed for new members (?):
Notify administrators when a new member joins:
Send welcome email to new members (?):
Required strength for user passwords (?):
Disable the use of the visual verification on registration:
Age below which to apply registration restrictions (?):
(Set to 0 to disable)
Action to take when a user below minimum age registers (?):
Postal address to which approval forms should be sent (?):
Only applies if age restriction is in place
Fax number to which approval forms should be faxed (?):
Only applies if age restriction is in place
Contact number for parents to contact with age restriction queries (?):
Only applies if age restriction is in place
Nothing about membergroups though
eckostylez, are you using a theme other than default? If so, does it use its own Register.template.php? If so you will need to apply the code for the register template for your theme manually.
I'm only using the default themes given and the babylon one that comes with SMF 1.1 RC3
Did you get a failure notice next to that file when you installed it?
Nope it was completely successful. Should I uninstall and reinstall?
Bugeyes,
If I may bother you a second, did you have the changes to make these Membergroup registrations secondary/additional groups instead of primary groups?
Thanks.
Well, now when I try to uninstall it, I get the Modification Parse error. It seems to be happening with any type of mod I try to install.
Any suggestions?
eckostylez, I'm not sure why it won't uninstall properly. If you would like, I can apply the changes needed for the setting to be there for you. You would just need to send me your Themes/default/Registration.template.php file to my email address at
[email protected]Quote from: Jim R on October 02, 2006, 09:19:30 PM
Bugeyes,
If I may bother you a second, did you have the changes to make these Membergroup registrations secondary/additional groups instead of primary groups?
Thanks.
Nope, sorry not yet. I plan to introduce the option for it to be secondary or primary in an updated version of the mod in the near future.
Version 1.1 released.
+ Added option for admins to decide if the group members register to is their primary or secondary group. (Register.php, ManageRegistration.php, Register.template.php, Modifications.english.php)
If you are using the original release of the mod, just uninstall it and apply this version.
I got this error after install:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/####/public_html/smf/Sources/Register.php on line 318
And installing I got:
1. Execute Modification ./Sources/ManageRegistration.php Test successful
2. Execute Modification ./Sources/Subs-Members.php Test successful
3. Execute Modification ./Sources/Register.php Test successful
4. Execute Modification ./Themes/default/Register.template.php Test failed
5. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
Quote from: Jim R on October 09, 2006, 02:57:29 PM
I got this error after install:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/####/public_html/smf/Sources/Register.php on line 318
I think I have this error fixed. On a fresh install this wouldn't necessarily cause problems but if you have other mods that edit Register.php, it could. Please try downloading the updated "Group on Registration-1.1.tar.gz" package again.
Quote from: Jim R on October 09, 2006, 03:02:25 PM
And installing I got:
1. Execute Modification ./Sources/ManageRegistration.php Test successful
2. Execute Modification ./Sources/Subs-Members.php Test successful
3. Execute Modification ./Sources/Register.php Test successful
4. Execute Modification ./Themes/default/Register.template.php Test failed
5. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
Hmmm, not sure why it is failing. Do you have any other mods installed that edit Register.template.php? If not, I would recommend uploading a fresh copy of Register.template to Themes/default/ and trying the install again.
I got rid of the parse error, but the install error is still there. There doesn't appear to be a way to control if users can choose a primary or secondary group.
Also, upon registering, the option to choose a group shows up twice.
As I uninstall it, it's not wiping out the Admin option to pick which group to make available upon registration.
It sounds like when you uninstalled the mod there was a failure with the Register.template.php file (or you somehow installed the new version without uninstalling the original one). I would advise uninstalling the mod, reuploading a fresh Register.template.php file (as long as you have no other mods that edit it) and reinstall the mod.
The option to pick Primary / Secondary group can be found in Admin / Registration / Settings. Because it looks like your Register.template.php file failed to install, it isn't showing up.
Yep...I had gotten that far. It didn't uninstall properly, so I reinstalled 1.0, uninstalled again, and it went through. Then I installed 1.1 again, and now I get all the options at my disposal as they should. The problem I still have is when a User registers, it asks User to join a group twice.
What would I look for to make sure code isn't being duplicated?
In Register.template.php:
You should see this code twice:
if(!isset($context['no_avail_groups']))
{
echo '
<tr>
<td width="40%">
<b>', $txt['pick_group'], '</b>
</td>
<td>
<select name="', $context['is_primary_group'] ? 'ID_GROUP' : 'ID_ADDITIONAL','" tabindex="', $context['tabindex']++, '">';
foreach($context['membergroups'] as $id => $name)
{
echo '
<option value="', $id, '">', $name,'</option>';
}
echo ' </select>
</td>
</tr>';
}
Remove one occurrence of it and leave the other one there.
Very nice...thank you very much.
And now for you next trick... 8)
Earlier above you responded to one my questions saying you were working on that: The question is will there be a way to make it so this option is placed JUST on the users profile?
What is there is great and gets what is needed. I have the Paid Subscriptions mod in place, which is not active yet for regular users (November).
As it stands, anyone who registers can choose a secondary group. That's OK, but I'd rather make it so only those who Subscribe can do it by making that change in their Profile / Account Settings. These Subscribers will able to have access to their Profile, where those just registered can't. Subscribers will also have access to additional fields, filling them out for College Coaches ONLY to see.
Follow?
In other words, I asked earlier if this would ever be an option where secondary groups are chosen within the profile. You said you were getting to it. Are you still working on that?
This is great so far. I'm very pleased...getting close to nirvana.
Thanks for your time.
How can i make selection of member group during registration a mandatory, Otherwise during registration if user doesn't select membergroup ,he placed automatically to newbie.
Quote from: Jim R on October 01, 2006, 04:17:08 PM
Questions:
2) Can this option be moved to allow User to make their choice on their Profile (Account Related Settings)?
Quote from: akabugeyes on October 01, 2006, 04:41:38 PM
Number 2 I am already planning to do in the future. :)
First I'd like to address the above by saying not a bad idea but I personally wouldnt like this because my membergroups are game faction based and I dont want em switchin in their profile... maybe if you do do this you could host the version as is now without and one with the mod... for those that want to choose... or maybe add a new permission that admins can set that will allow or disallow the switchin of groups in the users profile... that would least solve the problem of not wanting to host two versions hehe...
---------------------
Anyway to get to my point of why I came here... how can I set it so that when a user doesnt select a group they are unable to complete the registration process... I tested this by registerin to my own forum and I didnt select a group and I was still able to register... hope this makes sense... but basically I dont want people to be able to register on my forum if they dont select a group... think you could also make that an option in your next update... so admins can set to either allow or disalow a person to complete the registration process without selectin a group...
---------------------
So maybe if your willing when you do your next update you could add options that allows an admin to set either of the following permissions...
1. User can change membergroups from profile Y / N
2. User can complete registration without selecting a membergroup Y / N
Sorry for the bump but no ones replied for 5 days heh...
MoreBloodWine, I plan to include an option in an updated version of the mod, but in the meantime if you don't want to allow members to register and picking "no special membergroup" you can find in Sources/Register.php:
$context['page_title'] = $txt[97];
And add after:
// Assuming this is running an old version of the mod.
if (!isset($modSettings['groups_allowed_change']) && isset($context['membergroups'][0]))
{
unset($context['membergroups'][0]);
}
I did the code like that so when it comes time to upgrade the mod, you will be able to uninstall it still even after those changes were made. ;)
That works but it automatically defaults to the first group... how do you rather how would I set it so it defaults to nothing making u actually open the menu to see the available options... kinda like the country flag mod... on the reg page the field is blank till u click the dox for the drop down menu... hope this makes sense... also when it comes time to uninstall and install a new version i wont be able to use package manager anyway bec i already have made some changed to a few files to reword some things hehe...
Edit : If you click this http://www.choice-online-gaming.com/index.php?action=register you'll see what I mean about the country flag being defaulted to "nothing"...
Edit : Basically what I'm after is that the membergroup menu be defaulted to "nothing - black bar" so you actually have to click the drop down menu to see the avail groups... and if you dont choose a group and try to continue registration you get a message saying something like " Sorry but you cannot proceed with the registration process until you have selected a membergroup..." except in my case the word "membergroup..." would be replaced with "player faction..."
In that case change the code I posted before:
// Assuming this is running an old version of the mod.
if (!isset($modSettings['groups_allowed_change']) && isset($context['membergroups'][0]))
{
unset($context['membergroups'][0]);
}
To this:
$context['membergroups'][0] = '';
And then in the same file (Register.php), find:
// Are they under age, and under age users are banned?
if (!empty($modSettings['coppaAge']) && empty($modSettings['coppaType']) && !isset($_POST['skip_coppa']))
{
// !!! This should be put in Errors, imho.
loadLanguage('Login');
fatal_lang_error('under_age_registration_prohibited', false, array($modSettings['coppaAge']));
}
Add after:
if(empty($_POST['ID_GROUP']) && empty($_POST['ID_ADDITIONAL']))
fatal_error('Sorry but you cannot proceed with the registration process until you have selected a player faction');
Let me know if that does exactly what you want.
Parse error: syntax error, unexpected ':' in /home/choiceo2/public_html/Sources/Register.php on line 272
Thats what I get after usng the "new changes" changing this...
// Assuming this is running an old version of the mod.
if (!isset($modSettings['groups_allowed_change']) && isset($context['membergroups'][0]))
{
unset($context['membergroups'][0]);
}
To this...
$context['membergroups'][0] = '';
Then adding those other two lines after the ones u posted...
Hmmm, not sure why that would cause a parse error, I don't see anything obviously wrong with it. Can you post line 272 of your Register.php file?
Quote from: akabugeyes on October 29, 2006, 01:27:13 PM
Hmmm, not sure why that would cause a parse error, I don't see anything obviously wrong with it. Can you post line 272 of your Register.php file?
I have to re-apply the changes to get the same error so ya hold on... ill edit this in a min with the line...
Edit : This is line 272...
$language_directories =: array_unique($language_directories);
Fixed it on my own I just deleted the : from that line and all works as expected... thx aka...
Edit : I was checking something and its nice to know that if I ever wana install a new version of this using the package manager all I need to do is unmod my register.template.php file... hehe. So I wont have to undo - redo any of the crap I just did lol... so long as I continue to use this mod and any future versions , lol... which I def will... but with new mods might bring new permissions which means i prolly would have to undo some of this which would be more headaches hehe... I might just stick with this ver since it does what I need it to do...
Hey aka,
is it possible to make the field compulsory during the registration?
Because if not filled the standart usergroup will be selected when registering and I want the special Newbie group to be selected.
J!ass
i know it doesnt pertyain as much to this mod.. but since we were on the topic of addin secondary membergroups.. is there a way to set it so that it will display both membergroup images?
i have some ranks set up and each rank has a lead, and would like ppl to see which rank they are in, as well as if they are also in a lead position.?
thanks for any info.
good mod :D im gona try it out once I get a few new member groups set up
thanks
Would love an upgrade of this mod for 1.1 Final whenever possible please!
Quote from: Ajen on December 08, 2006, 08:30:49 PM
Would love an upgrade of this mod for 1.1 Final whenever possible please!
It is compatible on clean install of SMF 1.1 Final. If you have tried to apply it, are you getting errors? Could be because of another mod editing something it is searching for.
Quote from: captain236 on November 05, 2006, 02:18:28 PM
i know it doesnt pertyain as much to this mod.. but since we were on the topic of addin secondary membergroups.. is there a way to set it so that it will display both membergroup images?
i have some ranks set up and each rank has a lead, and would like ppl to see which rank they are in, as well as if they are also in a lead position.?
thanks for any info.
There is this mod that will show multiple group names - http://mods.simplemachines.org/index.php?mod=124. However it is not compatible with SMF 1.1. You might want to post this request in the Mod Requests board.
Quote from: J!ass on November 02, 2006, 07:37:06 AM
Hey aka,
is it possible to make the field compulsory during the registration?
Because if not filled the standart usergroup will be selected when registering and I want the special Newbie group to be selected.
J!ass
Sorry for the late reply. I plan to update this mod soon with such an option.
I'm getting an error at this point:
4. Execute Modification ./Themes/default/Register.template.php Test failed
ETA~~ It was not getting along well with the Gender on Registration mod installed. Seems to work fine if this mod is applied first and Gender second. Who knows why, but whatever.
which one should I install
Group on Registration-1.1.tar.gz (4KB) ?
I am using 1.1 final the latest smf
Quote from: emaildrop on December 16, 2006, 04:29:30 AM
which one should I install
Group on Registration-1.1.tar.gz (4KB) ?
I am using 1.1 final the latest smf
Yes, that is the latest version and it works for SMF 1.1 final.
thanks I already installed
Off the topic ( now that you people are specilized in user groups_ :
any body can answer this please
http://www.simplemachines.org/community/index.php?topic=135006.msg859880#msg859880
Quote from: Jim R on October 01, 2006, 04:17:08 PM
2) Can this option be moved to allow User to make their choice on their Profile (Account Related Settings)?
Any recent news about this?
Cool, thanks for his mod 8)
Quote from: Sakuragi on January 05, 2007, 04:09:01 PM
Quote from: Jim R on October 01, 2006, 04:17:08 PM
2) Can this option be moved to allow User to make their choice on their Profile (Account Related Settings)?
Any recent news about this?
This is a feature I have been planning for awhile but just haven't done yet. Hopefully by this weekend I can release an update to allow this (although it may be in the form of a another mod because it is a lot of extra code when some may not want the feature and would require this mod to be renamed otherwise).
I personally dont see this feature as being useful imo bec once I have groups set I dont need my users changing groups and getting into forum sections they dont need to... but the overall idea is nice I personally wouldnt use it... now if a feature for the admin panel can be set to allow the forum admin to either allow or disallow members to change groupss via the profile than that could be useful for forum admins that wana let their users change group via their profile.
allow members to change Additional Membergroups only, not the Primary Membergroup would be nice
Okay which file do I install?
Can I change the text, "Pick your membergroup" to something else?
Quote from: davidkirk on January 22, 2007, 07:46:38 PM
Okay which file do I install?
Can I change the text, "Pick your membergroup" to something else?
The one you should download is - "Group on Registration-1.1.tar.gz."
Yes. Just edit the text string that mod adds to Themes/default/languages/Modifications.english.php -
$txt['pick_group'] = 'Pick your membergroup';
Quote from: Sakuragi on January 14, 2007, 06:45:22 AM
allow members to change Additional Membergroups only, not the Primary Membergroup would be nice
This feature was what was added in version 1.1 of the mod.
Quote+ Added option for admins to decide if the group members register to is their primary or secondary group. (Register.php, ManageRegistration.php, Register.template.php, Modifications.english.php)
Quote from: J!ass on November 02, 2006, 07:37:06 AM
Hey aka,
is it possible to make the field compulsory during the registration?
Because if not filled the standart usergroup will be selected when registering and I want the special Newbie group to be selected.
J!ass
Will this feature be added soon?
I am using the Dutch language in SMF 1.1.2.. This mod does not support it.
Where can I find the phrase: 'Pick your membergroup', so I can translate it myself? When I use the SMF forum in Dutch, the place of this sentece is left blank.
When I use it in English, I can now give the registering user a compulsery choice of membergroup. This works ok, however when I switch to Dutch, there is a blank line in the dropdown menu. So people can still register without choosing a compulsary group...
1 How can I place a Dutch sentence at the 'pick your membergroup' place?
2 How can I delete the blank line in the dropdown menu
Hoi Me'123,
I translated it to Dutch and it works just fine,I'll contact you later as I'm heading out for work in a minute, I just needed to put one question here first ;)
???
Hi everyone who may be able to help...
This Mod worked fine and in fact, it still does but, I noticed today that (maybe it has always been like that but I assume it didn't) when someone registers, they can pick the group I selected for them to pick (in settings registration section) but, when someone forgets and later goes to their profile... they can pick ALL options available, even forum admin etc.
Why does that happen there and not at registration?
I'm almost convinced that it never has been like that, I do recall changing something in a php file, but it doesn't come up now, what it was I changed... I think the password section so the login.dutch.php I guess.
They shouldn't be able to pick ANY option in their profile change, how to check that part and reset it to just those I alow them to change to ?
Thank you
Hello Darcy,
I am glad you will provide me with an answer. I really do need this feature...
Looking forward for your answer. I am not a PHP programmer, but I can change php files, if I know where to put the code.....
Hopefully you give the answer soon... :)
Ok Me, here (http://www.kimopo.com/downloads/pick-group-nl.txt) is the file that you may be looking for... It's not the php file itself, but the text that goes in the php file Modifications.Dutch.php or such as well as in the Modifications.Dutch-utf8.php (or was it ModSettings ? well, one of those ;) but both in the Dutch and Dutch-utf8 )
I posted it here before... So here (http://www.simplemachines.org/community/index.php?topic=66926.msg814479#msg814479) you can read and find more Dutch translations (In the Dutch part of this forum) ;) Some may be outdated tho ::) but so far, they all work for me... :)
Edited: PostFrequency and Visual warning don't work in my 1.1.2 version anymore, and actually, I never took the time anymore to check more out on those two; I just might again, on some rainy day ;)
Hi, there!
Great mod!
And i have two questions! :)
1. I'm not using english as default language. And at the registration page where it asks you what membergroup you want to be in, the text on the left doesn't show. Only the drop-down menu with groups list. So, is there a way to show this text on the left? Just show me in what file and lines I should change things and i'll do it.
2. And the most important thing is that I want already registered members to be allowed to change their membergroups in profile page at any time :) The current mod does'nt allow that, and if they miss to choose it at the registration page, the option is not available anymore.
Of course i'll set which groups are permited to change their group in profile window at the registration/settings page, so there shouldn't be any security issues:)
Thanks in advance:)
Quote from: Indy74 on March 09, 2007, 12:28:28 PM
1. I'm not using english as default language. And at the registration page where it asks you what membergroup you want to be in, the text on the left doesn't show. Only the drop-down menu with groups list. So, is there a way to show this text on the left? Just show me in what file and lines I should change things and i'll do it.
Me neither, I use Dutch and discovered that the text on the left only will show as soon as you copied that part from the English php file to your language php file and translate it there and upload it again.
That does the trick ! ;)
However, I keep getting an empty line in my permissions that has a check option but no line on the left side... so I changed my language to English and than it doesn't show either...
I really don't know what should be shown there... ???
I made a snapshot of it and will post it soon somewhere for you who may be knows what should be there
Quote from: Indy74 on March 09, 2007, 12:28:28 PM
2. And the most important thing is that I want already registered members to be allowed to change their membergroups in profile page at any time :) The current mod does'nt allow that, and if they miss to choose it at the registration page, the option is not available anymore.
Of course i'll set which groups are permited to change their group in profile window at the registration/settings page, so there shouldn't be any security issues:)
This goes for me too... somehow, I can change all profiles but a member can't, and I did check the permissions part and that says they should be able to change their profile, but I guess the group part isn't included there to be changed later
So anyone has the answer ? Besides having them ask me to change it for them :-\
QuoteMe neither, I use Dutch and discovered that the text on the left only will show as soon as you copied that part from the English php file to your language php file and translate it there and upload it again.
That does the trick ! ;)
Yeah, but in which file and which line? :) There are few files with "Register" in their names, but nothing inside seemed to me to be what i'm looking for. :-\
Well, it's not in any register.php file but it's the php.file in your theme/default/languages folder called
Modifications.language.php (where language stands for your language set if other than English)
Here, of course I assume that you installed the Mod itself first.
Than you look in the php file for such as:
Quote
//Pick your membergroup
$txt['pick_group'] = 'Kies de groep waar u in thuis hoort';
$txt['allowed_groups_reg'] = 'Groepen waarin leden zich kunnen aanmelden tijdens de registratie';
$txt['allowed_groups_reg_not_all'] = 'Groepen met forum management permissies zijn om veiligheidsredenen niet te kiezen';
$txt['allowed_groups_reg_no_groups'] = 'Elke ledengroep heeft minimaal een permissie die forum management bevat dus er is momenteel geen groep waar u zich in kunt registreren';
$txt['allowed_groups_reg_default'] = '--Geen speciale groep--';
$txt['allowed_groups_reg_default_help'] = 'Dit stelt u in staat om groepen aan te bieden waarin leden zich kunnen registreren. Houdt Alt + S ingedrukt om er meerdere te selecteren. Groepen met de volgende permissies zijn niet kiesbaar en zullen daarom niet getoond worden in de lijst: <i>Administrate forum and database</i>, <i>Manage boards and categories</i>, <i>Manage attachments and avatars</i>, <i>Manage smileys</i>, <i>Edit news</i>, <i>Moderate forum members</i>, <i>Manage and assign membergroups</i>, <i>Manage permissions</i>, <i>Manage ban list</i>, and <i>Send a forum email to members</i>.';
$txt['allowed_groups_type'] = 'Stel de groep in als hoofdgroep of tweede groep';
$txt['allowed_groups_type_help'] = 'Indien u Hoofdgroep kiest, zal dit de hoofdgroep worden van het lid dat zich registreerd. Indien u tweede groep kiest, zal dit de tweede groep worden van het lid dat zich registreerd.';
$txt['allowed_groups_primary'] = 'Hoofdgroep';
$txt['allowed_groups_secondary'] = 'Tweede groep';
This is my Dutch version copied and shown here ;)
If it's not there (yet) you open the English version of that php file and look for it, copy and paste it into your language php file (no matter where as long as it starts with the // part )
Here's what I do when I'm not sure about changes:
I create a map on my HD called for instance, check-files_date-march10 and there I create a map called "keep off-origninals" and one called "after-change"
I download the files from my language map to "keep off" and "after-change"
In the "after-change" map, I check the files, looking for anything that contain words as (in this case) membergroup and read all about it, than (
only) change it in the php file in the "after-change" map and upload it back to the language map
Check the forum and if that didn't work, upload the php from "keep-off" again to the language map and start over looking in my "after-change" map
I know, it may take a while this way but (for me) it's the safest way to make riskless changes and learn about php files etc along the way ;)
Wow, i made it!
Thank you very much!
I translated every line that was supposed to be translated.:) And my modification.language.php file was empty before that, lol.
Now let's hope that the developer will modify the mod to allow changing groups by members at any time. Now it's kind of annoyng - every time they want to change their name color - thay have to PM me to change it for them.:)
Once again, thanks, you helped a lot!
Darcy, thanks for translating the mod into Dutch. :)
Quote from: Indy74 on March 10, 2007, 07:06:03 AM
Now let's hope that the developer will modify the mod to allow changing groups by members at any time. Now it's kind of annoyng - every time they want to change their name color - thay have to PM me to change it for them.:)
I hope to write up a mod that will make it so members can change their group to groups allowed by the admin. In fact, joinable groups are a feature of SMF Development Edition. If I get permission I may be able to backport it to SMF 1.1. ;)
Does anyone know if this works for 1.1.2 or is an update on the way?
Quote from: overnight on March 15, 2007, 11:57:31 AM
Does anyone know if this works for 1.1.2 or is an update on the way?
It DOES work with 1.1.2. It was conflicting with another mod (choose gender on registration). I removed the other mod...installed this one then put the other mod back... POW. It works great...come see: http://74.52.238.226/~overnigh
Hi,
is it possible to change the code of this mod so all users can choose a membergroup *after* the registration in their profile? :)
Version 1.1.1 of this mod has been released. Please update to this version of the mod ASAP because a potential security threat exists in the previous versions of this mod that can lead to a new member joining any non-administrator group. A sincere thanks goes to Rudolf (http://www.simplemachines.org/community/index.php?action=profile;u=24750) for reporting this issue to me.
Excellent mod!
Two requests please from me.
1) Allow multiple group selections i.e. Music, Computers, Cinema etc
2) Profile Settings to allow changing across groups (I know you are already planning this as an additional mod).
Other than that thumbs up good work!
I think you should make Global Moderators un-selectable too. They don't have any of the management permissions, but by default they have the permissions to manage all the boards and posts. This is pretty powerful, and should not be allowed as default group. I don't think there's a sane person who would want it to be as default.
I am using the default theme and English but none of the text labels are showing up for me (e.g. the registration page has the drop-down membergroup selector but no descriptive text in front of it). I have verified that the "Modifications.english.php" is present and seems to contain the appropriate strings. Any ideas?
Quote from: Rudolf on June 11, 2007, 02:45:50 PM
I think you should make Global Moderators un-selectable too. They don't have any of the management permissions, but by default they have the permissions to manage all the boards and posts. This is pretty powerful, and should not be allowed as default group. I don't think there's a sane person who would want it to be as default.
Maybe add to the exclude permissions, delete all posts and moderate board? That will take care of gmods as well as other powerful permission groups that may not necessarily have forum management permissions but can moderate.
QuoteI am using the default theme and English but none of the text labels are showing up for me (e.g. the registration page has the drop-down membergroup selector but no descriptive text in front of it). I have verified that the "Modifications.english.php" is present and seems to contain the appropriate strings. Any ideas?
Are you using English UTF-8 perhaps? Are you using a custom theme that contains its own Modifications.english.php file? If so, you would want to add the strings to any additional Modifications.<language>.php files you may have.
Quote from: akabugeyes on June 15, 2007, 01:23:56 PM
Are you using English UTF-8 perhaps?
Apparently so, but I'm not sure why. I copied Modifications.english.php to Modifications.english-utf8.php and the strings show up now. Thanks.
Been awhile since this has been updated. I am looking for an option for a user to select as many groups as they wish on registering. I know that sounds odd, but it is for a camp reunion website, and many people attended the camp multiple years. I am hoping at some point the user list might be searchable by the years people attended. Is it possible to select multiple groups?
I also do not seem to actually have the option to select the group on registering. I have it in my admin settings and I can see all the groups, but nothing on the user registration screen.
Multiple groups... that sounds like a feature I could do. :) Shouldn't be much changing really, basically I imagine I would just need to change the <select> code to include multiple="multiple" and add support for it to accept an array of values and do some extra processing with adding additional groups. (Although I will need to decide how to handle which group would be the primary group).
As for:
QuoteI also do not seem to actually have the option to select the group on registering. I have it in my admin settings and I can see all the groups, but nothing on the user registration screen.
Are you viewing a theme other than the SMF default theme? If so, does the theme have its own Register.template.php file? If so try viewing the default theme when registering to see if it shows up then. (http://www.yourwebsiteaddress.com/forums/index.php?action=register;theme=1). If a custom theme has its own Register.template.php file you will need to manually add the mod code to it.
Thanks for the response! I would be very excited for a multiple group selection option. Is it possible to just abandon primary/secondary groups? Can there just be "group(s)". I don't know much of anything about coding - so please don't laugh at the suggestion. :P
As for my other issue, I am using the default theme, but while I made this modification and I don't believe I got any errors, I do not have a selection box for the groups on the registration page. I have the options in my admin panel, but not on the register page.
Here is a link to the picture (http://www.trijays.com/jed/nogroupselection.jpg) of my browser, complete with that address in it. Can you tell me what code I should be looking for and where it should go? Also, I have tried opening this same page in IE and the box is still not there.
Hi, I've installed this mod, and it was installed succesfully. But when I'm trying to register, there's not a field to choose a membergroup. But I did add membergroups in my adminpnel. Any suggestion?
QuoteCan there just be "group(s)". I don't know much of anything about coding - so please don't laugh at the suggestion. :P
So you mean have it make all groups additional? I know some people would still want to make it so that the user can pick which of the groups would be primary, but I will think about this.
QuoteI have the options in my admin panel, but not on the register page.
And I assume you selected at least one group members can pick? Nothing will show if you currently have no groups selected to be allowed for members to use.
QuoteHi, I've installed this mod, and it was installed succesfully. But when I'm trying to register, there's not a field to choose a membergroup. But I did add membergroups in my adminpnel. Any suggestion?
When you say you added groups, are you referring to the Admin / Registeration / Settings / Groups that members can register to upon registration? As I said to jfirestone above, you need to make sure at least one group is selected (although you would probably want more than one or you would better off with default membergroup mod that selects the membergroup all members will be registered to without giving the members a choice. ;)) Also, if you are not using the SMF default theme, try viewing http://www.yoursite.com/forums/index.php?action=register;theme=1 to see if it shows in the default theme (which is the theme the mod installs to).
akabugeyes thank you, you solved my problem =)
Quote from: akabugeyes on August 08, 2007, 09:27:57 PM
And I assume you selected at least one group members can pick? Nothing will show if you currently have no groups selected to be allowed for members to use.
I didn't! I didn't realize that I actually had to highlight the groups in my control panel to make sure they show for registration. That solved one issue - now I just hope you can make an option for people to select multiple groups :)
RE: the primary group issue. I guess in my case a primary group doesn't mean anything, although in most people's cases it probably would. It's just that on my board, I want people to be able to in groups by the years they attended - so all years are primary, secondary or additional :)
Thanks for the help so far!
For some reason the selection box is not showing up during registration (for me). I use a custom theme but it pulls the register.template.php file from default. I tried the default theme and still no selection box.
I can see all of the other information in the registration section but no selection box upon registration. I am attaching my reg.temp - if you would be so kind as to look at it. Thanks
Are any groups selected to be allowed for members to join in Admin / Settings / Groups that members can register to upon registration?
The template you attached appears to have the needed edits in it.
Quote from: akabugeyes on September 09, 2007, 08:40:15 PM
Are any groups selected to be allowed for members to join in Admin / Settings / Groups that members can register to upon registration?
The template you attached appears to have the needed edits in it.
I hate to be dense here and I know a "Doh!" moment is approaching but where would I find this Admin/Settings/Groups? Are you in the membergroup area? I just don't see it. sorry :(
Oops sorry, I meant to say Admin / Registration / Settings.
Quote from: akabugeyes on September 09, 2007, 09:10:22 PM
Oops sorry, I meant to say Admin / Registration / Settings.
I can see that there are membergroups that "can" be selected. Is there supposed to be a "toggle-switch" to activate them? There is none.
It won't let you click on them in the selection box? Holding down the Ctrl key while selecting them should allow you to select more than one.
See this image: http://custom.simplemachines.org/mods/index.php?action=download;mod=485;id=19436;image
Quote from: akabugeyes on September 09, 2007, 09:22:33 PM
It won't let you click on them in the selection box? Holding down the Ctrl key while selecting them should allow you to select more than one.
See this image: http://custom.simplemachines.org/mods/index.php?action=download;mod=485;id=19436;image
You are dead on - sorry, I didn't get the "highlighting them selects them thing" so sorry - it now works - THANK YOU!
Just curious if you had any time to work on that multiple group selection I had asked about? My forum is adding members very slowly, so I am not in dire need - I was just curious :)
Probably something simple, but no groups at all show up in the choice list in the setting area. It says "Groups that members can register to upon registration (?):" and gives me an empty box. Any suggestions? :)
I want users to be able to select the groups I decide they can select (the same in the registration field) from profile.
Will this feature will ever be available?
Can't I just copy the code from register.php and register.template.php to profile.php and profile.template.php? :-o
Quote from: judithshakes on September 27, 2007, 01:10:02 PM
Probably something simple, but no groups at all show up in the choice list in the setting area. It says "Groups that members can register to upon registration (?):" and gives me an empty box. Any suggestions? :)
That's odd. Do you have groups that don't have any admin permissions? I assume you do. Any errors in Admin / Forum Error Log?
@shumilica, I do want to write a mod that allows this at some point. I am afraid it would probably require some more work than just copying code from the Membergroup On Registration mod.
Quote from: akabugeyes on October 01, 2007, 05:16:49 PM
That's odd. Do you have groups that don't have any admin permissions? I assume you do. Any errors in Admin / Forum Error Log?
I'm sorry, my fault actually. It seems that I'm having problems with the package manager installing packages correctly since the move to a new server. The mod seemed to be installed correctly because of the manual edits I did to the theme... Going to fix the problem and try again! I'll let you know if I have any issues this time. Thanks!
I have a request. How about after selecting the group, the admin has to approve it. This way member dont group-hop.
Ok. I will just... wait.
I want this so much because I run a faculty forum and I want to be able to send custom news mail to specific years and groups. I made custom fields so that when someone posts we know what year and in what class. Do you think that any other mod can do this? :-o
Thanks in advance for the mod you will make
Quote from: akabugeyes on October 01, 2007, 05:16:49 PM
@shumilica, I do want to write a mod that allows this at some point. I am afraid it would probably require some more work than just copying code from the Membergroup On Registration mod.
Hello, I would really love to use this mod, but when I try to install it it says its not compatible with my version of forum...
I have clean installation 1.1.4, only mod I use is Redirection Boards, but I don't think it have somwthing to do with it...
Do you plan some update soon? thanks :)
That's odd. My mod does not restrict installing for only certain versions of SMF like other mods do. So it should install for any version of SMF.
I assume you are using the "Group on Registration-1.1.1.tar.gz" package found on the mod site?
shumilica -
set the groups on registration as non-post based, and as secondary groups in each location that applies as you create them. Then the groups can be either not included in the groups on registration (admin has to add them to user profiles) or the user has to add them from within their profile (add extra groups - text link under primary group setting)
koopa -
if I remember right, there is a setting in permissions by group that stops them changing member group - might be wrong though.
akabugeyes -
when groups are set as secondary groups (or additional groups according to the link in a user's profile) and they are not post-count groups, how do you get the "star" to appear in their post-side mini-profile?
Here's what I've done -
I've set up (as a start) six non-post-count groups and for each, I've given then a unique icon by replacing the name of the star.gif in the group setup (the icons show happily there so it's not a path or syntax problem.
Permissions for the groups are based on the lowest post-count group, and board access is across the boards (while testing)
In theory, the member group icon should show immediately above or below the stars for the relevant post-count group they're in, but it doesn't, and when I go into themes/default/Display.Template.php there is no code to include any non-postcount icon except the primary group (e.g. Administrator) therefore the mod appears incomplete as it has not inserted code for secondary group icons.
What's going wrong here?
Gaz
I read thru the posts here and understand that you are working on, essentially, adding this same function to the Profile. I was wondering if there is any update to be had on that?
What I'm looking for, specifically, is to be able to use one of the fields that I set up using Custom Fields Mod to determine what group a member is placed in. If they check a certain box, they get placed in one group - if it's unchecked, they go in another.
I'm fairly comfortable with modifying things to meet my exact needs, so just having the backend code to allow them to make the membergroup switch would probably be enough for my purposes and then I could run with that.
Thanks in advance!
Aiyo... been waiting for this mods. I need to used it for School Alumni / student, teachers & staff
anyone can help me out to make the changes for my register.template.php? help! help!
1. Execute Modification ./Sources/ManageRegistration.php Test successful
2. Execute Modification ./Sources/Subs-Members.php Test successful
3. Execute Modification ./Sources/Register.php Test successful
4. Execute Modification ./Themes/default/Register.template.php Test failed
5. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
Thnx.
Ops forgot.
i am using SMF1.1.4
Your error is a variant on the most common error of all those reported on these pages (please use the search function prior to posting)...it tells you that another mod you have installed has already edited the file in question and that you thus need to do a manual installation of this mod. Please read:
http://docs.simplemachines.org/index.php?topic=402.msg531#msg531 (http://docs.simplemachines.org/index.php?topic=402.msg531#msg531)
http://www.simplemachines.org/community/index.php?topic=34526.0 (http://www.simplemachines.org/community/index.php?topic=34526.0)
The following may also prove helpful:
http://modparser.dev.dansoftaustralia.net/ (http://modparser.dev.dansoftaustralia.net/)
Mirror of the last link:
http://www.smfhacks.com/smf-package-parser.html (http://www.smfhacks.com/smf-package-parser.html)
oOo ok. thx mate.
aha... will try this step.
Quote from: JustJen on December 09, 2006, 11:51:59 AM
I'm getting an error at this point:
4. Execute Modification ./Themes/default/Register.template.php Test failed
ETA~~ It was not getting along well with the Gender on Registration mod installed. Seems to work fine if this mod is applied first and Gender second. Who knows why, but whatever.
aha... will try this step.
hmmm I already have this installed on another forum but today when I tried to install it on my test forum there is a weird problem
It installed ok with no fails but now at the top of my site there is this:
Quote
$txt['pick_group'] = 'Pick your membergroup'; $txt['allowed_groups_reg'] = 'Groups that members can register to upon registration'; $txt['allowed_groups_reg_not_all'] = 'Groups with forum management permissions are not selectable for security reasons'; $txt['allowed_groups_reg_no_groups'] = 'Every membergroup has at least one permission that involves forum management so there are currently no groups you can select to allow your members to register to.'; $txt['allowed_groups_reg_default'] = '--No special membergroup--'; $txt['allowed_groups_reg_default_help'] = 'This allows you to select the groups that you would like members to be able to select during registration. Just hold down Alt + S to select multiple groups. Groups with the following permissions allowed are not selectable and do not appear on the list: Administrate forum and database, Manage boards and categories, Manage attachments and avatars, Manage smileys, Edit news, Moderate forum members, Manage and assign membergroups, Manage permissions, Manage ban list, and Send a forum email to members.'; $txt['allowed_groups_type'] = 'Set group as primary group or secondary group'; $txt['allowed_groups_type_help'] = 'If you pick primary group, the member\'s primary group upon registration will be the one they selected. If secondary group is selected, the member\'s group they selected will be their secondary group.'; $txt['allowed_groups_primary'] = 'Primary Group'; $txt['allowed_groups_secondary'] = 'Secondary Group';
and it won't go away. Any ideas?
Hello
This is a great mod, but, how do i make the "Select membergroup" mandatory? Has users can select "no memebergroup" and them they will be has newbies...how to make the mg select mandatory? I mean users MUST select one mode on registering.
Thanks
bump,,,still wheres the mod creator?
This is a great mod, but, how do i make the "Select membergroup" mandatory? Has users can select "no memebergroup" and them they will be has newbies...how to make the mg select mandatory? I mean users MUST select one mode on registering.
Thanks
perplexed, I believe if you move the line in Themes/default/languages/Modifications.english.php:
?>
To the very end of the file, that would take care of your problem.
M_rTable, sorry for the long time to respond.
Open Sources/Register.php:
Find:
$context['membergroups'][0] = $txt['allowed_groups_reg_default'];
And remove it or comment it out.
Next find:
// Seriously is the ungrouped/regular membergroup the only group they can register to?
if(count($context['membergroups']) == 1)
$context['no_avail_groups'] = true;
And change to:
// Seriously is the ungrouped/regular membergroup the only group they can register to?
if(count($context['membergroups']) == 0)
$context['no_avail_groups'] = true;
Find:
// Well, if you don't agree, you can't register.
if (!empty($modSettings['requireAgreement']) && (empty($_POST['regagree']) || $_POST['regagree'] == 'no'))
redirectexit();
After add:
if (empty($_POST['ID_GROUP']))
fatal_error("You must select a group");
Quote from: akabugeyes on February 29, 2008, 04:20:07 PM
perplexed, I believe if you move the line in Themes/default/languages/Modifications.english.php:
?>
To the very end of the file, that would take care of your problem.
M_rTable, sorry for the long time to respond.
Open Sources/Register.php:
Find:
$context['membergroups'][0] = $txt['allowed_groups_reg_default'];
And remove it or comment it out.
Next find:
// Seriously is the ungrouped/regular membergroup the only group they can register to?
if(count($context['membergroups']) == 1)
$context['no_avail_groups'] = true;
And change to:
// Seriously is the ungrouped/regular membergroup the only group they can register to?
if(count($context['membergroups']) == 0)
$context['no_avail_groups'] = true;
Find:
// Well, if you don't agree, you can't register.
if (!empty($modSettings['requireAgreement']) && (empty($_POST['regagree']) || $_POST['regagree'] == 'no'))
redirectexit();
After add:
if (empty($_POST['ID_GROUP']))
fatal_error("You must select a group");
Nothing was changed! Nothing!
The "Dont select membergroup" is STILL there!
Btw hen finding
// Well, if you don't agree, you can't register.
if (!empty($modSettings['requireAgreement']) && (empty($_POST['regagree']) || $_POST['regagree'] == 'no'))
redirectexit();
it doesnt find it!
Well I even tested it myself, if the changes I posted were applied properly, then there is no way the "No Membergroup" option could still be there, because I told you to remove code that assigns that text string as an option.
I'm not sure why that code isn't there, it should be under the Register2() function in that file.
How about finding this code instead?
// You can't register if it's disabled.
if (!empty($modSettings['registration_method']) && $modSettings['registration_method'] == 3)
fatal_lang_error('registration_disabled', false);
If you can find that, then you can add the code after that.
Make sure you upload the files over the existing ones and that the changes are going through. One way to check would be to download the file again from FTP somewhere on your computer and checking the file to see if the file has the modified code.
Can you give me the install file that you correct now? with the changes you did to work good cause I dont know what im doing wrong... :-[
Quote from: akabugeyes on March 01, 2008, 05:03:00 PM
Well I even tested it myself, if the changes I posted were applied properly, then there is no way the "No Membergroup" option could still be there, because I told you to remove code that assigns that text string as an option.
That worked for me aka. Thanks a ton.
very cool, works for me too :)
Quote from: akabugeyes on March 01, 2008, 05:03:00 PM
Well I even tested it myself, if the changes I posted were applied properly, then there is no way the "No Membergroup" option could still be there, because I told you to remove code that assigns that text string as an option.
I'm not sure why that code isn't there, it should be under the Register2() function in that file.
How about finding this code instead?
// You can't register if it's disabled.
if (!empty($modSettings['registration_method']) && $modSettings['registration_method'] == 3)
fatal_lang_error('registration_disabled', false);
If you can find that, then you can add the code after that.
Make sure you upload the files over the existing ones and that the changes are going through. One way to check would be to download the file again from FTP somewhere on your computer and checking the file to see if the file has the modified code.
Just to let you know that I applied these changes too but I just realised today that when you try to register, after selecting a group, and hitting enter to register, it takes you to a page that says :
An Error Has Occurred!
You must select a group, you can join other groups after logging into the forum
only realised this was happening when I looked in the error log and there are 6 guests who have tried to register since yesterday and are getting rejected, so it's making it that no one can register.
I've had to remove the changes as no one can register.
I just wanted to drop in and say this is an amazing mod. w0ot!
I am putting it to use building a Mustang Owners directory here: http://stangnation.com/index.php?page=8
Its going to save me a poop load of time. When ever you get that Profile feature working so they can make changes to their member groups later that would be awesome.
Also, I did read the entire thread and just wanted to ask again what would be the best way to allow multiple selections @ registration?
Some of our members own more than one kind of Mustang.
Thanks again,
Stig
www.StangNation.com
It is a wonderful mod, but I think it's very important to add the possibility to change the usergroup on profile too.
like a prayer
O:) I think that the pissibility to change the usergroup on profile will make this mod very important and usefull
I was wondering if i could let member to choose 2 groups? My forum has 3 types of groups, and i would like every member to choose two groups himself on registration, so i have less work to do.
I am sure that it is possible, but my question is how do i do it?
If ANYONE has suceeded in making it so you can select more than one group during registration, or has been able to put the option to choose groups in member profiles, please reply. This is VERY IMPORTANT and USEFUL for the mod and for SMF in general!
Thank you!
Just dropping by to say this mod works with just released SMF 1.1.5.
Stigmartyr, I will try to look into adding an option for members to be able to select more than one group in the future.
Also, SMF 2.0 has a joinable and requestable group feature which I think pretty much would take care of the need for this mod to cover such functionality.
Quote from: akabugeyes on May 01, 2008, 06:39:39 PM
Just dropping by to say this mod works with just released SMF 1.1.5.
Stigmartyr, I will try to look into adding an option for members to be able to select more than one group in the future.
Also, SMF 2.0 has a joinable and requestable group feature which I think pretty much would take care of the need for this mod to cover such functionality.
Thanks! Im scared to death of SMF 2.0 because I have so many mods already, and I dont want to kill the site. Are you aware of anyone else who's enjoyed a smooth transition? Also I use TinyPortal.
when will be done for smf 2?
Should be soon. I already upgraded all my other mods. Just have a few things I need to take care of first.
Oh and yes that is right. I misspoke in my previous post suggesting that this mod would not be available for 2.0. What I really meant to say was that functionality of allowing members to change their group in their profiles wouldn't be as needed because in SMF 2.0 there is joinable and requestable groups.
I tried installing this in a fairly vanilla SMF 1.1.5 install, but I got an error on the template test.
Here's a list of the mods we have (using Babylon theme):
Admin Lock Thread 1.2
Enhanced Calendar 1.1
Admin Modification Menu Section 1.0.2
Custom Board Sort 1.0.1
Delete Spam Posts 1.2 1.2
Select Admin for Notifications 1.2
Group Moderators 1.4
View Topic Permissions 1.1.0a
Sticky First Post (extends sticky topic) 1.3.2
Display Age and Location next to posts 1.0
Avatar on Member List 1.0
Country Flags 1.0.1
Default Membergroup on Registration 1.1
Enhanced Quick Reply Box 2.0.2 2.0.2
Internal Links Use Same Window 1.2
Mark Selected Topics As Read 1.0
YouTube BBCode 2.3
Separated Birthdays from Events 1.0
SMF Ajax Registration Feedback 1.0.0
Use color Tags in code Mod 1.0
Image Align Tag 0.5
Justify BBCode 1.0
Wrap Text Around Image 1.0
SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update 1.0
PM On Registration 1.0.2
PS It's not Default Membergroup on Registration that conflicts. That was my first thought.
Perhaps you can try manually applying the code for the mod to the Themes/default/Register.template.php file.
http://custom.simplemachines.org/mods/index.php?action=parse;mod=485;smf_version=1.1.5;attach=33544
If you scroll down you can see the code for it under:
./Themes/default/Register.template.php
If you cannot find the same code or a slightly modified version of that code and are unable to apply the needed modification then if you are willing to attach your Register.template.php file I can look into at it myself.
Quote from: quiteperplexed on February 06, 2008, 03:17:03 PM
hmmm I already have this installed on another forum but today when I tried to install it on my test forum there is a weird problem
It installed ok with no fails but now at the top of my site there is this:
Quote
$txt['pick_group'] = 'Pick your membergroup'; $txt['allowed_groups_reg'] = 'Groups that members can register to upon registration'; $txt['allowed_groups_reg_not_all'] = 'Groups with forum management permissions are not selectable for security reasons'; $txt['allowed_groups_reg_no_groups'] = 'Every membergroup has at least one permission that involves forum management so there are currently no groups you can select to allow your members to register to.'; $txt['allowed_groups_reg_default'] = '--No special membergroup--'; $txt['allowed_groups_reg_default_help'] = 'This allows you to select the groups that you would like members to be able to select during registration. Just hold down Alt + S to select multiple groups. Groups with the following permissions allowed are not selectable and do not appear on the list: Administrate forum and database, Manage boards and categories, Manage attachments and avatars, Manage smileys, Edit news, Moderate forum members, Manage and assign membergroups, Manage permissions, Manage ban list, and Send a forum email to members.'; $txt['allowed_groups_type'] = 'Set group as primary group or secondary group'; $txt['allowed_groups_type_help'] = 'If you pick primary group, the member\'s primary group upon registration will be the one they selected. If secondary group is selected, the member\'s group they selected will be their secondary group.'; $txt['allowed_groups_primary'] = 'Primary Group'; $txt['allowed_groups_secondary'] = 'Secondary Group';
and it won't go away. Any ideas?
If you were unable to resolve this issue it has to do with the variables being in the wrong place in the Modifications.english.php file.
If you uninstalled this mod and install this mod again and the problem occurs again, then check your Modifications.english.php file in Themes/default/languages. Make sure that all of the code in that file is in between the <?php line and the ?> line. If there is anything not in between those bits, move it so that it is.
Quote from: edi67 on May 04, 2008, 04:01:06 PM
when will be done for smf 2?
Just pointing out that I have no forgotten about updating this for 2.0. I plan to do so soon, sorry for the long wait.
Quote from: Achilles991 on April 16, 2008, 08:16:37 AM
I was wondering if i could let member to choose 2 groups? My forum has 3 types of groups, and i would like every member to choose two groups himself on registration, so i have less work to do.
I am sure that it is possible, but my question is how do i do it?
I will look into it, although it would definitely require some changes to how a lot of it is put together.
The title of the line won't show up on the register page of the theme, but it doesn't use a separate register template from the default, and I've checked the edits in the default. The drop-down box and the rest of the mod works fine. Can't figure it out....
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi127.photobucket.com%2Falbums%2Fp133%2Flts19%2Fhhh.png&hash=da79c95d7b0825c7af6010954ee85315fefbb9e1)
This may of been asked but i cant seem to see it,
So here goes,My site is set for anyone of any age. The problem is I have adult games in my arcade and adult forums,so i have a 18+ group when a member signs up if they are over 18 i change there group but this takes a lot of time and if i am not around for a few days then they will stay in the default group.
So my question,Is this mod clever enough so once they put there age in they can then choose the 18+ group and if no age then they stay in under 18 goup
Hope you know what i mean thanks callteg4
Quote from: akabugeyes on July 05, 2008, 12:46:42 AM
Quote from: edi67 on May 04, 2008, 04:01:06 PM
when will be done for smf 2?
Just pointing out that I have no forgotten about updating this for 2.0. I plan to do so soon, sorry for the long wait.
How is the progress going on this? :D
Definitely one of the mods I miss the most since upgrading to Beta4.
This is a great mod. Thank you!
Great work. :) I have a question about altering it somewhat. I have many new members from a MSN group that will be shutting down soon coming to our forum. We have created a board for for them to have private access to. (msn victims group) It would be great if there was a way to have an extra password box under the group selection and a predetermined password set for that group. Upon registration, members from the special group can enter the password and register as a member of that group. Without the password, all registrations default to regular member. I want to keep non members of this particular group from being able to register as one. These new members have access to the entire forum, but the non group members cannot see or access the special board. I am not extremely proficient at PHP from scratch. The password doesn't even have to be extremely secure. It will just be a stopgap to save me a lot of time manually adding group permissions. Is this even feasible?
Edit- Sorry, I see that a mod already exists for what I was asking about. :)
Quote from: SgtMic on October 02, 2008, 07:23:11 PM
Quote from: akabugeyes on July 05, 2008, 12:46:42 AM
Quote from: edi67 on May 04, 2008, 04:01:06 PM
when will be done for smf 2?
Just pointing out that I have no forgotten about updating this for 2.0. I plan to do so soon, sorry for the long wait.
How is the progress going on this? :D
Definitely one of the mods I miss the most since upgrading to Beta4.
That answers my question, thank you!
Quote from: callteg4 on September 25, 2008, 07:30:28 PM
This may of been asked but i cant seem to see it,
So here goes,My site is set for anyone of any age. The problem is I have adult games in my arcade and adult forums,so i have a 18+ group when a member signs up if they are over 18 i change there group but this takes a lot of time and if i am not around for a few days then they will stay in the default group.
So my question,Is this mod clever enough so once they put there age in they can then choose the 18+ group and if no age then they stay in under 18 goup
Hope you know what i mean thanks callteg4
If the mod supplier doesn't have time to address this, I would have thought a reasonably straightforward IF statement outside of the mod would be able to address this, and if structured correctly, it would then allow for people attaining 18y.o. to automatically get inclusion in the allow list for your 18+ board.
This is not code but something structured along the lines of -
get date1(today)
get date2(member birthdate)
define boards IDxyz = board numbers array(blah blah)
IF date1 minus date2 = 18years+ then permit access to boards IDxyz
else hide boards IDxyz
As I said, that's not code (I'm not a code creator) but it should be 15 minutes work for someone to create a full new mod from that type of functionality I would have thought.
Gaz
I have a forum that relies on people signing up for the right membergroup, and this mod was an absolute must have for my forum. However, since upgrading to SMF 2.0 Beta 4, the mod no longer works. Is there anyone that could walk me through how to install this mod on 2.0 Beta 4?
Quote from: shanksta13 on December 29, 2008, 01:22:59 PM
I have a forum that relies on people signing up for the right membergroup, and this mod was an absolute must have for my forum. However, since upgrading to SMF 2.0 Beta 4, the mod no longer works. Is there anyone that could walk me through how to install this mod on 2.0 Beta 4?
We're hoping the mod author gets his mod caught up.
Looking for this one too.
I have read thru but did not find an answer. The text to the left of the drop down on the registration form is not showing. In the admin section, no text as well as one board not showing.
I'm using 1.1.7 with a theme that does not have its own source folder etc. I see all the code on the pages.
Will it work for me? (pls say yes!) What do I need to do?
Thanks!
Heya JThor - can you update us on any efforts to allow members to chose more than one group on registration and/or later on via profile perhaps?
I understand SMF 2.0 will have this feature but for me, and perhaps others who are using modified SMF instances even SMF 2.0 will not help us.
I for example must rely on your efforts with this mod, because I use TinyPortal and they aren't releasing a golden version that will work with SMF 2.0 yet..
It is highly unlikely I will benefit from it for quite some time, so all I can hope is for your expert assistance in this. Ultimately I'd like to allow members to select regions as well as other groups that will dictate how content is displayed. I'd like them to be able to join and unjoin a selection of regional member groups allowing them to toggle regional content on the site, if that makes sense.
Your mod seems like the best vehicle for me.
I always wondered why people offer things, then do not follow thru. No response, no updates...why not delete your whole thread, remove the mod, whatever it takes for the peace and quiet you need.
Hello,
Is this mod compatible with RC1?
Thanks in advance,
Vincent
Digiscrap.nl
Hello
Does this mod work for 1.1.8?
This is exactly what I am looking for.
Thanks!!
Hi!
I try to get this mod going on a SMF 1.1.7 site without any success: In Admin -> Registration -> Settings the membergroup selection box never turns up :( (default theme, English).
And as I try to uninstall it I get "You cannot download or install new packages because the Packages directory or one of the files in it are not writable! ", although I've also set all files writeable in the Clean Up Permissions feature in the Admin -> Package Manager -> Options panel...
Would be much obliged to know whether this mod is compatible with 1.1.7+ or not, and what the uninstall failure may depend on.
Thanks,
misjka - I had it running perfectly on SMF from 1.0.17 through 1.1.8
It now doesn't work with 2.0 RC1 because of the new groups functionality built in - I have to manually assign new members to groups, which is an admin burden increase, but I'll find a workaround.
gaz
So, now it works on my site as well :D. Probably it was due to a previous transfer of the forum files to another directory...
As I see from previous replies in this thread, I do agree: It would be nice for the registering members to be able to join several groups :)! Great mod, though :D!
And... Next step would be a mod to let them change groups afterwards... ;D
Does this work with 1.1.8?
I have it installed, no errors and for some reason the only member group I have listed is Global Moderator. I have several groups set up and still this is all I get in the box.
Thanks
Hey, can someone help me over here. Has worked on my forum 1.1.8, reinstalled on my freshly upgraded 2.0 RC1, and get this error.
Fatal error: Call to undefined function db_query() in /home/abbyh/public_html/nlelp/Sources/Register.php on line 81
This error is when I open the register page. Really can't figure it out, even checked all the codes manually.
please...
Quote from: abbyh on April 08, 2009, 01:37:32 AM
Hey, can someone help me over here. Has worked on my forum 1.1.8, reinstalled on my freshly upgraded 2.0 RC1, and get this error.
Fatal error: Call to undefined function db_query() in /home/abbyh/public_html/nlelp/Sources/Register.php on line 81
This error is when I open the register page. Really can't figure it out, even checked all the codes manually.
please...
Look at what version of SMF this is compatibale with http://mods.simplemachines.org/index.php?mod=485
Quote from: mrtrc266 on April 08, 2009, 01:41:56 AM
Quote from: abbyh on April 08, 2009, 01:37:32 AM
Hey, can someone help me over here. Has worked on my forum 1.1.8, reinstalled on my freshly upgraded 2.0 RC1, and get this error.
Fatal error: Call to undefined function db_query() in /home/abbyh/public_html/nlelp/Sources/Register.php on line 81
This error is when I open the register page. Really can't figure it out, even checked all the codes manually.
please...
Look at what version of SMF this is compatibale with http://mods.simplemachines.org/index.php?mod=485
I know. I accidentally re-applied it since it is in the Package module. I tried to uninstall it but it keeps giving me this error. Then try to install again manually. The registration page is not working because of this.
Anybody who got a workaround on this, I gladly appreciate it.
Edit. Resolved.
I gladly wait for this mod to be compatible with 2.0 RC1.
Ok so is there a way to allow folks to leave a group they joined without having to use SMF 2?
I am also requesting SMF 2 compatibility.
Ive been attempting to update this to 2.0 for a friend but I'm not having any luck. The main problem I'm running into ATM...
In the original mod the code looks like...
Find...
'coppaPhone' => !empty($_POST['coppaPhone']) ? $_POST['coppaPhone'] : '',
Add After...
'groups_allowed_signup' => implode(',',$_POST['groups']),
'groups_type_signup' => (int) $_POST['group_type'],
In the update It should work like...
Find...
array('text', 'coppaPhone'),
Add After...
array('select', 'groups_allowed_signup' => implode(',',$_POST['groups'])'),
array('select', 'groups_type_signup' => (int) $_POST['group_type']'),
However I keep getting Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' for the second line. I'm not sure what I'm missing here but its causing the entire admin registration area of SMF to fail. :(
Well I am no php expert by any means, but this part looks funny to me:
implode(',',$_POST['groups'])'),
Do you really need two ',', ?
implode(',$_POST['groups'])'),
If so, lol, show's what I know... Maybe someone else can help you out. I can't wait for the fix though because this will really add a lot of functionality to my forum.
I wondered that myself but removing it errors that line. Its actually the second line of added code that causing the error. I thought that it might have to do with the formatting with the (int) part of the line but in checking other SMF code the line is written the same way for other similar functions. *shrug*
Thanks for trying though. :)
1 Year Anniversary of this Comment http://www.simplemachines.org/community/index.php?topic=117192.msg1603101#msg1603101 (http://www.simplemachines.org/community/index.php?topic=117192.msg1603101#msg1603101)
...Is this ever going to happen? This would be a great Mod for SMF 2
Thanks in advance
I was trying to convert it to 2.x for a friends site. It just doesn't translate to 2.0 well and I kept crashing my test forum every time I tried. Due to my frustration with it and the amount of time I was putting into it, I had to put it aside for a while. Ill take another crack at it in the future but right now I have other responsibilities I have to take care of first.
If I get it figured out before anyone else does Ill be sure to post it here so akabugeyes can update the mod.
Oeh... this is so great mod but no one still haven't managed to get it work well on 2.0 ?
Anyway, i keep hoping :)
This would be a great mod for 2.0
I continue to have problems getting the membergroup to recognize the other membergroups that I have set up for the forum. The forum is reading members and additional information from another forum on the same database. If you read my earlier posts you may be able to obtain what I am having issues with. Any suggestions would be great....
Thanks
Issue Site (http://www.ffwaterfowl.com/Fire)
Site with reg. working (http://www.ffwaterfowl.com/Waterfowl)
HEy guys :(
when is this mod goind out for 2.0 RC 1.2 ?????
:( we need it urgent :( please help
Anyone ???
please help, or help by giving another similar modification pleaseee
1st of all, thanks for the great job with this mod.
but since i'm a noob with this stuff, i would like to make a suggestion:
could you introduced an option to change the field name "Pick your membergroup"?
Particulary to appear in another forum's language, since not even the english frase appears.
thanks
Quote from: bburg5 on October 15, 2009, 07:48:58 PM
I continue to have problems getting the membergroup to recognize the other membergroups that I have set up for the forum. The forum is reading members and additional information from another forum on the same database. If you read my earlier posts you may be able to obtain what I am having issues with. Any suggestions would be great....
Thanks
Issue Site (http://www.ffwaterfowl.com/Fire)
Site with reg. working (http://www.ffwaterfowl.com/Waterfowl)
Does anyone know how I can get this to work for the second forum?
Thanks
Well for starters you are working with a well outdated mod, you are trying to get it to preform a function that probably isn't compatible with however the forum(s) are split up, and this situation is a bit beyond what the author had intended for the mod to begin with.
In theory if the DB is truly shared then you should be getting members registered to both forums. The member groups from both forums should be available for you to put on the list when setting up the groups for the mod. So if you want the members to be able to chose from two groups for each forum then you would have to add all 4 and they would be able to access one site, the other, or both based on user group permissions.
Your best bet is to find or hire an experienced coder, that you trust, to look the mod and your site. They would need access to the Database and the Files to determine all the possible variables involved and even then I'm not 100% sure that it could be made compatible.
Sorry I cant come up with a better answer but you've got a very usual situation on your hands there and I'm guessing its going to take some code custom designed for your sites to make it work the way you want. Unless you or your staff can code it wont come cheep, if you can find anyone willing to take on the task.
Thank you for your time and input on this matter. I will continue to change the membergroups myself until I figure out an easier solution...
Thanks again
All I want for Christmas is this mod to get more development. Please!!! Pretty Please!!!
If members could choose more groups from their profile page and more than one group on registration this would be spectacular!
I run a car forum and right now folks can select their model of car. I would also like them to be able to select their region so when I email/PM members I can select their region, and also create content that varies from region to region.
Fantastic use for the mod no?
Then to tie it all together members should be able to update these secondary groups from the registration page.
This is so important I'm willing to pay for it's development. Name your price!
PLEASE! SMF 2.0 is also inadequate to me for this function and I am seriously considering abandoning my beloved SMF for Dot Net Nuke simply because it has this all important feature.
Quote from: Stigmartyr on December 10, 2009, 04:03:32 AM
All I want for Christmas is this mod to get more development. Please!!! Pretty Please!!!
If members could choose more groups from their profile page and more than one group on registration this would be spectacular!
I run a car forum and right now folks can select their model of car. I would also like them to be able to select their region so when I email/PM members I can select their region, and also create content that varies from region to region.
Fantastic use for the mod no?
Then to tie it all together members should be able to update these secondary groups from the registration page.
This is so important I'm willing to pay for it's development. Name your price!
PLEASE! SMF 2.0 is also inadequate to me for this function and I am seriously considering abandoning my beloved SMF for Dot Net Nuke simply because it has this all important feature.
Dang it. Even waving green backs around can't get a response. These are tough times indeed!
So in lieu of someone making this compatible is there a mod or page in SMF 2.0 that allows users to see all the member groups in one list? I'm considering migrating over asap.
Any progress on this mod for 2.0 RC3? Would love to use this functionality.
I have written a mod for the SMF 2.0 branch that does the same thing.
Sign up and download at The CMS Loft (http://forum.thecmsloft.com/index.php)
Is this mod still supported?
this i work on smf2.0RC3?
i have installed this on 1.1.12 correctly, but the select list by admin/register/settings don't display. thanks for any help.
Quote from: live627 on April 16, 2010, 01:04:36 PM
I have written a mod for the SMF 2.0 branch that does the same thing.
Sign up and download at The CMS Loft (http://forum.thecmsloft.com/index.php)
YOur site is busted: "Table 'db293717542.smf_thecmsloft__settings' doesn't exist"
This still for sale?
Went through my unread replies pages and found this reply waiting for me.. O_o
The site had moved a couple of months ago (a year now come August) and the mod is available for purchase if you're still interested: http://dev.live627.com/index.php?action=mods#58
apologies for bumping an old thread!
Just wondered if anyone knew of a similar MOD or could be persuaded to recode it for 2.0+ ;) lol
Okay, so I am using SMF ver 2.0.11.
I went to Admin>Maintenance>Forum Maintenance>Database>Backup Database and did so
I went to Package Manager (Advanced) and set to emulate ver 1.1.5
I came to the MOD and then parsed the Mod for SMF ver 1.1.5
I downloaded the files that needed to be modified.
I edited files as possible (the edited files are attached)
Checked and ensured no users (except me) were on the forum
I went to Admin>Server Settings and placed forum in Maintenance Mode
I renamed existing files to [File Name].php~ (or where [File Name].php~ existed renamed to [File Name].php~~)
I uploaded the edited files - Yeah, didn't work as intended (I attached two Screen Shots)
I thought if the forum was set to emulate a version that I could treat forum as that version. :-\
I am hoping that someone can "update" this Mod. Willing to pay something.
I am also hoping that this will be read.
Be Well,
Siriist
Quote from: live627 on May 05, 2011, 01:52:54 AM
Went through my unread replies pages and found this reply waiting for me.. O_o
The site had moved a couple of months ago (a year now come August) and the mod is available for purchase if you're still interested: http://dev.live627.com/index.php?action=mods#58
Server not found :o
Enough said. :'(
You almost certainly can not install a 1.1.x mod in 2.0 and should generally never try...
Quote from: Kindred on June 08, 2016, 01:26:31 PM
You almost certainly can not install a 1.1.x mod in 2.0 and should generally never try...
Hey Kindred,
Thanks for the info and Oopsey :-[ Glad I backed up and made copies of existing *,phps before trying O:)
Alas, I think I will see if Suki will modify the mod for me for $.
Always appreciate your words.
Be Well,
Siriist
Quote from: live627 on May 05, 2011, 01:52:54 AMWent through my unread replies pages and found this reply waiting for me.. O_o
The site had moved a couple of months ago (a year now come August) and the mod is available for purchase if you're still interested: http://dev.live627.com/index.php?action=mods#58
Is your mod still available somewhere?
I think it's on the mod site here Joinable Groups (https://custom.simplemachines.org/index.php?mod=2716)
Thank you very much!