Tutorial: Creating smilies.pak file and importing smilies

Do not post support requests, bug reports or feature requests. Discuss phpBB here. Non-phpBB related discussion goes in General Discussion!
Anti-Spam Guide
Post Reply
User avatar
munnibhai
Translator
Posts: 40
Joined: Wed Oct 07, 2009 2:47 am
Location: London,
Contact:

Tutorial: Creating smilies.pak file and importing smilies

Post by munnibhai » Sat Nov 13, 2010 9:40 am

Hello guys,
if this topic is not in correct forum, i truly apologise for this, please move this to appropriate.

Here i will write that how do we create smilies.pak file and add smilies to the forum.

First of all you should have all your smilies/ images in a folder.
Open notepad or notepad++.
Write the code in this format

'smiley_name.ext', 'width', 'height', '1', 'description_of_smiley', 'code',

for example i have a smiley named happy.gif with width x height of 50x45, I will write it like this

'happy.gif', '50', '45', '1', 'Smiling Face', ':)',

Similary write code for each smiley in a new line.

When finished, save as smilies.pak in the same folder where there are images are present.

Now copy all these files (images/ smilies and smilies.pak files) in phpbb_root/images/smilies.

Login to admin pannel of the forum and go to POSTINGS > SMILIES

Click on link "Install Smilies Package".

On new page, you will see smilies.pak listed in the txt field with 3 options.

Replace Matches
Keep All
Delete All

Selection 1st option will replace any match with the new one.
Keep All will keep all old and new smilies, creating duplicates.
Delete All will delete all old smilies and install new ones.

Select the option you want to have and press "Install Smilies Package" button.

hurrayyyyyy... we are done.

Note: This tutorial applies to phpbb3.x.x version
the crazy panda player... tekken heha

GreyHead
Registered User
Posts: 1
Joined: Wed Apr 30, 2008 7:46 pm

Re: Tutorial: Creating smilies.pak file and importing smilie

Post by GreyHead » Thu Dec 02, 2010 1:59 pm

Just to add to this.

The .pak file must have a comma at the end of every line - including the last smilie - and must end with an empty line. If not then you get the "Incomplete information" error message.

Bob

Code: Select all

. . .
'bat_wall.gif', '25', '16', '1', 'The wall', ':wall:', 
'bat_welcome.gif', '43', '40', '1', 'Welcome', ':welcome:', 
'bat_whistle.gif', '21', '16', '1', 'Whistle', ':whistle:',


User avatar
JimA
Community Team Leader
Community Team Leader
Posts: 7551
Joined: Thu Jul 31, 2008 5:54 am
Location: The Netherlands
Name: Jim Mossing Holsteyn
Contact:

Re: Tutorial: Creating smilies.pak file and importing smilie

Post by JimA » Thu Dec 02, 2010 2:07 pm

Feel free to submit your article to the Knowledge Base and our Support Team will take a look at it. :)
Image Jim Mossing Holsteyn - Community Team Leader
Knowledge Base | Documentation | Board rules

If you're having any questions about the rules/customs of this website, feel free to drop me a PM.

Post Reply

Return to “phpBB Discussion”

Who is online

Users browsing this forum: Majestic-12 [Bot], Yandex [Bot] and 16 guests