

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>
For an external development I needed to be able to display future posts but not all future posts. I started with the future posts plugin of Michael Moncur but it doesn’t fit to what I really needed.
The posts to be displayed should have been maximum 20 days in the future…
So the plugin is now able to display the future posts of ‘x’ days (defined via an simple administration screen).
Well, here is the preview of how to add the psnGallery2 Admin in the WP Administration Panel….
Well, I have to admit that I have no more time (for the moment) to support effectively this plugin….
I will try to provide a new package with the latest updates soon.
Quickfix to try.
Try to replace the famous line 97 :
if (!$wpdb->query("SHOW TABLES FROM ".DB_NAME." LIKE '$psnGalleryTable'"))
I wrote try because I can’t reproduce on my side the issue…..
Give me your feedback !
Sorry to be so absent but I have a lot of work…..
The beta version of psnGallery2 will be out soon (normally this week-end)…It includes few new functionnalities :