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)

nnjj.net 08-08-2007 07:59 AM

is it working on 3.6.8? and after install where I can see the effect?

Surviver 08-12-2007 07:00 AM

Quote:

is it working on 3.6.8? and after install where I can see the effect?
Yes, ist works with 3.6.8

If the System is enabled and you have the permissions to view and the templateedits are done - in postbit/_legacy

nnjj.net 08-12-2007 07:20 AM

thanks a lot, I have installed it
can you provide a screenshop plz?

I still can't see the effect :S

aslan 08-12-2007 02:42 PM

I've installed that hack and I can see on the vb options. But I can't see anything on the board. I've opened the hack from the options still nothing is showing on edited post.
no history no image nothing, it's all like old time.
I'm using 3.6.7 PL1 and I've installed all the files inc. templates as written on the text file.
Can you help me about that please?

ragtek 08-12-2007 02:43 PM

just edit an post, than you will see it

aslan 08-12-2007 02:51 PM

I did this. Even I login with normal user name and edited but still nothing....

Nathan2006 08-12-2007 04:39 PM

Quote:

Originally Posted by aslan (Post 1315945)
I've installed that hack and I can see on the vb options. But I can't see anything on the board. I've opened the hack from the options still nothing is showing on edited post.
no history no image nothing, it's all like old time.
I'm using 3.6.7 PL1 and I've installed all the files inc. templates as written on the text file.
Can you help me about that please?


Have you change the user settings in Usergroups?

COBRAws 08-12-2007 05:05 PM

Is there a way to import Post History from Post Edit History Viewer.
THanks

aslan 08-12-2007 11:14 PM

Quote:

Originally Posted by Nathan2006 (Post 1316011)
Have you change the user settings in Usergroups?

Thanks a lot Nathan. :)
Everything seems fine now.

Nathan2006 08-12-2007 11:56 PM

Quote:

Originally Posted by aslan (Post 1316198)
Thanks a lot Nathan. :)
Everything seems fine now.


np glad you got it working :)

Gray Matter 08-13-2007 10:14 PM

This is a great hack, but the templates that go along with it have some slight design issues inside them and (in my opinion) are not visually appealing at all.

I have a few questions:
  1. Why does the username of the thread starter appear two times in the edit_history_view template? This is redundant. The second username should be the username of the post creator.
  2. What is the variable #$i? I cannot figure out what this is, as it is just displaying a useless number...
  3. What conditions must be met in order to show the compare link? I can't find any way to configure it.
  4. Why are there colspan="2" attributes on everything in the editbit template? These aren't necessary as there are only three columns in the table, and there are three columns in every row...
  5. What is the purpose of the CSS in the edit_history_view template?
and a few suggestions:
  1. Add a conditional so that if there is no post title, the "" won't display in the phrase "Edithistory of post "X" in thread "Y." This makes the text ridiculous by showing an unfilled set of quotation marks.
  2. When there is no title for the post, the "Post" row will just show a link that says "(Post)." This looks a little redundant, having "Post: (Post)." You should use a conditional to remove the parentheses when there is no post title, and also, I think, change the phrase text to "Show Post."
  3. The title row should not show when there are no titles to display. ;)
  4. The reason row should not show when there are no reasons to display.
  5. The edit time of the post should have a <span class="time"> on it, to keep with vB standards and also to set apart the time itself.
  6. Remove the closing </span> tag within the compare conditional. There is no opening tag for this so it shouldn't be there.
  7. Why is the phrase "cancle_compare" spelled "cancle?" The proper spelling is "cancel," unless there's some foreign version that I'm unaware of.
  8. The "message" text TD should have a valign="top" on it, since it looks a little out of place in the middle of a large post.
  9. The last two rows of the editbit table look really unorganized. You should try to configure them differently for a better-looking effect.
  10. Sometimes you write "Edit History," and other times as "Edithistory." Why the two versions? You should choose one (may I suggest "Edit History"). :p
  11. You have an ampersand that's not encoded in the link of the "Delete All Edits of This Post" link. ;)
Thanks for listening to me rant. Just some constructive criticism. :p

For anyone who's interested in applying the changes I suggested and removing the unnecessary stuff, I've attached my two templates and two screenshots (one for a post with a title and reason, and one for a post without them) as well. Feel free to use them (They are XHTML 1.0 valid, by the way). Keep in mind that if you use them, you must add two phrases: edithistory_of_post_in_thread_x (Text: Edit History of post in thread "{1}") and show_post (Text: Show Post). Enjoy. :)

