Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Edit History
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #1
Edit History
This will save any edits down.

The edit history is only viewable by admins.  This plugin will add a "Edit History" link next to the "Edited By" message, for admins.

I was kinda lazy, so the "Reply" button will be used to let the admin see the original code for the post.

Update: SQL Injection vulnerability fixed.


Attached File(s)
.zip  edithistory.zip (Size: 5.7 KB / Downloads: 763)

My Blog
(This post was last modified: 02-26-2008 03:23 PM by ZiNgA BuRgA.)
01-31-2008 09:50 PM
Find all posts by this user
Guest
Unregistered
 
Post: #2
RE: Edit History
I installed ya edit history plugin and when i go to edit, I get this error message:

MySQL error: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 't see them hun...does the host allow hotlinking? Or is the image url correct??? ' at line 3
Query: INSERT INTO mybb_post_edithistory (pid, subject, icon, uid, dateline, message, ipaddress, includesig, smilieoff) VALUES ('180', 'RE: Marti Stuff', '0', '1', '1203995670', 'I can't see them hun...does the host allow hotlinking? Or is the image url correct??? You know you can add them to your post as attachments too???', '', 'yes', 'no')


Can u plz help me? thanx in advance
02-26-2008 01:19 PM
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #3
RE: Edit History
OMG, I can't believe I didn't see that one Erf

Replace your inc/plugins/edithistory.php with the one attached.


Attached File(s)
.php  edithistory.php (Size: 4.11 KB / Downloads: 707)

My Blog
02-26-2008 03:21 PM
Find all posts by this user
Guest
Unregistered
 
Post: #4
RE: Edit History
thank u hun...btw this is Lady Angelique from the MyBB forum...sorry i bit ya ass off earlier...PMS in the air...*Smiles innocently*
02-26-2008 03:37 PM
mybbromania Offline
Junior Member
**
Posts: 7
Joined: Mar 2008
Post: #5
RE: Edit History
Very nice plugin. I really like it !
Smile
05-29-2008 04:42 PM
Find all posts by this user
Teduhdulu Offline
Junior Member
**
Posts: 10
Joined: Feb 2008
Post: #6
RE: Edit History
another suggestion?

in template when we change the original template it will sho green for what we add and red for what we deleted from the original. Any change that you add this to edit history ( hope it not so hard )

Wink
06-13-2008 09:51 PM
Find all posts by this user
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #7
RE: Edit History
Diff'ing would take a while to do, and I don't have much experience with it unfortunately.

My Blog
06-14-2008 05:04 PM
Find all posts by this user

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: