the plugin « psnGeneric version 1.0.1 is finally out ! It was announced few weeks ago…But I had a lot of work to do that’s why it is out only today ! So what’s the plugin ? Do you see the « quote » block on the left side of this site ?plus

What’s psnGeneric ? It allows you to display an extract (random or not) of several records based on a key from a table. This can be used to display a random quote, a list of file to download, a list of … in fact, what you want ! How doesplus

Well, at first sight both sites are equal… In fact, idahocline.info was created in the hurry due to issue with the webhoster of idahocline.com. But normally, idahocline.info should have been created a little later. In fact, I planned to create another site dedicated to Web Development with everything related. Soplus

Out of a post (eg: in index.php) // Generate tags to display several random pictures from a specific Coppermine album (if -1 : from all albums) function CPGRndPicture($aid=-1, $count =-1, $nSize=1,$before= »,$after= », $activelink=true, $dummy= ») // Generate tags to display a full album from a specific Coppermine album (if -1 : fromplus

Well, I was too fast to deliver the psnGallery2…In the sql, included in the « package ». There is a « ( » too much ! In order to fix the issue. Execute the following sql (eg, from phpMyAdmin) : UPDATE wp_psnGallery SET value = ‘CPGPicture($elems[ 0 ], $elems[ 1 ], $elems[ 2 ],plus

Based on the work of Stevarino and to answer to WordPress Forum, here is another version : I found the problem….It comes the formatting functions which convert few « special » characters into more fancy one…. function run_phpinpost($data) { $PHPTag = « phpcode »; $data = str_replace(array(« rn », »r »), « n », $data); while (false !== strpos($data, « <plus

Well, I know it is always annoying to wait for news…. So here are some… 🙂 The most important addition/change with the release is the fact that all the configuration parameters are now stored in a table in the « wordpress » database (see below to have further information). Here are theplus

I have implemented a new tag in any post… The tag <gallery>AlbumID|Count|Size</gallery> ! This in conjunction with the « psnGallery.php » addon allows you to display within a post « Count » random pictures from the Coppermine Album « AlbumID » in the « Size » (1= small, 2=normal). For example, to get 4 random small pictures fromplus

As you noticed, I was not really active those last few days. In fact, I was very busy at work and finally I took one week of holidays to calm down a little bit my life… ;o) So my wife and I went to Senegal for a « farniente » week !plus