SimplePortal

Development => Feature Requests => Topic started by: tfs on September 02, 2009, 07:38:32 PM

Title: 2.3 "Reverse Order" elevator behavior
Post by: tfs on September 02, 2009, 07:38:32 PM
SMF 2.0/RC1-2
SP 2.3

Description: Reverse Order elevator behavior

Create a shoutbox and set it to "Reverse Order."  Make enough entries that the elevator bar appears.  From that point forward, each time you enter something into the shout window you must then click on the elevator bar and scroll down to see it.

It would be better if the elevator bar behavior took the "Reverse Order" setting into account and allowed you to see the new entries without having to scroll down.

Title: Re: 2.3 "Reverse Order" elevator behavior
Post by: Nathaniel on September 03, 2009, 02:11:40 AM
Moved to the Bugs board. Not really a support request. ;)
Title: Re: 2.3 "Reverse Order" elevator behavior
Post by: tfs on September 03, 2009, 02:27:44 AM
Thanks.  I wasn't sure if you considered it a bug.  So many devs call something like that a design limitation.  :)  I admire your willingness to take things on directly and without hedging.  It shows in the product!
Title: Re: 2.3 "Reverse Order" elevator behavior
Post by: Nathaniel on September 03, 2009, 03:15:17 AM
Well, it could possibly be considered a Feature Request, it depends how the devs choose to interpret it. ;)
Title: Re: 2.3 "Reverse Order" elevator behavior
Post by: [SiNaN] on September 03, 2009, 04:49:56 AM
Well, yeah. It sounds more like a feature request. It was suggested during the development stage too. You could wait until the shouts displayed in shoutbox block reaches to its limit and it will fix itself.

For future maybe something like this to onShoutReceived() in portal.js might be added:

Code: [Select]
if (reverse_order)
document.getElementById('shouts_' + shoutbox_id).scrollTop = document.getElementById('shouts_' + shoutbox_id).scrollHeight;

You'll need to pass and catch reverse order option value with XML serving function too.
Title: Re: 2.3 "Reverse Order" elevator behavior
Post by: tfs on September 03, 2009, 10:46:11 AM
I'll wait for when the next version comes around.  I had an idea to turn a series of shoutboxes into a series of chat rooms.  What I did was to make a Simple Portal "Page" called "Chat_Room_1", and the only text on the page is a big "Chat Room #1" at the top.  Then I made a shoutbox 500px tall, refresh 5 seconds, and display it in a bottom box only on the "Chat_Room_1" page.  It's basically a big chat window now, and I just need to figure out an elegant way for people to get to it.

But reverse order is much better for a chat window, where the new text goes next to where you entered it.  I suppose if the entry field could be moved to the top then it would also solve my issue, though I think I do prefer a chat window that has the entry at the bottom.
SimplePortal 2.3.8 © 2008-2024, SimplePortal