Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

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
  #352  
Old 10-25-2005, 08:53 PM
Scout Scout is offline
 
Join Date: Sep 2004
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello from Russia!

Members can`t read warn-lists?
Reply With Quote
  #353  
Old 10-25-2005, 09:56 PM
Snoop-It's Avatar
Snoop-It Snoop-It is offline
 
Join Date: Jun 2005
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Andreas
The vBulletin 3.5 product system does handle settings that are attached to products.
However, if you already have the settings from the 3.0 Version in your database, you will run into problems.

Running this query before installing the product XML should take care of this:
[sql]
UPDATE setting SET product='aws' WHERE varname IN ('warn_version', 'warn_hierarchical', 'warn_automatic', 'warn_automaticpm', 'warn_autocomments', 'warn_automatic_warner', 'warn_warner', 'warn_collector', 'warn_banned_limit', 'warn_points_before_banned', 'warn_warnings_before_banned', 'warn_banned_usergroup_id', 'warn_protected_usergroups', 'warn_troll_usergroup_id', 'warn_restore_groupid', 'warn_incr_ban_days', 'warn_max_no_bans', 'warn_bans_mature', 'warn_viewoption', 'warn_multiple_per_post', 'warn_send_em_warning', 'warn_send_pm_warning', 'warn_email_on_ban', 'warn_historical', 'warn_allowoffpost', 'warn_warnings_per_page', 'warn_textbutoption', 'warn_modoption', 'warn_sig_thresshold', 'warn_avatar_thresshold', 'warn_aprotected_usergroups', 'warn_pmcutoff', 'warn_admingroups', 'warn_smodgroups', 'warn_modgroups', 'warn_savecopy', 'warn_savecopyforum', 'warn_allowalerts', 'warn_allowalertscomment', 'warn_alertslifetime', 'warn_savecopyalert', 'warn_includepost', 'warn_allownotes')[/sql]

Sorry to say, but that didn't solve the problem and on my database in the phpmyadmin part... there arnt any of those warn_ tables.. apart from..

vb3_warn_notes
vb3_warning_types
vb3_warnings

And i ran the query any way and it didn't work - it just gave me an error. i dont want to uninstall the old version as mydata on those tables will be gone.. the settings the options the people banned / warned etc...

Help... :ermm:
Reply With Quote
  #354  
Old 10-25-2005, 10:20 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Send me a PM with ACP details.
Reply With Quote
  #355  
Old 10-25-2005, 10:50 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Query fixed
Should be installed now.
Reply With Quote
  #356  
Old 10-25-2005, 11:05 PM
Snoop-It's Avatar
Snoop-It Snoop-It is offline
 
Join Date: Jun 2005
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

:banana: should i install it?? or would you like to do it?? lols :nervous:
Reply With Quote
  #357  
Old 10-25-2005, 11:52 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Erm ... as stated it is already installed.
Reply With Quote
  #358  
Old 10-26-2005, 02:26 AM
Michael-DLR Michael-DLR is offline
 
Join Date: Feb 2002
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi!

Let me start off by saying this is the best hack for VB in my opinion and I appreciate Andreas and sv1cec for working on this hack for us.

I do have an issue and are in need of some guideance. Moderators and SuperModerators are receiving auto warns even though they are in the correct usergroup id's assigned by VB. The set-up explains not to put them in the protected usergroup which I did not. I have tried though adding the id to the protected usergroup to see if it would help and it did not.

Any ideas what I am doing wrong? Thank you.
Reply With Quote
  #359  
Old 10-26-2005, 02:53 AM
TJFweb TJFweb is offline
 
Join Date: Dec 2001
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Andreas
@TJFweb
Hmm, feel free to provide better Templates
What exactly don't you like regarding them?
Hi,

This is no doubt a very good hack but I'll need to spend some time working out the necessary template edits (as I am using a non standard vB template) to get AWS to work. I think my custom style also affects the colspan of some of the tables in Warn.php.
Reply With Quote
  #360  
Old 10-26-2005, 03:08 AM
kangta kangta is offline
 
Join Date: Jan 2005
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

For some reason the install is taking forever for me. I go to upload the XML as a new product, and it sits there forever. I don't get the little expanding dots while it's installing or the finish notification or anything. I've just now figured out that the longer I let it sit, the more plugins/hooks get installed, not sure about templates, but I'll let it sit for longer than 5 minutes before interrupting it this time and see if it ever actually finishes.

Just wanted to point this out and/or see if anyone else was having the problem. I had the system for 3.0.x installed before we upgraded to 3.5.0. Didn't think of removing the old DB entries before I installed the new warning system, so that could have been part of my problem. Not sure at this point...
Reply With Quote
  #361  
Old 10-26-2005, 03:56 AM
TJFweb TJFweb is offline
 
Join Date: Dec 2001
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've managed to get it installed on my board ;-) Just had to manually sift through the edits to make sure that everything gets inserted in the right place. It's just that I'm not very comfortable with instructions that involve replacing huge slabs of code because I use a lot of custom hacks and have a non-standard vB style running on my board which I don't want to mess up.

Here's a tip for everyone who's installed this (fixes the colspan on Warn.php):

Open warn_viewtype_end template:

Replace
Code:
<tr>
	<td class="tfoot" colspan="7" align="right">Warning limit before being banned: $vboptions[warn_points_before_banned] points. Initial banning period: $vboptions[warn_banned_limit] days.</td>
</tr>
</tbody>
</table>
with
Code:
<tr>
	<td class="tfoot" colspan="8" align="right">Warning limit before being banned: $vboptions[warn_points_before_banned] points. Initial banning period: $vboptions[warn_banned_limit] days.</td>
</tr>
</tbody>
</table>
Reply With Quote
Reply

Thread Tools

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 05:38 PM.


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.10679 seconds
  • Memory Usage 2,317KB
  • 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
  • (2)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