Download mp3 files containing the english pronunciation of a word

One place where you can find those files is dict.leo.org. You can easily play and download the pronunciation of a english word with the following bash script (just copy and save it to filename.sh):

To execute just run something like:

or

 

Fix Anki should be run with python2.x.

When you start anki you might encounter something like:

 

If you are running a up-to-date linux distribution python2 should be installed but it is possible that the default version is set to python(1). However there is a very simple fix. Just open the anki (Anki Root Folder) file in a texteditor and replace the first line:

with

now it should be no problem to run Anki

 

Fix Guestbook in cmsmadesimple

The guestbook module of cmsmadesimple has the bad habit of showing the following error message after updates: Call to undefined function nl2pnbr(). The fix is quite easy. Just open the filemodules/Guestbook/action.get-entrylist.php in a texteditor and replace the line

with the line

After that it works just fine.

Enhanced XSPF Player breaks when upgrading cmsmadesimple to 1.9.0

The player fails because of the update of the Uploads module and some missing includes. A fix is quite easy:

  1. Open modules/EnhancedXSPF/action.admin_edit_playlist.php in a texteditor. You need to change the line 101 from

    to

    Now you should be able to edit the playlists again.
  2. There is still another problem left. The playlist is not generated. To fix this issue open up modules/EnhancedXSPF/playlist.xml.php in a texteditor. You need to insert another include. You can insert the following line:

    just after line 20 (where adodb is included)

The player should work the same as before after applying these fixes