Tag Archives: psnGeneric

psnGeneric version 1.0.1 finally out !

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 ? and the “download” filelist block (also on the left side) ? Both are done via the psnGeneric version 1.0.1

So in other word, it is something that display an extract or a full list of records based on a criteria.

For the “quote” example, here is the line added in my “index.php” : the_genRandom( 'QUOTE',1,'','','', ''); .
For the “download” example, the following code is used : genList( 'WPHACK',100,'','','', '');

How to create/manage those lists ?

I create a small administration page for that.

Three different actions are possible : editdeletecreate.

Everything is done via a very easy and intuitive tabular interface.

In order to fix a small mySQL syntax issue (for old mySQL versions), you have to update the line 94 of wp-admin/psnGENAdmin.php as below :

Change $psnSQLLimit = "LIMIT ".$psnLimit." OFFSET ".$psnOffset;
into $psnSQLLimit = "LIMIT ".$psnOffset.",".$psnLimit;

Thanks Bernd Pressler to notify me about this.

No ! I am not dead !

No ! I am not dead ! I was silent for days (even weeks)….

I was working on a lot of stuffs and I was overloaded ! I finally managed to finish everything this Friday and to conclude : on Friday, my boot harddisk of my personal desktop crashed ! Let’s say it my good period….

I have to look at the bright side…. ;o)

A lot of new things are coming :

  • blog.idahocline.info layout totally renewed.
  • in the coming days, 2 new plugins (psnGeneric and psnSTAT and their administration pages) will be available.
  • On a old PC I just have installed RedHat 9….to play a bit with Linux. That why on blog.idahocline.info, a new category will be created : “Linux / RedHat”.

Oh yeah, I forgot to say : In the coming days, I will remove from this site all the links, categories and posts related to WordPress Development. And I will move them to blog.idahocline.info (and vice-versa).

This will allow me to make an actual difference between blog.idahocline.info and blog.idahocline.com .

WPPlugin psnGeneric soon out

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 does it work ?

Few functions that you can call from your “index.php”. There is no limitation except your imagination ! The “Quote of the day” and the “Download” sections displayed on this page use this functionnality. Here is the call for the “Quote” :

< ?php the_genRandom( 'QUOTE',1,'','','', ''); ?>

You manage the content via the WP-Admin area (as you can see below).

Nothing to display.

This is only a preview. It will be out and available for download end of this week-end.

Why idahocline.com and idahocline.info ?

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. So let’s say that this site will be soon totally redesigned to be more developper oriented, with different areas, like :

  • CSS/xHTML : Templates / tutorials / links
  • Design : Ideas, discussions about Web Designs
  • PHP/mySQL : Tips and tricks for PHP, mySQL, …
  • WordPress : plugins, tips & tricks, …
  • Showcase : portfolio of several projects done or in progress
  • Testing area : do you really don’t know what it is ? 😉

Normally this site with architecture above will be online soon, probably end of June….

Of course, idahocline.com will stay online but will be more focused on my wife and I.

I am also working on several other WP plugins (with an administration page):

  • psnGeneric v1.0.0 : Random Item: Random Quotes, Books, … based on a table (Totaly generic)
  • psnGallery2 v1.3.0 : Coppermine Gallery (including all supported formats)
  • psnStat v1.0.0 : TFS WebStatistics