![]() |
Quote:
So, your solution should actually kill that problem as well, will test it out and let you know :) |
Quote:
if i get that one sorted out i'll post it problem found replace PHP Code:
PHP Code:
So people to keep the things we've fixed together.To solve the bad urls in email aws sends out you need to edit two files
in Warn.php find PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
hi people,
people with a verry busy forum can try this quick plugin to cache templates used by this sytem.Caching templated reduces the amount of MySQL queries needed ... admincp => plugin system => plugin manager => add a new plugin product => AWS (advanced warning system) hook location => cache templates title => AWS cache templates plugin PHP code PHP Code:
submit the form done amen enough coding for today |
Hi, I've installed the Advanced warning hack on a vB 3.5.4 board. It seems to work great except for a couple little problems I've been having. The Auto-warning system doesnt seem to be working. I've created a supermod "bot" and used it as the auto-warning bot and the hidden warner. Also, I've created the "ObseneWords" warning type and designated it to be "auto." Using a test username and having an actual member use censored words in posts, it doesnt seem to be delivering the warning, even though the words used were blocked out by the vBulletin censor system. Also, Email notification works great, but it doesnt private message the warned user, only emails them. I dont know if maybe you have to have emailing disabled to use the private message feature, but right now they are both enabled. Is this compatible with my version of vB? Other than this, its a very useful hack and im very happy with it.
|
Quote:
|
sv1cec? I know I have said this before but this is the best hack for vbulletin. Thank you again for supporting it. I have one small issue that I need help with. I have the warning system set-up to create a thread in a hidden forum when a moderator issues an alert or warning. For reasons when an alert is issued, the thread information indicates it is an alert. How can I fix this so the thread displays an alert and not a warning? The information below is in two parts. The first one is a copy of the thread in the hidden forum. The 2nd one is a copy of the private message sent to the user.
Thank you in advance! :) Michael User mitest received the following Warning/Alert by Michael on 03-02-2006 at 07:22 PM : Quote: Dear mitest, You have been warned for one of your posts, which violated (website names) Rules. The reason you have been warned is because: User makes ignores direct directions given from a moderator. (Warning Type = Ignoring Moderator Directions) For this violation, you have been given : 3 point(s). The point(s) will remain in your account for 180 days. After that, they will be removed automatically. The post for which you are warned can be seen here: ======================================= Quote: Originally Posted by Nemo88 I agree,I wish nothing came up when you are "ignoring" another member... It's a small notification though... ======================================= The admin/moderator who warned you, entered this comment: ======================================= User makes ignores direct directions given from a moderator. ======================================= Your total Warning Level at the moment is: 0 point(s). If you reach the maximum of 7, you will be banned from the Forums, for 2 days. To see details about all the warnings you have received, until now, please click here. Please reply back if you have a dispute. ------------------------------------------------------------------------- Dear mitest, This is an alert for one of your posts, which violated MouseInfo.com Rules. The reason you have been alerted is because: User makes ignores direct directions given from a moderator. (Warning Type = Ignoring Moderator Directions) For this violation, you would normally have been given : 3 point(s). The point(s) would remain in your account for 180 days. After that, they would be removed automatically. If you ever reach the maximum of 7 points, you will be banned from the Forums, for 2 days. However, the moderator decided not to warn you at this time, and only issue an alert, instead of a warning. So no points have been added in your account, this time. Next time however, you will be warned. PLEASE RESPECT THE FORUM RULES. The post for which you are alerted can be seen here: ======================================= Quote: Originally Posted by Nemo88 I agree,I wish nothing came up when you are "ignoring" another member... It's a small notification though... ======================================= The admin/moderator who issued this alert, entered this comment: ======================================= User makes ignores direct directions given from a moderator. ======================================= To see details about all the warnings and alerts you have received, until now, please click here. Please reply back if you have a dispute. |
hi,
Automatic warnings seem to work fine in private messages try to send a pm which contains censored words you'll get a pm back telling you that you've been warned.But automatic warnings fail to work in posts / threads No error messages but no pm or emails either if you ask me those plugins that should handle the automatic warnings have the wrong hook locations and therefor the code doesn't get fired in the right spot |
OK, I have just uploaded new admin_warn.php and Warn.php files, with the quotes! Darn those quotes. I'll try and check everything else for this issue.
|
I can not duplicate the problem with the Automatic Warnings from Posts. It works fine in my test environment, even before uploading the edited files for the quoted $vbulletin parameters.
There is an issue with the warning being entered as non-post related. To correct that, open the following plugin. AWS: Check Post-Title/Message for censored Words Find: Code:
warn_calculations($warn_type['tid'], $wcomment, $this->fetch_field['postid'], $userinfo, $this->registry->options['warn_automatic_warner'], $alert); Code:
$wpost=$this->fetch_field('postid'); Also, in several of the templates shown in the XML file, there are still references to $vboptions parameters. However, I do not know if it is worth it to correct these references, since I do not know if a corrected XML file can be used to alter the existing templates or not. If someone knows, please advise. |
OK, I am completely stuck here. Delphi, or whoever else can check out the admin_warn.php code for me, I need some ... support.
When viewing the Warnings Log, there are two links, one saying "Remove" and the other saying "Complete Removal". My problem is this: The first one, when clicked, shows the next screen correctly, i.e. all the information is there. The second one, does not passes all the parameters to the next screen, it does not pass all the TYPE_STR fields. As a result, the name of the warned user, and type of warning and the parameter which shows if this warning has caused a ban or no, are not passed. The code in these two routines (remove and completeremove) is exactly the same. The code from which the two routines are called, is also exactly the same, it's shown below: Routine remove call: Code:
$y="<a href='{$vbulletin->options['bburl']}/$admincpdir/admin_warn.php?act=remove&id={$warn[wid]}&userid={$warn[warned_userid_v]}&uname={$warn[warned_username_v]}&wname={$warn[warn_name]}&postid={$warn[warned_post]}&ban=$warn[caused_ban]&orderstring={$order}'>Remove</a>"; Code:
$cy="<a href='{$vbulletin->options['bburl']}/$admincpdir/admin_warn.php?act=completeremove&id={$warn[wid]}&userid={$warn[warned_userid_v]}&uname={$warn[warned_username_v]}&wname={$warn[warn_name]}&postid={$warn[warned_post]}&ban=$warn[caused_ban]&orderstring={$order}'>Complete Removal</a>"; Anyone has any ideas????? It's not affecting the operation of the program per se, the warnings are completely removed, but I do not like it when I can't figure out what's going on and why things do not work as expected. |
All times are GMT. The time now is 08:29 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:
|