https://www.icyphoenix.com/viewtopic.php?f=35&t=8414&p=55500#p55500
-----------------------------------
jhl
Wed 04 Apr, 2012 00:55

Re: Way To Go?
-----------------------------------
[quote user="Mighty Gorgon" post="55494"]Welcome to Icy Phoenix John.

Thank you very much for your suggestions, I'll try to improve #1 with your suggested code on GIT, I'll check #2 even if I don't assure you I'm going to change anything there... and finally about #3, another coder was working on that... but unfortunately he stopped working on chat. If you have time, I can link you the work in progress so you can try to finish it.[/quote]

I have already changed #2, there are four template variables which are now in the second larger array. Git push soon when I'm happy with the results.

As for #3, I've seem most of the chatroom code in beta, but if there's more, then I'll be happy to at least take a look. I have a 'race' like condition with the Ajax - yes, even though JavaScript runs in a single thread - probably the async reponses. Once that's fixed, I'll push this stuff too.

As for block positions, I find the POSITION template variable fairly truthful, so I just check for 'left' or 'right', if it's neither, then I must be centre so I have more space ;-)

John


