PDA

View Full Version : Signature Bug Importing from SMF 2



rsw686
Sun 17th May '09, 2:45am
I did an import from SMF 2 and noticed that none of the signatures carried over. I looked through the impex code and found a bug in smf2\004.php

Find


// If its not blank slash it and get it
if($data['personal_text'])
{
$try->add_default_value('signature', $this->html_2_bb($data['signature']));
}


Replace


// If its not blank slash it and get it
if($data['signature'])
{
$try->add_default_value('signature', $this->html_2_bb($data['signature']));
}

rsw686
Sun 17th May '09, 3:03am
I did the import over and now I can see the signatures if I edit the user, but they still don't show on messages or when viewing the profile. Any ideas?

rsw686
Tue 19th May '09, 5:08pm
Forgot to post back that I resolved this. It was related to the usergroups in vBulletin and the show on member list option. I have successfully completed a few test imports and will go live on Friday night.

I am going to file the above code as a bug on the ImpEx project page.

Jerry
Fri 22nd May '09, 2:41pm
I have updated the code in ImpEx now.