[Tutorial] Simple staff chat Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
5 posters

    [Tutorial] Simple staff chat

    Daemon
    Daemon
    Forumember


    Posts : 104
    Reputation : 91
    Language : Português

    [Tutorial] Simple staff chat Empty [Tutorial] Simple staff chat

    Post by Daemon March 23rd 2018, 8:19 pm

    Create a simple chat for the staff.

    [Tutorial] Simple staff chat 8dMt0C2

    Create a new module with the following content (Visible only to staff):
    Code:
    Editing...
    Wink


    Last edited by Daemon on May 9th 2018, 1:20 am; edited 2 times in total
    TonnyKamper
    TonnyKamper
    Active Poster


    Female Posts : 1080
    Reputation : 78
    Language : Dutch/English
    Location : DSF Admin

    [Tutorial] Simple staff chat Empty Re: [Tutorial] Simple staff chat

    Post by TonnyKamper March 24th 2018, 12:34 am

    Sadly it isn't working on Invision or phpbb3 Deamon.. Sad
    Wecoc
    Wecoc
    Forumember


    Male Posts : 144
    Reputation : 111
    Language : Catalan, Spanish, English

    [Tutorial] Simple staff chat Empty Re: [Tutorial] Simple staff chat

    Post by Wecoc March 24th 2018, 12:59 am

    I just tried it and sadly it doesn't work. I tried in phpBB3, punBB and modernBB... and doesn't work in any of them.
    The board is always empty, new posts don't appear (only a text in portuguese is displayed). Maybe with the translation to english something has messed up.
    No alerts or console errors, it simply ignores your sends.

    Code:
    var msgs = jQuery("li.clearfix:contains('chat_staff'):lt(10)", responseHtml).wrapAll("<div></div>").parent().html();

    Maybe the problem is with this line, I checked and its value is always null. All the ajax succeed but the msgs is null so no message can be displayed scratch

    PS. Also, as far as I understand, this code only works with the advanced profile (and this can't be changed).
    I checked it always with the advanced profile enabled so that's not the problem is my tests.
    Daemon
    Daemon
    Forumember


    Posts : 104
    Reputation : 91
    Language : Português

    [Tutorial] Simple staff chat Empty Re: [Tutorial] Simple staff chat

    Post by Daemon March 24th 2018, 2:53 am

    I confess that I only tested in PunBB. But I promise a functional version for the other versions. Very Happy
    SarkZKalie
    SarkZKalie
    Support Moderator
    Support Moderator


    Male Posts : 1442
    Reputation : 220
    Language : English

    [Tutorial] Simple staff chat Empty Re: [Tutorial] Simple staff chat

    Post by SarkZKalie March 24th 2018, 12:43 pm

    Thank you! Very Happy



    [Tutorial] Simple staff chat Sarkzk10
    TonnyKamper
    TonnyKamper
    Active Poster


    Female Posts : 1080
    Reputation : 78
    Language : Dutch/English
    Location : DSF Admin

    [Tutorial] Simple staff chat Empty Re: [Tutorial] Simple staff chat

    Post by TonnyKamper March 24th 2018, 2:40 pm

    Daemon wrote:I confess that I only tested in PunBB. But I promise a functional version for the other versions. Very Happy

    Thank you cheers
    TonnyKamper
    TonnyKamper
    Active Poster


    Female Posts : 1080
    Reputation : 78
    Language : Dutch/English
    Location : DSF Admin

    [Tutorial] Simple staff chat Empty Re: [Tutorial] Simple staff chat

    Post by TonnyKamper March 31st 2018, 8:11 pm

    As for feedback, I can tell you that the message I sent in the widget instead of displaying in the chatwidget get's displayed on my wall ..
    Amjedamir
    Amjedamir
    Forumember


    Posts : 25
    Reputation : 1
    Language : العربية

    [Tutorial] Simple staff chat Empty Re: [Tutorial] Simple staff chat

    Post by Amjedamir July 1st 2018, 8:08 pm

    goood