BobbyBig 08-17-2007 09:50 PM

Thank you, installed this for our community Forum.
Please get the User Mass Restore Option implemented, it is required badly :)

Gute Arbeit.

regards

Pottsy 08-21-2007 12:33 PM

Help!! :)

I have uninstalled this product, but in my usergroup options there is a table left behind. No title, 7 blank Yes/No options, no description.

If I try to change any usergroup options, I get an error (below).

How can I remove PEH from my forum? I have tried installing again, then removing, but still the same. Pleeeeeease help!

Error:

Code:

Database error in vBulletin 3.6.8:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
        `title` = 'Dealers',
        `description` = '',
        `usertitle` = 'Commercial user',
        `opentag` = '',
        `closetag` = '',
        `passwordexpires` = '0',
        `passwordhistory` = '0',
        `ispublicgroup` = '0',
        `canoverride` = '0',
        `mgccustomusergroupperms` = '0',
        `nbmsgshowchatbox` = '10',
        `allowhtmlpermissions` = '0',
        `edithistorypermissions` = '0',
        `vbwikiroles` = '',
        `vbwikipermissions` = '63',
        `forumpermissions` = '782591',
        `genericpermissions` = '505943751',
        `attachlimit` = '0',
        `pmquota` = '750',
        `pmpermissions` = '3',
        `pmsendmax` = '5',
        `calendarpermissions` = '63',
        `wolpermissions` = '1',
        `adminpermissions` = '0',
        `genericoptions` = '62',
        `profilepicmaxwidth` = '100',
        `profilepicmaxheight` = '100',
        `profilepicmaxsize` = '65535',
        `avatarmaxwidth` = '90',
        `avatarmaxheight` = '90',
        `avatarmaxsize` = '20000',
        `signaturepermissions` = '136703',
        `sigpicmaxwidth` = '1',
        `sigpicmaxheight` = '1',
        `sigpicmaxsize` = '1',
        `sigmaxrawchars` = '1000',
        `sigmaxchars` = '500',
        `sigmaxlines` = '5',
        `sigmaxsizebbcode` = '4',
        `sigmaximages` = '0'
WHERE usergroupid=10;

MySQL Error  : Unknown column 'edithistorypermissions' in 'field list'
Error Number : 1054
Date        : Tuesday, August 21st 2007 @ 02:28:04 PM
Script      : http://www.mydomain.com/forum/admincp/usergroup.php?do=update
Referrer    : http://www.mydomain.com/forum/admincp/usergroup.php?do=edit&usergroupid=10
IP Address  : x.x.x.x
Username    : Pottsy
Classname    : vb_database


Pottsy 08-21-2007 01:04 PM

OK, panic over - I read this.

Surviver 08-25-2007 06:01 AM

Quote:

Originally Posted by Gray Matter (Post 1316905)
This is a great hack, but the templates that go along with it have some slight design issues inside them and (in my opinion) are not visually appealing at all.

I have a few questions:
  1. Why does the username of the thread starter appear two times in the edit_history_view template? This is redundant. The second username should be the username of the post creator.
  2. What is the variable #$i? I cannot figure out what this is, as it is just displaying a useless number...
  3. What conditions must be met in order to show the compare link? I can't find any way to configure it.
  4. Why are there colspan="2" attributes on everything in the editbit template? These aren't necessary as there are only three columns in the table, and there are three columns in every row...
  5. What is the purpose of the CSS in the edit_history_view template?
