vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Post Edit History (PEH) (https://vborg.vbsupport.ru/showthread.php?t=132708)

Surviver 11-27-2006 10:00 PM

Post Edit History (PEH)
 
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!

Masiello 11-28-2006 04:11 PM

Thanks, wow my first post!

Stoebi 11-28-2006 04:25 PM

Thx a lot :)

Nice work!

iran.gs 11-28-2006 04:41 PM

Nice, Installed

.Tim 11-28-2006 11:11 PM

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>

COBRAws 11-29-2006 12:18 AM

What's the difference with this one by Lieva?
https://vborg.vbsupport.ru/showthread.php?t=105989

Viper007Bond 11-29-2006 02:07 AM

Quote:

Originally Posted by COBRAws (Post 1127714)
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. ;)

Viper007Bond 11-29-2006 02:32 AM

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. ;)

Viper007Bond 11-29-2006 03:01 AM

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


Surviver 11-29-2006 03:48 AM

Quote:

Originally Posted by .Tim (Post 1127656)
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 (Post 1127714)
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 (Post 1127775)
That one is for vB 3.5.x and doesn't work properly with vB 3.6.x. ;)

Quote:

Originally Posted by Viper007Bond (Post 1127790)
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 (Post 1127812)
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*


All times are GMT. The time now is 10:25 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01222 seconds
  • Memory Usage 1,764KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete