Support » Plugin: Advanced XProfile Fields for BuddyPress » Max characters limit is not working

  • Resolved gingerbooch

    (@gingerbooch)


    Hi @suiteplugins,

    It seems this issue is not new.
    Is it possible to try again fixing it please ?
    It would be very usefull to prevent a kind of abuse.
    And that would be awesome if you could add a function to show the remaining characters limit while typing, for the users not to be frustrated with an error after writing a long text 😉

    Thank you for your work 🙂

    GB

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author SuitePlugins

    (@suiteplugins)

    I will have a look at this. I will keep you posted.

    Plugin Author SuitePlugins

    (@suiteplugins)

    @gingerbooch

    I went through the plugin and I saw that it is working, can you tell me more about your scenario. Like do you not see the message displayed at all? Is this on registration form only?

    I also looked into the characters remaining limit while typing and I love the idea but I wasn’t able to include it in this update so I will keep it on the list of improvements to hopefully add in another update.

    Thread Starter gingerbooch

    (@gingerbooch)

    Hi @suiteplugins,

    The problem happens in the edit user fields page.

    Everything was working fine previously.

    Now I found that the problem is deeper. Everything I try to do with the options of your plugin like changing labels or any stuff returns a valid message but when you go back to field, nothing has been saved.

    Worse, I had a label customized for a field, the “user edit” label. This one was done before the plugin stopped working. This custom field was ok. But since I went back to this field to customize the “seen by others” label, this errased the previously working one (user edit label).

    I have a field which was showing in the admin panel, this is not working anymore neither. In the admin panel I can see the field title, but the content does not appear in the column.

    I think something was broken from a previous buddypress update. Something may have change somewhere.

    Can you try to fix this please ?

    Plugin Author SuitePlugins

    (@suiteplugins)

    Thanks for letting me know about this additional issue. I am currently trying to overhaul the plugin to improve the features and UI of it. First, I will start by fixing the issue with user edit label.

    Thanks for letting me know.

    Thread Starter gingerbooch

    (@gingerbooch)

    Hi @suiteplugins,

    Thank you for your answer.
    I checked the bp_xprofile_meta table in the db.
    Every time I save a field config from admin panel, this erase the whole meta_value for the following meta keys : sp_xprofile_labels sp_xprofile_options sp_xprofile_validation which should show at least serialized zero values. But the meta values are totally emptied by saving the field.

    Thread Starter gingerbooch

    (@gingerbooch)

    Hi @suiteplugins,

    Thank you for the last update, I’m glad to see the labels working again.
    Unfortunately, I am facing a JS error since the last update.

    Before the update, I could still modify a profile but your plugin was not working.
    Now, I can’t modify a profile at all. The sending button is not working.

    I tried on a test server like this :
    – Install WordPress
    – Install Buddypress
    – Add users
    – Create personal fields
    – Install “Advanced XProfile Fields for BuddyPress”
    – Connect as a user and try to modify a field then save

    The saving button is not responding.
    The console returns this error message :

    too much recursion jquery.js:2:6410
        jQuery 12
        <anonyme> https://website.com/members/TestUser/profile/edit/group/1/:1042
        jQuery 9
        <anonyme> https://website.com/members/TestUser/profile/edit/group/1/:1045
        jQuery 9
        <anonyme> https://website.com/members/TestUser/profile/edit/group/1/:1045
        jQuery 9
        <anonyme> https://website.com/members/TestUser/profile/edit/group/1/:1045
        jQuery 9
        <anonyme> https://website.com/members/TestUser/profile/edit/group/1/:1045
        jQuery 9
        <anonyme> https://website.com/members/TestUser/profile/edit/group/1/:1045
        jQuery 9
        <anonyme> https://website.com/members/TestUser/profile/edit/group/1/:1045
        jQuery 9
        <anonyme> https://website.com/members/TestUser/profile/edit/group/1/:1045
        jQuery 9
        <anonyme> https://website.com/members/TestUser/profile/edit/group/1/:1045
        jQuery 9
        <anonyme> https://website.com/members/TestUser/profile/edit/group/1/:1045
        jQuery 9
        <anonyme> https://website.com/members/TestUser/profile/edit/group/1/:1045
        jQuery 9
        <anonyme> https://website.com/members/TestUser/profile/edit/group/1/:1045
        jQuery 5

    I found that editing the first profile field (the original “name” one), then going to validation tab and checking the “Text format” box (leaving it to the default “-Select Format-“) makes your plugin working on my test server.

    I tried to reproduce this on my production server but it has no effect.
    Still not working, but the error message is pointing a different file :

    too much recursion wp-polyfill.min.js:1:18346
        RegExpGlobalReplaceOptFunc self-hosted:2286
        Symbol.replace self-hosted:2083
        maybeCallNative https://website.com/wp-includes/js/dist/vendor/wp-polyfill.min.js?ver=7.4.4:1
        [251]</</< https://website.com/wp-includes/js/dist/vendor/wp-polyfill.min.js?ver=7.4.4:1
        exports https://website.com/wp-includes/js/dist/vendor/wp-polyfill.min.js?ver=7.4.4:1
        replace https://website.com/wp-includes/js/dist/vendor/wp-polyfill.min.js?ver=7.4.4:1
        jQuery 13
        <anonyme> https://website.com/membres/TestUser/profile/edit/group/1/:1042
        jQuery 9
        <anonyme> https://website.com/membres/TestUser/profile/edit/group/1/:1045
        jQuery 9
        <anonyme> https://website.com/membres/TestUser/profile/edit/group/1/:1045
        jQuery 9
        <anonyme> https://website.com/membres/TestUser/profile/edit/group/1/:1045
        jQuery 9
        <anonyme> https://website.com/membres/TestUser/profile/edit/group/1/:1045
        jQuery 9
        <anonyme> https://website.com/membres/TestUser/profile/edit/group/1/:1045
        jQuery 9
        <anonyme> https://website.com/membres/TestUser/profile/edit/group/1/:1045
        jQuery 9
        <anonyme> https://website.com/membres/TestUser/profile/edit/group/1/:1045
        jQuery 9
        <anonyme> https://website.com/membres/TestUser/profile/edit/group/1/:1045
        jQuery 9
        <anonyme> https://website.com/membres/TestUser/profile/edit/group/1/:1045
        jQuery 9
        <anonyme> https://website.com/membres/TestUser/profile/edit/group/1/:1045
        jQuery 8

    Can you reproduce this error ?

    Thread Starter gingerbooch

    (@gingerbooch)

    Hi @suiteplugins,

    Thank you for update 1.0.4.2 which fixed the console issue.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Max characters limit is not working’ is closed to new replies.