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
  #572  
Old 12-25-2005, 10:35 PM
docvader's Avatar
docvader docvader is offline
 
Join Date: Dec 2002
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by docvader
An error has occured, the following message has been left below:

Invalid User ID Input


John,
I get the same error, when issuing a warning on ANY post, for ANY user.

BTW, I've upgraded from AWS on 3.07 to this AWS on 3.52 also. Not sure if that's causing the problem. Maybe a totally clean install, removing all the previous databases, is the answer. Got any suggestions as to how to do that?

Thanks, and Merry Xmas. Great job porting this hack over

rich

PS: Any reason why, after installing this, my search for NEW POSTS (or any posts of any days), leads to the search page, and not a listing of the new posts?????? I'm completely befuddled with that one.

x.russbo.com/vb/index.php
Well, I've got some major issues after this upgrade.

I've installed it as per instructions, and now, I cannot log in to my board's admin area. Not sure what happened after this install, but I can't get into my forum to play with this. What did I do????? Completely puzzled.

Any suggestions? Thanks!
Reply With Quote
  #573  
Old 12-26-2005, 01:47 AM
docvader's Avatar
docvader docvader is offline
 
Join Date: Dec 2002
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by docvader
Well, I've got some major issues after this upgrade.

I've installed it as per instructions, and now, I cannot log in to my board's admin area. Not sure what happened after this install, but I can't get into my forum to play with this. What did I do????? Completely puzzled.

Any suggestions? Thanks!
Well, that was fun.

I finally got access to my admin area by turning off the "hooks" in config.php.

I disabled the AWS product, and I was finally able to log in without problem. Also, the search function reverted to normalcy.

John, something went seriously wrong here. I think it has to do with the fact that I used AWS (and loved it) on my 3.07 board. Upgrading to 3.52, and installing this, did not make my forums "happy". I think I "removed" myself from the system access wise, by clicking on "warn 'me'" on one of my posts, just to see what page would come next, as a test. I got the "wrong user ID" mentioned previously. Apparently, something wrong happens when you "warn user". It might have to do with the fact that there are previous associated databases. I shall reattempt this on my test board to see what happens.

Really wish there was a way to get this working. I understand how difficult this is.

Thanks!
rich
Reply With Quote
  #574  
Old 12-26-2005, 07:17 AM
slvr ralliart slvr ralliart is offline
 
Join Date: Oct 2005
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack is awesome, just what my forum needs...

Installed with no problems, all went nice and smooth with installing and works error free


one question... where do I upload the "kill_warns.php" file? In my forums root directory?!?
Reply With Quote
  #575  
Old 12-27-2005, 05:56 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by docvader
Well, that was fun.

I finally got access to my admin area by turning off the "hooks" in config.php.

I disabled the AWS product, and I was finally able to log in without problem. Also, the search function reverted to normalcy.

John, something went seriously wrong here. I think it has to do with the fact that I used AWS (and loved it) on my 3.07 board. Upgrading to 3.52, and installing this, did not make my forums "happy". I think I "removed" myself from the system access wise, by clicking on "warn 'me'" on one of my posts, just to see what page would come next, as a test. I got the "wrong user ID" mentioned previously. Apparently, something wrong happens when you "warn user". It might have to do with the fact that there are previous associated databases. I shall reattempt this on my test board to see what happens.

Really wish there was a way to get this working. I understand how difficult this is.

Thanks!
rich

I had this on 3.0.8 and loved it and then i went to install this again because i had 3.5 and things went wrong big time, so bad that i had to install my forums from scratch again as nothing worked to resolve it. But then, i tried it again and everything went okay, but took me alot of work, if you read back on my other posts you will see what i had to go through lol. But i couldnt have a forum without this hack, John did an awesome job on 3.0.8 and deserves another thanks.
Reply With Quote
  #576  
Old 12-27-2005, 06:39 AM
docvader's Avatar
docvader docvader is offline
 
