Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > Advanced Warning System (AWS)
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools
3 Issues/Questions Details »»
3 Issues/Questions
Version: , by Immortal Immortal is offline
Developer Last Online: May 2010 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 08-14-2005 Last Update: Never Installs: 0
 
No support by the author.

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

Show Your Support

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

Comments
  #2  
Old 08-15-2005, 06:39 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #3  
Old 08-16-2005, 08:17 PM
Immortal Immortal is offline
 
Join Date: Jul 2005
Location: Cincinnati, OH
Posts: 403
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #4  
Old 08-17-2005, 04:30 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
  #5  
Old 08-17-2005, 08:08 PM
Immortal Immortal is offline
 
Join Date: Jul 2005
Location: Cincinnati, OH
Posts: 403
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Worked, must've passed that up! Thank you again John
  #6  
Old 08-17-2005, 08:17 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Most welcome Sir.
Closed Thread


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 09:01 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.09525 seconds
  • Memory Usage 2,252KB
  • Queries Executed 19 (?)
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
  • (3)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete