Buscando alguna forma de crear los .pak rapidamente he encontrado una utilidad que no he visto recogida en este sitio. Se trata de un pack.php que si lo subes a la carpeta donde tengas alojados tus emoticonos te crea automaticamente en esa misma ruta un smiles.pak con toda la informacií?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?³n (nombres, cí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?³digos y descripcií?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?³n). Evidentemente, en todos los campos introduce el nombre de la imagen en cuestií?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?³n pero a mi me ha resultado de gran utilidad.
Para ordenarlos, tan solo hay que editar ese smiles.pak antes de instalarlo.
Este es el cí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?³digo, no hay que tocar nada en los archivos de phpbb, tan solo crear un pack.php con estas lineas y subirlo a la carpeta donde quieres que escanee smiles (/images/smiles)
Código: Seleccionar todo
Note:
1. Create new folder in your root. ex: http://localhost/mysmiley
2. Put pack.php and all your smiley images to that folder.
3. Run pack.php
4. Move all image and smilies.pak to your phpBB forum (/images/smiles).
5. Import smilies.pak files.
Many people asking me to develop this code, but i don't have time for that :(
Same as previous version, i have 15 minutes only to create/modifying this code.
Please develop this.
What's new :
-pack.php with packsave.php blended.
-Register global problem fixed.
-Unlink warning message when no smilies.pak file has been fixed.
Give me your modification of this code, then please send it to me.
Of course, you'll be the next author.
-->
Smilies Packager v0.5
" ;
fputs($pegangan, $nf[$i] . "=+:");
fputs($pegangan, $desc[$i] ."=+:");
fputs($pegangan, $code[$i] . "\n");
}
fclose($pegangan);
print("smilies.pak created \n");
print("Back");
} else {
?>
" method="POST" >
Images
Description
Code
");
if(($entri".") AND ($entri"..") AND (substr($entri,-4,4)".php") AND (substr($entri,-4,4)".txt"))
{
print("");
print("");
}
echo ("");
}
closedir($dir);
?>