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
  #152  
Old 09-17-2005, 11:24 PM
[Stryder] [Stryder] is offline
 
Join Date: Dec 2004
Location: Detroit, Michigan
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where do you set up the warning types, I can't find it.
Reply With Quote
  #153  
Old 09-17-2005, 11:28 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ACP / Advanced Warning System
Reply With Quote
  #154  
Old 09-17-2005, 11:53 PM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When T instal the product XML there is a Phrase Error even thought it updates all the templates.

Parse error: parse error, unexpected ';' in /forums/admincp/plugin.php(1192) : eval()'d code on line 12

The hack also caused a DB error whenever I tried to edit a user.
Reply With Quote
  #155  
Old 09-18-2005, 12:22 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Which product Version did you try to install?
Reply With Quote
  #156  
Old 09-18-2005, 03:38 AM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had an old product version, but still having a database problem when I try to edit a user. I uploaded the new PHP files just to be safe. It does not happen if I disable this hack.

PHP Code:
 Database error in vBulletin 3.5.0 Release Candidate 3Invalid SQL:
UPDATE user SET
### Bitfield: user.options ###
options = IF(options 8options 8options),
options = IF(options 1024optionsoptions 1024),
options = IF(options 16optionsoptions 16),
options = IF(options 256options 256options),
options = IF(options 512options 512options),
options = IF(options 32options 32options),
options = IF(options 2048optionsoptions 2048),
options = IF(options 4096options 4096options),
options = IF(options 1optionsoptions 1),
options = IF(options 2optionsoptions 2),
options = IF(options 4optionsoptions 4),
options = IF(options 64optionsoptions 64),
options = IF(options 128options 128options),
options = IF(options 32768options 32768options),
usertitle 'Wrestling Student',
customtitle 0,
username 'Mika',
email '',
languageid 1,
homepage '',
birthday_search '1972-01-18',
birthday '01-18-1972',
icq '',
aim '',
yahoo '',
msn '',
parentemail '',
posts 101,
referrerid 0,
ipaddress '***.***.***.***',
ucash '1838.59',
vbookie_cash 500,
alerts 0,
warnings 0,
warning_level 0,
warning_bans 0,
usergroupid 13,
reputationlevelid 5,
reputation 20,
pmpopup 1,
autosubscribe = -1,
threadedmode 0,
showvbcode 1,
styleid 0,
timezoneoffset '-6',
daysprune 0,
joindate 1125405420,
lastactivity 1127005860,
lastpost 1127005860,
membergroupids ''
WHERE userid 125MySQL Error Unknown column 'alerts' in 'field list'
Error Number 1054
Date         
SaturdaySeptember 17th 2005 11:27:07 PM
Script     
: /forums/admincp/user.php
Referrer     
: /forums/admincp/user.php?do=edit&u=125
IP Address 

Username     Xplorer4x4
Classname    
vb_database 
I am still getting a completley white DB error page(not just the main frame) when I click Statistics - Warnings Per User.
PHP Code:
Database error in vBulletin 3.5.0 Release Candidate 3:
Invalid SQL:
SELECT COUNT(*) AS users FROM user AS user where warnings>OR alerts>0;
MySQL Error Unknown column 'warnings' in 'where clause'
Error Number 1054
Date         
SaturdaySeptember 17th 2005 11:35:18 PM
Script     
http://www.xtremepain.net/forums/admincp/admin_warn.php?act=viewwarnedusers&type=warnings
Referrer     http://www.xtremepain.net/forums/admincp/index.php
IP Address 
Username     Xplorer4x4
Classname    
vb_database 
I am also noticing that if a user has entered a yahoo ID, 2 vertical columned yahoo icons apear under the typical horizontal row of online icons.

I also have a cutom profile field on my postbit_legacy. This has changed the font of it as well.

NOTE That I have not installed any template mods yet.

Any idea how to fix this? Thanks Kirby.
Reply With Quote
  #157  
Old 09-18-2005, 05:51 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you use the 3.0 Version and still have old Data (warnings, etc.) in your database?
If not I suggest to uninstall and then import the XML again.

There is no way your Templates can be affected if you did not apply Template Edits yet.
Reply With Quote
  #158  
Old 09-18-2005, 09:37 AM
SkyShadow SkyShadow is offline
 
Join Date: Jun 2003
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have installed a old version of AWS. I mean it was 3.4.10.

Is it possible to use the old databases with the 3.5. version of this hack?
Reply With Quote
  #159  
Old 09-18-2005, 10:01 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, should work just fine.
To be 100% safe, I suggest to backup AWS tables (warnings, warn_notes, pmtext_warned, ban_dates; maybe also user and userban) first.
Reply With Quote
  #160  
Old 09-18-2005, 04:56 PM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
Did you use the 3.0 Version and still have old Data (warnings, etc.) in your database?
If not I suggest to uninstall and then import the XML again.

There is no way your Templates can be affected if you did not apply Template Edits yet.
I uploaded the latest XML and PHP files. It erassed all the previous warning data.

As far as the Yahoo icon problem goes, well I only installed two hacks yesterday and I uninstalled the other(PayPal Donations Hack).

Thanks.
Reply With Quote
  #161  
Old 09-18-2005, 06:29 PM
Chad F. Chad F. is offline
 
Join Date: Nov 2004
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I try to delete a warning type it says "Unable To Find Warning Type [ Go Back ]"
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 12:30 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.09439 seconds
  • Memory Usage 2,356KB
  • Queries Executed 28 (?)
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_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_postinfo_query
  • fetch_postinfo
  • 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