Menu

Text placement vs smilies ..

2001-06-10
2012-09-14
  • Kenneth Kristiansen

    Hi ..
    Today we have the options of smilies like:

    $smilies = array(
    ":\)"    => array("smile1.gif", "15", "15"),
    ":D"    => array("smile2.gif", "15", "15"),

    and so on .. What about this:

    $textreplacement = array(
    "*l*"   => array("laugh"),
    "*wb*"  => array("Welcome back"),

    and so on .. I really think this is a must feature in a good chat program like phpMyChat ..

    If I could i will try to implement this by my self but I can't program php ..

    Regards
      // kk

     
    • Loïc Chapeaux

      Loïc Chapeaux - 2001-06-10

      Hi Kenneth!

      Good suggestion but always the same problem: you forget to think about the multi-language support ;)
      I mean than *l* should be be rewritten "laugh" for english users, "rire" for french ones....

      Cheers,
      Loc

       
      • Kenneth Kristiansen

        Hi Loc ..

        No .. I don't forget this .. But this feature may for my point of view be like smilies. The admin MUST adapt the words he/she like to be replaced.

        I can today add more smilies - so why not textreplacement ..

        In ours chat.loc we have $TextColors. Could we have one generic $TextReplacement where i wrote some i denmark very often used word/text replacement and for others language could this array be = NULL

        This is only a thought ..

        Regards
          kk

        Regards,
          kk

         

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.