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
Notification e-mails & more... Details »»
Notification e-mails & more...
Version: , by the3jams the3jams is offline
Developer Last Online: Nov 2006 Show Printable Version Email this Page

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

This is a great hack but I have a few questions.....

First, this is a fresh install on vb 3.0.6 with no other hacks. There are no hidden or automatic warners. Options for hidden warner, automatic warner, and userid of collector are all set to 0 in the admincp (default).

Now for my questions...
Is there anyway to make the ban notification e-mail appear to come from the person who issued the warning which put them over the limit?

Currently it will show the correct email address in the warning notification e-mail. However in the ban e-mail it always uses the e-mail address that is configured in the vb options.

I also noticed that the email does not have any of the variables (i.e. forum name or ban length). Here is a copy of the e-mail that is currently being received.
Quote:
Dear test,
We are sorry to inform you, that you have received enough warning points, to be banned from Forums Site.

This is a ban and will last for

Please reply back if you have a dispute.

----------------

Team


Also, is there anyway to have it unban the user when you do a "complete removal" of a warning that puts them under the limit, or do they have to wait for the cron to do it?

[edit] I just noticed that you mention to setup the cron for kill_warns but not for kill_bans. Does this cron get executed somewhere automatically?

Show Your Support

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

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

If you have defined no hidden warner, then the ban e-mail will also be send by the person who issued the warning which caused the ban.

As for the variables, you were right it was not passing the $vboptions variables to the routing. I will upload a corrected zip file, please download it and upload the files Warn.php and includes/functions_warning.php to your web server. Wait until version 3.1.7 is posted, that will have the corrected files. Also, do the changes in the file UpgradeToLatestVersion.txt.

Removing the ban: It's not wise to remove the ban automatically. The ban is the result of a cummilative effect. When you do a complete removal, the program cannot be sure if it was that particular warning that caused the ban, which is currently in effect, all it knows is that that particular warning has caused a ban. And it tells you so, when you do the complete removal and it reduces the number of bans by one for that user. But it is not up to the program to tell if the user should be unbanned or not, it's up to you to decide if you want to unban the user.

The bans are removed by the standard vBulletin cron job, the hack does not interfere there, that's why I am also using the standard vB table for the bans (userban).

Rgds
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 02:22 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.01646 seconds
  • Memory Usage 2,204KB
  • Queries Executed 17 (?)
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_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (1)postbit
  • (2)postbit_onlinestatus
  • (2)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_postinfo_query
  • fetch_postinfo
  • 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