Chat box input order

Posted by damavox 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Now, this forum is in read-only mode. You find details Details hereContinue on /r/PirateBox
Chat box input order
February 23, 2016 08:30AM
I just installed piratebox on my pi.
First let me say that i love the performance of the pi in combo with the piratebox.

I noticed the chat box always places new user input from bottom to top instead of top to bottom like normal chat services.

How can i go about correcting this?
Re: Chat box input order
February 24, 2016 03:43PM
You need to modify it on several parts.

The first thing, which comes to my mind is the relevant python library psogen.py. The marked line must be changed into
 finalcontent = old + content

But after that you have to solve the problem, that the new messages will scroll out of the text box soon... this is some other interesting task in JavaScript/CSS

Matthias
Re: Chat box input order
February 25, 2016 06:50AM
lol i'll deal for now, i can only write basic javascript as of now, havn't got that far in my Team TreeHouse subscription yet.