Join Date: Dec 2002
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hornstar1337
I had this on 3.0.8 and loved it and then i went to install this again because i had 3.5 and things went wrong big time, so bad that i had to install my forums from scratch again as nothing worked to resolve it. But then, i tried it again and everything went okay, but took me alot of work, if you read back on my other posts you will see what i had to go through lol. But i couldnt have a forum without this hack, John did an awesome job on 3.0.8 and deserves another thanks.
Well, horn, I'd love to get this hack back on my boards also. I wonder if, by reinstalling your forums, you wiped the old AWS databases. I really think that they interfere with the new install.

There has to be a way of "disabling" them, so that one can install the new hack on top of them. Or, just remove all the previous tables and start from scratch.

I just don't know what all they are. There are some in the Users table which are not obvious; some of the larger tables are easier to find.
Reply With Quote
  #577  
Old 12-28-2005, 06:14 AM
vampireus vampireus is offline
 
Join Date: Jan 2005
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by docvader
Maybe a totally clean install, removing all the previous databases, is the answer. Got any suggestions as to how to do that
Yes I also would like to know how to uninstall the hack completely + clear all related databse, so I can make a clean reinstall
Reply With Quote
  #578  
Old 12-30-2005, 05:34 PM
Freezerator Freezerator is offline
 
Join Date: Nov 2001
Location: Den Haag
Posts: 197
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by docvader
An error has occured, the following message has been left below:

Invalid User ID Input


John,
I get the same error, when issuing a warning on ANY post, for ANY user.

BTW, I've upgraded from AWS on 3.07 to this AWS on 3.52 also. Not sure if that's causing the problem. Maybe a totally clean install, removing all the previous databases, is the answer. Got any suggestions as to how to do that?

I got the same issue. I get a db error that a column is missing, here is some example code:

Code:
Database error in vBulletin 3.5.2:

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

MySQL Error  : Unknown column 'warnings' in 'field list'
Error Number : 1054
Date         : Friday, December 30th 2005 @ 07:23:30 PM
Script       : http://xxxxxx.net/forum/Warn.php
Referrer     : http://xxxxx.net/forum/Warn.php?do=WarnUser&id=6783&post=1749928
IP Address   : xx.xx.38.153
Username     : Freezerator
Classname    : vb_database
I have a table called warnings. I searched the thread, and this error has come after 23december. Thanks in advance.
Reply With Quote
  #579  
Old 12-30-2005, 06:03 PM
Freezerator Freezerator is offline
 
Join Date: Nov 2001
Location: Den Haag
Posts: 197
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fixed:

I ran this query on my users table:
Code:
ALTER TABLE user 
	ADD warnings INT(5) DEFAULT '0',
	ADD warning_level INT(15) DEFAULT '0', 
	ADD warning_bans INT(2) DEFAULT '0',
	ADD alerts INT(5) DEFAULT '0',
	ADD warn_notes SMALLINT DEFAULT '0'
;
It did the trick. I hope this helps for others to
Reply With Quote
  #580  
Old 12-30-2005, 06:28 PM
Zoomby Zoomby is offline
 
Join Date: Dec 2005
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After install I can't get into Admincp, get errors when "new post" = no new posts and after last 24h "Warning: in_array(): Wrong datatype for second argument in /search.php on line 269" around 30 lines then search
If I try to save something in UserCP i get "Could not find phrase '::$values for profile fields is not an array::'."
If I try to view user "This user has not registered and therefore does not have a profile to view."
If I try to wanr user "An error has occured, the following message has been left below:

Invalid User ID Input"

How to disable this hack if I can get into AdminCP...what files on server do I need to edit to get my forum back! Please don't say I have to reinstall!

If you didn't guess from my post, I'm new to this!
Reply With Quote
  #581  
Old 12-30-2005, 07:56 PM
Zoomby Zoomby is offline
 
Join Date: Dec 2005
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FIXED my problem!
Remove:
global $vbulletin;
line in functions_warning.php file

I don't belive this line caused all that trouble!!! one global! I did have to read every post and try every single change that was posted!

I didn't check everything, but for now I'm happy that I can get into AdminCP and warning, new posts and all is not returning any errors.

KirbyDE or sv1cec update this please in next hack update.

BTW great hack....



edit: after reading entire thread, I can see that this gloabl was metioned before...sorry for euphoria
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:57 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
  • Page Generation 0.05495 seconds
  • Memory Usage 2,333KB
  • 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
  • (2)bbcode_code
  • (6)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
  • (4)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