Menu

Increasing the Post Length

Help
K C
2008-05-22
2012-09-14
  • K C

    K C - 2008-05-22

    I installed phpMyChat on my website tonight and have so far found it to be one of the most flexible and powerful chatting tools provided anywhere. I've been happy with the overall experience. One feature I would very much like to "fix", however, is increasing the length of a post. Currently, the default is a maximum three short sentences or so.

    I'm waiting for my Yahoo! group membership to be approved, since I was hoping for an answer there. But a night's worth of Googling and a few more hours reading every single configuration item in the Admin page gave me nothing. Does anyone know if this fix is possible?

    Thanks in advance for the help.

     
    • Ciprian Murariu

      Ciprian Murariu - 2008-05-22

      You need to edit input.php and increase the M input box size/maxlength:
      <INPUT TYPE="text" NAME="M" SIZE="50" MAXLENGTH="299" VALUE....
      and also increase the size of the message field in the c_messages table of your database.

      Ciprian

       
    • K C

      K C - 2008-05-22

      Thank you many times over! That easily fixed the problem. :)

       
      • Ciprian Murariu

        Ciprian Murariu - 2008-05-22

        You can also change it into a TEXTAREA, so you can post multi-line text...
        The pacth applies in the same manner. If you need help with this, let me know.

        Ciprian M.

         
    • K C

      K C - 2008-05-25

      I have to say, being very new to PHP in general, I've spent the weekend learning all I could about phpMyChat. Because of it I became more familiar with phpMyAdmin and working with .php files in general - something I've never had an interest in before. I'm very happy with the customization I've done on my website/chatroom. The remote login feature is great. Also having a fun time making avatars and sounds. This reminds me a lot of CheetaChat a few years back (my favorite chat app), which is no longer available.

      A little hard work and research definitely goes a long way! It's very frustrating when chat breaks, but it's a lot more rewarding when you can get it fixed. Thanks for the speedy support!

      I'll try out the textarea. ;)

       
      • Ciprian Murariu

        Ciprian Murariu - 2008-05-25

        You're very welcome!
        Well, I have to say this: I've learned php, cpanle/phpmyadmin, javascript and html all because of phpmychat (and a little phpbb2 before that). When I first saw phpMyChat on my site, I wanted to customize it, then everything started up, challenging me to make it better and better - that's how phpMyChat-Plus actually made it out to the public :)

        All the best!
        Ciprian M.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.