Version 1.0 of Folding-Stats-Plus! ..nearly
Well i think its finally ready! To coincide with wordpress 2.7 I’m about to release version 1.0 of my plugin.
To get the advanced stats you have to be part of a team and enter your team number into the admin section, the plugin then pulls the XML feed from http://folding.extremeoverclocking.com/ Your team does have to be in the top 6000 teams for this to work.
I’m waiting for permission to use the XML feed then it can be released! I got permission via email so version 1.0 is officially released!
[…] […]
I just noticed that WordPress told me that version 1.0 was available. I tried both a upgrade and a new download and both give me the error of: Parse error: syntax error, unexpected $end in C:…….wp-contentpluginsfolding-stats-plusfoldingstatsplus.php on line 256
hi rich!
Strange how you get that error, line 256 is the last line of the script, i made sure there were no blank lines after and re-uploaded so please try to download again.
I notice your using windows, are you testing locally or is it a server?
I tried it again both using the auto-install process right in WordPress and also by downloading it from the WordPress plugin page and uploading the ZIP file through my WordPress site. Neither worked. I’m running this on my own server. It is running Windows XP Pro and Apache. I also tried downloading the ZIP file and placing it directly onto my webserver. All result in the same error – this time it indicates line 255 instead of 256.
what version of php is on the server?
I’m using PHP Version 5.2.6 and Apache/2.2.9
testing threaded reply
Update – I figured it out. With your code the PHP setting for Short Open Tags needs to be on because you use the “<?” to open some of your PHP sections instead of “<?php” I turned that option on and now I can activate the plugin.
Glad you sussed it out 🙂
I removed all the shortags from 1.1
Does one need to be a member of the extremeoverclocking team to use this? I notice my stats do not show up in their stats (and hence the plugin shows nothing), though I do show up on the F@H and dc-stats sites.
no, you can be a member of any team, however for the stats to work your team has to be in the top 6000 teams on EOC.
@pross
Okay, that is probably why then, as I am not a member of any team. Thank you.
if your not a member of any team the plugin should fall back to getting stats from the stanford site, have you tryed reseting the cache in the options page? if the stanford site is updating the database it will return empty results….
A couple of ideas for future enhancements.
1) Allow changing the color of the labels for the stats. With my theme black doesn’t show up, I manually change them to white. Also make the up/down arrow info in the stats the same color as the other stats. I’ve made this change too.
2) Show the individual rank within the team.
Thanks so much for this great plugin!!
Nice ideas thx!
I have already added a class to the results so you can change the overall css, but maybe i will add a second class for the results also, do you have a link to your blog so i can see your css in action?
Sure thing – I didn’t realize I didn’t put my name and website on my last post! I’m the same one that had the problem. My website is http://www.mathwhiz.org. I just hardcoded the white in where I needed it.
Here heres what i have so far, there is some new css classes used by the plugin that you can use in your themes css file, these are:
folding
folding_label
folding_results
folding_arrow
here is the css i use in my theme:
#folding div { line-height:1.5em ! important }
.folding_arrow {
font-style: italic;
}
here is a link to the test file: http://www.pross.org.uk/wp-content/uploads/2009/01/12.zip