Additional Settings For Custom Profile Fields [1.2]
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #11
RE: Additional Settings For Custom Profile Fields
OK, reporting back - the upgrader worked perfectly, I can use the new settings on the fields I had already set up.

I checked the viewing and editing - worked just like you said they would. Time to make a profile template set up Biggrin


[Image: leelink.gif]
MYBB1.6 & XThreads
04-05-2012 01:14 AM
Visit this user's website Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #12
RE: Additional Settings For Custom Profile Fields
Sorry for the double post - but I also found this: Its a WYSIWYG editor - very small file size and I thought it might be neat to have an editor in the fields.

I have no idea if we can use it - I think we can. That would make the custom profile fields super awesome.

http://www.scriptiny.com/2010/02/javascr...http://www.scriptiny.com/2010/02/javascript-wysiw

I am already using the tinybox script to fire a popup as a modal view of my policy Biggrin Different layout on postbit as on profile. What is very cool (and I am not sure if it is a bug or a feature - I think it is a feature as it is just what I wanted) is that even though a certain usergroup cannot view a field on my profile, they can still view the profile field output in the postbit. Perfect for my use.


[Image: leelink.gif]
MYBB1.6 & XThreads
(This post was last modified: 04-05-2012 06:19 AM by leefish.)
04-05-2012 06:04 AM
Visit this user's website Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #13
RE: Additional Settings For Custom Profile Fields
(04-05-2012 06:04 AM)leefish Wrote:  http://www.scriptiny.com/2010/02/javascr...http://www.scriptiny.com/2010/02/javascript-wysiw
It seems that it is for HTML only, Lee?
Yes, I've been searching for a lightweight editor (if it is possible, also support MyCode/BBCode) for my XThreads textarea (in one of a section in "my" forum, I use 5 textarea - MyCode enabled). Right now, I'm still using CKEditor. But I think it is a bit heavy.
I hope MyBB 1.8 editor can be used multiple times in one page for several textarea.

(04-05-2012 06:04 AM)leefish Wrote:  I am already using the tinybox script to fire a popup as a modal view of my policy Biggrin
Different layout on postbit as on profile. What is very cool (and I am not sure if it is a bug or a feature - I think it is a feature as it is just what I wanted) is that even though a certain usergroup cannot view a field on my profile, they can still view the profile field output in the postbit. Perfect for my use.
If what you mean that even though a usergroup doesn't have permission to view a custom profile field via the Viewable by Usegroups setting (additional usergroups effected by this setting), but they can view the profile field, it is a bug Biggrin (maybe you can post the field setting here, I will try to reproduce it?).
But if what you mean the permission comes from Hide on profile? setting, the setting doesn't effect the {$xtpf['fidX']}.

04-05-2012 08:54 AM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #14
RE: Additional Settings For Custom Profile Fields
On the editor - yes it is HTML. There is also this, but it is so simple it is ridiculous:

http://code.google.com/p/sbbeditor/


OH, I see. Yes, it was hidden on profile. Feature then Biggrin


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


[Image: leelink.gif]
MYBB1.6 & XThreads
(This post was last modified: 04-05-2012 11:23 AM by leefish.)
04-05-2012 10:52 AM
Visit this user's website Find all posts by this user Quote this message in a reply
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
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #16
RE: Additional Settings For Custom Profile Fields
Updated:
Remove it from PM
Compatibility with XThreads 1.50

To upgrade, replace the plugin file, then rebuild the xt_proffields cache.

04-16-2012 02:46 AM
Find all posts by this user Quote this message in a reply
brad-t Offline
Member
***
Posts: 120
Joined: Apr 2011
Post: #17
RE: Additional Settings For Custom Profile Fields
Great RateU, thank you! I will try it.
04-27-2012 12:04 AM
Find all posts by this user Quote this message in a reply
Sama34 Offline
Senior Member
****
Posts: 490
Joined: May 2011
Post: #18
RE: Additional Settings For Custom Profile Fields
(04-16-2012 02:46 AM)RateU Wrote:  Updated:
Remove it from PM

What do you mean by PM?

Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
(This post was last modified: 04-27-2012 01:22 PM by Sama34.)
04-27-2012 01:22 PM
Visit this user's website Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #19
RE: Additional Settings For Custom Profile Fields
Postbit in private message.

04-28-2012 05:18 AM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #20
RE: Additional Settings For Custom Profile Fields
RateU, I am posting to say that I am sorry I have not given any feedback on this, but I had a bit of an issue where I was locked out of my FTP and control panel.

It has been a frustrating couple of weeks as it happened DIRECTLY after I upgraded to 1.6.7 and in the process of upgrading something very odd happened - all my spoilers stopped working. However, I now have access to my FTP and I can hopefully upgrade XThreads and your plugin with it and report back with progress. It might even fix my spoiler problem Biggrin

Again, my apologies for not responding.


[Image: leelink.gif]
MYBB1.6 & XThreads
04-28-2012 07:31 PM
Visit this user's website Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: