vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   Invision Power Board 1.1 Importer needs testing (https://vborg.vbsupport.ru/showthread.php?t=48281)

blakkboy 09-05-2003 11:16 AM

sounds cool im going to try this out today

maxboost107 10-12-2003 07:04 PM

I like to test it
green_eyed_prican@yahoo.com

maxboost107 10-12-2003 07:29 PM

ok , i think i have downloaded it but , how do i run it ?

Warning: main(./../admin/bbimport.php): failed to open stream: No such file or directory in /opt/lampp/htdocs/db/1/bbimport_invib.php on line 4

where is this file @ ?
sorry for newbie questions

pogo 10-12-2003 08:29 PM

You have to copy it in a directory called importers inside your vbulletin directory.

MaxScript 10-14-2003 11:36 PM

Quote:

Originally Posted by pogo
The importer is now available in the Members Area at

http://www.vbulletin.com/members/imports.html
or
http://www.vbulletin-germany.com/members/imports.html


I have heard all the requests for an Invision Power Board 1.1/1.2 import script and now it is done (I hope).
It is possible that it could work with all vB 2.2.x versions but I have tested it only with vB 2.2.9+. I don't know how much bbimport.php changed over the versions and if it will work with older ones.

It imports users, custom avatars, usergroups, buddys, categories, forums, threads, posts, attachments, polls, private messages, private message folders, subscribed forums and subscribed threads.

To make it easy to use it is written as a plugin like all the other official importers.


Requirements: vBulletin and IPB 1.1/1.2 on the same MySQL server. It doesn't matter if they are in the same or in different databases (but different databases need the same MySQL user/pass).


Sucsessful imported IPBs
http://forum.gamewizards.net/
http://www.aximsite.com/boards


01/30/03 imports usergroups

worked great ... thanks

MkJnr 11-12-2003 07:16 AM

I have tried to convert my Invision Board using this script and it does all the posts and members and everything it should, just the problem is that it's not converting quotes used:

e.g

This is what a quote shows like in my vB:

<!--QuoteBegin-Mark+Nov 12 2003, 01:36 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (Mark @ Nov 12 2003, 01:36 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->

It seems as if it hasn't converted it correctly? Also member's signatures just show up as html rather than BB Code as I was expected. I have Invision Board version 1.2 and the vB 2.3.2 is the one I was converting to.

Thanks for any help,

Mark

pogo 11-12-2003 09:56 AM

Try this to convert the quotes correctly:

Open bbimport_invib.php and change in line 47
PHP Code:

$post preg_replace('#<!--QuoteBegin--([^"]*)\+([^"]*)-->([^"]*)<!--QuoteEBegin-->#siU' 

to
PHP Code:

$post preg_replace('#<!--QuoteBegin-{1,2}([^"]*)\+([^"]*)-->([^"]*)<!--QuoteEBegin-->#si' 

Are specific html tags not converted in the signatures or are all tags affected?

MkJnr 11-12-2003 10:47 AM

Hi,

Cheers for that I'll try it out when I try and convert again :)

Here's an example of how a signature shows on the forum:

<img src='http://news.bbc.co.uk/media/images/38275000/jpg/_38275077_juventus_ap300.jpg' border='0' alt='user posted image' /><img src='http://diem101.ing.unibo.it/personale/marra/image/italian_flag_a.gif' border='0' alt='user posted image' /><img src='http://sport.supereva.it/omartin/on.gif' border='0' alt='user posted image' /

So the [IMG] tag hasn't been converted properly I'm guessing?

When there was URL code used it has been converted correctlty however.

Mark

pogo 11-12-2003 03:58 PM

Ok, change line 37 from
PHP Code:

       $post preg_replace('#<img src=\'([^"]*)\' border=\'0\' alt=\'user posted image\'>#siU''[img]https://vborg.vbsupport.ru/[/img]'$post); 

to
PHP Code:

       $post preg_replace('#<img src=\'([^"]*)\' border=\'0\' alt=\'user posted image\'(\s/)?>#siU''[img]https://vborg.vbsupport.ru/[/img]'$post); 


CdaKnight 12-09-2003 01:50 AM

I have a question: This hasn't been modified to work for Invision Board 1.3 has it? Or does it have the same database schema as 1.2x? I forget. I administrate another vB, and have been looking to get one for myself, but I have IPB 1.3 and would want to move everything (users, attachments, etc) over to the vB when it's purchased.(bloody piece of ++++e PIB is).

So if anybody knows, please reply!


All times are GMT. The time now is 11:59 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01207 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete