vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Advanced Warning System (AWS) (https://vborg.vbsupport.ru/forumdisplay.php?f=105)
-   -   3 Issues/Questions (https://vborg.vbsupport.ru/showthread.php?t=94248)

Immortal 08-14-2005 12:14 AM

3 Issues/Questions
 
Firstly, great hack! I love the features, however I have 2 questions, and 1 issue I am having.

The first question is when they have been banned (10 points) it changes their user title to "Temporarily Banned", is there a way I can set this to be my default user title (Account Disabled)? I don't want everyone to know that they are "temporarily" banned, truthfully it's none of their concern.

The second question I have, is when we warn someone, there is no place to enter a comment? But in the email it is always blank, and I would love to be able to enter a comment. Ex in the email:
Quote:

The admin/moderator who warned you, entered this comment:

=======================================

=======================================
Is there a way I can enter the comment when warning?

And finally, the issue. I have PM disable set as "0" as I want them to be able to use it up until they are banned but yet, any banning points they get this in their email:
Quote:

Please note that your Private Messaging system in our Forums has been deactivated, due to your Warning Level.
Once again, great hack! And I thank you from the bottom of my heart, for creating such a wonderful thing! :)

Hello again John,

I also have a suggestion if you wouldn't mind..

On line 316, in mod_warn.php you assume that "modcp" is the correct name for the moderation control panel, infact not all of us use "modcp" (I being one), so I suggest you change line 316 to:
PHP Code:

    $d="<A HREF=\"{$vboptions[bburl]}/$modcpdir/mod_warn.php?do=showcomment&id=$warn[wid]\"  onclick=\"window.open('{$vboptions[bburl]}/$modcpdir/mod_warn.php?do=showcomment&id=$warn[wid]','','width=1024, height=500, resizable=yes, scrollbars=yes'); return false;\" target=\"_blank\">See Comment</a></font>"


sv1cec 08-15-2005 06:39 AM

1) Open functions_warning.php and search for the terms "Temporarily banned" and "Permanently banned". Change them to whatever you want.

2) When you warn someone and you are NOT using "Predefined comments", the program allows you to enter a comment each time you enter a warning.

3) Edit your functions_warning.php and find:

PHP Code:

if ($level >= $vboptions['warn_pmcutoff']) 

Replace that with:

PHP Code:

if ($level >= $vboptions['warn_pmcutoff'] AND $vboptions['warn_pmcutoff']!=0

Obviously a bug! I'll post a new version correcting that.

3) I guess you are right, I never thought of that.

Rgds

Immortal 08-16-2005 08:17 PM

Thanks John! :)

I applied everything, and it worked great! However, I am still not seeing where to enter the comment, I must be getting blind with my old age! I can see it perfectly fine when trying to warn for "Non-Post Related" (in the user profile), but I still cannot see it in the post part, in either one of my themes it's installed for. I took a screenshot, hopefully you have some insight!

http://img325.imageshack.us/img325/5850/aws1kl.jpg

sv1cec 08-17-2005 04:30 AM

Go into your adminCP, Warning System, Manage Warning Options. Find the one which says "Use Warning Type Description, as moderator comment, in Post-Related warnings?". Set that, to "No" and save the options. If that is set to "Yes" then the Warning Type Description is used as a moderator comment, and the form does not allow you to enter any other comment.

Let me know if this worked.

Immortal 08-17-2005 08:08 PM

Worked, must've passed that up! Thank you again John :)

sv1cec 08-17-2005 08:17 PM

Most welcome Sir.


All times are GMT. The time now is 07:31 PM.

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.01118 seconds
  • Memory Usage 1,727KB
  • 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
  • (3)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete