Membergroup On Registration

Started by codenaught, September 30, 2006, 09:44:18 PM

Previous topic - Next topic

DecadesClean

#120
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.

codenaught

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.
Dev Consultant
Former SMF Doc Coordinator

codenaught

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.
Dev Consultant
Former SMF Doc Coordinator

codenaught

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.
Dev Consultant
Former SMF Doc Coordinator

ishy

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....




callteg4

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

SgtMic

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.
There is nothing more deadly than a US Marine and his rifle.
A close second is a US Marine and his K-BAR.
2/5 Fox Co.  (BlackHearts)
FAST Co. 5th Plt. (FIDO)

jacbier

This is a great mod. Thank you!


busterone

#128
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.  :)

dakotaroar

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!
The only forum for students in North and South Dakota!  Campus Dakota.

GazOutEast

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 20:20 vision - I can see anything bigger than 20" x 20"

shanksta13

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?

SgtMic

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.
There is nothing more deadly than a US Marine and his rifle.
A close second is a US Marine and his K-BAR.
2/5 Fox Co.  (BlackHearts)
FAST Co. 5th Plt. (FIDO)

Jim R


kpel

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!

Stigmartyr

#135
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.

kpel

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.

Vincent Volmer

Hello,

Is this mod compatible with RC1?

Thanks in advance,
Vincent
Digiscrap.nl

forepro

Hello

Does this mod work for 1.1.8?
This is exactly what I am looking for.

Thanks!!

misjka

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,
The admin of five forums:
SMF 1.1.4 + TP 0.98

Advertisement: