Just a heads up for everyone that almost all themes are going to be broken starting around June 21 due to two new patches that are going to be committed in the official build: FS#9027 and FS#9051.
According to the email:
%P is removed.
%pb is changed to be more consistent with the other tags (explained below)
%Vl and %Vd introduced.
I should have some free time tomorrow (and hopefully Wednesday and Thursday as well) and will try to get two builds working: one with the normal patches for my build, and one with just WPS patches including the two new ones, so themes can be ready before the patches are officially committed.
Message 1
Message 2
With help from kugel, the theme site is back to normal. Checking the uncached version versus the cached version shows that except for the notice bar, they're exactly the same.
In addition, a bug was fixed on the Stats page (that bug is how this whole problem had started) that was causing themes with spaces in them to not appear. VClix VP, Azure Ultimate, and Black n Blue Glass are now appearing in the Top 10. This fixed bug will also make it easier for me to finish a new feature on the site that I've been working on.
I'm about to clear the site cache and re-enable caching, so if anyone notices any problems, let me know.
While working on fixing a bug with the stats, I managed to make a typo, deleting the names of all the themes. It appears that the site cache still had a saved copy, so I believe I've forced the site not overwrite the cache, so it will continue using the old one. I unfortunately didn't have a backup of the mysql table yet, so I will need to either see if my host has a backup, or manually re-enter all of the names.
In the meantime, I believe the site should still run normally, but if there's a page that wasn't cached (the main page and the stats were, which were the main pages) that displays themes, it will most likely fail to display the image, theme name, and download link.
Again, sorry about this, but I believe the site caching should prevent most problems until I have enough time to re-enter all of the theme names.
Caching was just enabled on RBThemes, which should allow it to load faster. If anyone finds any problems, feel free to let me know.
The font converter should be working properly now. It appears that it was broken for a few days because of a bug I was trying to fix with anti-alias fonts all being the same size. If there's any more problems, let me know.
Apparently there's some sort of problem with Google not indexing http://rbthemes.com as it hasn't been indexed for the past two or so days. I'm hoping it's just because of an error in the sitemap file, otherwise I'm going to have a fun time figuring out the problem.
The font converter (http://rbthemes.com/fonts/) seems to be getting used a lot. Kugel and I have been trying to fix it a little, as the top and bottom margins are rather excessive on some fonts.
I'm still looking for suggestions and stuff that I should add to the site, so feel free to let me know if you have any.
I've got a font converter done to convert any TTF font to the FNT font format used by Rockbox. While any TTF font can be converted, I'd suggest using fonts that are GPL'd or public domain if you wish to have the converted fonts in a theme. Free fonts can be found at http://rbthemes.com/fonts/ttf-fossfonts-0.0.3/fonts/, with additional urls being found in http://rbthemes.com/fonts/ttf-fossfonts-0.0.3/debian/copyright.
As a note, the font sizes are different. When converting to an anti aliased font, the font size entered in the text box will be # pixels. For non-anti aliased conversions, the size will be in points. I don't have a solid conversion, though I believe 12 point font is around 26 pixels on the Sansa. Not quite sure what 12 point font looks like on the Sansa though..
http://rbthemes.com/fonts
After about a minute of "downtime" the theme site is now on a new domain, http://rbthemes.com. Everything has been moved over already, and themes.chrisjs.com will still behave the same as it did before. I have checked all of the pages, and it appears that they're all set up properly so that the URL will change based on whether you're visiting themes.chrisjs.com or rbthemes.com.
As mentioned before, the site is designed to allow themes for other players to be added without getting mixed together. If/When I start accepting themes for those other players, I plan to allow urls like e200.rbthemes.com, nano.rbthemes.com etc to be used.
Any comments?
Just a few updates before I head off to bed. I have the approval script done, so once a theme is submitted, it should appear on the site the same day. Tomorrow I'll hopefully be able to add a "12 newest themes" section to the Stats page.
Another thing that was mentioned a few times was user accounts. I needed a user authentication system anyways for administrative tasks, but would it be worth extending the system to "regular" users as well?
Few notes before I start - there's a new category on the blog for notices that are posted on the theme site. These should stay mostly sync'd, as I'm using a script to post to both.
A few hours ago, I managed to get basic searching working, though it currently only lists themes based on the submitter. Example: http://themes.chrisjs.com/search/Jeton or http://themes.chrisjs.com/search/user/Jeton. I'm not sure which would be better(/user/Jeton, or /Jeton) but either will work for now. At the moment, the URL must manually be modified to search for themes by another user, though I plan to add a page this weekend, which will also allow searching based on whether or not it has viewports, album art, etc. I also need to add a message to indicate when no themes are found, which I'll also try to do tomorrow.