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
  #442  
Old 08-02-2007, 06:27 PM
EdQ EdQ is offline
 
Join Date: Aug 2005
Location: Sunny San Diego
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any idea if using the old kill_warns.php will be a problem?
Reply With Quote
  #443  
Old 08-03-2007, 11:55 AM
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
Any idea if using the old kill_warns.php will be a problem?
Phrases will not work you could try enabling debuginfo in that file

find

PHP Code:
$userdm->save(); 
replace with

PHP Code:
$userdm->pre_save();
if(!empty(
$userdm->errors))
{
      die(
print_r($userdm->errors));
}
else
{
      
$userdm->save();

if you try to run it now it should come up with error messages now if anything is wrong
Reply With Quote
  #444  
Old 08-03-2007, 02:27 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
Phrases will not work you could try enabling debuginfo in that file

find

PHP Code:
$userdm->save(); 
replace with

PHP Code:
$userdm->pre_save();
if(!empty(
$userdm->errors))
{
      die(
print_r($userdm->errors));
}
else
{
      
$userdm->save();

if you try to run it now it should come up with error messages now if anything is wrong

Thanks. I went to try that with the current kill_warns.php and now it works. :dunno:
Reply With Quote
  #445  
Old 08-04-2007, 03:06 AM
EdQ EdQ is offline
 
Join Date: Aug 2005
Location: Sunny San Diego
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get this error when handing out a warning causing a ban

Quote:
Fatal error:
bmyers has chosen not to receive private messages or may not be allowed to receive private messages. Therefore you may not send your message to him/her.
Unable to proceed with save while $errors array is not empty in class vb_datamanager_pm in /includes/class_dm.php on line 765
Reply With Quote
  #446  
Old 08-04-2007, 07:34 AM
abo sfyan abo sfyan is offline
 
Join Date: Jul 2007
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Delphiprogrammi View Post
To use automatic warnings prom private messages

1) a warning type called 'ObsceneWords'
2) the "post related warning" must be set to auto
3)you must have some censored words in vbulletin options
4)last but not least you must enable this feature
ــــــــــــــــــــــــــــــــــــــــــــــــــ ـــــ
Welcome
ـــــــــــــــــــــــــــــــــــ
I do all that but nothing happened
if you notes in my last post
I say . when the user use censored words in their PMs

The automatic warnings do ok
and it band this user
That is namely I do all this conditions
ــــــــــــــــــــــــ

1) a warning type called 'ObsceneWords'
2) the "post related warning" must be set to auto
3)you must have some censored words in vbulletin options
4)last but not least you must enable this feature
ـــــــــــــــــ
And I enable this feature
ـــــــــــــــــــــ
Use Automatic Warnings from Posts?If set to Yes, the system will automatically issue warnings to users, who are caught to use censored words in their posts.
To use this, you HAVE to define an Automatic Warner (see below) and also you have to define a Warning Type called 'ObsceneWords'. If you do not do these, unexpected results can occur.
ــــــــــــــــــــــــــــــــــــــــــــــــــ ــــــــ
Reply With Quote
  #447  
Old 08-11-2007, 12:00 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by abo sfyan View Post
ــــــــــــــــــــــــــــــــــــــــــــــــــ ـــــ
Welcome
ـــــــــــــــــــــــــــــــــــ
I do all that but nothing happened
if you notes in my last post
I say . when the user use censored words in their PMs

The automatic warnings do ok
and it band this user
That is namely I do all this conditions
ــــــــــــــــــــــــ

1) a warning type called 'ObsceneWords'
2) the "post related warning" must be set to auto
3)you must have some censored words in vbulletin options
4)last but not least you must enable this feature
ـــــــــــــــــ
And I enable this feature
ـــــــــــــــــــــ
Use Automatic Warnings from Posts?If set to Yes, the system will automatically issue warnings to users, who are caught to use censored words in their posts.
To use this, you HAVE to define an Automatic Warner (see below) and also you have to define a Warning Type called 'ObsceneWords'. If you do not do these, unexpected results can occur.
ــــــــــــــــــــــــــــــــــــــــــــــــــ ــــــــ
the automatic warnings from threads / posts is not working i know.I liked that feature in the old days (before vBulletin 3.5.x) I know it is not working and i tryed several things to make it work but i'm failing sorry i'm to stupid :erm:
Reply With Quote
  #448  
Old 08-11-2007, 12:06 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
I get this error when handing out a warning causing a ban
quick and dirty workaround

/includes/functions_warning.php find

PHP Code:
$pmdm =& datamanager_init('PM',$vbulletin,ERRTYPE_ARRAY); 
change to
PHP Code:
$pmdm =& datamanager_init('PM',$vbulletin,ERRTYPE_SILENT); 
/admincp/admin_warn.php find

PHP Code:
$pmdm =& datamanager_init('PM',$vbulletin,ERRTYPE_CP); 
change to

PHP Code:
$pmdm =& datamanager_init('PM',$vbulletin,ERRTYPE_SILENT); 
save & upload

the pm still won't be sended but at least now the error messageis gone
Reply With Quote
  #449  
Old 08-11-2007, 07:21 PM
cynthetiq's Avatar
cynthetiq cynthetiq is offline
 
Join Date: Jul 2005
Location: NYC
Posts: 190
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't seem to see the buttons on the form like in the example; I just see links. How can I change that easily? Or can I change it easily to an icon instead of the words "Add note for Pantalaimon" "Warn Pantalaimon" "View Pantalaimon's warnings"
Reply With Quote
  #450  
Old 08-12-2007, 08:47 AM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cynthetiq View Post
I don't seem to see the buttons on the form like in the example; I just see links. How can I change that easily? Or can I change it easily to an icon instead of the words "Add note for Pantalaimon" "Warn Pantalaimon" "View Pantalaimon's warnings"
Yes i noticed that to if you switch it to text it shows fine switch it again to buttons and they will show up (if you have the corrosponding warningtypes) Icons well i'm not a graphial artiest and i wouldn't have a idea how to make an image that passes the user username ? it must be possible with GD i think but i wouldn't know how
Reply With Quote
  #451  
Old 08-13-2007, 07:16 PM
shokmuzik.com shokmuzik.com is offline
 
Join Date: Apr 2007
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I gad an issue withe this MEMBERINFO template edit, how can I fix this?

Code:
Find the following Text in Template MEMBERINFO
--------------------------------------------------------------------------------
<if condition="$show['profilepic']">
--------------------------------------------------------------------------------

Above that, insert the following Text
--------------------------------------------------------------------------------
 <td style="border-bottom:1px solid $stylevar[tborder_bgcolor]" align="$stylevar[right]" nowrap="nowrap">
   <div class="smallfont">
   <b>User ID :</b> $userinfo[userid]<br />
   <if condition="$showpoints==1">
   <if condition="$userinfo[alerts]>0">
   <font color="#ff0000">
   <phrase 1="$userinfo[alerts]">$vbphrase[aws_alerts_member_profile]</phrase><BR>
   <font color="#000000">
   </if>
   <if condition="$userinfo[warns]>0">
   <font color="#ff0000">
   <phrase 1="$userinfo[warns]">$vbphrase[aws_warnings_member_profile]</phrase><BR>
   <font color="#000000">
   </if>
   <if condition="$userinfo[warning_level]>0">
   <font color="#ff0000">
   <phrase 1="$userinfo[warning_level]">$vbphrase[aws_warninglevel_member_profile]</phrase><BR>
   <font color="#000000">
   </if>
   <if condition="$userinfo[warning_bans]>0">
   <font color="#ff0000">
   <phrase 1="$userinfo[warning_bans]">$vbphrase[aws_warningbans_member_profile]</phrase><BR>
   <font color="#000000">
   </if>
   </if>
   </td>
--------------------------------------------------------------------------------
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:41 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.08475 seconds
  • Memory Usage 2,357KB
  • 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
  • (9)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