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.

[Tutorial] Simple staff chat

5 posters

Go down

[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
Daemon
Daemon
Forumember

Posts : 104
Reputation : 91
Language : Português

Back to top Go down

[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
TonnyKamper
TonnyKamper
Active Poster

Female Posts : 1094
Reputation : 80
Language : Dutch/English
Location : DSF Admin

http://www.nederlandheelt.nl/forum

Back to top Go down

[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.
Wecoc
Wecoc
Forumember

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

Back to top Go down

[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
Daemon
Daemon
Forumember

Posts : 104
Reputation : 91
Language : Português

Back to top Go down

[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
SarkZKalie
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 1443
Reputation : 220
Language : English

https://rotavn.forumotion.com/

Back to top Go down

[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 : 1094
Reputation : 80
Language : Dutch/English
Location : DSF Admin

http://www.nederlandheelt.nl/forum

Back to top Go down

[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 ..
TonnyKamper
TonnyKamper
Active Poster

Female Posts : 1094
Reputation : 80
Language : Dutch/English
Location : DSF Admin

http://www.nederlandheelt.nl/forum

Back to top Go down

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

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

goood
Amjedamir
Amjedamir
Forumember

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

http://amjedofamir.ahlamontada.com/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum