Added a discussion 

what is the method for increasing the number of characters in a reply to a discussion

I looked but could not figure where to increase it from 5000 characters of data length

  • 726
Comments
    • Developer app > fields > system > post comment form > text

      πŸ’“0 πŸ˜†0 😲0 πŸ˜₯0 😠0 0
      • Thanks Yra but i am not finding that. I found the Edit Text Field page where 40000 is listed as the max value for character but still when someone post a reply to a discussion, there is a notice saying that there should be max of 4000.

        πŸ’“0 πŸ˜†0 😲0 πŸ˜₯0 😠0 0
        • Yra,

          There is no Developer app > fields

          What I see on developer are icons for 5 these choices:

          Settings, polyglot, forms, navigation, pages


          The version I am using of UNA is

          Version: 11.0.3 Installed: 12 Apr 2019

          πŸ’“0 πŸ˜†0 😲0 πŸ˜₯0 😠0 0
          • Fields are in forms

            πŸ’“0 πŸ˜†0 😲0 πŸ˜₯0 😠0 0
            • Hello Michael Beloved !

              It is possible to do via execution of the following query:

              UPDATE `sys_objects_cmts` SET `CharsPostMax`=4000 WHERE `Name`='bx_forum' LIMIT 1;

              and then clear cache via Dashboard.

              πŸ’“0 πŸ˜†0 😲0 πŸ˜₯0 😠0 0
              • Yra

                Here is the path:

                developer> forms> field> system> comment post form> text> edit field > data length Max value.

                Β 

                However that is already set to 40000.

                Β 

                And still when a reply comment is made in discussion, we are getting a red warning which states

                Please enter 1-5000 characters.

                UNA is ignoring the 40000 input at the edit fields dialog box

                There must be another place where this can adjusted

                πŸ’“0 πŸ˜†0 😲0 πŸ˜₯0 😠0 0
                • LeonidS,


                  Please enter 1-5000 characters




                  Incorrect info. Please, check your inputs and try to submit again.



                  The limit given in the warning is 5000, not 4000 as I mentioned above. I adjusted the query and filed it and also cleared cash in studio but nothing changed when i tested to see if it would accept an amount over 5000 spaces.

                  Here is the query followed by the reply (I used phpmyadmin)

                  UPDATE `sys_objects_cmts` SET `CharsPostMax`=5000 WHERE `Name`='bx_forum' LIMIT 1;


                  Returned this answer:


                  UPDATE `sys_objects_cmts` SET `CharsPostMax`=4000 WHERE `Name`='bx_forum' LIMIT 1;

                  πŸ’“0 πŸ˜†0 😲0 πŸ˜₯0 😠0 0
                  • Michael Beloved Yra LeonidSΒ 

                    Studio > Developer > Forms > Drop Down to System > In System Name column, you will see Comment. Click on 2 displays link under Displays column for Comment. You will see Comment Post Form > Then in Fields Column, click on 7 Fields. You will then see System Name column...scroll down to Text and click the Pencil icon to edit the field.Β 

                    Change Check for from Data Length to Data Availability. It will by pass checking character count and only checks to make sure that at least 1 character was entered and cannot be blank. It will no longer check to make sure you are not over 5000 characters. You will not need to do any sql commands for this to work so don't worry about running the commands you were told to use.

                    See attached image

                    image_transcoder.php?o=bx_froala_image&h=3910&dpx=2&t=1598281061


                    πŸ’“0 πŸ˜†0 😲0 πŸ˜₯0 😠0 0
                    • Jeremy,

                      Thanks. However it is not allowing me to save that. Please see circled areas on the form.


                      πŸ’“0 πŸ˜†0 😲0 πŸ˜₯0 😠0 0
                      • The title you need to enter is Comment

                        πŸ’“0 πŸ˜†0 😲0 πŸ˜₯0 😠0 0
                        • Jeremy,

                          That is Super!

                          Classic method - Should be noted for the record.

                          Thanks!

                          πŸ’“0 πŸ˜†0 😲0 πŸ˜₯0 😠0 0
                          • This is what solved the problem of limited text input for comments in discussions.

                            Studio > Developer > Forms > Drop Down to System > In System Name column, you will see Comment. Click on 2 displays link under Displays column for Comment. You will see Comment Post Form > Then in Fields Column, click on 7 Fields. You will then see System Name column...scroll down to Text and click the Pencil icon to edit the field.

                            Β Change Check for from Data Length to Data Availability. It will by pass checking character count and only checks to make sure that at least 1 character was entered and cannot be blank. It will no longer check to make sure you are not over 5000 characters.

                            See attached images. Set everything as marked in the images.

                            Once you access the Edit "Test" Field dialog box make sure everything is set as per the images attached.

                            πŸ’“0 πŸ˜†0 😲0 πŸ˜₯0 😠0 0
                            • You're welcome. Glad I could help.

                              πŸ’“0 πŸ˜†0 😲0 πŸ˜₯0 😠0 0
                              Not logged in users can't 'Comments Post'.
                              Info

                              UNA - Network Infrastructure for Communities

                              Close