Resource icon

vBulletin Big Board Importer [vBulletin 3 + vBulletin 4] [Paid] 1.5.0

No permission to buy ($150.00)
Check all your permission sets
Any help please @Slavik; ?

For the admin access, you may have to modify your user in the database probably to make them an admin. There's an "is_admin" column. Also add them to config as super admin:
https://xenforo.com/community/threa...ser-to-super-administrator.33274/#post-379633
This worked, thanks.

For the no permission issue, try Rebuilding Master Data to fix it:
https://xenforo.com/community/threa...f_permission_cache_content.88026/#post-861537
However, this did not work, i did it but still i cannot see the threads/forums.

I have also rebuilt user/threads/forums cache, but did not do good also.
I have checked also the single forums permissions and set them to allow, it did not change anything

Any other suggestion ?
 
Any help please @Slavik; ?


This worked, thanks.


However, this did not work, i did it but still i cannot see the threads/forums.

Any other suggestion ?

You can try this:

1. Load and resave all usergroup permissions (and verify people can view stuff, but even re-save if you don't change anything)
2. Rebuild Forum cache
3. Rebuild User cache

arn
 
You can try this:

1. Load and resave all usergroup permissions (and verify people can view stuff, but even re-save if you don't change anything)
2. Rebuild Forum cache
3. Rebuild User cache

arn
This fixed it, thanks.
 
well i have another problem now.

I think @Slavik; can help with this. I have some arabic posts, after the import they are appearing as giberish on the page.

Do I have to set any encoding ?

Screenshot below:Screen Shot 2014-12-17 at 3.31.56 AM.webp
 
I have a custom userfield for "Gender" in the VB4 site that I can Export/Import as a custom userfield no problem, but what I obviously want is to import that custom field into the core gender field of XF.

The data in the custom field is male/female just the same as the core field so my question is what would be the best way to copy this over from my custom field in VB to the core user field in XF?

https://xenforo.com/community/threa...-for-gender-how-to-combine.21334/#post-271012
 
Not sure if anyone else is working on an import now. There are some changes that I've had to make and document along the way. I'll post a bunch of notes when I finally get done.

One tip though...

if you have any custom tags like [youtube], you can replace them during export by editing the Export.php _getReplaceBBCodeCommand function's sed line

Adding this should do it without having to do a search/replace after the import.

Code:
s/\[youtube\]([^&[]*?).*\[\/youtube\]/\[media=youtube\]\1\[\/media\]/ig;\'

Sorry - struggling to get this to work - the code I have is as follows:

PHP:
protected function _getReplaceBBCodeCommand()
    {
        return ' | ' . self::$sedCommand . ' -r \'s/\[quote="?([^]";]*?);([^]";]*?)"?\]/[quote="\1, post: \2"]/ig;s/\[highlight\]//ig;s/\[\/highlight\]//ig;s/\[nofollow/\[url/ig;s/\[\/nofollow/\[\/url\]/ig;s/\[noparse\]/\[plain\]/ig;s/\[\/noparse\]/\[\/plain\]/ig;s/\[strike\]/\[s\]/ig;s/\[\/strike\]/\[\/s\]/ig;s/\[video\]http\:\/\/www.youtube.*v=([^&[]*?).*\[\/video\]/\[media=youtube\]\1\[\/media\]/ig\'';
    }

How should I modify that to automatically convert Youtube?
 
Hey Jake

iconv is set like this:

Code:
 public static $extraOutCommand = '| iconv -f LATIN1 -t UTF8';

And it is not running out of memory, how can i debug if it is running properly ?

The test will be to see if the character problems are fixed on your next Export + Import.
 
Sorry - struggling to get this to work - the code I have is as follows:

PHP:
protected function _getReplaceBBCodeCommand()
    {
        return ' | ' . self::$sedCommand . ' -r \'s/\[quote="?([^]";]*?);([^]";]*?)"?\]/[quote="\1, post: \2"]/ig;s/\[highlight\]//ig;s/\[\/highlight\]//ig;s/\[nofollow/\[url/ig;s/\[\/nofollow/\[\/url\]/ig;s/\[noparse\]/\[plain\]/ig;s/\[\/noparse\]/\[\/plain\]/ig;s/\[strike\]/\[s\]/ig;s/\[\/strike\]/\[\/s\]/ig;s/\[video\]http\:\/\/www.youtube.*v=([^&[]*?).*\[\/video\]/\[media=youtube\]\1\[\/media\]/ig\'';
    }

How should I modify that to automatically convert Youtube?

Try: assuming your tag is [youtube]videoid[/youtube]

PHP:
protected function _getReplaceBBCodeCommand()
    {
        return ' | ' . self::$sedCommand . ' -r \'s/\[quote="?([^]";]*?);([^]";]*?)"?\]/[quote="\1, post: \2"]/ig;s/\[highlight\]//ig;s/\[\/highlight\]//ig;s/\[nofollow/\[url/ig;s/\[\/nofollow/\[\/url\]/ig;s/\[noparse\]/\[plain\]/ig;s/\[\/noparse\]/\[\/plain\]/ig;s/\[strike\]/\[s\]/ig;s/\[\/strike\]/\[\/s\]/ig;s/\[video\]http\:\/\/www.youtube.*v=([^&[]*?).*\[\/video\]/\[media=youtube\]\1\[\/media\]/ig;s/\[youtube\]([^&[]*?).*\[\/youtube\]/\[media=youtube\]\1\[\/media\]/ig;\'';
    }
 
Wondering why

Code:
//importTable('xf_ip');

is commented out in Import.php...is there any issue with letting it get imported?

Thanks
 
Wondering why

Code:
//importTable('xf_ip');

is commented out in Import.php...is there any issue with letting it get imported?

Thanks

It's commented out because the current Export.php doesn't properly support the latest IP exporting. You have to make changes to the Export.php (I sent you the changes) and then uncomment that importTable line.

arn
 
It's commented out because the current Export.php doesn't properly support the latest IP exporting. You have to make changes to the Export.php (I sent you the changes) and then uncomment that importTable line.

arn
Got it, thanks
 
Hello again,

While trying to download the latest version of the importer from DP, I got a notice that my licensed had "expired" on Nov 21, 2014 and if I wanted the new version, I had to purchase a renewal (u wot m8?)... which costs 0 USD.

Thinking it was a glitch in the matrix, I clicked on Purchase Renewal just for kicks, only to be greeted by the following message "This item does not cost anything.". Which makes sense, considering the license is a one time payment.

So now I'm stuck in a loop where I bought the license, but can't download the latest version because the license "expired", and if I want to "renew" it, it gives an error that I can't actually renew it, because it doesn't cost anything.

Help?
 
Hello again,

While trying to download the latest version of the importer from DP, I got a notice that my licensed had "expired" on Nov 21, 2014 and if I wanted the new version, I had to purchase a renewal (u wot m8?)... which costs 0 USD.

Thinking it was a glitch in the matrix, I clicked on Purchase Renewal just for kicks, only to be greeted by the following message "This item does not cost anything.". Which makes sense, considering the license is a one time payment.

So now I'm stuck in a loop where I bought the license, but can't download the latest version because the license "expired", and if I want to "renew" it, it gives an error that I can't actually renew it, because it doesn't cost anything.

Help?

@digitalpoint
 
In Export.php, this

Code:
$groups = array($user['usergroupid']) + explode(',', $user['membergroupids']);

should be changed to

Code:
$groups = array_merge(array($user['usergroupid']), explode(',', $user['membergroupids']));

because using addition with arrays (+) will give problems if both arrays have common array keys

So array($user['usergroupid']) will create an array with an array key of 0, and explode(',', $user['membergroupids']) will create an array with the first item having a key of 0 as well, so the first item from the explode gets skipped when they're combined. array_merge will give the correct results.
 
I start testing tonight on my dev server... butterflies :)
Totals: Threads: 858,248, Posts: 9,150,230, Members: 144,388

Edit: So after about 1 1/2 hour of going a bit nuts... it seems the VB and XF need to be running on the same server and using the same user...

Replication time.. grr :)
 
Last edited:
I have a "thinking ahead" question. I am rebuilding caches right now for everything, and that's taken longer than the export/import process. My site is still live while I am doing this on the dev server.

Once I am ready to "throw the switch" - I will run export/import again, and rebuild caches again. Will it take just as long or will it only rebuild from new data?
 
Back
Top Bottom