and a few suggestions:
  1. Add a conditional so that if there is no post title, the "" won't display in the phrase "Edithistory of post "X" in thread "Y." This makes the text ridiculous by showing an unfilled set of quotation marks.
  2. When there is no title for the post, the "Post" row will just show a link that says "(Post)." This looks a little redundant, having "Post: (Post)." You should use a conditional to remove the parentheses when there is no post title, and also, I think, change the phrase text to "Show Post."
  3. The title row should not show when there are no titles to display. ;)
  4. The reason row should not show when there are no reasons to display.
  5. The edit time of the post should have a <span class="time"> on it, to keep with vB standards and also to set apart the time itself.
  6. Remove the closing </span> tag within the compare conditional. There is no opening tag for this so it shouldn't be there.
  7. Why is the phrase "cancle_compare" spelled "cancle?" The proper spelling is "cancel," unless there's some foreign version that I'm unaware of.
  8. The "message" text TD should have a valign="top" on it, since it looks a little out of place in the middle of a large post.
  9. The last two rows of the editbit table look really unorganized. You should try to configure them differently for a better-looking effect.
  10. Sometimes you write "Edit History," and other times as "Edithistory." Why the two versions? You should choose one (may I suggest "Edit History"). :p
  11. You have an ampersand that's not encoded in the link of the "Delete All Edits of This Post" link. ;)
Thanks for listening to me rant. Just some constructive criticism. :p

For anyone who's interested in applying the changes I suggested and removing the unnecessary stuff, I've attached my two templates and two screenshots (one for a post with a title and reason, and one for a post without them) as well. Feel free to use them (They are XHTML 1.0 valid, by the way). Keep in mind that if you use them, you must add two phrases: edithistory_of_post_in_thread_x (Text: Edit History of post in thread "{1}") and show_post (Text: Show Post). Enjoy. :)



At first thank you for your post!

1.)That seems to be the bug - once it should be the threadstarter and the other should be the postauthor!
2.)Where did you finde it?
3.)You have to set the usergroup permissions. If this does not work, check if the templates are ok.
4.)You're right
5.)This is the CSS for comparing the edits

1.)Noticed for future Versions
2.)Noticed for future Versions
3.)Noticed for future Versions
4.)Noticed for future Versions
5.)Noticed for future Versions
6.)Noticed for future Versions
7.)This happens if i write very fast :D Maybe i will change this ;)
8.)Noticed for future Versions
9.)The Problem is i'm not a designer :D I will try to find a better solution :)
10.)hehe, ok i will use "Edut History" in future :)
11.)Noticed for future Versions


Thank you for your particural suggestions!
That's nice feedback :)

Greetings Surviver

edgecutioner 10-16-2007 12:25 PM

Quote:

Originally Posted by SDB (Post 1277803)
Right.

THis is urgent.

I now have a problem, as this install script didn't fully run, and I now can't make changes to my usergroups as it throws up a db error :

Code:

MySQL Error  : Unknown column 'edithistorypermissions' in 'field list'
Error Number : 1054

whenever I try to update the usergroup.

Please help asap - first of all to remove this problem.

Quote:

Originally Posted by Surviver (Post 1315700)
Yes, ist works with 3.6.8

If the System is enabled and you have the permissions to view and the templateedits are done - in postbit/_legacy

It has bugs when you uninstall it namely the quote posted post above

Quote:

Originally Posted by Pottsy (Post 1322308)
Help!! :)

I have uninstalled this product, but in my usergroup options there is a table left behind. No title, 7 blank Yes/No options, no description.

If I try to change any usergroup options, I get an error (below).

How can I remove PEH from my forum? I have tried installing again, then removing, but still the same. Pleeeeeease help!

Error:

Code:

Database error in vBulletin 3.6.8:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
    `title` = 'Dealers',
    `description` = '',
    `usertitle` = 'Commercial user',
    `opentag` = '',
    `closetag` = '',
    `passwordexpires` = '0',
    `passwordhistory` = '0',
    `ispublicgroup` = '0',
    `canoverride` = '0',
    `mgccustomusergroupperms` = '0',
    `nbmsgshowchatbox` = '10',
    `allowhtmlpermissions` = '0',
    `edithistorypermissions` = '0',
    `vbwikiroles` = '',
    `vbwikipermissions` = '63',
    `forumpermissions` = '782591',
    `genericpermissions` = '505943751',
    `attachlimit` = '0',
    `pmquota` = '750',
    `pmpermissions` = '3',
    `pmsendmax` = '5',
    `calendarpermissions` = '63',
    `wolpermissions` = '1',
    `adminpermissions` = '0',
    `genericoptions` = '62',
    `profilepicmaxwidth` = '100',
    `profilepicmaxheight` = '100',
    `profilepicmaxsize` = '65535',
    `avatarmaxwidth` = '90',
    `avatarmaxheight` = '90',
    `avatarmaxsize` = '20000',
    `signaturepermissions` = '136703',
    `sigpicmaxwidth` = '1',
    `sigpicmaxheight` = '1',
    `sigpicmaxsize` = '1',
    `sigmaxrawchars` = '1000',
    `sigmaxchars` = '500',
    `sigmaxlines` = '5',
    `sigmaxsizebbcode` = '4',
    `sigmaximages` = '0'
WHERE usergroupid=10;

MySQL Error  : Unknown column 'edithistorypermissions' in 'field list'
Error Number : 1054
Date        : Tuesday, August 21st 2007 @ 02:28:04 PM
Script      : http://www.mydomain.com/forum/admincp/usergroup.php?do=update
Referrer    : http://www.mydomain.com/forum/admincp/usergroup.php?do=edit&usergroupid=10
IP Address  : x.x.x.x
Username    : Pottsy
Classname    : vb_database


I get the same DB error. any suggestions?

Surviver 10-17-2007 07:04 PM

Quote:

I get the same DB error. any suggestions?
Just reaf the thread - but will be fixed in the next realease (will be released in the next days ;))

https://vborg.vbsupport.ru/showpost....&postcount=109

CDarklock 10-17-2007 07:56 PM

I installed this mod, made the template changes, edited a post... and, um, nothing. I can't seem to find any difference. There's no link to a change history. Is this mod working as expected with 3.6.8?

I also have some suggestions for enhancements, when time is available for such things... I'd like the history extended to deleted posts, so when you can see a deleted post slug you can click a link to see what was deleted and still have access to the full history, and also the ability to revert a deleted post to any selected historical copy of that post without damaging the history.

FleXy 10-17-2007 11:28 PM

thanks for this mod

1) can i administrate mass all history... purge all history from administrator panel?

2) will it drop all tables if i need uninstall?

thanks.

Surviver 10-21-2007 07:11 PM

*** Update ***

|Jordan| 10-21-2007 07:32 PM

Is B for beta? If it is, Surviver should check the beta box in thread settings

Surviver 10-21-2007 07:33 PM

Quote:

Originally Posted by |Jordan| (Post 1365352)
Is B for beta? If it is, Surviver should check the beta box in thread settings

Oooh, you're right.

Sorry, B means Beta and I forgot to check the box ;)

COBRAws 10-21-2007 07:39 PM

Quote:

Originally Posted by Surviver (Post 1365329)
*** Update ***

Any indications on how should we update? Any files to be deleted from the server?

Thanks for the update :)

aquariumpros 10-21-2007 08:41 PM

Great Hack!!

Had previous version running - (working other then the compare) ---

Just updated to this version; and shows a completely black page when trying to view the edit history.

Any advice?

TIA,

COBRAws 10-21-2007 09:03 PM

So far new version works great. No bugs found.

aquariumpros 10-21-2007 09:24 PM

Quote:

Originally Posted by aquariumpros (Post 1365392)
Great Hack!!

Had previous version running - (working other then the compare) ---

Just updated to this version; and shows a completely black page when trying to view the edit history.

Any advice?

TIA,



After a complete removal of previous version, and reinstallation of the new version = 100% working!

Many thanks for this!!

pollon 10-21-2007 10:35 PM

When I try to edit a post (full editor) I get this at the top of the page:

Parse error: syntax error, unexpected T_ELSE in ......../public_html/forums/editpost.php(305) : eval()'d code on line 39

I don't see any "edit history" link on postbit. :( I'm on3.6.8 Patch Level 1.

Can you please help me??

Nathan2006 10-22-2007 03:22 AM

Hi,

I have updated and after deleting all the files from the server and uninstalling this hack
completely All I get is a blank white page.

I have also tried on IE & FireFox too and all I get is the white page.

I've also checked all the settings and everything else in user-groups :(

Thank you for any help :)

Surviver 10-22-2007 11:37 AM

Quote:

Originally Posted by pollon (Post 1365485)
When I try to edit a post (full editor) I get this at the top of the page:

Parse error: syntax error, unexpected T_ELSE in ......../public_html/forums/editpost.php(305) : eval()'d code on line 39

I don't see any "edit history" link on postbit. :( I'm on3.6.8 Patch Level 1.

Can you please help me??

I cannot confirm this. Try to disable all other addons, and check again.

Quote:

Originally Posted by Nathan2006 (Post 1365615)
Hi,

