![]() |
Edit #2: Nvm
|
Hi guys, it's me again.
This modification has always been semi-working on my 3.8+ installation. The only problem that I noticed is the cron job that is set to automatically remove expired warnings, wasn't doing it at all. The job would run, but the warnings weren't removed. Tried running manually and I noticed the first error. After I fixed that error, I encountered another error. And one more after that. Since then I've been going through Admincp > Advanced Warning System > View Warnings Log. And removing the expired warnings individually. As you can tell, this is quite troublesome. But I diligently kept up with it for a year because I felt this modification was much more useful than the default infraction system. Well anyways, I managed to be able to find and fix all the errors regarding the cron to successfully remove expired warnings like it should. Open "kill_warns.php" 1. Line 45 Find: Code:
LEFT JOIN " . TABLE_PREFIX . "warningype wt ON(wt.warningtypeid = w.warned_warning_id) Code:
LEFT JOIN " . TABLE_PREFIX . "warningtype wt ON(wt.warningtypeid = w.warned_warning_id) Find: Code:
$user = array_merge($user,convert_array_to_bits($user['options'],$vbulletin->bf_misc_useroptions)); Code:
$user = array_merge((array)$user,convert_bits_to_array($user['options'],$vbulletin->bf_misc_useroptions)); Find: Code:
$warnerdata = $vbulletin->db->query_read("SELECT username, email FROM " . TABLE_PREFIX . "user WHERE userid = $vbulletin->options[warn_warner]"); Code:
$warnerdata = $vbulletin->db->query_read("SELECT username, email FROM " . TABLE_PREFIX . "user WHERE userid = '{$vbulletin->options['warn_warner']}'"); |
Hope this mode will update into 3.8.x or 3.8.4
|
Would it be at all possible for this to be updated to work on 3.8.4? Looks really useful.
|
Quote:
If you warn a user, in the User CP PM area it shows the admin username rather than the username of the hidden warner account. When you click to read the actual PM, the hidden warner username is shown correctly as it should be. It's only in the main User CP PM area that the incorrect admin username is shown instead of the hidden warner account. Anyone know how to fix this? It can be done - I managed to fix it 2 years ago to always show the hidden warner account in all areas. I think I edited the Warn.php file. But unfortunately, I can't remember how I did it, and I lost the edit. Someone please help! :( |
Any chance of this being upgraded to 4x? :)
|
Quote:
|
While I am not the author of this hack, I am the original author of the Advanced Warning System, back when vB was at 3.0.xx.
Believe me, the infractions system that vB currently has, leaves a lot to be desired, compared to AWS. I have managed to implement most of the AWS features in vB 4.2.2, but I didn't spend the time to make it an installable hack. My moderators were all over me, when we moved from 3.0.xx to 4.2.xx, so I had to do my best to give them a working version of AWS. I also don't have the faintest idea of how to make an installable package. So yes, I have it working in 4.2.2 (at least 80% of the original hack) but no, I can't release any of it. Sorry! |
Hi,
Well this has not been ported because i thought everybody whas using the infraction system which is much more advanced. I still have a /testvb/ where i can try things out i'm on 4.4.2 PL 3 not planning to go vb 5 . I'm not promosing anything yet but i'll see what i can do i just didn't realize people where still using this . I've had a quick look and there are a few things changed since vb 3.x.x
|
Hey Erik, good to see you back here!
I have some templates that I can send you, in case you are interested in continuing the development of AWS. Just let me know. As I said, I have it working on my site, but not in a condition I can release to the puclic. |
All times are GMT. The time now is 11:15 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:
|