View Full Version : Newest messages at the top?
Dorign
03-18-2005, 10:50 PM
Would doing something like this be possible? Currently, the battle messages (in battle arena) have the oldest at the top and the newest at bottom.. is there a way to reverse this? Would be helpful! Thanks! :D
Revan
03-19-2005, 09:17 AM
Of course mate :)
Open battlefight.php, find:
SELECT battleaction, battleactionid, username FROM " . TABLE_PREFIX . "rpg_battle_posts WHERE battlenumber='$battlenumber' ORDER BY battleactionid ASC
change to
SELECT battleaction, battleactionid, username FROM " . TABLE_PREFIX . "rpg_battle_posts WHERE battlenumber='$battlenumber' ORDER BY battleactionid DESC
For a future version, I will make this into an admin level setting :)
Dorign
03-20-2005, 04:24 PM
Thank ya thank ya! :D This battle mod is the best I've seen yet. I've been doing research over the last few days between paid ones and this one, and this one is just much better. The only thing I wish it had (which I know isn't possible) is animations. It'd be neat to see your guy jump over to the other side and swing his weapon, just like in FFVI. Maybe in the fy00ture, when there's an IE 10. :P
Great work, Revan. Top quality, free to the userbase, and great support. I support this mod until my dying breath. x-D If there's anything I can do, let me know. I'm not a coder, but I can tinker, and I can create graphics and beautify templates. Also, I added support for a "midi-jukebox" you might like.
http://www.forum-central.com/sigs/rpg1.jpg - Choose Battle Music!
http://www.forum-central.com/sigs/rpg2.jpg - The Pop-up
http://www.forum-central.com/sigs/rpg3.jpg - The List
http://www.forum-central.com/sigs/rpg4.jpg - The Song
Keeps playing, even when minimized, and users can change songs mid-battle. I'm not good at making code "public" for people, but I can show you what I did in the templates if you want.. it's not hardcoded into the system, though. I don't even use the "add/delete" midi section of your mod, since I have this, but.. anyway, if it's something you're interested in, let me know.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.