Catégorie : Général

  • 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 ! 🙁

  • WordPress or b2Evolution

    I am currently thinking to migrate everything to b2evolution.

    For multiple reasons, the most important is probably the integrated multiple blogs management ! That will allow me to solve my problem with languages. Futhermore, the code itself looks better in b2evolution. Another very useful functionnality is the « hierarchy » in Categories.

    Well, I don’t know ! We will see ! May be I will, during a certain time, think to this.

    But my feeling is : « Why aren’t they merging those 2 developments ? »

  • automated Punition…

    Reserved for Developpers…
    Automated punition

  • Few new hacks under development

    Soon, normally before the end of this week, a serie of small hacks will be available.

    You will have :

    b2book: Last book read or currently reading with an image and a comment
    b2movie: Last movie seen and a comment on the movie
    b2quote: Quote of the day (or better : of the Moment)

    Bient

  • WP: “Who Are You” Hack

    This hack provide to the user his/her IP, the country associated with the « hostname » and finally the browser used. Of course this can be used to Monitoring / Statistic purpose…

    In the « index.php », you have to add : require_once(‘b2whoareyou.php’);
    To get the country : < ?php echo WAY_country(); ?>
    To get the Browser: < ?php echo WAY_browser(); ?>

    Easy, no ?

    Ce hack fournit

  • WordPress .72 Gold installed

    Good Luck
    Why « Good luck » ? I am currently upgrading my WordPress .72beta to .72Gold.

    No special thing to say…except it goes very smoothly…. !!!!

    Pourquoi « Bonne Chance » ? Je suis en train de metre

  • Mozilla more compliant….

    🙂 Finally, I cope with ! Yeap ! Very proud of me ! Only small remaining issue : those stupid scrollbars linked to DIV but if I remove them.

    Let’s say…. I am happy now ! 🙂

    🙂 Finalement j’y suis arriv

  • Mozilla issue..

    Well, it seems that this new layout is not really supported by Mozilla… 🙁

    It is already better but not yet correct so…. I will work on it tonight. I hope I will have time….We will see.

    Ben on dirait que cette nouvelle mise en page ne passe pas bien avec Mozilla… 🙁

    C’est d

  • Few new images from “La Terre vue du Ciel”

    Few new pictures from the famous « La Terre vue du Ciel » of Yann Arthus Bertrand.
    Quelques photos de la c?bre exposition « La Terre vue du Ciel » de Yann Arthus Bertrand.

    2003-05-Tunisie-0013.jpg2003-05-Tunisie-0218.jpg2003-05-Tunisie-0110.jpg2003-05-Tunisie-0357.jpg2003-05-Tunisie-0223.jpg