vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - Advanced Warning System 3.6.7 (https://vborg.vbsupport.ru/showthread.php?t=124477)

EdQ 08-02-2007 06:27 PM

Any idea if using the old kill_warns.php will be a problem?

Delphiprogrammi 08-03-2007 11:55 AM

Quote:

Originally Posted by EdQ (Post 1308289)
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

EdQ 08-03-2007 02:27 PM

Quote:

Originally Posted by Delphiprogrammi (Post 1308895)
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:

EdQ 08-04-2007 03:06 AM

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

abo sfyan 08-04-2007 07:34 AM

Quote:

Originally Posted by Delphiprogrammi (Post 1308191)
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.
ــــــــــــــــــــــــــــــــــــــــــــــــــ ــــــــ

Delphiprogrammi 08-11-2007 12:00 PM

Quote:

Originally Posted by abo sfyan (Post 1309499)
ــــــــــــــــــــــــــــــــــــــــــــــــــ ـــــ
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:

Delphiprogrammi 08-11-2007 12:06 PM

Quote:

Originally Posted by EdQ (Post 1309399)
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

cynthetiq 08-11-2007 07:21 PM

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"

Delphiprogrammi 08-12-2007 08:47 AM

Quote:

Originally Posted by cynthetiq (Post 1315371)
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

shokmuzik.com 08-13-2007 07:16 PM

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>
--------------------------------------------------------------------------------



All times are GMT. The time now is 06:10 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.02430 seconds
  • Memory Usage 1,795KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (8)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete