Auteur : YouAreWelcom

  • New modules foreseen for WP

    Several people ask to have an integration of several « pictures galery » systems in WP. As I already wrote the Coppermine Integration. I will try to integrate few other systems as 4Images gallery and Gallery.

    The basic functionnalities will be the same as for Coppermine :

    – Random pictures for an album
    – List of all albums with x random pictures for each sub-albums.

    I hope I will have the time to write those add-ons this week-end.

  • New Layout of the site

    Implementation of the Release 2 of the layout of the site.

    All « blocks » on the left and on the right are now expandable. Few other internal changes as the integration of TFS WebStatistics and soon the merge with wp-stat…

    I am still working on the documentation of the WP hacks I wrote.

    As usual, the main issue for me is the time to work on…..

  • WordPress 1.0 Installed

    The upgrade to WordPress 1.0 is done now.

    As you can see no visible change except the link where the « link category » is no more displayed.

    The major advantages of this version are :

    • allocate several categories to one post.
    • better admin interface
  • Compliant with Standard

    As Matthias wrote to notify me about a tiny syntax issue. I immediately fixed it. So I am proud to say that the compliancy of my site has been increased !

    I was using <style type= »text/css » title= »layout » media= »Screen« > instead of <style type= »text/css » title= »layout » media= »screen« >

  • Hack: Pure CSS for B2Calendar

    Pure CSS to display the calendar! No more need of that « table » thing !

    .dayword
    {
    z-index: 100;
    position: absolute;
    width: 20px;
    text-align: center;
    vertical-align: middle;
    font-family: Arial;
    font-size: xx-small;
    font-weight: 900;
    background: #6495ED;
    color: Black;
    }

    .daynum
    {
    z-index: 200;
    position: absolute;
    width: 20px;
    text-align: center;
    vertical-align: middle;
    color: #000;
    font-size: xx-small;
    font-style: oblique;
    font-weight: 900;
    font-family: Arial;
    margin: 0px 0px 0px 0px;
    }

    .day
    {
    width: 20px;
    height: 15px;
    text-align: right;
    background-color: #F8F8FF;
    vertical-align: middle;
    float: left;
    margin: 0px 0px 0px 0px;
    }

    .daynow
    {
    background-color: #1E90FF;
    color: white;
    }
    .week
    {
    text-align: center;
    clear: both;
    }

    .month {
    background-color: #4682B4;
    vertical-align: middle;
    text-align: center;
    font-size: 12px;
    margin: 0px 0px 0px 0px;
    width: 150px;
    }
    .cal
    {
    width: 150px;
    background-color: #F8F8FF;
    }

    Drop me a line to have the PHP code hacked.

  • Hack : B2 News Aggregator

    A small little tiny hack very useful if you want to use RSS / RDF news feeding.

    This work based on the « MagpieRSS » RSS/RDF processor. I just create a small interface for WP.

    Several functions are already ready :

    • Show all RSS news from the RSS table (only title) : ShowAllRss($MaxRss=10)
    • Show one RSS News from the RSS Table (only title) : ShowRSS($RssID=1,$MaxRss=10)
    • View all RSS news from the RSS table (title + Description) : ViewAllRSS($MaxRss=10)
    • View one RSS news from the RSS table (title + Description) : ViewRSSEntry($RssID=1, $MaxRss=10)

    Write me a line to have the code.

  • New design, new sections soon available

    As you saw, I am a little busy for the moment. At work, I am completely overloaded and also at home…
    At work, I am working on a brand new project, at home, I am working a new Cline Website, on new templates, new designs, ….
    So normally you should see the result of all that work very soon. I don’t know yet when but the only thing I am sure : it will be soon ! (I hope)

    Comme vous l’avez constat

  • Cline area soon on the road !

    This last week I worked on the « Cline » area. It is nearly ready. Soon it will be online.

    I still have few things to fix and to write. And of course she has to write a lot of documents to have content ! As you know this is the more important for a site !

    Depuis ce week-end, je travaille sur la partie de « Cline ». Son site est quasi termin

  • Random info to display from table

    After a small delay, the promised hacks are out !

    I wrote something very generic in order to be able to fill nearly all requirements !
    This hack can handle what you want ! for the usual « Quote of the day », the current « Book », the « Movie », the « link » as I said what ever ou want !

    The function to call is :

    the_genRandom(
    $cTag, // Tag Type
    $count=1, // Number of rows to display
    $cCollectBefore= », // Thing to display before anything else
    $cCollectAfter= », // Thing to display after everything
    $cItemBefore= », // Thing to display before each row
    $cItemAfter= », // Thing to display after each row
    $cValBefore= », // Thing to display before main value
    $cValAfter= », // Thing to display after main value
    $cAssBefore= », // Thing to display before the associated value
    $cAssAfter= ») // Thing to display after the associated value

    The table used must have at least the following structure :

    id int(11) NOT NULL auto_increment,
    KeyField varchar(15) NOT NULL default  »,
    KeyValue tinytext NOT NULL,
    KeyAssociated tinytext,
    KeyCreated timestamp(14) NOT NULL,
    PRIMARY KEY (id),
    KEY KeyField (KeyField)
    ) ENGINE=MyISAM;

    The PHP code is very very difficult… ( less than 10 lines !!!!!!) 😉
    (suite…)

  • Still under development…

    Sorry but the hacks are not yet ready due to my wonderful week-end, we had to implement a release and that has taken all my ressources (poor little head) 😉

    Anyway, those hack will be soon available. This time I prefer to say « I don’t know when » I hate that kind of writing but I have no choice ! 🙁