Uncategorized

When a directory becomes a subdomain

Quand on veut que chaque sous-répertoire devienne directement un sous-domaine : voici le “virtualhost” a ajouté dans le fichier Apache : <VirtualHost XXX.XXX.XXX.XXX> ServerAdmin webmaster@domain.com DocumentRoot /home/domain/www ServerName www.domain.com ServerAlias domain.com *.domain.com VirtualDocumentRoot /home/domain/%-3.0 UseCanonicalName off CustomLog /home/domain/logs/access_logs combined ScriptAlias /cgi-bin/ /home/domain/cgi-bin/ User domain Group users </virtualHost>

By Me, ago
Uncategorized

cpg_picture quickfix

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 ], Read more…

By Me, ago
Uncategorized

psnGallery2 version 1.2.1

So ! Here we go ! The release of psnGallery 2 (wordpress + Copermine) is out since few days but as you know, the idahocline.com is down for unknow reason without news from the webhoster ! 🙁 So as promised, here is the zip of the plugin Have fun with Read more…

By Me, ago
Uncategorized

PHP Tag within a post

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, "< Read more…

By Me, ago
Uncategorized

psnGallery2 1.2.1 changes overview

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 the differents news functionnalities available with psnGallery2 1.2.1 :

  • User Defined tags for posting where you associate a tag to php code
  • Coppermine Albums viewer within WP-Admin area
  • Coppermine Pictures viewer within WP-Admin area
  • psnGallery2 parameters viewer within WP-Admin area
  • Fix of few bugs
  • etc...
In the future versions, I will add a "online" configuration of psnGallery2. (more…)

By Me, ago
Uncategorized

George W. Bush quotes…

I have gathered few quotes from George W. Bush…. “The vast majority of our imports come from outside the country.” – George W. Bush “If we don’t succeed, we run the risk of failure.” – George W. Bush “One word sums up probably the responsibility of any Governor, and that Read more…

By Me, ago
Uncategorized

Cortech ‘2004

Sunday afternoon,in Antoing, the “Cortech” took place for the second time. It is a parade in the streets of the town. My wife, as she works for the “Foyer Culturel d’Antoing” , and I gave a hand to the organisation of the event. She participated more than me, she had Read more…

By Me, ago
Uncategorized

“Autant en emporte le vent”…Musical Comedy

Friday, we saw the “Autant en emporte le vent” musical comedy. Wow ! Everything was…..wow ! Music, lyrics, dancers are very good. Better than “Notre-Dame de Paris”. As usual, for that kind of spectacle, no camera allowed 🙁 but here are few pictures from the official site. 66|5|1

By Me, ago