Previous Thread
Next Thread
Print Thread
Hop To
#239682 09/25/2010 5:51 PM
Joined: May 2010
Posts: 28
M
newbie
newbie
M Offline
Joined: May 2010
Posts: 28
Hi,

How can I change the display order of the Shout Box.

I want it so that new shouts appear at the top.

I can see this on line 72 of getshouts.inc.php:
ORDER BY s.SHOUT_ID DESC which I can change to
ORDER BY s.SHOUT_ID ASC

However, whilst this correctly orders the shouts, when I post a new shout, the script takes you to the bottom of the shout window, so where and how do I modify for that bit, is that in the shoutbox.js or something? If so, what do I change?

Cheers
Neil




Neil
Saints247.com - http://www.saints247.com

-- using version 7.5.7
Joined: May 2010
Posts: 28
M
newbie
newbie
M Offline
Joined: May 2010
Posts: 28
Anyone?



Neil
Saints247.com - http://www.saints247.com

-- using version 7.5.7
Joined: Jan 2008
Posts: 514
addict
addict
Joined: Jan 2008
Posts: 514
No idea bud. I just haven't seen a real reason to do something like that, so I probably never looked into it.
Dunny

Joined: May 2010
Posts: 28
M
newbie
newbie
M Offline
Joined: May 2010
Posts: 28
Had a few requests from our users to make it that. Apparently when using the Shout Box on a Blackberry is a bit frustrating. Not sure we would make it a permanent change but just want to know what code needs to be changed to achieve it so we can try it out.



Neil
Saints247.com - http://www.saints247.com

-- using version 7.5.7
Joined: Jan 2008
Posts: 514
addict
addict
Joined: Jan 2008
Posts: 514
*nods* aye one of the gurus would have to help you as it is out of my scope of knowledge honestly.

Dunny


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
3 members (rootman, Gizmo, Nightcrawler), 562 guests, and 186 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)