WordPress.org

Support

Support » Plugins and Hacks » Quick Chat » [Resolved] [Plugin: Quick Chat] How to php embed

[Resolved] [Plugin: Quick Chat] How to php embed

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Marko-M

    @marko-m

    Hi, I haven’t really tested, but this should work:

    echo quick_chat_display_chat(500);

    The 500 is chat history window height in pixels, you can put your wanted height. Just be careful not to place your chat in funny place because it by default takes CSS appearance from where you’ve placed it. Hope it works fine for you, I’ll try testing more when I find time and put it in FAQ section 🙂 Cheers!

    Thanks.. it works.

    CSS fits well. Although I made some adjustments.

    Does this logs every chat on the DB?

    Plugin Author Marko-M

    @marko-m

    Yes, everything including IP adress of message authors is in wp_quick_chat table inside your wordpress database.

    Sounds great.

    In that case I will look forward for admin interface to review logs of chats via admin or via protected post.

    Great stuff you have here.

    Goodluck and thanks

    Plugin Author Marko-M

    @marko-m

    Thanks for support, wish you all best 🙂

    Hi,

    Did you change how to php embed? Mine is now having this warning.

    Warning: Missing argument 2 for quick_chat_display_chat(), called in /home/wp-content/themes/mcgiwebcast_t2_es/page-livestream.php on line 44 and defined in /home/wp-content/plugins/quick-chat/quick-chat.php on line 705

    Plugin Author Marko-M

    @marko-m

    Quick Chat has chat room support now so this function call needed to change. Here is new:

    echo quick_chat_display_chat($height, $room);

    The first argument is old one, the height. Second argument is string with chat room name. So for predefined chat room you do like this:

    echo quick_chat_display_chat(500, 'default');

    You can read more about chat rooms inside FAQ. If you don’t care about chat rooms you just use ‘default’. Cheers!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] [Plugin: Quick Chat] How to php embed’ is closed to new replies.
Skip to toolbar