Advertisement:

Author Topic: Multiple selection text box under profile fields.  (Read 9702 times)

Offline Glyph

  • Semi-Newbie
  • *
  • Posts: 83
  • Gender: Male
Multiple selection text box under profile fields.
« 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:


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)
« Last Edit: November 22, 2015, 02:11:15 AM by Glyph »
Personal TODO:

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 55,115
  • Gender: Male
    • Kindred-999 on GitHub
Re: Multiple selection text box under profile fields.
« Reply #1 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.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Oldiesmann

  • Developer
  • SMF Super Hero
  • *
  • Posts: 24,814
  • Gender: Male
  • Ask me about the function DB :)
    • oldiesmann on Facebook
    • Oldiesmann on GitHub
    • http://www.linkedin.com/in/michaeleshom on LinkedIn
    • @oldiesmann on Twitter
    • Archie Comics Fan Forum
Re: Multiple selection text box under profile fields.
« Reply #2 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).
Michael Eshom
Webmaster / SMF Lead Developer
oldiesmann@simplemachines.org

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 55,115
  • Gender: Male
    • Kindred-999 on GitHub
Re: Multiple selection text box under profile fields.
« Reply #3 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)
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Glyph

  • Semi-Newbie
  • *
  • Posts: 83
  • Gender: Male
Re: Multiple selection text box under profile fields.
« Reply #4 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.
Personal TODO:

Offline Diego Andrés

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,059
  • Gender: Male
  • We know, we'll be coming
    • DiegoCortes on GitHub
    • @comeladrillos on Twitter
    • SMF Tricks - Free & Premium Themes
Re: Multiple selection text box under profile fields.
« Reply #5 on: January 03, 2016, 02:25:26 AM »
Any news? Seems useful

SMF Tricks - Free & Premium Responsive Themes for SMF.