• Resolved bruine

    (@bruine)


    Hello Antoine,
    Sorry for all my questions lately.
    I’m just enthousiast about your great product.

    I have a finding about the Shoutbox.
    When I change “Maximum length for a shoutbox message *” to eg. 400 in the plugin
    You can type on the Frontend max. 400 Chars.
    But when you Save, the message is cut off to 255 Characters.

    Regards,
    Edwin

    • This topic was modified 10 months ago by bruine.
    • This topic was modified 10 months ago by bruine.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author AntoineH

    (@antoineh)

    I see that I have failed to change the description of the option to mention the 255 chars limit :). That is the limit of the database field that is being used. I can change it to a TEXT field in a future version to overcome this limit (it will then be 65,535 chars), although I do think that the shoutbox was never intended for long conversations. For those cases I would recommend the comments option of WordPress or a forum plugin. For most cases 255 chars ought to be enough.

    If you already want to start using the higher limit, then execute the following query in your database (change the table prefix if your tables don’t use the standard prefix):

    ALTER TABLE pool_wp_shoutbox CHANGE shout_text shout_text TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL;
    
    Thread Starter bruine

    (@bruine)

    You are right. Chat is not Word.
    Some users like to chat much ??
    Maybe because they like to win.

    ALTER TABLE pool_wp_shoutbox CHANGE shout_text shout_text TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL;

    I executed your query and now users have some characters more to gossip
    (Value > 256 in “Maximum length for a shoutbox message *” in the plugin)

    Thanks again!

    Regards, Edwin

    • This reply was modified 10 months ago by bruine.
    • This reply was modified 10 months ago by bruine.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Shoutbox Max Characters’ is closed to new replies.