Import Old pak files

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Extensions Robot
Extensions Robot
Extensions Robot
Posts: 27898
Joined: Sat Aug 16, 2003 7:36 am

Import Old pak files

Post by Extensions Robot » Sat Feb 16, 2008 7:21 pm

Modification name: Import Old pak files
Author: AGC
Modification description: Import phpBB 2 *.pak (smilies files) to phpBB 3 without modifed the pak file. Usefull for the big ones :>.

*Compatible to phpBB latest version.
Modification version: 1.0.2
Tested on phpBB version: 3.0.0

Download file: Import Old paks files.zip
File size: 30.11 KiB

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Extensions Team may not be able to provide support.

-->Modification support<--
Last edited by Extensions Robot on Mon Mar 27, 2017 3:10 pm, edited 9 times in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)

Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 25178
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Import Old pak files

Post by Paul » Sat Feb 16, 2008 7:21 pm

Modification validated/released

Notes:
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

User avatar
AGC
Registered User
Posts: 292
Joined: Sat Sep 15, 2007 10:26 pm
Contact:

Import Old pak files

Post by AGC » Sat Feb 16, 2008 7:21 pm

This post has been reserved for the MOD author.
:) :idea:
(phpBB 2.0.x): []Admin Topics List[] MOD. << Description & Download. , []Highlight Author[] MOD.

Donate-paypal
(phpBB 3.0.x)[ver] MODs: [RC1] >Import old *.pak files MOD. + . . .[8] > ACP - Modules Quick Access (MQA) MOD. + . . . [7-PL1] > Multi Smile (actions) MOD

Anyasha
Registered User
Posts: 704
Joined: Mon Aug 07, 2006 4:02 am
Name: Anyasha

Re: Import Old pak files

Post by Anyasha » Mon Mar 10, 2008 4:28 am

I tested it with a phpBB2 pak and it worked brilliantly. Thanks so much. :P
Kiss me, I'm Polish!

User avatar
AGC
Registered User
Posts: 292
Joined: Sat Sep 15, 2007 10:26 pm
Contact:

Re: Import Old pak files

Post by AGC » Tue Mar 11, 2008 2:04 pm

Great. :D That's exactly what it's for. :idea:
Your welcome. 8-)
(phpBB 2.0.x): []Admin Topics List[] MOD. << Description & Download. , []Highlight Author[] MOD.

Donate-paypal
(phpBB 3.0.x)[ver] MODs: [RC1] >Import old *.pak files MOD. + . . .[8] > ACP - Modules Quick Access (MQA) MOD. + . . . [7-PL1] > Multi Smile (actions) MOD

User avatar
ordicom
Registered User
Posts: 8
Joined: Sat Mar 22, 2008 8:24 am
Location: Switzerland
Contact:

Re: Import Old pak files

Post by ordicom » Sat Mar 22, 2008 8:29 am

I got a php error when adding the lines ...

I downloaded my version of phpbb yesterday ...

any way to get the file acp_icons.php already modified ?

or ...

User avatar
AGC
Registered User
Posts: 292
Joined: Sat Sep 15, 2007 10:26 pm
Contact:

Re: Import Old pak files

Post by AGC » Mon Mar 24, 2008 9:14 pm

ordicom wrote:I got a php error when adding the lines ...

I downloaded my version of phpbb yesterday ...
What kind of error ? 8-)
any way to get the file acp_icons.php already modified ?

or ...
What do you mean ?
Most likely if you download the last new version you need to follow & do all the modifications. :idea: :D
(phpBB 2.0.x): []Admin Topics List[] MOD. << Description & Download. , []Highlight Author[] MOD.

Donate-paypal
(phpBB 3.0.x)[ver] MODs: [RC1] >Import old *.pak files MOD. + . . .[8] > ACP - Modules Quick Access (MQA) MOD. + . . . [7-PL1] > Multi Smile (actions) MOD

User avatar
ordicom
Registered User
Posts: 8
Joined: Sat Mar 22, 2008 8:24 am
Location: Switzerland
Contact:

Re: Import Old pak files

Post by ordicom » Wed Mar 26, 2008 7:13 pm

removing some remarks and works, Thank you

User avatar
AGC
Registered User
Posts: 292
Joined: Sat Sep 15, 2007 10:26 pm
Contact:

Re: Import Old pak files

Post by AGC » Sat Mar 29, 2008 10:37 pm

That's wierd/ :o Thanks for your remarks
However:
Did you follow all the directions ? > I check it to be on the safe side and it's work fine.
But I'm glad you find the error and fix it for you. :D
(phpBB 2.0.x): []Admin Topics List[] MOD. << Description & Download. , []Highlight Author[] MOD.

