vbulletin forum posts have a 'post edit history' function. This holds all revisions of the post.
Sometimes a member gets angry and blanks a large number of posts or replaces all text with rude words. Moderators then need to manually edit and restore each post. This is a lot of work. Especially if there are many posts to repair. For this reason I want to add a function that resolves this.
The function should be available to supermoderators and administrators only. The function should reside in modcp and admincp.
The form should request:
- the username
- start time of post wreckage
- end time of post wreckage
and have a 'restore' button.
It should be easy for the supermod to copy-paste the start time and end time from the search in this format: 05-07-2012, 23:51
This function will roll-back all posts edits made by the member, within the time-range between the start-time and the end-time, so that all post edits made within this time span are undone.
The function should copy the text of the last version of the post edit history and paste that in a new revision.
The old edits should be kept in the post edit history.
The post edit reason for this new revision should be 'Post Automatically Restored'
An example to illustrate:
A post with 5 edits:
Lets say that the user has blanked out all his posts with edits dated between 04-11-2011,15:00 and 05-11-2011, 15:00.
The supermoderator enters this time range into the form and clicks 'restore'
For this post this means that a 6th edit will be created, with the current time.
The content of this edit will be the same as the edit dated 03-11-2011, 15:00
The post is restored.
This functionality is for a very active big board, so performance is very important. Thousands of concurrent users are active. Small performance issues can quickly become major problems on this scale.
Please create the functionality with a minimum of queries and with resource efficient code.
The functionality should be added through a vbulletin product XML, which can be uploaded through the admincp
The functionality should work on vbulletin 3.8.7
Please only apply for this project if you are a very experienced developer, have experience with vbulletin and can deliver high quality code.
This small project can lead to more work.