hey, this will help out EVERYBODY who wants to install a large amount of smilies into their phpbb forum. OK, the dev's at phpbb are very clever and have made it very easy to install smilies with the use of a .pak config file. HOWEVER, 99% of all smilie packs out there dont come with a .pak file.
I did some looking, and a .pak file has the syntax:
smilie_filename.gif=+:Smilie Description=+:smilie_code
Ideally all you have to do is replace smilie_filename.gif with the smilie's filename, Smilie Description with a description of the smilie and smilie_code with the actual code for the smilie. Upload smilies.pak to /phpbb/images/smiles/ where /phpbb is the directory of your phpBB2 installation. Now go to phpBB2 > Admin Panel > Smilies > Import Smiley Pak, select smilies.pak and import it
However, typing out hundreds of lines like this is just unneccessary.
SO! I consult my fellow genuises at phpfreaks. Can somebody help me make a simple script that will create a .pak file with the filename for the filename param, the filename for the description param, and the filename once again between two colons for the code for the code param.
EX.
icecream.gif=+:icecream=+:
the only thing i don't understand is how php would be able to read the filenames of each smilie into the file!
Plz help, if it works I will give the proper credits and submit it to the phpbb official site, as many people would LOVE this script.