Computer, Coffee & Co
Archiv für März 2010
Widget support for Reaction Buttons
06. Mrz
I just uploaded a new version of Reaction Buttons, which features a widget now. In that widget you can show the top x posts with the most clicks for each button.
Coding took less time than putting the new version online, since there are a lot of places where you can set a version and they are parsed directly out of svn by some wordpress magic script.
I tagged the new release properly in the svn repository and added the version nubmer as stable in the parsed readme.txt. But I forgot to change the version in the main .php file, which seems to be important too. Thanks to #wordpress on irc.freenode.net for pointing that out.
Download from wordpress.org or directly through the install/update function of wordpress.
Can’t download files from Dokuwiki
02. Mrz
Recently I found out, that the user documentation videos my colleague made, weren’t shown anymore in our dokuwiki installation and I couldn’t find out why. Everything worked well, pages were shown, but only downloadable media wasn’t. I added a .htaccess for a different project a while ago and allowed them in the apache configuration. But even though I deactivated the new .htaccess file again to test if some of my settings messed with dokuwiki, I still got the following error:
[Tue Mar 02 12:34:14 2010] [error] [client 134.x.y.z] client denied by server configuration: /opt/wiki/data/media/win/printersetup.ogv
What I didn’t knew was, that dokuwiki has some restrictive .htaccess files for file downloads. Just modify them or deactivate .htaccess overrides for dokuwiki again, like I did.