• Welcome to Simple Machines Community Forum. Please login or sign up.
December 09, 2021, 12:47:24 AM

News:

Wondering if this will always be free?  See why free is better.


[SMF Converter] e107 - 0.7.7

Started by JayBachatero, January 10, 2007, 01:26:50 PM

Previous topic - Next topic

jonjax

works thank you sooooooooooooooooo much... this is amazing all converted

Angpeu

not all.
converter not support smiles and e107 bb codes.

JayBachatero

January 11, 2007, 11:32:16 PM #62 Last Edit: January 11, 2007, 11:39:06 PM by JayBachatero
Quote from: Angpeu on January 11, 2007, 04:16:00 PM
not all.
converter not support smiles and e107 bb codes.

I'll look into that Angpeu.  I'll have something for you tom.

EDIT: Angpeu what exactly do you mean that the smileys and bbc code are not converted?  They are same bbc codes and smileys so the post should stay in tact.  The images themselves are not converted.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Angpeu

this BBC:
[size=14] Club "AR" [/size]
========
[quote1148889148=KOT]
How Can?
[/quote1148889148]
==========
[link=http://www.mc-ent.ru/MAF_V.html]Moscow Anime festival[/link]
==========
[img:width=75&height=75]../../files/public/1168259047_2074_FT96453_av-143.gif[/img]
==========
[blockquote]
[img:width=100&height=100]../../files/public/1166833109_3880_FT96453_.gif[/img][/blockquote]

Angpeu

smiles at e107 look that (pic1)
and stored on  table e107_core (pic2)

JayBachatero

Ok I added the bbc tags.  Just the ones that are shown.  I also added smileys conversion.  Keep in mind that some smileys will be a bit different expression since there are some smileys that we don't have that e107 has.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Angpeu

how about:
Converting boards... Unsuccessful!
This query:
INSERT INTO `smf`.smf_boards
(ID_BOARD, name, description, ID_CAT, ID_PARENT, childLevel, numTopics, numPosts, boardOrder, memberGroups)
VALUES ('2', 'Общие вопросы', '', '1', '0', '0', '378', '6501', '1', '-1,0'),
.........
Caused the error:
Duplicate entry '2' for key 1


but if look to forum i can see normaly converted boards....

JayBachatero

In convert.php find

if (!empty($rows))
convert_query("
INSERT $ignore INTO $special_table
(" . implode(', ', $keys) . ")
VALUES (" . implode('),
(', $rows) . ")");


Add before.

if ($special_table == $to_prefix . 'boards')
echo "</pre>
INSERT $ignore INTO $special_table
(" . implode(', ', $keys) . ")
VALUES (" . implode('),
(', $rows) . ")</pre>";


Paste the output here.  It will show all the rows that are being inserted to tract down the problem.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Angpeu


JayBachatero

Ok add echo '<h2>', count($rows), '</h2>'; before if ($special_table == $to_prefix . 'boards')

That will show the amount of rows that are being fetched.  Trying to see if its a query issue or a convert.php issue.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Angpeu

Converting...
Converting ranks...Converting groups...
28
Successful.
Converting members...
500
500
500
247
Successful.
Converting additional member groups... Successful.
Converting categories...
4
Successful.
Converting boards... Unsuccessful!
This query:
INSERT INTO `smf`.smf_boards
----
Caused the error:
Duplicate entry '2' for key 1

JayBachatero

Seems like there is no count for the boards table.. Try this.

BTW can you IM me on ICQ?
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Angpeu

yes i can.
board converts Ok.
im wait for 320000 post convert.

Angpeu

all converted.
have some trouble with quote..
double quote converts not true.

Angpeu

bbc on Signature not converted:

[size=13]Loving you was like loving the dead (Type O Negative)[/size]
[link=ftp://10.7.0.82]ftp://10.7.0.82[/link]

JayBachatero

Paste the whole post in a code tag.  I'll fix that nested quotes issue.  Damn forgot about sigs.  I'll convert those too. Any others? I did it for PMs.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

JayBachatero

Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Angpeu

After convert need Recount all forum totals and statistics

All Re: to Post not "have Sublect" i think it's not right

Angpeu

new :) BBC (atached file) not converted
[file=../../files/public/1168545033_808_FT123596_43904_lamertest.zip]1168545033_808_FT123596_43904_lamertest.zip[/file]

And diferent image posts not converted too:

[img:width=480&height=359]../../files/public/1168433990_3151_FT46420_3075_.jpg[/img]

[img:width=480&height=360]../../files/public/1168433990_3151_FT46420_1154378382_girl19_.jpg[/img]

[img:width=321&height=168]../../files/public/1168433990_3151_FT46420_69392_65435.jpg[/img]
[img:width=457&height=328]../../files/public/1168433990_3151_FT46420_1165913549_2.jpg[/img]
[img:width=400&height=318]../../files/public/1168433990_3151_FT46420_1157974820_114.jpg[/img]
[img:width=480&height=360]../../files/public/1168433990_3151_FT46420_1168355496_humor_17_.jpg[/img]

[img:width=270&height=364]../../files/public/1168433990_3151_FT46420_tarakani.gif[/img]
[img:width=480&height=360]../../files/public/1168433990_3151_FT46420_normal_pd800_.jpg[/img]




Quote and Multi Quote Converted Preffect.

JayBachatero

Actually that is a problem with e107.  They don't put a subject to replies to a post so they are left NULL.  What I can do is do another step to change the subjects of the other posts.  I can either make it have the Re: part in english or no Re: to it.

About the recount part I have to update that part of the converter.

The file tag is for attachments?  I'll take a look at the img tag issue when ever I get a new monitor.  My PC monitor just burnt a few mins ago so I'm not on my PC.  All my test stuff is there.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Advertisement: