News:

Wondering if this will always be free?  See why free is better.

Main Menu

Joinable Groups

Started by live627, October 15, 2013, 09:55:59 AM

Previous topic - Next topic

live627

Link to Mod

Joinable Groups 1.0 by live627



Joinable Groups is an SMF 2.0 mod that lets registering members choose a membergroup to join. All membergroups that allow members to join at will are listed.

Kyrianchigozie

Please i installed this mod but it installed witout any eror but i did nt see any effect of the mo din my forun.

Diego Andrés

Quote from: Kyrianchigozie on October 20, 2013, 12:29:10 PM
Please i installed this mod but it installed witout any eror but i did nt see any effect of the mo din my forun.

You should check the screenshots.

SMF Tricks - Free & Premium Responsive Themes for SMF.

SwedishMarch1964

Go to http://photobucket.com

The easy way to upload your avatar. Just click the direct link.

Kyrianchigozie

i installed the mod properly but i did not see d effect, is not workin or does it has any settings to activate it?

Kyrianchigozie

hv checked the screen shots, no effect

Colin

On which page do you not see any options?
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

Kyrianchigozie

on the registration page, i thought am suposed to see the options to select member groups dat i created for selection

Arantor

You did actually set up some groups that people can freely join, right?

live627

I don't remember clearly, but I think this mod doesn't do anything if you don't have any groups that are freely joinable.

Kyrianchigozie

ya i created one to test it but to no avail

kwolf

I have the same issue.  I have multiple groups that are freely join-able, yet the mod does not show anything on the registration page.  I tried creating freely join-able groups of various types to see if I can get it to work, but I still do not see anything new on the registration page.  Even set the default theme of the forum to defaults but still do not have the registration options on the page.  I don't know much PHP, but I was able to ascertain that the $context['groups'] variable is empty by asking the theme template to spit out some text if it were empty.  Something is failing in register.php to retrieve the freely join-able groups.

I am on SMF 2.0.6 which the mod says it is compatible with.

borish

Same problem here with SMF 2.0.6. I've created two freely joinable groups, yet the registration process didn't change.

live627


DannyE

I tried the mod and do have Free groups.
But nothing was displayed on the registration screen.

The issue is all my Free groups are set to INvisible because I don't want them listed (as of have long names and the info is not relevant to all forummembers)
They are only visible when a user goes to his groupmembership page and joins a group.

I do like the mod, but useless untill it displays all free groups on the registration page, not just the visible ones.

AlaaJ

The mod works perfectly thanks .
But is there a way to make it show requestable groups  ?

Arantor

Needs quite substantial changes for it to also create a group request in the process.

AlaaJ

Actually , I have done it  :)
I have replaced mg.group [nofollow]_type = {int:freejoin_group_id} with mg.group [nofollow]_type != {int:is_protected}
and it worked
Now it shows the all available groups

Arantor

Except it won't work properly because for requests to actually be processed they've got to go into the requests table.

AlaaJ

Actually it works great ,  8)

Arantor

*shrug* You know best, I'm sure.

Oh wait... you're setting up requestable groups that don't require admin approval... why did you bother making them requestable in the first place? Make them joinable, no code changes required and no futzing about with the group requests table that things are supposed to be put into.

Jade Elizabeth

I like this but I thought members could only have one primary group?

I really don't want any of my freely joinable groups to be able to be secondary. Is that currently how SMF works? I've been away from membergroups and docs for so long I have NFI. Is there a way to force groups to be primary only or something? If I remember right there used to be.

Point is I want people to pick only one of these groups on rego, never more than one, and I need it to be their primary group.
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

live627

I have not tested this!

In ./Sources/Register.php, find

'additional_groups' => implode(',', $_POST['id_group']),

Replace with

'memberGroup' => implode(',', $_POST['id_group']),

In ./Themes/default/Register.template.php, find and remove

multiple="multiple"

In ./Themes/default/languages/Modifications.english.php, find and remove

For multiple selections, hold down the Ctrl key.

Jade Elizabeth

Thank you!!!

I know I am the worst pain but is there a way to limit it to 5 selections max easily? If not, no fear I will use the one only cause that works best for me :D.
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

live627

uhh  no? Didn't you say you only wanted primary groups, of which there can only be one per member?

Jade Elizabeth

Yes....but I've been having issues limiting that outside of this mod....if a user requests to join a group and I approve it they will be added to the secondary groups...so I can limit it in the system so I figured I might as well limit it here too. Does that make sense?
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

Alpay

How can we make that part compulsory ?

Advertisement: