Page 1 of 1

Plugin: Webchat

Posted: 25 Jul 2012, 17:14
by reaby
And the first 3rd party plugin Webchat for your maniaplanet server
https://github.com/reaby/jscontrol_webchat

screenshot with manialive as secondary server controller... but you can use it with xaseco, foxcontrol or anything else, also for canyon servers :)

http://koti.mbnet.fi/reaby/tmn/img/webchat.jpg

Re: Plugin: Webchat

Posted: 01 Sep 2013, 19:28
by Jalt96
Hi reaby, how it's going? I've been looking for something like this for weeks. Nice tool :D But I have a problem. I want to use it on my TMF server. Sending chat lines to server works fine, but I cannot read anything on webchat. Is there any modification to make it work with TMF?

I attached a screenshot http://postimg.org/image/6elm67eg5/full/

Thanks in advance,
Jalt

Re: Plugin: Webchat

Posted: 01 Sep 2013, 20:57
by TGYoshi
Replace every occurence of ManiaPlanet. with TrackMania. in controller.js could be worth a shot.

Re: Plugin: Webchat

Posted: 01 Sep 2013, 21:56
by Jalt96
Thanks for the quick reply, it works!! :1010

EDIT: Sorry again, but is there any possibility I could upload this to my forum? I mean, somewhere I could upload the webchat so everyone can use it. Hope you understand my point.

Thanks in advance,
Jalt

Re: Plugin: Webchat

Posted: 02 Sep 2013, 11:57
by TGYoshi
Well, easiest is probably including some iframe pointing to your webchat webserver running on the same machine as the server is.
Depends on your forum software though.

Re: Plugin: Webchat

Posted: 02 Sep 2013, 18:39
by Jalt96
If this helps, I have a SMF forum, hosted in x10hosting. My TM server is hosted at my computer

Re: Plugin: Webchat

Posted: 02 Sep 2013, 22:09
by TGYoshi
I have no experience with SMF "customisation" so I guess you're on your own there.

Alternatively directly link to your local computer's webserver, which you can link to.

Re: Plugin: Webchat

Posted: 03 Sep 2013, 19:23
by Jalt96
Thanks for help :thumbsup: I uploaded webchat files to my website and changed
<script> var serverLocation = "http://<?php echo $_SERVER['SERVER_ADDR'] . ":8081"; ?>"</script>
<script src="http://<?php echo $_SERVER['SERVER_ADDR'] . ":8081"; ?>/socket.io/socket.io.js"></script>
to my IP 8-)

Thank you for quick replies and help :clap: