Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Advanced Warning System (Beta Version) Details »»
Advanced Warning System (Beta Version)
Version: 3.5.0, by sv1cec sv1cec is offline
Developer Last Online: Mar 2022 Show Printable Version Email this Page

Version: 3.5.0 RC3 Rating:
Released: 09-08-2005 Last Update: 05-30-2006 Installs: 221
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 09-11-2005, 07:34 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sv1cec
Do you have a table pmtext_warned in your database?

Hi John how are you ? still a coffee addict ? anyway i had to manually add that table vb3_pmtext_warned now it works fine

Code:
CREATE TABLE vb3_pmtext_warned (
`pmtextid` int(10) unsigned NOT NULL auto_increment, 
`fromuserid` int(10) unsigned not null,
`fromusername` varchar(50),
`title` varchar(250),
`before_title` varchar(250),
`message` mediumtext,
`before_message` mediumtext, 
`touserarray` mediumtext, 
`dateline` int(10) unsigned,
 PRIMARY KEY  (`pmtextid`), key (`fromuserid`)
) TYPE=MyISAM;
Reply With Quote
  #63  
Old 09-11-2005, 07:38 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Delphiprogrammi
There was a slight Typo in the Product Install Code that caused Table pmtext_warned not to be created upon Installation.
But that should be fixed since 1.0.2
Reply With Quote
  #64  
Old 09-12-2005, 12:46 PM
aethro's Avatar
aethro aethro is offline
 
Join Date: Jul 2005
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Howdy just tried installing it worked like a charm and making new posts works fine however when i go to reply to a post i get this error

Fatal error: Call to a member function on a non-object in /usr/home/**/**/**/includes/class_dm.php(474) : runtime-created function on line 1

Followed the instructions but still dont understand how this error popped up. Any thoughts on this greately appreciated
Reply With Quote
  #65  
Old 09-12-2005, 03:16 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I guess you do not run RC3, right?
Reply With Quote
  #66  
Old 09-12-2005, 08:52 PM
aethro's Avatar
aethro aethro is offline
 
Join Date: Jul 2005
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh yeah duh lol i'll go upgrade Thanks for pointing that out
Reply With Quote
  #67  
Old 09-12-2005, 09:09 PM
Chris_D Chris_D is offline
 
Join Date: Jun 2004
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Been looking forward to this coming out for 3.5

I liked Zero Tolerance's warning hack. Very well made and lots of nice features, but unfortunately I like this because it gives you the chance to have pre-defined warnings where Zero's all seemed to be free-entry. This is much better for a bigger board.
Reply With Quote
  #68  
Old 09-12-2005, 09:21 PM
eNforce's Avatar
eNforce eNforce is offline
 
Join Date: Aug 2004
Location: Canada, AB
Posts: 341
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get this error after sending a PM, but the pm does go through.

Parse error: parse error, unexpected '[' in /home/areyous/public_html/includes/class_dm_pm.php(523) : eval()'d code on line 96

I saw someone else had this problem, I skimmed through the posts but didn't see a fix myself. Was a fix posted?
Reply With Quote
  #69  
Old 09-12-2005, 09:33 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Plugin: AWS: Check PM-Title/Message for censored Words

Find
PHP Code:
if ($this->info['reparent'] AND $this-info['savecopy']) 
Replace
PHP Code:
if ($this->info['reparent'] AND $this->info['savecopy']) 
Reply With Quote
  #70  
Old 09-13-2005, 11:56 AM
wcbryant wcbryant is offline
 
Join Date: Dec 2003
Location: Florida
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just upgraded from RC2 to RC3 this morning, and installed AWS shortly thereafter. Everything seemed to go smoothly, and I've set the new options, but I'm getting some errors;

When warning a dummy account;
Code:
Database error in vBulletin 3.5.0 Release Candidate 3:

Invalid SQL:
update user set warning_level='10', warnings='1' where userid='5264';

MySQL Error  : Unknown column 'warnings' in 'field list'
Error Number : 1054
Date         : Tuesday, September 13th 2005 @ 05:42:18 AM
Script       : http://www.sitename.com/forum/Warn.php
Referrer     : http://www.sitename.com/forum/Warn.php?do=WarnUser&id=5264&post=261259
IP Address   : xx.xx.xx.xx
Username     : Clarity
Classname    : vB_Database_MySQLi
When hitting (in admincp) Statistics - Warnings Per User;

Code:
Database error in vBulletin 3.5.0 Release Candidate 3:

Invalid SQL:
SELECT COUNT(*) AS users FROM user AS user where warnings>0 OR alerts>0;

MySQL Error  : Unknown column 'warnings' in 'where clause'
Error Number : 1054
Date         : Tuesday, September 13th 2005 @ 05:54:06 AM
Script       : http://www.sitename.com/forum/admincp/admin_warn.php?act=viewwarnedusers&type=warnings
Referrer     : http://www.sitename.com/forum/admincp/index.php?do=nav
IP Address   : xx.xx.xx.xx
Username     : Clarity
Classname    : vB_Database_MySQLi
Sounds like I'm missing a column, but not sure how or why. Any ideas? Been poking around for about an hour, not sure where the issue is. I did have the 3.0.x version installed before moving up to 3.5.0, perhaps when it discovered the old tables, it didn't create some new one somehow? No idea.
Reply With Quote
  #71  
Old 09-13-2005, 12:11 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you had the 3.0 Version installed, you should already have the Columns.

Anyway:
Code:
ALTER TABLE user ADD warnings INT(5) DEFAULT '0';
ALTER TABLE user ADD warning_level INT(15) DEFAULT '0';
ALTER TABLE user ADD warning_bans INT(2) DEFAULT '0';
ALTER TABLE user ADD alerts INT(5) DEFAULT '0';
ALTER TABLE user ADD warn_notes SMALLINT DEFAULT '0';
Currently these Colums are being added in 1 Query, so if 1 Column does already exist (but other's don't) it fails completely.
Might be a good idea to change that
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:29 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.12386 seconds
  • Memory Usage 2,329KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete