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

Reply
 
Thread Tools
Advanced Warning System 3.6.7 Details »»
Advanced Warning System 3.6.7
Version: 3.6.9(C), by Delphiprogrammi Delphiprogrammi is offline
Developer Last Online: Aug 2015 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.6.8 Rating:
Released: 08-19-2006 Last Update: 10-02-2007 Installs: 211
DB Changes Uses Plugins Template Edits
Code Changes Additional Files Is in Beta Stage  
No support by the author.

Advaned Warning System

This is a port of aws and i release this with permission...(yes i did ask the original author)

This version of the warning includes
  • 1 vbulletin 3.6.x product file (XML)
  • 1 admincp navigation XML
  • 1 functions file(functions_warning.php)
  • 3 images
  • 3 cronjobs
  • 1 modcp file to allow moderators to view warnings information without having to give admincp access(mod_warn.php)
  • 1 admincp file to manage the system options(admin_warn.php)
  • 1 XML to control permissions(bitfield_aws.xml)
For a completer list of the system features you can refer to this

This version will also require vbulletin 3.6.x to run.If you run 3.5.x or any other release then 3.6.x you will see a message.

This system is tested for a long time and i believe it's stable enough for a public release HOWEVER since this is a major hack and i'm just human please consider this first public run still as "beta"

instructions ow howto install can be found in the docs directory within the zip

statistics
  • 25 plugins
  • 27 templates
  • 5 new MySQL tables
  • 3 standard vbulletin tables alterd (user,post,and usergroup)
  • 827 phrases
  • 47 settings
updates

A problem has been found where no link is provided to view your own warnings(normal users) in the member profile only i fixed this.To get the fix you will need to reedit your "MEMBERINFO" template and reimport product-aws.xml (set allow overwrite to yes)

15-9-2006
I moved the cron jobs from the install/uinstall code to the product file.
version check url now uses https://vborg.vbsupport.ru/misc.php?...rsion&t=124477

to upgrade read upgrade.txt in the docs directory

24-9-2006

a product depency whas added the system will no longer install on PHP 5 (in response to continued error reports on that PHP version)

to report a possible bug

please go the system bugtracker here you can use the folowwing account

username:bugreporter
password:awsbug

no need to register yourself


30-11-2006
People on PHP 5 can follow this instructions to avoid the PHP version related error message BUT remember you are on your own if you do this.I won't upgrade my PHP until PHP 5 is there main stable release (www.php.net)


1-1-2007
A bug has been reported in the system.This bug whas causing vbulletin to throw an error when you try to use admincp => users=> add a new user

Quote:
Fatal error: Call to a member function clean_gpc() on a non-object in class_dm_user.php(2385) : eval()'d code on line 35
Solution

Edit plugin "AWS:warn link in usermanager" and replace all code with this

PHP Code:
$quicklinks["../Warn.php?" $vbulletin->session->vars['sessionurl'] . "do=WarnUserNoPost&id=" $vbulletin->GPC['userid']] = $vbphrase['aws_warn_user_admin']; 
i'll update the package when i get home


Another Bug is fixed

This release includes a fix for the problem "call to member function on a non object class_dm_user.php)" when you try to add a new user manaually (after submitting the form)

Supporters / CoAuthors

Show Your Support

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

Comments
  #402  
Old 07-23-2007, 02:58 AM
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay I think I fixed my above problem, but now have another one. My test registered user, even with the aws permission set to allow user to view warnings, I am getting that the user is restricted from doing so.
Reply With Quote
  #403  
Old 07-23-2007, 09:13 AM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SilverBoy View Post
I solved one problem
Code:
if($_GET['do'] != 'viewmywarnings')
{
    if(!can_moderate())
    {
        print_no_permission();
    }
}
again you have capital letters missed
yes indeed that will throw up a standard vBulletin permission denied page it should be

