Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Post Edit History (PEH) Details »»
Post Edit History (PEH)
Version: 1.5.0 B 3, by Surviver Surviver is offline
Developer Last Online: May 2020 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.8 Rating:
Released: 11-27-2006 Last Update: 10-26-2007 Installs: 186
DB Changes Uses Plugins Template Edits
Additional Files Translations Is in Beta Stage  
No support by the author.

Edithistory (1.5.0 B 3)

What does this Modification?
This Modification saves a version of a post if someone edits it. If there are saved edits for a post, you can view the "Post History" and you are able to restore old posts.
Also you can compare saved versions of a post.

Installation
Installation-Instructions are included in the zip-File

What's new in Version 1.5.0 B 2?

In this version i made a lot of improvement: eg. I've overwritten the code, the Ajax Compare function now works properly (Screen #3) and I implented a function to mass restore posts of a user. (Screen #6)

Screenshots

#1
Attachment 71292

#2
Attachment 71293

#3 (Compare saved version)
Attachment 71294

#4 (Usergroup Permissions)
Attachment 71295

#5
Attachment 71296

#6 (Mass Restore posts of a user)
Attachment 71297

Not translated yet
- Admin Help

[HR]ss[/HR]
I only get a blank page after the update, waht can I do?

See the new FAQ
[HR]ss[/HR]

Regards
Surviver

PS: I'm very sorry about my bad english

PPS:If you use it, please klick install!

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 11-28-2006, 04:11 PM
Masiello's Avatar
Masiello Masiello is offline
 
Join Date: Jul 2005
Location: Italy
Posts: 426
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, wow my first post!
Reply With Quote
  #3  
Old 11-28-2006, 04:25 PM
Stoebi Stoebi is offline
 
Join Date: Apr 2006
Location: Germany, Berlin
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thx a lot

Nice work!
Reply With Quote
  #4  
Old 11-28-2006, 04:41 PM
iran.gs iran.gs is offline
 
Join Date: Jul 2006
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice, Installed
Reply With Quote
  #5  
Old 11-28-2006, 11:11 PM
.Tim's Avatar
.Tim .Tim is offline
 
Join Date: Jan 2005
Location: Oklahoma City
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice! I made a slight change to the phrase and position. I think it looks better there (for those using the legacy postbit). If anyone else wants to do it I just added the text after:

Code:
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
Reply With Quote
  #6  
Old 11-29-2006, 12:18 AM
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Location: Buenos Aires
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What's the difference with this one by Lieva?
https://vborg.vbsupport.ru/showthread.php?t=105989
Reply With Quote
  #7  
Old 11-29-2006, 02:07 AM
Viper007Bond's Avatar
Viper007Bond Viper007Bond is offline
 
Join Date: Oct 2006
Location: Portland, OR, USA
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by COBRAws View Post
What's the difference with this one by Lieva?
https://vborg.vbsupport.ru/showthread.php?t=105989
That one is for vB 3.5.x and doesn't work properly with vB 3.6.x.
Reply With Quote
  #8  
Old 11-29-2006, 02:32 AM
Viper007Bond's Avatar
Viper007Bond Viper007Bond is offline
 
Join Date: Oct 2006
Location: Portland, OR, USA
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed on my test install and works great!

I did change the "edit_history_edit_bit" template though:

Code:
<tr>
	<td class="tcat" width="45%" colspan="3">$vbphrase[new]</td>
	<td class="tcat" width="45%" colspan="3">$vbphrase[old]</td>
</tr>
to...

Code:
<tr>
	<td class="tcat" width="10%" colspan="2">&nbsp;</td>
	<td class="tcat" width="45%" colspan="2">$vbphrase[new]</td>
	<td class="tcat" width="45%" colspan="2">$vbphrase[old]</td>
</tr>
Makes the headers line up a lot better.

I also changed the "&" in the URL to "&amp;" to make it validate.
Reply With Quote
  #9  
Old 11-29-2006, 03:01 AM
Viper007Bond's Avatar
Viper007Bond Viper007Bond is offline
 
Join Date: Oct 2006
Location: Portland, OR, USA
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, seems you're missing a "TABLE_PREFIX" somewhere:

Code:
Database error in vBulletin 3.6.4:

Invalid SQL:
	SELECT edithistory.*, user.*, edithistory.dateline as editdate FROM
						vb_edithistory as edithistory
						LEFT JOIN user as user ON(user.userid = edithistory.edituserid)
						WHERE edithistory.postid = 361324
						ORDER BY editid DESC;

MySQL Error  : Table 'finalgear_vb.user' doesn't exist
Error Number : 1146
Date         : Wednesday, November 29th 2006 @ 05:00:39 AM
Script       : http://forums.finalgear.com/edithistory.php?do=viewedithistory&postid=361324
Referrer     : 
IP Address   : [removed]
Username     : Viper007Bond
Classname    : vb_database
Reply With Quote
  #10  
Old 11-29-2006, 03:48 AM
Surviver's Avatar
Surviver Surviver is offline
 
Join Date: Feb 2006
Location: Bonn, Germany
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by .Tim View Post
Very nice! I made a slight change to the phrase and position. I think it looks better there (for those using the legacy postbit). If anyone else wants to do it I just added the text after:

Code:
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
Thank you for this, looks cool

Quote:
Originally Posted by COBRAws View Post
What's the difference with this one by Lieva?
https://vborg.vbsupport.ru/showthread.php?t=105989
This Hack is for 3.6.x :P

Quote:
Originally Posted by Viper007Bond View Post
That one is for vB 3.5.x and doesn't work properly with vB 3.6.x.
Quote:
Originally Posted by Viper007Bond View Post
Installed on my test install and works great!

I did change the "edit_history_edit_bit" template though:

Code:
<tr>
	<td class="tcat" width="45%" colspan="3">$vbphrase[new]</td>
	<td class="tcat" width="45%" colspan="3">$vbphrase[old]</td>
</tr>
to...

Code:
<tr>
	<td class="tcat" width="10%" colspan="2">&nbsp;</td>
	<td class="tcat" width="45%" colspan="2">$vbphrase[new]</td>
	<td class="tcat" width="45%" colspan="2">$vbphrase[old]</td>
</tr>
Makes the headers line up a lot better.

I also changed the "&" in the URL to "&amp;" to make it validate.
Ok, cachged in the New Version

Quote:
Originally Posted by Viper007Bond View Post
Hmm, seems you're missing a "TABLE_PREFIX" somewhere:

Code:
Database error in vBulletin 3.6.4:

Invalid SQL:
	SELECT edithistory.*, user.*, edithistory.dateline as editdate FROM
						vb_edithistory as edithistory
						LEFT JOIN user as user ON(user.userid = edithistory.edituserid)
						WHERE edithistory.postid = 361324
						ORDER BY editid DESC;

MySQL Error  : Table 'finalgear_vb.user' doesn't exist
Error Number : 1146
Date         : Wednesday, November 29th 2006 @ 05:00:39 AM
Script       : http://forums.finalgear.com/edithistory.php?do=viewedithistory&postid=361324
Referrer     : 
IP Address   : [removed]
Username     : Viper007Bond
Classname    : vb_database
Thank you for reporting that, fixed in Version 1.1.6


Greetings Surviver



*updated*
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:32 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08001 seconds
  • Memory Usage 2,315KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (8)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete