Plugin: Webchat

a XML-RPC, server controller, for ManiaPlanet

Moderators: TGYoshi, NADEO

Post Reply
reaby
Posts: 936
Joined: 29 Dec 2010, 23:26
Location: Eastern Finland
Contact:

Plugin: Webchat

Post by reaby » 25 Jul 2012, 17:14

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
Last edited by reaby on 26 Jul 2012, 16:53, edited 1 time in total.

Jalt96
Posts: 4
Joined: 01 Sep 2013, 08:20
Location: Buenos Aires, Argentina
Contact:

Re: Plugin: Webchat

Post by Jalt96 » 01 Sep 2013, 19:28

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

User avatar
TGYoshi
Posts: 811
Joined: 15 Mar 2011, 16:59

Re: Plugin: Webchat

Post by TGYoshi » 01 Sep 2013, 20:57

Replace every occurence of ManiaPlanet. with TrackMania. in controller.js could be worth a shot.
=3

Jalt96
Posts: 4
Joined: 01 Sep 2013, 08:20
Location: Buenos Aires, Argentina
Contact:

Re: Plugin: Webchat

Post by Jalt96 » 01 Sep 2013, 21:56

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

User avatar
TGYoshi
Posts: 811
Joined: 15 Mar 2011, 16:59

Re: Plugin: Webchat

Post by TGYoshi » 02 Sep 2013, 11:57

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.
=3

Jalt96
Posts: 4
Joined: 01 Sep 2013, 08:20
Location: Buenos Aires, Argentina
Contact:

Re: Plugin: Webchat

Post by Jalt96 » 02 Sep 2013, 18:39

If this helps, I have a SMF forum, hosted in x10hosting. My TM server is hosted at my computer

User avatar
TGYoshi
Posts: 811
Joined: 15 Mar 2011, 16:59

Re: Plugin: Webchat

Post by TGYoshi » 02 Sep 2013, 22:09

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.
=3

Jalt96
Posts: 4
Joined: 01 Sep 2013, 08:20
Location: Buenos Aires, Argentina
Contact:

Re: Plugin: Webchat

Post by Jalt96 » 03 Sep 2013, 19:23

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:

Post Reply

Return to “JsControl”

Who is online

Users browsing this forum: No registered users and 0 guests