Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Inferno Warning System v1.3 Details »»
Inferno Warning System v1.3
Version: 1.3, by Zero Tolerance Zero Tolerance is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.2 Rating:
Released: 08-04-2005 Last Update: 01-07-2006 Installs: 564
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

Well this was created purely for my own self and staff needs, but i'm sure you guys and gals will need a warning system to keep control over any member that doesn't wish to follow your rules.

The previews pretty much tell you all the features available, one that isn't shown is that the graphical representation of warnings will be displayed in a members profile, so that you may warn members via their profile or post(s).

v1.1 Updates:
- You can now enter a "Reason To Show User" input, this message is shown for users who are banned.
- Minor gramatical error in the ACP options.

v1.2 Updates:
- Missing template added (minor)
- WOL Fixed (minor)
- Unable to warn user via profile more than once if warn duplcation was not allowed (high)
- Ability to remove warnings
- ACP option to allow/disallow staff to remove warnings
- Warn log stretched page if it was large

1.3 Updates:
- Bug Fix: Warning points to be given were not consistant with maximum points allowed (the drop down menu went from 0 - 10 no matter what)
- Bug Fix: Those who cannot recieve PMs (either via turning it off themselves or due to other permissions) resulted in an error when you tried to warn them, this no longer happens but the PM will not send.
- Added new flexible warning expirations 'Hour' (Allows you to make the warnings expire in hours aswell as days/months)
- Added extensive flexible ban times (Now allowed to ban a user for x hours/days/months)
- Added post modifier notice (Allows the staff member to automatically add a notice to the top of the users post, allowing others to see that the post was warned)

Enjoy

- Zero Tolerance

Show Your Support

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

Comments
  #352  
Old 03-07-2006, 12:01 PM
Onur Onur is offline
 
Join Date: Oct 2005
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i don t know is it post earlyer in this thread but i have add on hook postbit_display_complete $post['userid'] != 0

like
Code:
global $vbulletin;
 
if ($post['postid'] && $post['userid'] != 0 && (can_moderate($forum['forumid']) || ($vbulletin->userinfo['userid'] == $post['userid'] && $vbulletin->options['warn_allow_view'])))
{
	require_once(DIR . '/includes/functions_warning.php');
	$show['warning'] = true;
	$post['warning'] = construct_warning_display($post, can_moderate($forum['forumid']));
}
so i disable displaying warnlevel for guests
Reply With Quote
  #353  
Old 03-07-2006, 06:13 PM
DannyITR DannyITR is offline
 
Join Date: Jan 2002
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry but I just noticed that my forum specific mods can warn/ban anywhere. This is a problem because I don't consider them real mods (they are like rent-a-mods) and are used only to move delete posts when necessary.

Is that normal? How can I fix it?

Also how can I make the warning level visible to all users?
Reply With Quote
  #354  
Old 03-08-2006, 12:43 PM
DannyITR DannyITR is offline
 
Join Date: Jan 2002
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really need tis mod fast. People are only seeing this warn logo next to their own name and nobody elses and the questions as to why are pooring in.
Reply With Quote
  #355  
Old 03-08-2006, 07:45 PM
DannyITR DannyITR is offline
 
Join Date: Jan 2002
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't beleive I'm the first to ask that it be visible to all users. The less smart people are complaining like crazy because they think its only them that has a warning meter.
Reply With Quote
  #356  
Old 03-11-2006, 05:02 PM
DannyITR DannyITR is offline
 
Join Date: Jan 2002
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone can help?
Reply With Quote
  #357  
Old 03-11-2006, 06:42 PM
Mathiau's Avatar
Mathiau Mathiau is offline
 
Join Date: Jan 2002
Location: Costa Rica and toronto
Posts: 227
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This looks greats, may try to conquer it later on
Reply With Quote
  #358  
Old 03-13-2006, 03:34 PM
DannyITR DannyITR is offline
 
Join Date: Jan 2002
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can someone help make the hack visible to all users and prevent section mods form using it?
Reply With Quote
  #359  
Old 03-14-2006, 08:04 AM
Pcparts Pcparts is offline
 
Join Date: May 2005
Location: Holland
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have this saved (was posted in this thread sometime ago):

With this insatalled, now on my forums only admins can see the warning leve indicator in each post. And users only see if they have been issued a warning.


Quote:
When I added this my users went nuts - had no clue what it was and those with 0% thought they were in trouble.

I made a slight modification:

