The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Advanced Warning System (Beta Version) Details »» | |||||||||||||||||||||||||
Advanced Warning System
IF YOU ARE RUNNING vB 3.6, THERE IS A NEW THREAD FOR THIS HACK UNDER THAT VERSION. vB 3.6 USERS GO HERE: https://vborg.vbsupport.ru/showthread.php?t=124477 This is a direct port of the Advanced Warning System, as it was implemented in vB 3.0.x. This port has all the features of AWS version 3.4.16, except the Notes. For a complete description of AWS capabilities, please refer to the following thread: https://vborg.vbsupport.ru/showthread.php?p=574374 The vB 3.5 compliant version of AWS includes: 1 Product XML (17 Plugins, 107 Phrases, 26 Templates, 43 Settings) 1 ACP Navigation XML 1 PHP Functions File 3 Images 2 PHP Frontend Files 1 PHP Admin CP File 1 PHP Mod CP File 3 PHP Cronjob Files This port would not be possible, without the help of KirbyDE, to whom I am greatful. KirbyDE will also be responsible for supporting you here, with questions related to this particular release. Also, this port would not have been possible, without the help of Juan P hernandez, who offered me a free test system, in which the porting was performed. The hack has been tested and it is believed to be bug-free, however since this is a major hack, I release it today (September 9th 2005) as beta. I hope you all enjoy it. History (Productversion) 3.5.b Initial Version 3.5.b1 Fixed a typo that caused Errors in User Datamanager. Fixed a wrong object reference in functions_warning.php 3.5.b2 Fixed a Bug that caused PHP Error Messages. Fixed a Typo in the Install Code that causes mySQL Errors. Updated the Template Edit instructions to be (hopefully) compatible with RC3 3.5.b3 Fixed User not showing up in automatic warning PMs Fixed 2 missing Phrases Fixed Hidden Warner being Used for Automatic Warnings Fixed "View x's Warnings" Button in Usermanager not working 3.5.b4 Removed one unsued Phrase, added one missing Phrase Fixed a Typo that caused PHP Errors when sending PMs Fixed a Typo that caused PHP Errors upon Installation Changed Product ID for Admin CP Navigation XML from vbulletin to aws, so it won't show up any longer if AWS is uninstalled/disabled. A bug was found which didn't allow you to delete an entered Warning Type. Bug fixed in the current distribution file. If you found a Bug, please report it at http://bugs.kirbydemos.ath.cx This helps to keep issues organized, which can't be guaranteed if it's only posted in the Thread. Thank you. P.S.1: After you install the hack per the instructions, please update your installation with the separate files listed. They are newer files not included in the zip. P.S.2: If you want to use the Notes feature, as it existed in AWS 3.4.16, please install AWS per the instructions in the zip file, and THEN follow the instructions included in the warn_notes_update_instructions.txt. IMPORTANT NOTE: Please keep in mind that this hack is not supported. What this means is that I have no obligation to support it. The reason for that, is because I have no access to a vB 3.5 system any more, so I can't work on this hack any more. Andreas (or KirbyDE) who undertook the support of this version of the AWS hack in the beginning, is obviously too busy to support it. So you are on your own, at least as far as the interaction with vB is concerned. If you have an issue with the hack files themselves, I'll do my best to solve it, but without a test environment, it is not easy. So users of vB 3.5 beware! P.S. May 31st 2006: The zip file uploaded today, should contain all the debugging done by Delphi, so it should be fine as it is. You do not need the other files listed at the right, only the zip. Download it and follow the instructions in it, for installing the hack. I leave the other files there, just in case some one needs them, they will be deleted later. SV1CEC Supporters / CoAuthors Show Your Support
|
Comments |
#602
|
|||
|
|||
Quote:
Well, the error is wrong and there's a bug in the code which stops you removing the first warning you place... warn.php:1345,6 and 7 are like this... if($_GET['id']=="" || !$_GET['id'] || $_GET['id']<=1){ RunError("Invalid User ID Input"); } Ok, id in this case is not a user id, its the ID of the warning! (copy and paste error I bet). Also, you need to change the 1 in the line to a 0, otherwise you can't remove the warning with the id of 1! so, change line 1345 to if($_GET['id']=="" || !$_GET['id'] || $_GET['id']<=0){ and you'll be able to remove the first warning. |
#603
|
|||
|
|||
Jesus, this is correct! Thanks MGSteve, I appreciate it!!!!
Follow the instructions above folks, your problem should be solved. Sorry for that! |
#604
|
|||
|
|||
Quote:
Although it would only effect the first warning, I don't know if the others were all trying to delete their first warning or not..? |
#605
|
|||
|
|||
I'm getting 3 of these errrors now when posts are being made...
any ideas? Warning: preg_replace(): Compilation failed: nothing to repeat at offset 16 in /includes/functions_warning.php on line 706 |
#606
|
|||
|
|||
Quote:
So basically all this did was allow you to get past the error message and remove the warning gif image from their post... |
#607
|
|||
|
|||
Hi, 1st up, this is a great hack and extremely useful, so thanks to the author
I am however having a small problem, i have searched this thread and couldnt find a definate solution, the hack is working fine, if i warn someone they get warned or banned, which is all good But i cant remove the warnings, if i try to remove them either via the forum- member profile or the admin cp/member profile/complete removal i get page not found, a 404 error, this is the url it is trying to find HTML Code:
http://www.software-help.co.uk//admin_warn.php?act=completeremove&id=1&userid=7&uname=spazzo%20member&wname=Test%20warning&postid=728&orderstring= Anybody have any idea where i have gone wrong??? Or is this a known bug that i just havent found in this thread yet???? regards steve |
#608
|
|||
|
|||
Quote:
|
#609
|
|||
|
|||
It does seem to be the "bug" spoken of in this thread, i am also getting
Quote:
But i still havent found an actual solution to it in this thread, so i had better not test the warning system on anyone else :nervous: I already have one casualty....oops lol regards I have found a couple more bugs, this time in the admin control panel, when i goto a users profile and click view warnings, it goes to this url HTML Code:
http://www.software-help.co.uk/modcp/admin_warn.php?act=do_finduserwarnings&userid=7 Which gives a page not found error, which i know the reason for but dont know how to solve it I need that button to point to this url HTML Code:
http://www.software-help.co.uk/modcp/mod_warn.php?act=do_finduserwarnings&userid=7 Would appreciate a little nudge in the right direction on that Also, while in mod cp looking at a user profile still, "warn user non post related" button, when i click that, it gives this error Quote:
regards and ssorry for being a pain, i am new to all this, but i am very willing to learn
|
#610
|
||||
|
||||
Quote:
Something editable on the fly by the mod. A way to issue a warning and assign the points and days right then. Just a little more flexibility. This gives moderators a better chance to moderate. They can look at any circumstance and decide if the warning issued should be harsher or less than the default. |
#611
|
|||
|
|||
Quote:
No, what it fixed was not being able to remove the first post. I did say in my follow up post that it probably won't fix everyone's problems. The bizarre thing is that I don't get half the problems removing warnings that you lot do... I just couldn't remove the first one, subsequent warnings have been removed fine. Although it doesn't remove the warning icon from the post that led to the warning, that just looks like it doesn't do that (as opposed to suppost to but doesn't because of a bug.) |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|