vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   phpBB Importer Ready! (https://vborg.vbsupport.ru/showthread.php?t=21064)

TheCaver 08-19-2001 09:20 PM

Quote:

Originally posted by ced
Another minor problem:
How to remove all useless slash in posts in phpmyadmin ?
like: it\'s me

Neb, GREAT script. It all worked except for this detail.
I'm not an advanced programmer, but I would suspect that this can be fixed by another string replace ?

Basically, it's leaving the slash escape character in the new posts.

Any help would be GREATLY appreciated.

Thanks for an awesome script!

JC

Nebula 08-19-2001 11:37 PM

I'll get on it right now. Expect a new release as soon as I restore all my phpBBconv stuff (I had to re-format my computer (too much surfing to strange sites sometimes gets you viruses)).

Nebula 08-20-2001 08:22 PM

Here's a new release everyone! If I do say so myself, it has a GREAT new feature. It is a HTML2BB function modified so that it works 100% with phpBB 1.4.0. I've tested it myself, and so you shouldn't see any phpBB BBCode left over. It should be all converted into vBCode (hopefully).

Also, I have not been able to reproduce the error with the \'s. I am thinking it may be something with your database. If you have this error, send me ONE of these:
  • Your Database
  • A Link to phpMyAdmin that has access to the phpBB Database and the vBulletin Database

Please don't post them to the forums here, rather email me.

Thanks a bunch. This version also has some optimizations to it where I turned "s into 's because of something I read in a PHP book. If you use echo "Lala!";, it checks if it has any variables or special stuff in there, where as if you do echo "Lala!";, it does not check for anything. So that should speed it up remotely.

Please test this version. We are very near FINAL!

qasic 08-20-2001 08:48 PM

Regarding that las comment,you're talking about string interpolation right? Where stuff inside double quotes is checked for varaibles and while stuff inside single quotes is not. Anyways, the speed increase for that is extremely minimal but I guess you need to pull out every ounce of speed possible :)

qasic

Nebula 08-20-2001 11:52 PM

Well...if that's what it's called then...yes. And also, I do want to get every ounce of speed out of this, because otherwise the script may timeout, and leave you with a semi-corrupt database. And...if the database is corrupted, that's not good. And besides, if it's a millisecond faster, nobody will notice, or care.

Well...as of this post...0 people have downloaded the newest version...that's not good...get testing, this is a quite important release.

TheCaver 08-20-2001 11:58 PM

I'm waiting on the verdict for the slash thing :)

I know your script works cause if it worked on my UBB->phpBB->vB then it HAS to work for everyone else :)

Besides, 900 users and 28,000 posts takes awhile to convert :)

JC

Nebula 08-21-2001 10:40 PM

Since some people are waiting to see what is up with the slash thing, I have no clue what's causing it. I need people to run the most recent version, and test that. Please use that script to generate a vBulletin database, and then tell me if you are affected, and if you are, send me a link to your vBulletin database (using phpMyAdmin), or an actual copy of the converted vBulletin database.

Also, I am working on a version that fixes some problems (not bugs) in the new html2vBCode routine. If any BBCode is not being converted, I know. Just focus on the slashes please. Thank you.

This script is almost done. Please don't let me loose all my testers.

TheCaver 08-21-2001 10:43 PM

Thanks Neb, I'll run it again right now and should have something to you shortly......

JC

TheCaver 08-21-2001 11:08 PM

I think I might have figured out the slash problem.

If you look in the DB, some ' characters are escaped with one slash while others are escaped with 3.

I'm gonna remove the extras with a find/replace and try it.....

JC

TheCaver 08-21-2001 11:35 PM

Nope, this one locked up on a post.......did not get to test my slash theory.

What now?

JC


All times are GMT. The time now is 08:03 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.01168 seconds
  • Memory Usage 1,740KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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