smr icon indicating copy to clipboard operation
smr copied to clipboard

Display News: 4 tabs - All news, Player Deaths, NPC Deaths, PRs/PBs

Open Red-Cross-Knight opened this issue 13 years ago • 2 comments

Ref: http://smrcnn.smrealms.de/viewtopic.php?f=102&t=11460&start=10

4 tabs - All news, Player Deaths, NPC Deaths, Port Raids/Planet Shots

Could be displayed using: jquery UI tabs -- http://jqueryui.com/demos/tabs/

Red-Cross-Knight avatar Aug 14 '12 20:08 Red-Cross-Knight

I think efficiency requires amending "news" DB table to add an extra type for the message otherwise there will be too much regexp going on to perform well. Over to Page to do DB change if he thinks it's required.

Curufir avatar Aug 19 '12 17:08 Curufir

Yeah, it would probably be good to have, I can probably write SQL queries that would update the existing news entries, we already have the type column that could be repurposed - currently it's only regular/breaking news (although breaking news can also be planet news, so dunno if that'd work).

Page- avatar Aug 19 '12 20:08 Page-