The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Re-learn Thread Dates
Hi,
I am running vB 4.2.3. Is there a sql command I can run to re-learn or re-calculate the dates a thread was posted? After using Impex to import from phpBB 3.1.7=pl1 the index of my forum in vB shows 1-1-1070 as the dates, however when I open the threads the date time stamps appear correctly. I know this is likely an Impex specific issue but I would think this can be solved with running a couple database commands, I'm just not sure what. 1/1/1970 is the start of what Unix time calculates from, so I'm sure there is some kind of command I can run to resolve this. There is something in the database that is just reading funny. I've spent hours and hours searching Impex threads and documents without finding much help. I have a post in the Impex section, but the section doesn't seem very active. I don't know if anyone actually looks at it anymore? lol An alternative workaround I have found is that when I reply to any of these threads (it happens with all of them on the forum, also the replies aren't counted in the total posts on the index but you can see the actual replies in the threads) and the latest post will start to display in the index along with the proper timestamp. I would like to avoid having to go through and reply to every thread though to fix it. There has got to be some kind of command to run. Thank you for the help! --------------- Added [DATE]1456082172[/DATE] at [TIME]1456082172[/TIME] --------------- Here is a bit better of a description of my issue that I wrote out on another forum. Quote:
|
#2
|
||||
|
||||
Can you yook at table "forumdisplay" on field "lastposttime" (or something similar) and print a screen and post it here?
|
#3
|
||||
|
||||
Have you tried rebuilding chaches and indexes from maintenance in AdminCP?
|
#4
|
|||
|
|||
I have the same issue migrating from phpBB 3.1.9 to vB 4.2.2
One other issue not mentioned above is that the thread is not obeying the "posts per page" parameter. Ever thread has only one page with all the posts on it. I am blue in the face running all the rebuilds, clearing caches etc in the Maintenance section in the AdminCP. Any ideas out there? Thanks. |
#5
|
||||
|
||||
Quote:
Edit: Added today, please see - https://vborg.vbsupport.ru/showthread.php?t=323562 |
#6
|
|||
|
|||
Thanks TLS I've being doing this over the last few days and the old system is still live so the situation is not critical.
That's very good advice to go the 3.8 route, I'll give it a go and report back later. --------------- Added 04 Oct 2016 at 15:14 --------------- I installed 3.8.9 and did the import. Strangely all forums were imported as categories but I manually changed them before proceeding. I then installed and upgraded to 4.2.2 without any failures during the process. Embedded images and attachments seem fine. All the video links are weird, the text after the video: seems to vary for every item. Code:
When viewing a thread the dates in the postbits are showing correctly but at a forum level all dates are 31/12/1960 11:00pm so no posts show as active. The posts per page parameter is still being ignored. Would it help if I use a higher PHP Rev after the upgrade say PHP 5.6? --------------- Added 04 Oct 2016 at 15:38 --------------- I've looked at some of the tables in MySQL and I note the following: Table: post Field: postid - looks correct Field: threadid - looks correct Field: userid -looks correct Table: thread Field: firstpostid - all zeroes Field: lastpostid - all zeroes Field: lastpost - all zeroes Field: forumid - looks correct Table: forum Field: lastpost - all zeroes Field: lastpostid - all zeroes Field: lastthreadid - looks normal Field: lastposter - all zeroes I think the missing links are the issue but my php/MySQL isn't up to correcting it. |
#7
|
||||
|
||||
What do you have entered in AdminCP > Settings > Options > Date & Time Options > Format for Date and Format for Time
And did you run Maintenance > General Update Tools > Rebuild Topic Information and then Rebuild Forum Information (must be done in that order)? |
#8
|
|||
|
|||
Those options only control how the date is formatted for display afaik all the dates seem to be in Unix format in the tables.
I've tried that. When I examine the tables afterwards I'm seeing all the zeroes mentioned in my last post. The forum looks the same. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|