Skip to:
Content
Pages
Categories
Search
Top
Bottom

creating a new page with a chat script


  • Stephen Polen
    Participant

    @bugicp

    I was wondering if there was a way to put my x7chat script into a new page, i tried putting the script itself in the new page, but its a php script. My site is http://www.soundsic.co.cc i have the chat tab already up I have it redirecting to the script, but I want the buddypress features in the chat script.

Viewing 13 replies - 1 through 13 (of 13 total)

  • thelandman
    Participant

    @thelandman

    @bugicp, I know its not recommended but you could just put an iframe on the new page and make the iframe point to the x7chat script.


    Bowe
    Participant

    @bowromir

    you should put the script call in a new page template and use that template for the page you would like to use the script on:

    https://codex.wordpress.org/Pages#Page_Templates


    thelandman
    Participant

    @thelandman

    @bowromir, Exactly! :)

    @bugicp, to make it even better, modify the x7chat script to use the bp_user table in the BP database. That way users don’t need to sign in to buddypress and then sign into x7chat.


    thelandman
    Participant

    @thelandman


    pcwriter
    Participant

    @pcwriter

    phpfreechat looks easy enough to install and customize (css, avatars, etc).

    The only major drawback I see is that it requires a page in order to work; meaning that users must remain on that page to chat.

    In a network or multisite install, even a basic Buddypress site, a chat system needs to be independent of pages so users can visit other sections or network sites/blogs while they chat.


    thelandman
    Participant

    @thelandman

    @pcwriter, good idea! I’ve managed to integrate phpfreechat into a BP site I’m working on, where that chat is docked at the bottom of the screen while the user is able to browse through the website. I’m going to put together a little tutorial once I’ve fine tuned everything.


    paulhastings0
    Participant

    @paulhastings0

    @thelandman That looks great. I’m a big proponent of lettings others learn from what we’ve done and accomplished. Is there any chance you could turn it into a plugin or possibly submit your code to the phpfreechat plugin developers and invite them to release their future versions with your “BP-enabled” settings?


    thelandman
    Participant

    @thelandman

    @paulhastings0, of course I’ll try turn it into a plugin. I’ve never written a plugin but I’m pretty sure I can take a crack at it.

    @pcwriter, the simple way to do it would be to make the “chat” page open in a new window. That’s how deviantart.com does it.


    paulhastings0
    Participant

    @paulhastings0

    @thelandman I just wanted to let you know that @sbrajesh has been working on chat plugin of his own. Perhaps the 2 of you could combine efforts? He has a beta who’s source code is now GPL.

    http://buddydev.com/forums/topic/bp-chat-1/page/2


    thelandman
    Participant

    @thelandman

    @paulhastings0, nice! Thanks for the suggestion. I’ll be sure to look into that.


    Joel
    Participant

    @joelhinch

    any news??


    thelandman
    Participant

    @thelandman

    @joelhinch,

    Unfortunately I haven’t made any further progress on this. With work and life going on its difficult to find time to work continue with this… Perhaps I’ll get back on this and finish it up over the coming weekend. Thanks for the reminder.


    Joel
    Participant

    @joelhinch

    again any news?

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘creating a new page with a chat script’ is closed to new replies.
Skip to toolbar