Once upon a time, a casual tank formed a raid coalition for BC. Stuff happened.
Revised stasiscl Raid Listing
OK, let's do this for real.
What you're getting: PHP files that duplicate the functionality of the built-in history option of stasiscl. I did this for two reasons. First, I wanted my history pages to match my report pages in look and feel. Second, it saves a little time because you don't have to regenerate the history pages every time you add a raid.
Your server needs to run PHP for this to work.
There is a zip archive attached (sorry, UNIX people, the server doesn't allow .gz uploads). Unpack it into your top level raid directory -- i.e., you want to unpack this right next to all the sws-blahblah directories.
You'll get three PHP files: index.php, players.php, and playerrpt.php. You should also find tablesorter.css, two jquery.blah.js files, and three .gifs in your extras directory.
Point your browser at the index.php file, and voila, a pretty raid listing.
This was coded in a couple of days by a fairly sloppy coder (i.e., me), so if you find any bugs please feel free to report them here.
What you're getting: PHP files that duplicate the functionality of the built-in history option of stasiscl. I did this for two reasons. First, I wanted my history pages to match my report pages in look and feel. Second, it saves a little time because you don't have to regenerate the history pages every time you add a raid.
Your server needs to run PHP for this to work.
There is a zip archive attached (sorry, UNIX people, the server doesn't allow .gz uploads). Unpack it into your top level raid directory -- i.e., you want to unpack this right next to all the sws-blahblah directories.
You'll get three PHP files: index.php, players.php, and playerrpt.php. You should also find tablesorter.css, two jquery.blah.js files, and three .gifs in your extras directory.
Point your browser at the index.php file, and voila, a pretty raid listing.
This was coded in a couple of days by a fairly sloppy coder (i.e., me), so if you find any bugs please feel free to report them here.
Total Comments 13
Comments
|
|
The Start Time column sorts alphabetically rather than chronologically, which probably isn't ideal, but I have no idea how much effort would be involved in fixing that. Thanks for the time and effort so far, definitely a fan of other people doing free nice things that benefit me. :-)
E: Also noticed that the decurse column of the player history doesn't show anything, though I assume that has more to do with how stasiscl provides that information. |
|
|
|
I'm pretty lost with all this, but "so far so good" with my local copy of stasiscl.
Can you offer any suggestions for using this locally on a windows machine? I've yet to mess with PHP (and my experience with perl includes only stasiscl). |
|
|
|
Yeah, stasiscl doesn't currently record the decurse info -- I filed a bug, I imagine it'll get fixed fairly quickly. If Gian isn't tired of me filing bugs yet.
![]() There may or may not be anything I can do about the start time sorting. I will investigate. I have one idea. Edit: yeah, it's possible. I need to learn some Javascript to do it. |
|
|
|
I got nothing for Windows.
I'm not a Windows guy. |
|
|
|
@Apate
It's meant to be run on a server with PHP and Apache (or some other webserver) installed. You can install a local copy of Apache and PHP on your windows box, but that's a lot of overhead to get some pretty listings. |
|
|
|
Update: fixed the Start Time column sort. Enjoy!
|
|
|
|
Thanks again!
(demo here for those interested: http://1tb.lightbringer-pve.com/stats/index.php) |
|
|
|
sorting was done alphabetically for DPS on players.php. I added the following which fixed it.
$(document).ready(function() { $("#players").tablesorter({ headers: { 3: { sorter: 'dpssort' } } }); } ); $.tablesorter.addParser({ id: 'dpssort', is: function(s) { return false; }, format: function(s) { return s; }, type: 'numeric' }); |
|
|
|
Nice catch! Thanks for the fix.
|
|
|
|
If you add the line
"dk" => "DeathKnight", to the class array in players.php, it will properly color-code deathknights for the Player History page. (This took me far longer than it should have to figure out...) |
|
|
|
Hello,
While I'm far from a coder I've endeavoured to get stasis up and running. Which after a few attempts seems to be working fine. I'm now trying to get this php file to work so it gives me a nice list of all my raids. So far I've not been able to get it to work, hopefully somebody can give me a few pointers. I think I've not placed some files in the correct directory, so here is my directory listings sws folders are all contained in /Users/usera/guild/sws (I also have a folder in there called "extras" as per the stasis guide I've downloaded the file listings.zip and extracted it. Now this is where I get a little lost. Extracting it creates a folder called "listings" do I place this in my /Users/usera/guild/sws folder or do I extract the contents into /Users/usera/guild/sws folder? Also listings.zip also contains an "extras" folder in "listings" does this need to be combined with the existing "extras" folder? Many thanks in advance if somebody could point me in the probably very easy solution to my problem as I like the look of this feature and really want to get it up and running. |
Updated 01/20/09 at 9:14 AM by parivers |
|
|
Can you please point out where I can edit the time so it shows EST. Or better yet, so it just shows the default time the logs are in the first place?
|
Updated 02/21/09 at 3:37 PM by wowdime |
|
|
no longer here
|
Updated 12/27/09 at 10:43 AM by florianbrenn |
Recent Blog Entries by Abbi
- Automatic Stasiscl Log Posting (08/14/08)
- Revised stasiscl Raid Listing (07/08/08)
- More stasiscl Tricks (Raid Listing Page) (07/07/08)
- stasiscl Tricks, Volume II (06/19/08)
- Random stasiscl Tricks (05/27/08)






I'm not a Windows guy.