Donate-paypal
(phpBB 3.0.x)[ver] MODs: [RC1] >Import old *.pak files MOD. + . . .[8] > ACP - Modules Quick Access (MQA) MOD. + . . . [7-PL1] > Multi Smile (actions) MOD

User avatar
hejowicz
Registered User
Posts: 442
Joined: Sun Dec 23, 2007 4:03 pm

Re: Import Old pak files

Post by hejowicz » Tue Apr 01, 2008 3:06 pm

After install I have error:

Code: Select all

Parse error: syntax error, unexpected T_ELSE in /home/hejowicz/public_html/includes/acp/acp_icons.php on line 506
how to fix it ?

User avatar
AGC
Registered User
Posts: 292
Joined: Sat Sep 15, 2007 10:26 pm
Contact:

Re: Import Old pak files

Post by AGC » Tue Apr 01, 2008 11:39 pm

hejowicz wrote:After install I have error:

Code: Select all

Parse error: syntax error, unexpected T_ELSE in /home/hejowicz/public_html/includes/acp/acp_icons.php on line 506
how to fix it ?
Hi.
Make sure the code is added after these lines:

Code: Select all

                  $db->sql_query("INSERT INTO $table " . $db->sql_build_array('INSERT', $sql));
               }
            }
Also :idea:
Make sure that this:

Code: Select all

      // Make sure the pak_ary is valid
      foreach ($pak_ary as $pak_entry)
is commented out...... 8-) to this line(s):

Code: Select all

      // The user has already selected a smilies_pak file
      if ($current == 'delete')
(phpBB 2.0.x): []Admin Topics List[] MOD. << Description & Download. , []Highlight Author[] MOD.

Donate-paypal
(phpBB 3.0.x)[ver] MODs: [RC1] >Import old *.pak files MOD. + . . .[8] > ACP - Modules Quick Access (MQA) MOD. + . . . [7-PL1] > Multi Smile (actions) MOD

User avatar
hejowicz
Registered User
Posts: 442
Joined: Sun Dec 23, 2007 4:03 pm

Re: Import Old pak files

Post by hejowicz » Wed Apr 02, 2008 5:38 pm

I do it twice
here I have acp_icons.php file

Pls , take a look :roll:
http://www.sendspace.pl/file/gVAStqDN/

User avatar
AGC
Registered User
Posts: 292
Joined: Sat Sep 15, 2007 10:26 pm
Contact:

Re: Import Old pak files

Post by AGC » Wed Apr 02, 2008 8:24 pm

AGC wrote: Also :idea:
Make sure that this:

Code: Select all

 // Make sure the pak_ary is valid
foreach ($pak_ary as $pak_entry)
is commented out...... 8-) to this line(s):

Code: Select all

 // The user has already selected a smilies_pak file
if ($current == 'delete')
The comment tags "/*" and "*/" not in thr right place. Move them up 3 lines.... :oops:
the "//Make sure...." and foreach block need to commented out. :arrow:
"// The user has ....." should not be commented out.

User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: Import Old pak files

Post by IPB_Refugee » Sun Oct 05, 2008 9:27 am

Hi,

thank you for this useful MOD!

Just a note: When you get the following error...
General Error
SQL ERROR [ mysql4 ]

Incorrect string value: '\xFCpf' for column 'emotion' at row 1 [1366]

SQL

INSERT INTO phpbb_smilies (smiley_url, smiley_height, smiley_width, smiley_order, display_on_posting, code, emotion) VALUES ('icon_bash.gif', 37, 26, 46, 1, 'bash:', 'h�pf')

BACKTRACE

FILE: includes/db/mysql.php
LINE: 158
CALL: dbal->sql_error()

FILE: includes/acp/acp_icons.php
LINE: 654
CALL: dbal_mysql->sql_query()

FILE: includes/functions_module.php
LINE: 471
CALL: acp_icons->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
... then save smilies.pak encoded with UTF-8 (mine was ISO 8859-1)

Regards
Wolfgang

User avatar
AGC
Registered User
Posts: 292
Joined: Sat Sep 15, 2007 10:26 pm
Contact:

Re: Import Old pak files

Post by AGC » Tue Oct 14, 2008 12:23 am

IPB_Refugee wrote:
thank you for this useful MOD!
8-)
... then save smilies.pak encoded with UTF-8 (mine was ISO 8859-1)
:idea: . It's always wise to use UTF-8 files, when using phpBB 3.0 (but not just).
:)
(phpBB 2.0.x): []Admin Topics List[] MOD. << Description & Download. , []Highlight Author[] MOD.

Donate-paypal
(phpBB 3.0.x)[ver] MODs: [RC1] >Import old *.pak files MOD. + . . .[8] > ACP - Modules Quick Access (MQA) MOD. + . . . [7-PL1] > Multi Smile (actions) MOD

Locked

Return to “[3.0.x] MOD Database Releases”