Welcome, Guest. Please Login or Register.
April 29, 2025, 01:34:32 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Converters  |  Yet Another PHPBB2 --> YabbSE 1.5 Request « previous next »
Pages: 1 2 3 [4] 5 Reply Ignore Print
Author Topic: Yet Another PHPBB2 --> YabbSE 1.5 Request  (Read 19544 times)
groundup
Disciple of Joe, Head Cleric
Mod Team
YaBB God
*****
Posts: 2983


Error 309: Please notify the administrator of this

WWW
Re:Yet Another Phpbb2 --> YabbSE 1.5 Request
« Reply #45 on: April 10, 2003, 04:30:54 AM »
Reply with quote

Well.. storing IP's like that is just plain idiotic.
Logged

http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
fastfinancialfreedom.org
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Yet Another Phpbb2 --> YabbSE 1.5 Request
« Reply #46 on: April 10, 2003, 05:28:51 AM »
Reply with quote

Sorry, wasn't aware of the IP problem.  IMHO, not a significant one.

Didn't I say it didn't do code properly?

-[Unknown]
Logged
szr
Noobie
*
Posts: 19


Me & Candice :P

WWW
Re:Yet Another Phpbb2 --> YabbSE 1.5 Request
« Reply #47 on: April 10, 2003, 05:38:16 AM »
Reply with quote

I'm sorry, but I don't understand all this Internet language except for the basic ones (LOL, LMAO, ROFL, and ROFLMAO.)  So, whut does "IMHO" stand for?

And, no you did NOT say the code was crappity smacked up (not trying to be mean, but that's the way I talk ::)).
Logged


------------------------------------------------------------
phpBB:  2.0.4
Apache:  1.3.27
PHP:  4.3.2
MySQL:  4.0.13
------------------------------------------------------------
Don't click here!!!!
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Yet Another Phpbb2 --> YabbSE 1.5 Request
« Reply #48 on: April 10, 2003, 05:48:24 AM »
Reply with quote

Quote from: [Unknown] on March 17, 2003, 03:57:00 AM
Tested.  It works to some extent; the only known bug is that it doesn't convert ubbc tags properly.

I'm considering methods of fixing this... but, it's difficult to do it without crawling through each message.

phpBB has this 'feature' specifically to make conversion annoying and difficult.

IMHO is "In my humble opinion".

-[Unknown]
Logged
groundup
Disciple of Joe, Head Cleric
Mod Team
YaBB God
*****
Posts: 2983


Error 309: Please notify the administrator of this

WWW
Re:Yet Another Phpbb2 --> YabbSE 1.5 Request
« Reply #49 on: April 10, 2003, 05:48:56 AM »
Reply with quote

IMHO - in my honest opinion

now ya know that it doesn't convert codes ;)
Logged

http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
fastfinancialfreedom.org
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Yet Another Phpbb2 --> YabbSE 1.5 Request
« Reply #50 on: April 10, 2003, 06:08:45 AM »
Reply with quote

Quote from: groundup on April 10, 2003, 05:48:56 AM
IMHO - in my honest opinion

now ya know that it doesn't convert codes ;)

I've known.  The problem is, it uses a code hash for each message.

So, the message is like this:

[b:<code hash>]blah[/b:<code hash>].

So, here's my solution, which I'm still chewing on.

Step 1.  Add the hash to the messages table.  ie.
ALTER TABLE {$db_prefix}messages
ADD bbcode_uid varchar(10) NOT NULL default '';

Step 2.  Convert the messages table over.... only difference is now I would move the `bbcode_uid` over too.

Step 3.  Run something like this:
UPDATE {$db_prefix}messages
SET body=REPLACE(body, CONCAT(':', bbcode_uid), '')
WHERE bbcode_uid!='';

Step 4.  Drop the column...
ALTER TABLE {$db_prefix}messages
DROP bbcode_uid;

I'm not sure if that would work....

-[Unknown]
Logged
groundup
Disciple of Joe, Head Cleric
Mod Team
YaBB God
*****
Posts: 2983


Error 309: Please notify the administrator of this

WWW
Re:Yet Another Phpbb2 --> YabbSE 1.5 Request
« Reply #51 on: April 10, 2003, 06:22:46 AM »
Reply with quote

I mean now szr knows ;)
Logged

http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
fastfinancialfreedom.org
szr
Noobie
*
Posts: 19


Me & Candice :P

WWW
Re:Yet Another Phpbb2 --> YabbSE 1.5 Request
« Reply #52 on: April 10, 2003, 11:13:05 PM »
Reply with quote

Quote from: [Unknown] on April 10, 2003, 05:48:24 AM
Quote from: [Unknown] on March 17, 2003, 03:57:00 AM
Tested.  It works to some extent; the only known bug is that it doesn't convert ubbc tags properly.

I'm considering methods of fixing this... but, it's difficult to do it without crawling through each message.

phpBB has this 'feature' specifically to make conversion annoying and difficult.

IMHO is "In my humble opinion".

-[Unknown]
Whut about the IP addresses?  The IP addresses aren't converted correctly either.  I'm using phpBB 2.0.4 (if that helps).  It puts a hash, I think, instead of using the real IP address in the phpBB database, but it displays the real IP address when you view the posters IP address.

When the converter converts the IP addresses... it doesn't convert the hash into the REAL IP address.
« Last Edit: April 10, 2003, 11:14:17 PM by szr » Logged


------------------------------------------------------------
phpBB:  2.0.4
Apache:  1.3.27
PHP:  4.3.2
MySQL:  4.0.13
------------------------------------------------------------
Don't click here!!!!
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Yet Another Phpbb2 --> YabbSE 1.5 Request
« Reply #53 on: April 10, 2003, 11:17:47 PM »
Reply with quote

Fun.

Let's see....

UPDATE {$db_prefix}messages
SET posterIP=CONCAT_WS('.', CONV(SUBSTRING(posterIP, 1, 2), 16, 10), CONV(SUBSTRING(posterIP, 3, 2), 16, 10), CONV(SUBSTRING(posterIP, 5, 2), 16, 10), CONV(SUBSTRING(posterIP, 7, 2), 16, 10));

-[Unknown]
Logged
szr
Noobie
*
Posts: 19


Me & Candice :P

WWW
Re:Yet Another Phpbb2 --> YabbSE 1.5 Request
« Reply #54 on: April 11, 2003, 02:26:18 AM »
Reply with quote

Oh, thank you, thank you, thank you, thank you, thank you :-* ::)!
Logged


------------------------------------------------------------
phpBB:  2.0.4
Apache:  1.3.27
PHP:  4.3.2
MySQL:  4.0.13
------------------------------------------------------------
Don't click here!!!!
BrunoGuardiaO
Jr. Member
**
Posts: 51


3dHardFull Admin

ICQ - 2156202 WWW
Re:Yet Another Phpbb2 --> YabbSE 1.5 Request
« Reply #55 on: May 14, 2003, 08:45:01 AM »
Reply with quote

Hello, the main site of the converter file is down, can you send another link or send by e-mail to me please Unknown? Or anyone else  ;D

My e-mail:
[email protected]

[]'s
Guardiao.
Logged

3dHardFull WebSite
http://www.3dhardfull.com.br
Hardware, Software, Informática em Geral
Venha visitar nosso fórum!
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Yet Another Phpbb2 --> YabbSE 1.5 Request
« Reply #56 on: May 14, 2003, 01:46:58 PM »
Reply with quote

Quote from: BrunoGuardiaO on May 14, 2003, 08:45:01 AM
Hello, the main site of the converter file is down, can you send another link or send by e-mail to me please Unknown? Or anyone else  ;D

My e-mail:
[email protected]

[]'s
Guardiao.

My package server, email, etc. is all down this week.  It'll be back up next week.

-[Unknown]
Logged
Shoeb Omar
Disciple of Joe
YaBB God
*****
Posts: 1420


The shrub demands war. I don't. The world doesn't.

ICQ - 69234983clickopedia@hotmail.com WWW
Re:Yet Another Phpbb2 --> YabbSE 1.5 Request
« Reply #57 on: May 15, 2003, 03:16:48 AM »
Reply with quote

holy crap Unknow.. I'm still trying ot wokr out those queries you used up there :o

Where did you learn MySQL so well?
Logged

"If we all practice an eye for an eye, pretty soon the whole world will be blind" - Gandhi

We need to start listening to advocates of peace in oder to advance society. We have not grown from the prehistoric barbarians we once were.  Will society ever mature?
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Yet Another Phpbb2 --> YabbSE 1.5 Request
« Reply #58 on: May 15, 2003, 04:08:30 AM »
Reply with quote

Quote from: [Unknown] on April 10, 2003, 11:17:47 PM
Fun.

Let's see....

UPDATE {$db_prefix}messages
SET posterIP=CONCAT_WS('.', CONV(SUBSTRING(posterIP, 1, 2), 16, 10), CONV(SUBSTRING(posterIP, 3, 2), 16, 10), CONV(SUBSTRING(posterIP, 5, 2), 16, 10), CONV(SUBSTRING(posterIP, 7, 2), 16, 10));

-[Unknown]

Here it is put more clearly...

UPDATE {$db_prefix}messages
SET posterIP=CONCAT_WS('.',
  CONV(SUBSTRING(posterIP, 1, 2), 16, 10),
  CONV(SUBSTRING(posterIP, 3, 2), 16, 10),
  CONV(SUBSTRING(posterIP, 5, 2), 16, 10),
  CONV(SUBSTRING(posterIP, 7, 2), 16, 10)
);

It's not that complicated when you look at it that way.

-[Unknown]
Logged
Shoeb Omar
Disciple of Joe
YaBB God
*****
Posts: 1420


The shrub demands war. I don't. The world doesn't.

ICQ - 69234983clickopedia@hotmail.com WWW
Re:Yet Another Phpbb2 --> YabbSE 1.5 Request
« Reply #59 on: May 15, 2003, 10:58:05 PM »
Reply with quote

it is when you have no clue how many functions mySQL has ;).  Did you ever get a book for MySQL specifically?  Or are you one of those hybrids that understamd manuals? :o ;)

The only manual I have ever understood is the php one.. I tried the MySQL one but got lost lol.
Logged

"If we all practice an eye for an eye, pretty soon the whole world will be blind" - Gandhi

We need to start listening to advocates of peace in oder to advance society. We have not grown from the prehistoric barbarians we once were.  Will society ever mature?
Pages: 1 2 3 [4] 5 Reply Ignore Print 
YaBB SE Community  |  Development  |  Converters  |  Yet Another PHPBB2 --> YabbSE 1.5 Request « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.049 seconds with 16 queries.