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
  #362  
Old 07-17-2007, 08:47 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by provedel View Post
I am getting this error after install of AWS and wanto to change anything in profile of users...

Code:
Database error in vBulletin 3.6.7:
 
Invalid SQL:
UPDATE user SET
    ### Bitfield: user.options ###
        options = IF(options & 8, options - 8, options),
        options = IF(options & 1024, options, options + 1024),
        options = IF(options & 16, options, options + 16),
        options = IF(options & 256, options - 256, options),
        options = IF(options & 512, options, options + 512),
        options = IF(options & 32, options - 32, options),
        options = IF(options & 2048, options - 2048, options),
        options = IF(options & 131072, options - 131072, options),
        options = IF(options & 4096, options - 4096, options),
        options = IF(options & 1, options, options + 1),
        options = IF(options & 2, options, options + 2),
        options = IF(options & 4, options, options + 4),
        options = IF(options & 64, options, options + 64),
        options = IF(options & 128, options - 128, options),
        options = IF(options & 32768, options - 32768, options),
    ### Bitfield: user.adminoptions ###
        adminoptions = IF(adminoptions & 1, adminoptions, adminoptions + 1),
        adminoptions = IF(adminoptions & 2, adminoptions - 2, adminoptions),
    usertitle = 'Administra??o',
    customtitle = 1,
    username = 'Fabio',
    email = 'fabiosz@ig.com.br',
    languageid = 0,
    homepage = '',
    birthday_search = '0000-01-04',
    birthday = '01-04-0000',
    showbirthday = 3,
    icq = '',
    aim = '',
    yahoo = '',
    msn = '',
    skype = '',
    parentemail = '',
    referrerid = 0,
    ipaddress = '200.165.254.57',
    posts = 3167,
    alerts = 0,
    warns = 0,
    warning_level = 0,
    warning_bans = 0,
    usergroupid = 6,
    displaygroupid = 0,
    membergroupids = '34',
    reputationlevelid = 12,
    reputation = 180,
    warnings = 0,
    infractions = 0,
    ipoints = 0,
    pmpopup = 0,
    autosubscribe = -1,
    threadedmode = 0,
    showvbcode = 2,
    styleid = 0,
    timezoneoffset = '-3',
    daysprune = -1,
    joindate = 1088773200,
    lastactivity = 1184613480,
    lastpost = 1184349060
WHERE userid = 270;
 
MySQL Error  : Unknown column 'alerts' in 'field list'
Error Number : 1054
Date         : Monday, July 16th 2007 @ 03:41:05 PM
Script       : http://forum.plurall.org/admincp/user.php?do=update
Referrer     : http://forum.plurall.org/admincp/user.php?do=edit&u=270
IP Address   : 201.37.21.114
Username     : Sauron
Classname    : vb_database
Any help?
[SQL]
ALTER TABLE user ADD COLUMN alerts INT(5) DEFAULT '0';
[/SQL]
Reply With Quote
  #363  
Old 07-17-2007, 08:50 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

my server crashed today after looking for the problem for hours my host tech support found and solved it.I corrected the reported problems but i'm taking some time to test the changes as to "speedy" releases are never good
Reply With Quote
  #364  
Old 07-18-2007, 12:37 AM
Bravo Bravo is offline
 
Join Date: Nov 2006
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Delphiprogrammi View Post
yes you're right the first is a spelling error the second (the counter thing) is because of not correctly processing phrases that will be updated later today
Hey Delphi, Just wondering if you fixed the counter thing? cause I updated to (B) and it still wont show the counter
Reply With Quote
  #365  
Old 07-18-2007, 03:31 PM
provedel provedel is offline
 
Join Date: Mar 2005
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Delphi, where I manage the warnings types?
Reply With Quote
  #366  
Old 07-18-2007, 03:35 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bravo2007 View Post
Hey Delphi, Just wondering if you fixed the counter thing? cause I updated to (B) and it still wont show the counter
i have just updated it
Reply With Quote
  #367  
Old 07-18-2007, 03:36 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by provedel View Post
Hey Delphi, where I manage the warnings types?
admincp => Advanced Warning System => manage warning types or just type admin_warn.php?do=view
Reply With Quote
  #368  
Old 07-18-2007, 10:20 PM
Bravo Bravo is offline
 
Join Date: Nov 2006
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Delphiprogrammi View Post
i have just updated it
Thanks everything works perfect so far

BTW it seem this update also took care of the problem I was having eariler
with the BAN COUNT dispearing whenever I checked that Members Profile.
Reply With Quote
  #369  
Old 07-19-2007, 08:49 AM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi,

if a member warningsinfo is greater then 0 (zero) and you warning him again the "current warninginfo" displayed on the warningforms is not working as it should .I corrected this to fetch te update redownload and import product-aws.xml (set allow overwrite to yes) and make sure there is this code

HTML Code:
<phrase 1="{$user['alerts']}">$vbphrase[aws_alerts_npr]</phrase><br>
<phrase 1="{$user['warns']}">$vbphrase[aws_warnings_npr]</phrase><br>
<phrase 1="{$user['warning_level']}">$vbphrase[aws_warnpoints_npr]</phrase><br>
<phrase 1="{$user['warning_bans']}">$vbphrase[aws_bans_npr]</phrase>
in the warn_addwarn and warn_addwarn_nopost templates

that's all folks

Reply With Quote
  #370  
Old 07-19-2007, 03:14 PM
provedel provedel is offline
 
Join Date: Mar 2005
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Delphiprogrammi View Post
admincp => Advanced Warning System => manage warning types or just type admin_warn.php?do=view
Its strange, cannot see Advanced Warning System on admincp...

I missed anything?:erm:
Reply With Quote
  #371  
Old 07-19-2007, 03:18 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by provedel View Post
Its strange, cannot see Advanced Warning System on admincp...

I missed anything?:erm:
did you uploaded cpnav_aws.xml to /forums/includes/xml and refreshed your admincp ? anyway i found another problem in the current package and i took i temporarly away i will put it back when i fixed it
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 07:25 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.05389 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
  • (1)bbcode_code
  • (1)bbcode_html
  • (1)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