Welcome, Guest. Please Login or Register.
October 03, 2024, 10:20:21 AM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Converters  |  Converted Users Not Associated with their posts after conversion « previous next »
Pages: [1] 2 Reply Ignore Print
Author Topic: Converted Users Not Associated with their posts after conversion  (Read 2670 times)
Russ
Noobie
*
Posts: 18


I'm a llama!

Converted Users Not Associated with their posts after conversion
« on: May 26, 2002, 12:03:02 AM »
Reply with quote

Hey all,

Please forgive me if this has been asked before but I couldn't find anything about it.

After My users log into the converted board, their old posts show under their name with on Guest under the name.

Anything new that they post works fine, but they can no longer go back and modify their old posts.

Anyone else run into this?

Russ
Logged
Dani
Noobie
*
Posts: 25


I'm NOT a llama!

WWW
Re:Converted Users Not Associated with their posts after conversion
« Reply #1 on: May 27, 2002, 06:53:45 PM »
Reply with quote

I have the same problem!! Help please!!
Logged

Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:Converted Users Not Associated with their posts after conversion
« Reply #2 on: May 27, 2002, 07:39:23 PM »
Reply with quote

Were they users with names similar to others.  Like if memry serves me correctly... Jeff was different from jeff
Logged

Russ
Noobie
*
Posts: 18


I'm a llama!

Re:Converted Users Not Associated with their posts after conversion
« Reply #3 on: May 27, 2002, 07:57:15 PM »
Reply with quote

Actually for our board, there was no change or new users.  I converted and as soon as they logged in with their old accounts, Everything that they had posted previously showed as being posted from the same username but with a guest status, and they couldn't modify it.  If they posted something new though it showed the correct info and they had full access to it.

Russ
Logged
Dani
Noobie
*
Posts: 25


I'm NOT a llama!

WWW
Re:Converted Users Not Associated with their posts after conversion
« Reply #4 on: May 27, 2002, 09:52:15 PM »
Reply with quote

With my board ............

Some of the posts worked .....
while others showed guest status?!

No clue what differentiated some posts from others.
But all posts since the upgrade have been good.
Logged

Russ
Noobie
*
Posts: 18


I'm a llama!

Re:Converted Users Not Associated with their posts after conversion
« Reply #5 on: June 01, 2002, 03:10:15 AM »
Reply with quote

Hey there,

Just wanted to give you an update and say you were completely right...:)

After actually opening up the Database tables I found that it had assigned several different variations to a persons name, it seems depending on how they had been logged into the old board when the specific post was made.

ex.
ChuqNorriz
chuqnorriz
Chuqnorriz

Any posts from the first spelling worked great, but any from the other two spellings showed as guests (or member number -1).

I was able to go directly into the Messages table and re-assign the errant "guest" posts back to the actualy member, but It was done one message at a time.

Forgive me for my newness to Databases, but I'm going to be converting another board very similar soon and I was wondering if there might be a way for me to get ahead of the game and fix this prior to the conversion.

The Original board is on Yabb Gold SP1, and I am hosting it here at my house so I have complete access to all the files.

Also Dani if your still having a problem with this send me some E-Mail and I'll give you the exact Tables and Colums I changes to fix this.

Also if anyone has a suggestion as to how to fix this post conversion any faster then one message at a time I'd love to hear it.

Thanks again,
Russ
« Last Edit: June 01, 2002, 03:11:24 AM by Russ » Logged
andrea
Global Moderator
YaBB God
*****
Posts: 4400


Peace on Earth

WWW
Re:Converted Users Not Associated with their posts after conversion
« Reply #6 on: June 01, 2002, 03:16:12 AM »
Reply with quote

I had the same problem when my board was converted from 1 Gold to SE.

The Gold was on an NT server, the SE on Linux.

I made a script that converts all the usernames in the Gold files into lowercase. Run this before you convert to SE. This script is somewhere uploaded on the yabb.info site.  
Logged

Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:Converted Users Not Associated with their posts after conversion
« Reply #7 on: June 01, 2002, 03:19:21 AM »
Reply with quote

Yes you can do what Andrea says or you can run some queries on your database to convert the posts over. A simple update script or two should have you up and running in no time...
Logged

andrea
Global Moderator
YaBB God
*****
Posts: 4400


Peace on Earth

WWW
Re:Converted Users Not Associated with their posts after conversion
« Reply #8 on: June 01, 2002, 03:26:09 AM »
Reply with quote

Here are the conversion scripts for the uppercase to lowercase of the login names of board members.

The first script is the main.
http://www.yabb.info/community/attachments/members_u2l.txt
Put some warnings in the script, since Joseph was afraid people could kill the board data. One runs the scripts on the 1 Gold board, before one runs the converter to SE.

Here the other half of the scripts.
http://www.yabb.info/community/attachments/members_u2l_msg.txt

If you have any questions about the script then just ask. Hope the scripts are helpful for you.
« Last Edit: June 01, 2002, 03:28:37 AM by andrea » Logged

andrea
Global Moderator
YaBB God
*****
Posts: 4400


Peace on Earth

WWW
Re:Converted Users Not Associated with their posts after conversion
« Reply #9 on: June 01, 2002, 03:30:29 AM »
Reply with quote

Quote from: Jeff Lewis on June 01, 2002, 03:19:21 AMYes you can do what Andrea says or you can run some queries on your database to convert the posts over. A simple update script or two should have you up and running in no time...
Are you sure this will do? Since the posts were converted to guest posts, the user id in the message table are all wrong. Don't see that simple mySql query converting that.
Logged

Russ
Noobie
*
Posts: 18


I'm a llama!

Re:Converted Users Not Associated with their posts after conversion
« Reply #10 on: June 01, 2002, 03:33:01 AM »
Reply with quote

Awesome, thanks for the scripts.

Russ
Logged
andrea
Global Moderator
YaBB God
*****
Posts: 4400


Peace on Earth

WWW
Re:Converted Users Not Associated with their posts after conversion
« Reply #11 on: June 01, 2002, 08:09:14 AM »
Reply with quote

You are welcome. I would be interested in the feedback, how the script worked.
Logged

Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:Converted Users Not Associated with their posts after conversion
« Reply #12 on: June 01, 2002, 09:39:02 AM »
Reply with quote

SQL queries can do anything ;) I did some stuff like that here. I deleted my user name here once as well :) I used SQL queries to fix everything...however, I do suggest Andreas solution over the query one :)
Logged

PioneeR
Llama Hunter
YaBB God
*****
Posts: 767


Re:Converted Users Not Associated with their posts after conversion
« Reply #13 on: June 01, 2002, 01:58:58 PM »
Reply with quote

I had a similar problem.

Out of 20,000 posts only 4 were wrong.

Somehow the memberid was wrong on the post.. membername was fine. Just used phpadmin to adjust. And all ok  ;D
Logged
andrea
Global Moderator
YaBB God
*****
Posts: 4400


Peace on Earth

WWW
Re:Converted Users Not Associated with their posts after conversion
« Reply #14 on: June 01, 2002, 06:03:48 PM »
Reply with quote

Without the members_u2l script, in my board half of the posts were wrong, because under Windows people did not have to take care for upper or lowercase when logging in. The application of the members_u2l script solved that problem, i.e. after the conversion to SE the post authors were the right ones.
« Last Edit: June 02, 2002, 05:31:37 AM by andrea » Logged

Pages: [1] 2 Reply Ignore Print 
YaBB SE Community  |  Development  |  Converters  |  Converted Users Not Associated with their posts 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.134 seconds with 20 queries.