Simple Machines Community Forum

SMF Development => Feature Requests => Topic started by: Glyph on November 22, 2015, 01:57:47 AM

Title: Multiple selection text box under profile fields.
Post by: Glyph on November 22, 2015, 01:57:47 AM
I am creating my own modification and I ran into an issue with the default input settings.

the default field types do not meet my requirements, having a multi input checkbox setting would resolve this issue.

Here is a direct example of my issue:
(http://i.imgur.com/XmpXEXk.png)

I need to be able to choose multiple professions as a main profession; so that my mod will loop through selected professions. (only if checked)
e.g.
(x)Mesmer
(x)Guardian
[ ]Necromancer
[ ]Ranger
[ ]Elementalist
[ ]Warrior
[ ]Thief
[ ]Engineer
(x)Revenant

I can use this as a php array with a foreach to grab relevant data for my mod.

I can make a separate modification menu to do this, but it could be useful for the core too. (not to mention saves me lines and sql hassle)
Title: Re: Multiple selection text box under profile fields.
Post by: Kindred on November 22, 2015, 08:40:38 AM
I do not believe there is any intention on adding this to 2.1 -- but feel free to contribute your code over on GitHub and it may be rolled in.

There is, however, very little chance that this would get added to 2.0.x, since the 2.0.x line is currently in maintenance only mode and is only receiving security updates and critical bug fixes.
Title: Re: Multiple selection text box under profile fields.
Post by: Oldiesmann on November 24, 2015, 11:27:43 AM
It's something we can at least look into for 2.1, though I can't guarantee it will get added (we're trying to avoid adding many new features at this point so we can focus more on making sure existing features work properly and such).
Title: Re: Multiple selection text box under profile fields.
Post by: Kindred on November 24, 2015, 11:31:35 AM
well, it's actually something that I have taken a look at and would use on one of the sites that I help run....   but, if Glyph is already looking into it - I would rather have our devs continue with the stuff that is already on the plate and fixes needed for beta3 and then review the code that Glyph is making (and hopefully submitting to GitHub)
Title: Re: Multiple selection text box under profile fields.
Post by: Glyph on November 24, 2015, 12:36:24 PM
I plan to have something submitted in the next couple weeks. Just want to make sure everything is up to SMF standards.
Title: Re: Multiple selection text box under profile fields.
Post by: Diego Andrés on January 03, 2016, 02:25:26 AM
Any news? Seems useful