vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Soft Deleted Archive v2.7 (https://vborg.vbsupport.ru/showthread.php?t=70878)

Megareus Rex 06-21-2005 08:38 PM

Great hack, I love it!

Only one question though. The hack displays the post date of all of the deleted threads/posts as Dec 31 1969. Why?

yoyoyoyo 06-21-2005 09:53 PM

thanks much!

Revan 06-22-2005 11:45 AM

Quote:

Originally Posted by Megareus Rex
Great hack, I love it!

Only one question though. The hack displays the post date of all of the deleted threads/posts as Dec 31 1969. Why?

Because the entries displayed were deleted before the hack started counting Post dates ;)

Christine 06-23-2005 12:57 AM

Added this tonight. I can't wait to get my live site on 3.5 -- I have in the neighborhood of 500 soft-deleted posts that I have been too lazy with my current hack to open each one to review and get rid of.

:D

mkdevo 06-23-2005 11:12 AM

installed. works great! thanks!

kadafi_alive 09-25-2005 09:27 AM

I would warn others to stay away from this hack. Once you attempt to hard-delete soft-deleted posts or threads, it suddenly deletes random posts or threads that weren't soft-deleted in the first place

Revan 09-26-2005 07:40 AM

This is highly impossible, not only because the hack cannot touch threads/posts not in the deletionlog table, but because no other user on the interweb has reported this issue. Does that not strike you as odd?

kadafi_alive 09-27-2005 03:04 PM

Hi Revan

It did after running this code (provided by mtha) to remove the 1970 bug:

UPDATE deletionlog, moderatorlog SET deletionlog.deldate=moderatorlog.dateline
WHERE deletionlog.type = 'post' AND deletionlog.deldate=0 AND (moderatorlog.postid = deletionlog.primaryid) AND moderatorlog.action LIKE 'post %deleted%';

UPDATE deletionlog, moderatorlog SET deletionlog.deldate=moderatorlog.dateline
WHERE deletionlog.type = 'thread' AND deletionlog.deldate=0 AND (moderatorlog.threadid = deletionlog.primaryid) AND moderatorlog.action LIKE 'thread %deleted%';

After that, it randomely started deleting posts and threads. In fact, can someone tell me how to reverse that SQl query 'cause I keep getting database errors now such as:

Invalid SQL:
REPLACE INTO deletionlog
(primaryid, type, userid, username, reason, deldate)
VALUES
(85514, 'post', 193, 'user',
'', '1127836289')

mysql error: Unknown column 'deldate' in 'field list'

mysql error number: 1054

Revan 09-28-2005 07:27 AM

for some reason the deldate column vanished, try running this:
[sql]ALTER TABLE deletionlog ADD deldate INT(10) UNSIGNED NOT NULL DEFAULT '0'[/sql]

mtha 09-29-2005 06:38 AM

well, actually you tried to run the uninstall.php, and DID NOT remove the code that he edited.

please reverse ALL the file editing that mention in install.txt, or upload your original

admincp/index.php
includes/functions_databuild.php
clientscript/vbulletin_global.js

if you dont have any other hack (that require editing those files) installed



Quote:

Originally Posted by kadafi_alive
Quote:

Originally Posted by mtha
Quote:

Originally Posted by kadafi_alive
Hi,

Thank you for your reply.

The vbulletin.com staff said that deldate is not a default field of vbulletin, so how can I delete it altoghether since I uninstalled the hack (softdeletearchive)

Regards


remove ALL the code that you added related to the hack, i think you edited some code in showthread.php. or you can re-upload your original files


Hi,

I haven't edited anything regarding the hack. I only uploaded the softdeladmin.php in admincp and run softdel_install.php. When uninstalling, I ran softdel_uninstall.php and thats it.

Regards



All times are GMT. The time now is 11:17 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.01337 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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