Seite 1 von 1

Admin Smiley Sort - funktioniert nicht

Verfasst: 04.04.2008 15:50
von powersilie
Hallo!

Wollte die Smilies im ACP alphabetisch sortiert haben und das macht angeblich dieser Mod.
MOD Author: athakur999 < athakur999@hotmail.com > (Anand Thakur) http://www.mypuppet.net/
(Wenn man die Seite aufruft, gibts ein Rezept für Steak-Marinade *gg*)

Das ist der ganze Einbau:
#
#-----[ OPEN ]------------------------------------------
#

admin/admin_smilies.php

#
#-----[ FIND ]------------------------------------------
#

if( $img_size[0] && $img_size[1] )
{
$smiley_images[] = $file;
}
else if( eregi('.pak$', $file) )
{
$smiley_paks[] = $file;
}
}
}

#
#-----[ AFTER, ADD ]------------------------------------------
#

if (isset($smiley_images)) sort ($smiley_images);
if (isset($smiley_paks)) sort ($smiley_paks);

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
Author Notes:
By default phpBB lists the smiley and smiley pack filenames
in whatever order the filesystem returns them, which isn't
always alphabetical order. This small MOD ensures that those
lists are alphabetically sorted.

Leider tut der Mod nicht das, was er verspricht, es ist gar nix verändert.

Was muß ich denn umschreiben, damit das funzt???


Liebe Grüße
Karin