This topic has 13 replies, 3 voices, and was last updated 7 years by Radu.

  • Author
  • #181056
     emmanuel
    Participant

    how to limit the number of character and words for users when they are posting something on the site

    Attachments:
    You must be logged in to view attached files.
    #181058
     Kieran_SQ
    Moderator

    Hi @emmanuel,

    Thanks for contacting us today about limiting fields. You can use this plugin to limit the characters of profile fields (as well as other options) https://wordpress.org/plugins/advanced-xprofile-fields-for-buddypress/.

    You can also use the below snippet in WP Admin > SweetDate > General Settings > Scroll to: ‘Analytics Code’

    COPY CODE
    <script>
    jQuery(document).ready(function($) {
    $('#field_8').attr('maxlength', '140');
    });
    </script>

    Change field_8 to suit your needs and 140 to the number of characters you wish to limit it to. You can identify the ID for the field by right clicking it and selecting inspect. If you would like me to extract ID for you then please update the ticket with login credentials and tell me specifically which field you wish to limit.

    Thanks,

    Kieran.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #181059
     emmanuel
    Participant

    when i paste the snippet in WP Admin > SweetDate > General Settings > Scroll to: ‘Analytics Code’ it is’nt working and i have download and actitvate the plugin and don’t know where to find the setting

    #181060
     Kieran_SQ
    Moderator

    Hi,

    Did you update the snippet with the correct ID for the field?

    As for the plugin you will find the settings in each individual field, so you would need to go to WP Admin > Users > Profile Fields > Select: Desired field and then scroll down to the new settings (see screenshot).

    Kieran.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    Attachments:
    You must be logged in to view attached files.
    #181063
     emmanuel
    Participant
    This reply has been set as private.
    #181064
     Kieran_SQ
    Moderator

    Hi,

    Please let me know which field you would like to limit and how many characters you would like it limited to

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #181066
     emmanuel
    Participant

    every field in the about me group and what i am looking for group

    #181067
     Kieran_SQ
    Moderator

    To how many characters?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #181068
     emmanuel
    Participant

    30 characters

    #181069
     Kieran_SQ
    Moderator

    Hi,

    I logged into your site and set a max value of 30 characters for each of the fields under the tabs ‘about me’ and ‘what i am looking for’. It seems like the plugin I referred you to is no longer compatible with the latest version of BuddyPress / WordPress and did not apply the limit that I had set.

    Using my above snippet I was also unable to limit the fields inputs, therefore I am going to ask one of our developers to look into this for you. They’ll be in touch as soon as they can, Mon to Fri, East Europe Time.

    Thank you for your patience,

    Kieran.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #181070
     emmanuel
    Participant

    ok thank you

    #181227
     Radu
    Moderator

    Hi,

    What’s the link from where i can see like this ? It’s on frontend or backend ? anyway provide URL.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #181228
     emmanuel
    Participant
    #181312
     Radu
    Moderator

    Hi,

    Please ask this on the buddypress forums since the the question it’s related to the Buddypress plugin.Also i don’t have any quick solution for that.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 14 posts - 1 through 14 (of 14 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?