Code:
if ($Current == 0 && $user['userid'] == $vbulletin->userinfo['userid']) { 
return 'No warnings.'; 
}
in the functions_warnings.php script above the return so that it would display No warnings to the user if they had a 0% score. This seems to have cut down on the panic.




Yes, because this only appears to the user themselves; not to the moderators who would warn that user. It's to avoid a 0% display which is confusing to my users.

I put it in the first function in functions_warning.php:


if ($Empty > 0)
{
for ($e = 0; $e < $Empty; $e++)
{
$Bits[] = bit_builder();
}
}

if ($Current == 0 && $user['userid'] == $vbulletin->userinfo['userid']) {
return 'No warnings.';
}


Reply With Quote
  #360  
Old 03-14-2006, 11:55 PM
sinaluna sinaluna is offline
 
Join Date: Feb 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you use the "PM the warned user" features of the Inferno Warning System, you might want to consider modifying warn.php to save the sent PM in the "sent Items" folder of the staff member that warned the user.

in warn.php, find this code:
PHP Code:
        if (!empty($Warning['pm']['title']) && !empty($Warning['pm']['message']))
        {
                
$pmdm =& datamanager_init('PM'$vbulletinERRTYPE_ARRAY);
                
$pmdm->set('fromuserid'$vbulletin->userinfo['userid']);
                
$pmdm->set('fromusername'$vbulletin->userinfo['username']);
                
$pmdm->set('title'$Warning['pm']['title']);
                
$pmdm->set('message'$Warning['pm']['message']);
                
$pmdm->set_recipients($UserData['username'], $null);
                
$pmdm->set('dateline'TIMENOW); 
And add this line at the end:
PHP Code:
                $pmdm->set_info('savecopy'true);      // MODIFICATION 
Final code should look like:
PHP Code:
        if (!empty($Warning['pm']['title']) && !empty($Warning['pm']['message']))
        {
                
$pmdm =& datamanager_init('PM'$vbulletinERRTYPE_ARRAY);
                
$pmdm->set('fromuserid'$vbulletin->userinfo['userid']);
                
$pmdm->set('fromusername'$vbulletin->userinfo['username']);
                
$pmdm->set('title'$Warning['pm']['title']);
                
$pmdm->set('message'$Warning['pm']['message']);
                
$pmdm->set_recipients($UserData['username'], $null);
                
$pmdm->set('dateline'TIMENOW);
                
$pmdm->set_info('savecopy'true);      // MODIFICATION 
Thats all there is to it. Hopefully this can become the default behaviour in future releases (/nudge /nudge)
Reply With Quote
  #361  
Old 03-15-2006, 02:36 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sinaluna
If you use the "PM the warned user" features of the Inferno Warning System, you might want to consider modifying warn.php to save the sent PM in the "sent Items" folder of the staff member that warned the user.

in warn.php, find this code:
PHP Code:
        if (!empty($Warning['pm']['title']) && !empty($Warning['pm']['message']))
        {
                
$pmdm =& datamanager_init('PM'$vbulletinERRTYPE_ARRAY);
                
$pmdm->set('fromuserid'$vbulletin->userinfo['userid']);
                
$pmdm->set('fromusername'$vbulletin->userinfo['username']);
                
$pmdm->set('title'$Warning['pm']['title']);
                
$pmdm->set('message'$Warning['pm']['message']);
                
$pmdm->set_recipients($UserData['username'], $null);
                
$pmdm->set('dateline'TIMENOW); 
And add this line at the end:
PHP Code:
                $pmdm->set_info('savecopy'true);      // MODIFICATION 
Final code should look like:
PHP Code:
        if (!empty($Warning['pm']['title']) && !empty($Warning['pm']['message']))
        {
                
$pmdm =& datamanager_init('PM'$vbulletinERRTYPE_ARRAY);
                
$pmdm->set('fromuserid'$vbulletin->userinfo['userid']);
                
$pmdm->set('fromusername'$vbulletin->userinfo['username']);
                
$pmdm->set('title'$Warning['pm']['title']);
                
$pmdm->set('message'$Warning['pm']['message']);
                
$pmdm->set_recipients($UserData['username'], $null);
                
$pmdm->set('dateline'TIMENOW);
                
$pmdm->set_info('savecopy'true);      // MODIFICATION 
Thats all there is to it. Hopefully this can become the default behaviour in future releases (/nudge /nudge)
Installed this extra feature will test. Thanks
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 08:12 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.05248 seconds
  • Memory Usage 2,379KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_code
  • (6)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
  • (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