I have updated and after deleting all the files from the server and uninstalling this hack
completely All I get is a blank white page.

I have also tried on IE & FireFox too and all I get is the white page.

I've also checked all the settings and everything else in user-groups :(

Thank you for any help :)

? If you uninstalled the hack, weher ist the problem?

FleXy 10-22-2007 01:17 PM

old version work well
with new i got BLANK page when i try to view old post history

FleXy 10-22-2007 01:20 PM

i mean i reinstall plugin also at 3.6.8 VB with Path Level 1. I see links to view old post, but thay give me blank page.

Nathan2006 10-22-2007 06:42 PM

Quote:

Originally Posted by Surviver (Post 1365826)
? If you uninstalled the hack, weher ist the problem?

Sorry I was very tired today and missed out that I had reinstalled it again :)

But still a blank page :(

Quote:

Originally Posted by FleXy (Post 1365876)
old version work well
with new i got BLANK page when i try to view old post history

I'm glad someone else is having the same problem too :)

Surviver 10-23-2007 03:52 AM

Maybe your Templates / Templateedits are not up to date, the url has changed in the new version.

BadgerDog 10-23-2007 12:52 PM

Quote:

Originally Posted by FleXy (Post 1365876)
old version work well
with new i got BLANK page when i try to view old post history

Same problem... :(

I have updated from v1.2.5 to this new 1.5.0b2 and now all I get is a blank page when I try to look at the edit history of posts that have edits. :confused:

Now what should I do?

I probably should have left the old version running as it was working fine, but I didn't realize that this new version was a beta test.

Thanks for any help...

Regards,
Badger

BadgerDog 10-23-2007 12:59 PM

A different question....

If I want to un-install this mod, I see how to clean out all of the actual code modules and files, but how do I get rid of all of the old stored (in the database?) older versions of "saved" posts?

Thanks

Regards,
Badger

Surviver 10-23-2007 01:28 PM

Quote:

Originally Posted by BadgerDog (Post 1366721)
Same problem... :(

I have updated from v1.2.5 to this new 1.5.0b2 and now all I get is a blank page when I try to look at the edit history of posts that have edits. :confused:

Now what should I do?

I probably should have left the old version running as it was working fine, but I didn't realize that this new version was a beta test.

Thanks for any help...

Regards,
Badger

Please read the post above.

BadgerDog 10-23-2007 01:34 PM

Quote:

Originally Posted by Surviver (Post 1366741)
Please read the post above.

I don't understand what you mean?

Are you referring to this post?

Quote:

Originally Posted by Surviver (Post 1366468)
Maybe your Templates / Templateedits are not up to date, the url has changed in the new version.

The templates are current (v3.6.7pl1) and the postbit edits were made as per your instructions? What URL are you referring to that's changed?

Thanks

Regards,
Badger

FleXy 10-23-2007 04:49 PM

Quote:

Originally Posted by Surviver (Post 1366468)
Maybe your Templates / Templateedits are not up to date, the url has changed in the new version.

it's help me

thanks :-)
does not know that need to change templates one time more.

FleXy 10-23-2007 04:50 PM

Quote:

Originally Posted by BadgerDog (Post 1366723)
If I want to un-install this mod, I see how to clean out all of the actual code modules and files, but how do I get rid of all of the old stored (in the database?) older versions of "saved" posts?

I think it will be cleaned when you uninstall plugin (drop all tables)

Surviver View Post, I am right?

Paul M 10-23-2007 08:57 PM

I've been using this a while so decided to update my test forum to the new beta.

First of all I got the blank page problem - this is due to the url to view the edit history being completely different, I had to remove the old postbit edit and re-apply the new one.

I also had to edit a few phrases -quite a few of them appear to be in German.

I also found the text size in the comparisons to be very small (almost unreadable) so I added a font-size: 12px; to all the CSS diff_xxx classes - this also highlighted that the .diff-unchanged class is completely missing from the peh_view template.


I also think the text comparisons are backwards - it seems that text added to a new post is being highlighted as red (deleted) while text removed from the old post is showing as green (added).

I'm also curious why you have this marked as unsupported when you clearly appear to be supporting it ?


All times are GMT. The time now is 07:09 AM.

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.01672 seconds
  • Memory Usage 1,888KB
  • 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
  • (3)bbcode_code_printable
  • (22)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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