PHP Code:
if($_GET['do'] != 'ViewMyWarnings')
{
    if(!
can_moderate())
    {
        
print_no_permission();
    }

Junkie this will also fix your problem it's in Warn.php starting line 81
Reply With Quote
  #404  
Old 07-23-2007, 01:37 PM
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Made the changes and everything now works. Thanks.
Reply With Quote
  #405  
Old 07-23-2007, 06:45 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SilverBoy View Post
I tried removing warning and redirect works ok.

now I can say the problem of seeing other users warnings exist because the user is the starter of the thread and get warning in it !!! (but only in the first page of the thread)

another point

when give a user warning we missed warning level in "Current warnings info:" I think it is important to be there.

again for errors when give a warning with pm, the old version of this hack was ignored pm lenght and if the user can read pm
again my tests are showing to me that the system works as intended.If you issue a warning to the member "testmember" only "testmember" and mods (and up) can see the details about the warning.It is possible warning points and such (the counters) are visible but then you have set the viewingoption to all

I can add an option to set an emailadress that will show up in emails send out by the system this way you will not reveal personal email adresses but all your mods will have toi have access to this mailbox
Reply With Quote
  #406  
Old 07-23-2007, 06:52 PM
SilverBoy SilverBoy is offline
 
Join Date: Feb 2002
Location: Libya
Posts: 497
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

iam sure its set to mgm
Reply With Quote
  #407  
Old 07-25-2007, 04:38 PM
Bellardia Bellardia is offline
 
Join Date: Jul 2007
Location: Hamilton, Ontario
Posts: 378
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is a glitch in the AWS options.

The number of warnings before ban will not change, it stays at 10. No matter how many times I save it, it changes back to 10.
Reply With Quote
  #408  
Old 07-25-2007, 09:22 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bellardia View Post
There is a glitch in the AWS options.

The number of warnings before ban will not change, it stays at 10. No matter how many times I save it, it changes back to 10.
hmmz that is working fine in here will do some tests through
Reply With Quote
  #409  
Old 07-27-2007, 07:52 PM
EdQ EdQ is offline
 
Join Date: Aug 2005
Location: Sunny San Diego
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sv1cec View Post
The members can not see the details of the warnings, they can see how many warning points other members have and how many warnings, but not the details.

The cron job will either render the warnings "Inactive" or it will remove them all together. It depends on your settings in the AdminCP. If you are using the Historical option, warnings are never deleted completely. They always remain in the members accounts, so that (a) they act as reminders for the members and (b) they show the members past history to the admin team. If you want the warnings to be completely deleted, you may select not to maintain historical data.
Quote:
I tried not maintaining the historical data. The warnings drop of when they mature (which is what I want) But now the bans drop off when the ban ends. Not when they mature.
Is there a option for this?
Reply With Quote
  #410  
Old 07-27-2007, 09:25 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EdQ View Post
Is there a option for this?
Bans maturity periodEnter the number of days, a ban remains in a member's account. If set to '0', then the bans remain in the members accounts for ever. If set to a different number, a cron job will reduce the number of bans in a member's account by one, after so many days pass, from the day that ban was applied.
Attention: This does not mean that the user is unbanned. If you have a banning period of 7 days and you have set the bans maturity period to 5 days, the ban will be removed from the user's account after 5 days, but he will still be banned for another 2 days. In a production system, this option should always be much larger than the number of days a member is banned, when he reaches the ban limit.
This option obviously applies only to non-permanent bans.

admincp => Advanced Warning System => Manage Warning Options => Banning Options => Ban Maturity Period
Reply With Quote
  #411  
Old 07-27-2007, 09:43 PM
EdQ EdQ is offline
 
Join Date: Aug 2005
Location: Sunny San Diego
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Delphiprogrammi View Post
Bans maturity periodEnter the number of days, a ban remains in a member's account. If set to '0', then the bans remain in the members accounts for ever. If set to a different number, a cron job will reduce the number of bans in a member's account by one, after so many days pass, from the day that ban was applied.
Attention: This does not mean that the user is unbanned. If you have a banning period of 7 days and you have set the bans maturity period to 5 days, the ban will be removed from the user's account after 5 days, but he will still be banned for another 2 days. In a production system, this option should always be much larger than the number of days a member is banned, when he reaches the ban limit.
This option obviously applies only to non-permanent bans.

admincp => Advanced Warning System => Manage Warning Options => Banning Options => Ban Maturity Period

I understand that, but does it matter if I use historical data?

I prefer not to so the warnings will come off when they mature. It seems when I use historical data, warnings are not removed when they mature. Just the warning level.


I am not sure if I am getting my point across.

Using historical data.
Warning Level is removed when matured
Warning is never removed (Not what I want)
Warning Bans stay until matured.

Not using historical data.
Warning Level is removed when matured
Warning is removed when matured
Warning Bans are removed when the ban ends. (Not what I want)

What I would like to see if either the warning or ban matures. It drops off the users account.
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 06:10 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.06130 seconds
  • Memory Usage 2,331KB
  • 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
  • (1)bbcode_code
  • (2)bbcode_php
  • (8)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
  • (2)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