![]() |
Very useful hack
Thanks ;) |
Quote:
|
v2.2 is released, implementing fixes of the bugs mentioned already, and mtha's feature requests.
To upgrade, simply replace softdeladmin.php with the one in the zip. Thanks for installing this hack! :D |
Updated.. Again.. Thanks ;)
|
i have the assign physical delete hack installed and i seem to get errors with this one now
i'm getting error where i can't normally delete a post only physical delete and somehow people can delete there own threads this is the error i get when i try to delete a post normally Code:
Database error in vBulletin 3.0.0: i;ve disabled my forums until i can fix this |
I am using both hacks in perfect combination :)
Your problem is that whatever is assigning the primaryid seems to have broken. |
Quote:
|
Quote:
You've messed up with the counting part: Page1: Soft Deleted Threads (Showing thread 1 to 14, total: 14 threads) Soft Deleted Posts (Showing post 1 to 15, total: 15 posts) Page2 Soft Deleted Posts (Showing post 16 to 1830, total: 15 posts) Page3: Soft Deleted Posts (Showing post 31 to 1830, total: 15 posts) also, here you have $countlog = $DB_site->query_first("SELECT COUNT(*) AS total FROM " . TABLE_PREFIX . "deletionlog"); $numentries = &$countlog['total']; $numpages = ceil($numentries / $perpage); your $countlog is post+thread counts $perpage is actually post perpage AND thread perpage. => $countlog / $perpage is NOT correct $numpages. You have to get $countpost and $countthread if $countpost > $countthread => $numentries = $countpost, else $entries = $countthread otherwise, if you have more than one page of thread and post deleted, the last pages will give empty results. |
Quote:
i've left the rest untouched |
sorry msimplay, I didnt mean to quote your post. I am talking about the whole hack.
Revan Here's what I use, I think it'd be better Look for (Line 114) PHP Code:
PHP Code:
line 171, look for PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
All times are GMT. The time now is 03:32 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|