إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...

انضم الينا
استراحات زايد الصفحة الرئيسية

  #1  
قديم 08-05-2010, 01:00 AM
عضو ماسي
بيانات محروم.كوم
 رقم العضوية : 503
 تاريخ التسجيل : Dec 2007
الجنس : female
علم الدوله :
 المشاركات : 2,100,669
عدد الـنقاط :3341
 تقييم المستوى : 2141

I am trying to import an additional data column from my IPB 2.3.6 source. I found a number of posts on modifications to the 004.php fle in the Impex system, but none of the suggestions work.

First I tried the following:
$this->add_custom_field($Db_target, $tdt, $ttp, 'loginname','name');
$try->add_custom_value('loginname', $user_details['name']);

This didn't create the loginname column, and obviously didn't populate it. I then manually created the loginname column as varchar 255. I commented out the add_custom_field command and ran the import but no data filled the loginname column. I then tried the following:


$try->add_default_value('loginname', $user_details['name']);

This also resulted in no data inserted in the column. I know there is valid data in the 'name' field as it is the standard value to be imported to the username column and it is working. I'm able to change the source field going into the username column at will as well. I just cannot get the new column to populate using Impex. With no modifications to the 004.php file the import takes 30 seconds, but any changes this goes up to 120 seconds. Impex is trying to do something, but I don't know what.

Any suggestions?
__DEFINE_LIKE_SHARE__
رد مع اقتباس
إضافة رد

مواقع النشر (المفضلة)


تعليمات المشاركة
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة
Trackbacks are متاحة
Pingbacks are متاحة
Refbacks are متاحة



الساعة الآن 02:45 PM


Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By Almuhajir

RSS RSS 2.0 XML MAP HTML