![]() |
Quote:
|
Quote:
This is his hack, so he will implement if any adition is good :> I'm not going to make an alias. |
Bug.
I found that username/userid are displayed not correctly, since you have different values for them. I would call each value seperately: look for the part for $softdelposts = $DB_site->query(" replace the whole query by PHP Code:
look for $vbphrase['soft_deleted_by'] = 'Deleted by'; Add above $vbphrase['soft_posted_by'] = 'Posted by'; look for PHP Code:
PHP Code:
look for PHP Code:
PHP Code:
|
Whoah. This was lotta stuff XD
I cant remember, but I dont think I counted the threads and posts in a seperate query. I dont like this because I try my best to optimise my hacks, reducing query load as much as possible. The counting worked when I tested it with multiple pages on my localhost, but my localhost is running low on posts from too much testing with this hack XD Im gonna look into all of this when I get home :) |
Quote:
I count thread and post, which also use 2 :) |
I tried your suggestions mtha, and now no records are shown..
Unless I went wrong somewhere, but I don't think so. |
Ive implemented both fixes, and they work just fine.
Cheers :) Updated to v2.5: To upgrade, replace softdeladmin.php with the one in the zip. |
Hmm.. The file in the zip worked, so it must have been something wrong that I did somewhere. My bad.. :disappointed:
4 of the threads listed have the date/time of 00:00, 1st Jan 1970.. Is there any explanation for this? |
Yes, they were deleted BEFORE this hack was installed. Try running this:
Quote:
|
That updated 1 of them, I still have 3 with that date.. :)
|
All times are GMT. The time now is 03:30 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:
|