PDA

View Full Version : phpBB impex request



sarahk
Thu 21st Jul '05, 6:19am
The phpBB that I was importing from had the standard prefix and then some tables had an additional prefix - ie two different prefixes.

It would be great if this array in 000.php had keys so the tablenames could be used in the queries.

var $_valid_tables = array (
'attachments', 'attachments_desc', 'bbauth_access','bbbanlist','bbcategories',
'bbconfig','confirm','bbdisallow','bbforum_prune', 'bbforums','bbgroups',
'bbposts','bbposts_text', 'bbprivmsgs','bbprivmsgs_text','bbranks','bbsearch _results','bbsearch_wordlist',
'bbsearch_wordmatch','bbsessions','bbsmilies',
'bbthemes','bbthemes_name','bbtopics','bbtopics_wa tch', 'bbuser_group','users','bbvote_desc','bbvote_resul ts','bbvote_voters','bbwords'
);
Sarah

Jerry
Thu 21st Jul '05, 2:02pm
The only way I can think of doing this currently is, editing the ImpExConfig between modules i.e.

tableprefix = phpBB_ for the user table if its phpBB_users

and then ;

tableprefix = MY_phpBB_ for the forums table if its MY_phpBB_forums

sarahk
Thu 21st Jul '05, 10:26pm
Thanks Jerry

This was a request for future enhancements, if there are any. sort of a wishlist only I, personally, won't be needing it. I worked through and made the changes - just took a bit of time. However less techy users will come unstuck and if here were going to be newer versions it would be a nice change to make.

All in all the process went well.

thanks

Sarah