Additional Settings For Custom Profile Fields [1.2]
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #15
RE: Additional Settings For Custom Profile Fields
(04-05-2012 10:52 AM)leefish Wrote:  There is also this, but it is so simple it is ridiculous:
http://code.google.com/p/sbbeditor/
I also found this - I don't know if I would call it lightweight, but it seems quite customisable.
http://www.code.ge/smartmarkup/documentation
Thanks for the links, Lee. I will try it.

For adding an editor to our custom profile fields, maybe you can try the update (need to run the upgrade process).
Although it is not directly use an editor, but (I hope) we can add an editor to a specified fields.
There are some settings added to this version:
  • Move the settings to the Settings Groups:
    AdminCP -> Configuration -> Settings -> Additional Settings For Custom Profile Fields
  • A very simple Formatting Map List (I can't create a complex Formatting Map List Biggrin) Available for Check Boxes and Radio Buttons only.
    The left side will be used as input value. The right side will be used as the input and output display.
    If there is no Formatting Map List, the default input/output will be used.
  • Custom Input (not available for Multi Select and Select input).
    Use {VALUE} for referring to the input value.
    For Check Boxes and Radio Buttons, use {VALUE$1} ..... {VALUE$X} for referring each input value.
    For displaying our custom input, we need to put {$xtpf_inp['fidX']} in our usercp_profile and/or member_register template.
    For textarea, we can add our editor (usually a javascript code) in this setting.
    With this way we can have a different editor (if needed) for a specified textarea.
    If there is no custom input, the default input will be used.

Example:
UserCP - Register - Profile
           

04-07-2012 09:17 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: Additional Settings For Custom Profile Fields - RateU - 04-07-2012 09:17 AM

 Standard Tools
Forum Jump: