Mod Name / Version: Update B_Parent User 1.0 <br /><br />Description: The B_ParentUser field is a new field added back for 6.3 which holds the user number of the person you are replying to. It's how the "Re: Username" is displayed in flat mode. While this was a standard feature in UBB.Threads prior to version 6.2, it was removed, and now has been added back. This leaves all your old posts without a clue as to who they are in reply to. <br />This script runs down through all your posts, grabs the user number of the person who you are replying to and fills in B_ParentUser so that the "Re: Username" will display for all posts. <br /> <br /><br />Working Under: UBB.Threads 6.3 <br /><br />Mod Status: Beta <br /><br />Any pre-requisites: none <br /><br />Author(s): JoshPet <br /><br />Date: 04/27/03 <br /><br />Credits: my idea / my creation <br /><br />Files Altered: none <br /><br />New Files: updateposts.php <br /><br />Database Altered: none <br /><br />Info/Instructions: Upload script to your ubbthreads directory. Backup your database first. Then run in your browser.<br /><br />This is alot of queries, so if you have a large database and it times out, it is safe to run it again, as it only works to fill in posts without the information already filled in. So if it times out and you keep running it, then it'll eventually get them all. <br /><br />
Attachments
77852-updateposts.php.zip (57 downloads)