Warning: strpos(): needle is not a string or an integer in /membri2/drudo/blog-r/index.php on line 31

Warning: strpos(): needle is not a string or an integer in /membri2/drudo/blog-r/index.php on line 37
blog ¦ drudo (-rw-r--r--)
 
Photo gallery 0.6
Il sempre attivo Jörg Tiedemann aggiorna il suo hack "Photo gallery" alla release 0.6 con molte novità:
Lots of new features:

- picture uploads
- create new albums (subdirectories)
- slideshow function
- e-mail pictures (when logged in)
- virtual albums (picture collections from other albums in the gallery)
- file manager update (it works with the blog theme now)

Per tutti i dettagli vi rimando al suo blog:
http://joerg.jo.funpic.org/sphpblog/ind … 829-004719

Preview:
http://joerg.jo.funpic.org/sphpblog/gallery.php

Download script Pimped per SPB
Un certo Andreas Koop ha portato alcune migliorie nello script creato da Jörg Tiedemann (Download counter) utile per elencare e far quindi scaricare file presenti in una directory.

Le caratteristiche:
  • Le icone sono sensibili alle estensioni dei file
  • I colori vengono presi dal tema corrente

L'annuncio:
As you probably have noticed I have pimped a download script for the sphpblog.

The installation is quite simple: just download
sphpblog-download-pimped-1.0.zip and unpack the content in your sphpblog's installation directory.
Edit download.php and set the $download-variable to your desired download-directory. At least, don't forget to provide a link to download.php. That's it!

OK, not really:-( There is one drawback: everytime you provide new files in your download-directory (works now also recursively!!!), you have to run download.php?act=update
More information on this and how to set the description-field can be found in the
php-comment-header of download.php ...

The original download-script comes from http://joerg.jo.funpic.org/sphpblog/

The main improvements in short are:
- made this script "recursive capable" for the download directory
- case insensitive with the extensions
- pimped the layout, colors (are taken now from the blog configuration) and look!


Screenshot:



Download:

sphpblog-download-pimped-1.0.zip

Bug calendario SPB <= 0.4.3 e AdSense
Il calendario di Simple PHP Blog nelle versioni <= 0.4.3 è affetto da un piccolissimo bacherozzo... ovvero i giorni dei mesi di Agosto 2005 e Novembre 2004 risultano sfalsati.
Sul blog di Alex un utente Chris ha postato come risolvere il problema!

Il post originale di Chris:
There is problem in the Menu Archive Calendar, where if the First Day of Month fell on a Monday, the Days of Week columns started with SUN rather than MON and threw off synchronization of Date to Day of Week. (See August 2005 & November 2004)

I found the Fix: The problem was in the sb_menu.php file, at about line 134. What I changed was the original ($i+7) to now be ($i+8). This is located within the ELSE statement below, and is the corrected version:

if ( $day_start!=0 )
{
$str = $str . '<td>' . ucwords( strftime( '%a', mktime(0, 0, 0, 1, ($i+1)%7, 1990 ) ) ) . '</td>';
}
else
{
$str = $str . '<td>' . ucwords( strftime( '%a', mktime(0, 0, 0, 1, ($i+8)%7, 1990 ) ) ) . '</td>';
}

May everyone find this useful...

Chris

Sul forum di SPBItalia ho riscritto in italiano come risolverlo.

Giusto per chi è interessato, sul forum ho inserito anche un how-to su come inserire banner AdSense di Google, o altro codice, nel primo post del vostro blog (grazie a satollo):

- Aggiungere codice nel primo post del blog (AdSense)

Salut
drudo


Indietro Altre notizie