The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Post Edit History Importer Details »» | |||||||||||||||||||||||||
What is this?
The Post Edit History Importer (PEHI) is just that; an importer script. For those of us who were using Surviver's Post Edit History (PEH) hack, we are now pleased to see this functionality included in the default vBulletin package with the introduction of 3.7.0. However, the hack's and vBulletin's way of logging post edit histories are somewhat different. So, thus, the need for this importer script arose. In a nutshell, it will import your past edit histories into vBulletin's new system. What, exactly, does it do? This script is a seamless import of the edit histories from the PEH hack into vB's system. There are several key differences between vB's system and the hack's, among which are:
If you're truly interested in checking out everything this importer does to make it "vB standard," you can read the code. I've commented enough that it should be discernible. Anticipated FAQ Q: Can I use this importer if I already have edit histories in vB's new system? A: Yes! This importer was designed to import everything seamlessly. After it is done organizing the old histories correctly, it will process new histories before clearing them altogether in order to rearrange them correctly. So, yes, you can. Q: Which version(s) of the PEH hack is this importer intended for? A: The importer has only be tested with PEH version 1.2.5. Since I haven't used the new beta version, I do not know the database structure and therefore this importer might not work on that version. Q: How long does the importer take to do everything? A: Not very long at all, I promise. But really, it depends on how many histories you have. Personally, I had 21,075 histories from the hack. After inserting the originals (14,033 of them), I ended up with 35,108 records total. How long did it take the importer to do all of that? 2 minutes. (More to come later if need be...) Using the importer To use the importer, just download the .zip file attached, unzip it, and open the 'readme' file. Instructions are included there. Afterward After you've used the importer, feel free to post your stats here! I'd love to hear how it worked out for you. Enjoy! Show Your Support
|
Comments |
#12
|
|||
|
|||
I think the easiest way to get rid of it for you is to just create a table named "edithistory" and that way the uninstall script won't fail when you try to install it.
To do this, enter your ACP, click on "Execute SQL Query" under 'Maintenance' and enter this in the "Manual Query" field, and then click 'Continue' on the next page: [sql]CREATE TABLE edithistory ( blah INT UNSIGNED, blah1 SMALLINT, blah2 DATETIME )[/sql] Then, go and try to uninstall the product again. |
#13
|
|||
|
|||
The importer has now been updated to only clear the old table and remove its records, rather than remove it entirely. This way, the uninstall script will not fail when someone tries to remove the product.
This importer is also now supported. |
#14
|
|||
|
|||
Quote:
The product has been removed! thanks again! |
#15
|
|||
|
|||
Omg if I only knew this, just deleted the entire database of PEH because vbulletin introduced it's own
|
#16
|
|||
|
|||
I'm sorry to hear that. You don't have a backup or anything you could use? It's a shame to lose all those histories.
|
#17
|
|||
|
|||
Just used the importer and it seemed to have worked fine however on the last step when it asked if it should clean-up the mess the old hack would leave behind I said yes but then got this error:
Unable to add cookies, header already sent. File: /v***/***/forum/post_edit_history_importer.php Line: 5 |
#18
|
|||
|
|||
I'm not sure what would be causing your problem, Darat. Could you check to see that the importer ran smoothly, and that everything is looking fine?
Also please check to see that you can uninstall the product successfully. |
#19
|
|||
|
|||
The import appears to have worked fine and I've removed the old PEH mod and armageddon hasn't happened so everything seems OK.
|
#20
|
|||
|
|||
Great! I will look into the error though, so that no one sees it in the future.
|
#21
|
|||
|
|||
Edits Processed: 4,650
Unique Posts Processed: 2,108 Total Records Processed: 6,758 Total Time to Run Import Script: 3.40 minutes Step 1 - 0.02 minutes Step 2 - 0.08 minutes Step 3 - 0.03 minutes Step 4 - 0.72 minutes Step 5 - 0.03 minutes Step 6 - 0.00 minutes |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|