News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

IPB 2.1.3

Started by daveb47, November 27, 2005, 12:54:19 PM

Previous topic - Next topic

Monteiro

Oldies! Where are you, dude??? :-[

daveb47

I have another 10 days on my IPB licence but i suspect that i am going to have to buy another :'( :'( :'(
Never mind,I was hoping to use Smf,But its looking more & more unlikely.
Its only taken since November so far,But that is a bloody sight quicker than trying to get any sense out of Ipb!!!!!! :)
Cheers
Dave
https://daveb47.co.uk

A Slinky is like Jeremy CorbynWinehouse,Weird looking,Not really of any use to anybody.
But its really funny when it falls down the stairs!!:D:D

Monteiro

I'm being Oldies worst pain in the a**! Just teased him another PM ;)

H

Quote from: daveb47 on March 23, 2006, 01:54:27 AM
I have another 10 days on my IPB licence but i suspect that i am going to have to buy another :'( :'( :'(
Never mind,I was hoping to use Smf,But its looking more & more unlikely.
Its only taken since November so far,But that is a bloody sight quicker than trying to get any sense out of Ipb!!!!!! :)
Cheers
Dave

If you are really desperate you could convert IPB > phpbb > smf.
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Oldiesmann

Sorry for not paying attention to this. I forgot all about it.

I'll take a look at it and see what I can do.

Oldiesmann

Two more changes have been made:
Reversed order of border and alt attributes in code to match images (they were in the wrong order)
Added code to match colors with single quotes as well

Still trying to figure out the smiley issue.

Monteiro - IPB must do more to passwords than just MD5, because SMF already checks for regular MD5 password hashing (in addition to several other methods). What does the ipsclass->input method do?

Monteiro

Hi Oldies.

Man, that ipsclass is kinda unreadable for me, but I can tell there's no such input method on it, input is an array. Here's the comment on that:
* // Array of sanitized _GET _POST data (run via parse_clean_value)
* $ipsclass->input

But there's a method called return_md5_check that does the following:
/*-------------------------------------------------------------------------*/
// return_md5_check
// ------------------
// md5 hash for server side validation of form / link stuff
/*-------------------------------------------------------------------------*/

/**
* Return MD5 hash for use in forms
*
* @return string MD5 hash
* @since 2.0
*/
function return_md5_check()
{
if ( $this->member['id'] )
{
return md5($this->member['email'].'&'.$this->member['member_login_key'].'&'.$this->member['joined']);
}
else
{
return md5("this is only here to prevent it breaking on guests");
}
}

If you prefer, I can send you the whole ipsclass.php file. Let me know!

Oldiesmann

Ok. Give me a chance to go investigate this member_login_key thing and I can probably come up with the appropriate SMF modification for that.

In the mean time, try the attached file. I think I finally fixed the emoticons issue...

Oldiesmann

Not sure what the issue is with passwords. I've done some more research on IPB2.1.x password hashing, and as far as I can see, it's the same as it was in IPB2 - md5(md5({salt}) . md5({password})). SMF checks for that as well.

Monteiro

Ermm... Maybe I'm messing up things. Does the conversor script erase the user table? I'll try to register an account with a known pass, then convert it and then will try to login. If the login works, the pass conversion is working just fine, and I really messed things :-[

I'll test those and as soon as it's over, the result will come here... Thanks Oldies!

bigpaul

Quote from: daveb47 on March 23, 2006, 01:54:27 AM
I have another 10 days on my IPB licence but i suspect that i am going to have to buy another :'( :'( :'(
Never mind,I was hoping to use Smf,But its looking more & more unlikely.
Its only taken since November so far,But that is a bloody sight quicker than trying to get any sense out of Ipb!!!!!! :)
Cheers
Dave

Why don't you convert it to PHPBB? Then you can convert to SMF without any problems.

Monteiro

I've tryed again the conversion and things keep strange. Also, I checked the SQL file for mistakes, and found a few other missing (',) at ending array elements. Can you check those?

About the password, there must be something we're missing here, not working yet. Can I help you in a way other then just keep reporting the bugs?

Monteiro

Quote from: Monteiro on March 27, 2006, 07:21:34 AM
I've tryed again the conversion and things keep strange. Also, I checked the SQL file for mistakes, and found a few other missing (',) at ending array elements. Can you check those?

