![]() |
I'm just upgrading my forums to v3.6 from 3.5 (not going to 3.7 just yet)
I had this installed and working on v3.5. After installing on 3.6 I now get this database error when selecting "Statistics - Warnings Per User" in the ACP Quote:
Any ideas? As this is just a test upgrade and not my live board, I have time to work thru this problem, but... |
Try changing that statement to:
Code:
SELECT COUNT(*) AS users FROM user WHERE warnings > 0 OR alerts > 0 OR warning_bans > 0; |
Should I run it as a query or thru PHPmyAdmin?
Also, if I'm reading correctly this is in the User table, correct? |
Actually after further examination I think I see the problem. Though what the "proper" solution is, I'm not so sure of.
From the AWS xml file there is this Quote:
But none named warns Solved! SHould anyone else run into this... In phpmyadmin > select the user table > look for column named warns > tick the box and select/click the "change" operation > rename to warnings and save. |
Hey sv1cec if your around today.
I had all sorts of problems with this version. DB errors and way too many items to list. I'm not complaining, as I love AWS, but I uninstalled it and went back to the 3.5.4 version. Which I did get to work using TMS and modifying a few of the template edits to work with vB 3.6.9 I have 1 problem that I've found so far. I'm getting the Quote:
And before I run off, I'd just like to say thanks to both you and Delphi for all the work you two have put into this mod! :tup: |
Well, I am not sure, there is no such message in the code I've written. so I guess:
1. Make sure there is at least one banned users usergroup. 2. Make sure you enter that usergroup in the appropriate area in the Warning Options, in the Admin CP. |
Thanks John
As it turns out... as in an old thread by yourself that I read after posting this... The link in the ACP > AWS area does not work. However, the lin in the ACP Users > View Banned Users does! I can live with that. :D Thanks again |
See?! How bright of me to write new code for viewing banned users, when there was already a script doing it? LoRL.
Just go into your admincp and change the link, in the AWS menu to the one that the Users menu points to. |
Does anybody have a working kill_warns script that actually removes matured warnings?
|
is there a mod like this for 3.7x?
|
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. |
Quote:
|
well, 4.2 infraction is quite good, all I miss there is default messages for each infraction/warning level - that would be great have that feature there
and If AWS is better than vb I will definetly install it ;) Thanks! |
it is working but not as it should i hate to release work that is not done and working properly
|
All times are GMT. The time now is 08:36 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|