Profiles

  1. 5 years ago

    Toby

    21 May 2014 Administrator
    Edited 5 years ago by Toby

    Allows custom fields to be added to user profiles.

    Download

    https://github.com/esotalk/Profiles

    Future Plans

    • More profile field types: select, radios, checkboxes
    • Member list search criteria dropdown (similar to the gambits dropdown)
  2. When adding a field of text, there's a limit of 984 characters (or so it seems). I looked at the code, but couldn't find a way to change that. Is there a way?

    thanks!

  3. Alter the varchar length inside your database for the description value. It has been set to 255 chars on setup .

  4. Toby

    13 Jun 2014 Administrator

    I think @openguy is talking about a limit on the field values, not the field description. There's a hard limit of 1000 characters defined here: https://github.com/esotalk/Profiles/blob/master/plugin.php#L279 .

  5. toby can u zip this for me ?

  6. @BaseBoy toby can u zip this for me ?

    https://github.com/esotalk/Profiles/archive/master.zip

  7. Is there any way to save user fields as an empty string ' ' ? Right now it makes it = 0 when empty, and when you set to show it in the posts - looks bad.

  8. @inliquid Is there any way to save user fields as an empty string ' ' ? Right now it makes it = 0 when empty, and when you set to show it in the posts - looks bad.

    I think so ..

  9. If you edit in database - you can make it equal to empty string = ' ', so the problem is only when you try to save from the user profile - somehow it saves zeros...

  10. Ok, I've found where the problem is:

    Check out plugin.php:280, change

    $value = substr($value, 0, 1000);

    to

    $value = mb_substr($value, 0, 1000);

    or

    $value = mb_substr($value, 0, 1000, "UTF-8");

    if your internal encoding setting differs from UTF-8.

  11. Works fine

  12. @Toby I think @openguy is talking about a limit on the field values, not the field description. There's a hard limit of 1000 characters defined here: https://github.com/esotalk/Profiles/blob/master/plugin.php#L279 .

    That is right @Toby , I was looking for the field value. Thank you! Is there a limit on the database side? Let's say I put the value at 4000 characters, will there be a problem?

  13. Edited 5 years ago by MeTHoDx

    This isn't working for me. Users can add info to the "About Me" section and "Location" but both are not being displayed in the actual profile. I just installed the forum about 2 days ago so I'm using the latest version.

  14. Edited 5 years ago by inliquid

    If you mean it's not displayed within member's post - remove this fields from "Administration" - "Profiles" and create again. I think the one which is installed by default had some problems with wrong ids in database.

  15. hello.
    Can I display image in Profiles Plugin?

  16. Error when saving profile @Toby

    Fatal error: Call to undefined function mb_substr() in /home/imchimpm/public_html/murder/forum_root/addons/plugins/Profiles/plugin.php on line 279

  17. Edited 5 years ago by inliquid

    @CodeChimp you need mbstring php extension.

  18. @inliquid Ah cheers :)

  19. Edited 5 years ago by Tech

    Can anyone here more savvy, explain to me how to add the Location feature in profiles for members?

  20. @Tech Can anyone here more savvy, explain to me how to add the Location feature in profiles for members?

    With how it's setup as of now it's just basic text. As you'll see below just basic text noting more. I'm sure that a world map version could be implemented but isn't really needed as it would defeat the purpose of the software being "Fat-free forum software".
    -image-

  21. Newer ›
 

or Sign Up to reply!