• Welcome to Simple Machines Community Forum. Please login or sign up.

Multiple selection text box under profile fields.

Started by Glyph, November 22, 2015, 01:57:47 AM

Previous topic - Next topic

Glyph

November 22, 2015, 01:57:47 AM Last Edit: November 22, 2015, 02:11:15 AM by Glyph
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:


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)
Personal TODO:

Kindred

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.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Oldiesmann

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).
Michael Eshom
Cincy Space - now open!

Kindred

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)
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Glyph

I plan to have something submitted in the next couple weeks. Just want to make sure everything is up to SMF standards.
Personal TODO:

Diego Andrés


SMF Tricks - Free & Premium Responsive Themes for SMF.

Advertisement: