Version: 0.01 BETA, by rjordan
Developer Last Online: Dec 2012
Version: 3.0.3
Rating:
Released: 02-14-2005
Last Update: 02-14-2005
Installs: 5
DB Changes
Is in Beta Stage
No support by the author.
This will be updated. Until then, no further support for this version will be given.
Well, folks, here it is. Your input is appreciated. As this is my first real modification for vB and in PHP, please keep flames to a minimum! :laugh: If any issues are found, please post them here. The final release will be posted after a few weeks of discussion here and any tweaks need to be made.
Screenshots are attached.
--------------
Version History:
v0.01 BETA - 02-15-05 (NO LONGER SUPPORTED)
- This release.
- Renamed from v0.99 BETA. (02-24-05)
- Added version history. (02-24-05)
- Added future release details. (02-24-05)
--------------
Future release: (IN PROGRESS)
- Seperate edits into their own database field.
- Pop-up edits in another window.
- Admin selectable limit of edits displayed.
- Admin selectable forums to track edits rather than global.
--------------
// ************************************************** ********************
// *
// * View Post Edits modification v0.99 BETA
// * Coded by Richard Jordan for vBulletin v3.0.x
// *
// * This a BETA release. As with all releases, make a backup of
// * your forums and database to ensure data integrity in the event there
// * is an unforeseen problem. Testing has been performed to the extent
// * that all possible issues have been addressed, however without proper
// * field testing, this modification CANNOT be certified as complete.
// *
// * This modification may be installed on any site with a legitimate
// * vBulletin license. It may be reposted on other sites freely as
// * long as it is done in its entirety, credit is given to the author,
// * and it is not reposted at any location where anyone must pay in any
// * way for any reason to fully obtain this modification.
// *
// ************************************************** ********************
Overview: ---------
Quote:
This modification will allow viewing of all post edits. It does this
by taking the posts that are edited and appending the original to the
end of the post. This original post is enclosed in new BBCode [EDIT]
and [/EDIT] tags. When this tag is found, the contents are displayed
as a previous edit and is marked as such. This is controlled by user
group. If you would like certain members or groups to have access to
view these edits, simply add this user permission. If a user enters
the new BBCode in any message, the brackets are converted to their
numerical code value thus preventing them from interfering with the
modification.
- Previous edits are stamped with the time and date as well as who
made the post edit.
- When no reason is given for a post edit, it is automatically set
to "No reason given."
- Usergroup based permissions.
- One added query each time a post edit is submitted or previewed.
- Includes instructions for vBAdvanced CPMS news, however if other
modules/portals/hacks are used to read post data, they will need
to be modified to prevent the displaying of post edits.
- Collapsable tables conserve screen real-estate so only the post
edits you wish to see can be displayed. Scrolling is implemented
to conserve even more space.
- Uses phrases for easy language conversion.
- Uses templates for easy customization.
- Images included in the previous edits will not count toward the
total image count for the post. This should be remembered for
those with users that like to post a lot of images and they edit
those messages with any kind of frequency.
- Type: permissions
Phrase: can_view_post_edits
Text: Can View Post Edits
- Type: postbit
Phrase: view_edits_after_edit_by_x_on_y_z
Text: After edit by {1} on {2} at {3}:
- Type: postbit
Phrase: view_edits_before_any_edits
Text: Before any edits, post was:
Still looking into it. Check your e-mail again. The issue seems to lie where in editpost.php calls the view_edits_bit template. When it calls the template, it is adding the HTML comment to the text field. For those who have already installed this, have you seen this issue?
Hmm... sounds like you have Add Template Name in HTML Comments enabled... but that should not cause what you are seeing. I just turned mine on and could not replicate it here. You are seeing this when exactly? Is it when you click on Edit and it displays the post in the text field?
Well, i have turned HTML Comments off and now there gone. It seems to work just like it should now. Thanks for the support!
Well, lets hope it's just me then. I will install this maybe this week on my other board.
So far it's is doing what it should do, and this is a very handy hack.
For your information, i am running 3.0.6
My other admins are really happy with this hack.
Also when you like to implement forum based options i will be the first to test it
Maybe a suggestion for the Show/Hide posts edits, this can be also done in the postbit template? I was wondering if it could be done so i can customise it into my different styles