MyBB-Plugins Forums
Myshoutbox - scrolling other direction? - Printable Version

+- MyBB-Plugins Forums (http://forums.mybb-plugins.com)
+-- Forum: Archived Forums (http://forums.mybb-plugins.com/Forum-Archived-Forums)
+--- Forum: MyBB 1.4.x (http://forums.mybb-plugins.com/Forum-MyBB-1-4-x)
+---- Forum: Free Plugins (http://forums.mybb-plugins.com/Forum-Free-Plugins)
+---- Thread: Myshoutbox - scrolling other direction? (/Thread-Myshoutbox-scrolling-other-direction)



Myshoutbox - scrolling other direction? - isbn1 - 04-23-2010

First a big THANK YOU for the Myshoutbox plugin!
My question: at the moment the newest shout is on top, but I would like to have it on bottom which I find easier to read and follow the shouts as they were made. Can you help me with that one?
Thx!


RE: Myshoutbox - scrolling other direction? - Diogo Parrinha - 04-23-2010

Find: (all instances)
PHP Code:
ORDER by s.id DESC LIMIT 
Replace with:
PHP Code:
ORDER by s.id ASC LIMIT 

Not sure if it will do what you want, I can't remember how shouts are ordered and can't be bothered to check right now.
If that doesn't work, I'll take a deeper look into it tomorrow


RE: Myshoutbox - scrolling other direction? - isbn1 - 04-23-2010

thx, didnt work out, but now I have an idea what to look for.
Gonna try again in the evening.

thx!


RE: Myshoutbox - scrolling other direction? - isbn1 - 04-24-2010

sorry, my mistake!
seems you were alright and it scrolls in the direction I wanted Cool.
Nevertheless I have to check why all shouts are displayed two or three times now.


RE: Myshoutbox - scrolling other direction? - Diogo Parrinha - 04-24-2010

(04-24-2010, 03:21 AM)isbn1 Wrote: sorry, my mistake!
seems you were alright and it scrolls in the direction I wanted Cool.
Nevertheless I have to check why all shouts are displayed two or three times now.

It's lagging on your computer probably, just refresh and it will display fine


RE: Myshoutbox - scrolling other direction? - isbn1 - 04-24-2010

Hi Pirata,
thanks, but I checked on two computers with different connections. Someone was suggesting that the database is checking the highest line and that could be the reason?


RE: Myshoutbox - scrolling other direction? - Diogo Parrinha - 04-24-2010

(04-24-2010, 04:29 AM)isbn1 Wrote: Hi Pirata,
thanks, but I checked on two computers with different connections. Someone was suggesting that the database is checking the highest line and that could be the reason?

It doesn't get fixed if you refresh?


RE: Myshoutbox - scrolling other direction? - isbn1 - 04-24-2010

yes, but only till the next automatic refresh
but I dont want to bother you too much with my problem. The shoutbox is great and that is the main thing.


RE: Myshoutbox - scrolling other direction? - Diogo Parrinha - 04-24-2010

(04-24-2010, 06:20 AM)isbn1 Wrote: yes, but only till the next automatic refresh
but I dont want to bother you too much with my problem. The shoutbox is great and that is the main thing.

Oh well I don't know then, there must be something else, probably in the JavaScript part (almost for sure) but I do not have time to check what's wrong with it sorry


RE: Myshoutbox - scrolling other direction? - josan2 - 07-17-2010

I already referred this to my friend.
Regards