About the password, there must be something we're missing here, not working yet. Can I help you in a way other then just keep reporting the bugs?
Any news on that? (bump)

daveb47

I am going put off buying my mew ipb licence for a few days in hope that This will get sorted.
Everything ssms tp be working from me(after a few minor edits)except  smilies & BB code?Signitures.
Passwords seem to be ok for me.
Keeping fingers crossed now!!!!!
https://daveb47.co.uk

A Slinky is like Jeremy CorbynWinehouse,Weird looking,Not really of any use to anybody.
But its really funny when it falls down the stairs!!:D:D

Oldiesmann

If you can give me a list of what isn't working, I'll do my best to fix the issues, and will also fix any remaining typos that I find.

Monteiro

If you follow the array declarations code, you'll discover the mistakes (missing ', characters) I told you.

And there's that issue about the password. If I take both and compare an IPB pass and a SMP pass whould they look the same?

daveb47

Everything is working for me after i fix the missing ',s

Except
Smilies
BB codes

Obviously signitures have bb codes not working but i dont seem to have a problem with Passwords etc.
https://daveb47.co.uk

A Slinky is like Jeremy CorbynWinehouse,Weird looking,Not really of any use to anybody.
But its really funny when it falls down the stairs!!:D:D

Oldiesmann

Quote from: Monteiro on March 29, 2006, 02:50:40 PM
If you follow the array declarations code, you'll discover the mistakes (missing ', characters) I told you.

And there's that issue about the password. If I take both and compare an IPB pass and a SMP pass whould they look the same?

No, because SMF uses a different password hashing method than IPB does.

daveb - I'm working on the issue with bbcode in the signatures. I am doing my best to fix the smileys issue, but I honestly don't know why it's not working - I'll have to see if someone who's more familiar with regex can help me out on that.

Monteiro

Just came to my attention: looking at the members table, it's clear that the converted passwords are shorter (33 characters) then the ones generated by SMF (41 characters). This should have something to do with the conversion problems I'm going through... Is there anything I can do to help?

EdwinK

This is the error message I'm getting now

(cut some of it, because of it being the same line after line after line)

Quote

Invision Power Board 2.1 to SMF Converter
Converting...
Converting members...
Parse error: parse error, unexpected '[', expecting ')' in /home/dungeons/public_html/cr/convert.php(814) : eval()'d code on line 41
...
...
...
Parse error: parse error, unexpected '[', expecting ')' in /home/dungeons/public_html/cr/convert.php(814) : eval()'d code on line 42

Successful.
Converting personal messages (step 2)... Successful.
Converting topic notifications... Successful.
Converting board notifications... Successful.
Converting moderators... Successful.
Converting yearly events... Successful.
Converting permissions...
Notice: Undefined index: start in /home/dungeons/public_html/cr/convert.php(653) : eval()'d code on line 37
Unsuccessful!
This query:

    SELECT
    g_id AS ID_GROUP, g_title AS groupName, g_max_messages AS maxMessages,
    g_view_board AS view_stats, g_mem_info AS view_mlist,
    g_view_board AS who_view, g_use_search AS search_posts, g_email_friend AS send_topic,
    g_edit_profile AS profile_identity_own, g_post_new_topics AS post_new,
    g_reply_own_topics AS post_reply_own, g_reply_other_topics AS post_reply_any,
    g_edit_posts AS modify_own, g_delete_own_posts AS delete_own,
    g_post_polls AS poll_post, g_post_polls AS poll_add_own, g_vote_polls AS poll_vote,
    g_use_pm AS pm_read, g_use_pm AS pm_send, g_is_supmod AS moderate_forum,
    g_is_supmod AS manage_membergroups, g_is_supmod AS manage_bans,
    g_access_cp AS manage_smileys, g_access_cp AS manage_attachments,
    g_can_remove AS delete_any, g_calendar_post AS calendar_post,
    g_calendar_post AS calendar_edit_any, g_post_closed AS lock_own,
    g_edit_topic AS modify_any, g_open_close_posts AS lock_any
    FROM `dungeons_commonroom`.ibf_groups
    WHERE g_id NOT IN (1, 4, 5)
    LIMIT , 100;

Caused the error:

    You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ' 100' at line 17


I had a good working version, but i deleted it accidently :(
|| foto-site ||

Advertisement: