Welcome, Guest. Please Login or Register.
October 31, 2024, 10:57:45 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  |  Date and Usage Problems after conversion « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Date and Usage Problems after conversion  (Read 4511 times)
bluesyrio
Noobie
*
Posts: 21


I'm a llama!

Date and Usage Problems after conversion
« on: September 01, 2003, 12:14:53 AM »
Reply with quote

Hi,

I converted our yabb gold sp1.3.1 into yabb se 1.5.4 and we have the following issues:

- All messages display the correct day, month and year but the time is always 00.00.00.

- When I try to create, reply or modify a post all it shows is the subject, icon and yabbc tags. There's not box to fill in with text and no button to send the post.

These are really serious problems, so please if you can help me out with this or otherwise I can't use the board.

Thanks



Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Date and Usage Problems after conversion
« Reply #1 on: September 01, 2003, 04:15:37 AM »
Reply with quote

Please provide a link.

-[Unknown]
Logged
bluesyrio
Noobie
*
Posts: 21


I'm a llama!

Re:Date and Usage Problems after conversion
« Reply #2 on: September 01, 2003, 10:08:19 AM »
Reply with quote

http://www.exaequo.34sp.com/forum/index.php

Thanks
Logged
bluesyrio
Noobie
*
Posts: 21


I'm a llama!

Re:Date and Usage Problems after conversion
« Reply #3 on: September 01, 2003, 11:07:32 AM »
Reply with quote

I made a new board conversion with compuart's converter and I'm still getting the same two errors... What can I do?
Logged
bluesyrio
Noobie
*
Posts: 21


I'm a llama!

Re:Date and Usage Problems after conversion
« Reply #4 on: September 01, 2003, 11:20:03 AM »
Reply with quote

I tried to re-upload some of the sources files that are related to posting and display and it seems to have fixed the problem:

Post.php
ModifyMessage.php
Display.php

However I still have the hour problem in the date... :( Besides this, when a post has been modified it shows:
Quote« Última modificação: 01 Janeiro 1970, 01:00:01 por -1 »

That is it says that last change happened on 01/Jan/1970!
« Last Edit: September 01, 2003, 11:26:29 AM by bluesyrio » Logged
bluesyrio
Noobie
*
Posts: 21


I'm a llama!

Re:Date and Usage Problems after conversion
« Reply #5 on: September 02, 2003, 11:40:30 AM »
Reply with quote

I think the problem is because the perl files say dd/mm/yy at tt:tt:tt and because of that "at" the script misses the hours conversion.

Does anyone have any idea of what can be changed in the converter file so that the conversion will definitely work? Thanks.
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Date and Usage Problems after conversion
« Reply #6 on: September 03, 2003, 03:45:25 AM »
Reply with quote

Hmm... I see.... give me a second....

-[Unknown]
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Date and Usage Problems after conversion
« Reply #7 on: September 03, 2003, 03:48:04 AM »
Reply with quote

Open converter.php...

Find:
preg_match ("/(\d\d)\/(\d\d)\/(\d\d)(.*)(\d\d)\:(\d\d)\:(\d\d)/i", $messageinfo[3], $matches)

Replace:
preg_match ("/(\d\d)\/(\d\d)\/(\d\d)([^0-9]*)(\d\d)\:(\d\d)\:(\d\d)/i", $messageinfo[3], $matches)

You should do that TWICE, at least.  (I only saw it twice, but replace any/all occurances.)

Please tell me if this resolves the issue.

-[Unknown]
Logged
bluesyrio
Noobie
*
Posts: 21


I'm a llama!

Re:Date and Usage Problems after conversion
« Reply #8 on: September 05, 2003, 11:49:45 AM »
Reply with quote

Thanks [Unknown]. I didn't see your posts before.

I ended up solving it by removing the "at" from the original perl files with a software that makes changes in multiple files, uploading them and converting the board. It worked.

I bet your suggestion would work, sorry I could not test it. :)
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Converters  |  Date and Usage Problems after conversion « 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.038 seconds with 21 queries.