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 |
#12
|
||||
|
||||
Code:
Database error in vBulletin 3.5.0 Release Candidate 3: Invalid SQL: select * from vb3_warning_types order by warn_points, warn_maturity, warn_name; MySQL Error : Table 'vb3x5.vb3_warning_types' doesn't exist Error Number : 1146 Date : Friday, September 9th 2005 @ 01:11:16 PM Script : http://www.supportcore.org/testvb/ad...n.php?act=view Referrer : http://www.supportcore.org/testvb/ad...dex.php?do=nav IP Address : 69.154.2.3 Username : Chris Classname : vb_database EDIT:: Okay the queries are in the product xml file. What could be causing it not to run the right queries though? |
#13
|
||||
|
||||
@Kru
Hmm, there is a Plugin that sets the Fields. Did you import it as a Product? And yre you using vBulletin 3.5? @RoryF No, it sends a PM or eMail. @TruthElixirX There should be a Warn-Button ad the bottom of the left Column in User Editor. The Tables should be created automatically, did you import it as a Product? |
#14
|
||||
|
||||
Quote:
Everything works fines besides of registering a new user after I install this hack. I removed hack and reinstalled it again but still same error. |
#15
|
||||
|
||||
Registering works fine for me. Where exactly do you get Problems?
Btw: I meant are you using RC3? |
#16
|
|||
|
|||
Awesome! Thanks a ton!
* TCM installs. EDIT: Or not, it bugged up my boards. |
#17
|
||||
|
||||
Yipee! I'm so glad you ported this over, this is what I've been waiting for. This is by far the best Warning Hack... ever.
* acidburn0520 jumps for joy! |
#18
|
||||
|
||||
Quote:
Yes it is set as a product and no that column is not there. |
#19
|
||||
|
||||
Same problem as Kru. I'm using vb 3.5 rc3 on a fresh database.
Fatal error: Field alerts is not defined in $validfields in class vb_datamanager_user in /includes/class_dm.php on line 485 It's so much easier to get this installed now. I think though that the template notes require a bit of an update (possibly because rc3 has some changes in postbit-legacy). Example - Code:
<td class="alt1"> <if condition="$show['messageicon'] OR $post['title']"> <!-- icon and title --> <div class="smallfont"> <if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if> <if condition="$post['title']"><strong>$post[title]</strong></if> </div> <hr size="1" style="color:$stylevar[tborder_bgcolor]" /> </if> Code:
<td class="alt1"> -The warningpoints are added for postbit, but not for postbit-legacy. -Need to find Code:
<div>$post[message]</div> <!-- / message --> But only Code:
<!-- message --> <div id="post_message_$post[postid]">$post[message]</div> <!-- / message --> I like this plugin system |
#20
|
||||
|
||||
I'm not a coder, but I guess the problem is in class_dm_user.php.
This hack adds 5 fields to the database table user, but the script doesn't know what to do with those when a new user is added. Here's a fix (WAIT for a real coder to really fix it) Open includes/class_dm_user.php and find (located at top of file in Code:
var $validfields = array( Code:
'pmunread' => array(TYPE_UINT, REQ_NO), Code:
'warnings' => array(TYPE_INT, REQ_NO), 'warning_level' => array(TYPE_INT, REQ_NO), 'warning_bans' => array(TYPE_INT, REQ_NO), 'alerts' => array(TYPE_INT, REQ_NO), 'warn_notes' => array(TYPE_UINT, REQ_NO), |
#21
|
|||
|
|||
Quote:
Also, after clicking add warning from a post I get the following error: Fatal error: Call to a member function on a non-object in C:\Program Files\Ensim\Sitedata\***\forums\includes\functions _warning.php on line 581 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|