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
  #462  
Old 05-10-2007, 07:43 PM
SimonP SimonP is offline
 
Join Date: Feb 2006
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is the auto-ban-fix f?r 3.6.x boards:

In file WARN.PHP search for this:
Code:
foreach ($vbulletin->usergroupcache AS $usergroupid => $usergroup)
		{
			if ($usergroup['genericoptions'] & $vbulletin->bf_ugp_genericoptions['isbannedgroup'])
			{
				if ($vbulletin->options['warn_ban_usergroup'] == $usergroupid)
				{
					$Found = $usergroupid;
				}

				$Temp = $usergroupid;
			}
		}
Replace all lines above with one line:
Code:
$Found=$vbulletin->options['warn_ban_usergroup'];
This removes the autosearch-for-ban-group feature that was failing in 3.6.x boards,

Also make sure that you have the set the correct Banned Usergroup-ID in AdminCP -> vBulletin Options -> Inferno Warning Options.
Reply With Quote
  #463  
Old 05-11-2007, 09:53 PM
LiLSnooP LiLSnooP is offline
 
Join Date: May 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SimonP View Post
Here is the auto-ban-fix f?r 3.6.x boards:

In file WARN.PHP search for this:
Code:
foreach ($vbulletin->usergroupcache AS $usergroupid => $usergroup)
		{
			if ($usergroup['genericoptions'] & $vbulletin->bf_ugp_genericoptions['isbannedgroup'])
			{
				if ($vbulletin->options['warn_ban_usergroup'] == $usergroupid)
				{
					$Found = $usergroupid;
				}

				$Temp = $usergroupid;
			}
		}
Replace all lines above with one line:
Code:
$Found=$vbulletin->options['warn_ban_usergroup'];
This removes the autosearch-for-ban-group feature that was failing in 3.6.x boards,

Also make sure that you have the set the correct Banned Usergroup-ID in AdminCP -> vBulletin Options -> Inferno Warning Options.

THX man it helps me !
Reply With Quote
  #464  
Old 05-26-2007, 02:25 PM
deepak7 deepak7 is offline
 
Join Date: Nov 2005
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this but disabled it cause I don't know (And didnt find the answer in previous pages!) how to:

- give permission to moderators also not only supermoderators
- (most important): HOW can I make warnings visible only to warned users! After I installed the hack only super moderators were able to see it
Reply With Quote
  #465  
Old 07-16-2007, 01:20 PM
aakhan136 aakhan136 is offline
 
Join Date: Nov 2006
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
Reply With Quote
  #466  
Old 10-10-2007, 11:41 AM
doopz doopz is offline
 
Join Date: Feb 2003
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello!

I seem to have a small problem.
Our Moderators and Super Moderators are unable to see the "View User's Warnings"

As far as I know all the settings in the AdminCP are correct.

Heres an output of the devdebug log:

Code:
(Page Generated in 0.88229 Seconds)
	AutomaticWarner1
	$threadedmode is empty
	(unspecified) fetch_permissions(222, 33868, 2,''); -> cached fperms for forum 222
	ignored users: 
	  USER IS A SUPER MODERATOR
	  USER IS A SUPER MODERATOR
	  USER IS A SUPER MODERATOR
	  USER IS A SUPER MODERATOR
	  USER IS A SUPER MODERATOR
	threadinfo[vote] = 
	hierarchical = 1
	useradmin = 0, postadmin = 1, usermod = 0, postmod = 0, usersmod = 0
	showpoints = , showwarnsignmgm = , showwarnsign = 
	showwarnlink = 0, showviewwarnlink = 0, showviewyourslink = 0
	  USER IS A SUPER MODERATOR
	returning smilies from the datastore
	returning smilies from the datastore
	(unspecified) fetch_permissions(222, 33868, 2,''); -> cached fperms for forum 222
	  USER IS A SUPER MODERATOR
	  USER IS A SUPER MODERATOR
	hierarchical = 1
	useradmin = 0, postadmin = 0, usermod = 0, postmod = 0, usersmod = 0
	showpoints = , showwarnsignmgm = , showwarnsign = 
	showwarnlink = 1, showviewwarnlink = 0, showviewyourslink = 0
	  USER IS A SUPER MODERATOR
	(unspecified) fetch_permissions(222, 33868, 2,''); -> cached fperms for forum 222
	  USER IS A SUPER MODERATOR
	hierarchical = 1
	useradmin = 0, postadmin = 1, usermod = 0, postmod = 0, usersmod = 0
	showpoints = , showwarnsignmgm = , showwarnsign = 
	showwarnlink = 0, showviewwarnlink = 0, showviewyourslink = 0
	  USER IS A SUPER MODERATOR
	(unspecified) fetch_permissions(0, 1, ,''); -> trying to get combined permissions for non $bbuserinfo
	(unspecified) fetch_permissions(222, 33868, 2,''); -> cached fperms for forum 222
	  USER IS A SUPER MODERATOR
	  USER IS A SUPER MODERATOR
	hierarchical = 1
	useradmin = 0, postadmin = 0, usermod = 0, postmod = 0, usersmod = 0
	showpoints = , showwarnsignmgm = , showwarnsign = 
	showwarnlink = 1, showviewwarnlink = 0, showviewyourslink = 0
	  USER IS A SUPER MODERATOR
	(unspecified) fetch_permissions(222, 33868, 2,''); -> cached fperms for forum 222
	  USER IS A SUPER MODERATOR
	  USER IS A SUPER MODERATOR
	hierarchical = 1
	useradmin = 0, postadmin = 0, usermod = 0, postmod = 0, usersmod = 0
	showpoints = , showwarnsignmgm = , showwarnsign = 
	showwarnlink = 1, showviewwarnlink = 0, showviewyourslink = 0
	  USER IS A SUPER MODERATOR
	(unspecified) fetch_permissions(0, 40675, ,''); -> trying to get combined permissions for non $bbuserinfo
	(unspecified) fetch_permissions(222, 33868, 2,''); -> cached fperms for forum 222
	  USER IS A SUPER MODERATOR
	  USER IS A SUPER MODERATOR
	hierarchical = 1
	useradmin = 0, postadmin = 0, usermod = 0, postmod = 0, usersmod = 0
	showpoints = , showwarnsignmgm = , showwarnsign = 
	showwarnlink = 1, showviewwarnlink = 0, showviewyourslink = 0
	  USER IS A SUPER MODERATOR
	(unspecified) fetch_permissions(0, 40675, ,''); -> trying to get combined permissions for non $bbuserinfo
	(unspecified) fetch_permissions(222, 33868, 2,''); -> cached fperms for forum 222
	  USER IS A SUPER MODERATOR
	  USER IS A SUPER MODERATOR
	hierarchical = 1
	useradmin = 0, postadmin = 0, usermod = 0, postmod = 0, usersmod = 0
	showpoints = , showwarnsignmgm = , showwarnsign = 
	showwarnlink = 1, showviewwarnlink = 0, showviewyourslink = 0
	  USER IS A SUPER MODERATOR
	(unspecified) fetch_permissions(222, 33868, 2,''); -> cached fperms for forum 222
	  USER IS A SUPER MODERATOR
	hierarchical = 1
	useradmin = 0, postadmin = 1, usermod = 0, postmod = 0, usersmod = 0
	showpoints = , showwarnsignmgm = , showwarnsign = 
	showwarnlink = 0, showviewwarnlink = 0, showviewyourslink = 0
	  USER IS A SUPER MODERATOR
	(unspecified) fetch_permissions(0, 1, ,''); -> trying to get combined permissions for non $bbuserinfo
	(unspecified) fetch_permissions(222, 33868, 2,''); -> cached fperms for forum 222
	  USER IS A SUPER MODERATOR
	  USER IS A SUPER MODERATOR
	hierarchical = 1
	useradmin = 0, postadmin = 0, usermod = 0, postmod = 0, usersmod = 0
	showpoints = , showwarnsignmgm = , showwarnsign = 
	showwarnlink = 1, showviewwarnlink = 0, showviewyourslink = 0
	  USER IS A SUPER MODERATOR
	(unspecified) fetch_permissions(0, 38817, ,''); -> trying to get combined permissions for non $bbuserinfo
	(unspecified) fetch_permissions(222, 33868, 2,''); -> cached fperms for forum 222
	  USER IS A SUPER MODERATOR
	First Post: 705739; Last Post: 705794
	  USER IS A SUPER MODERATOR
	  USER IS A SUPER MODERATOR
	  USER IS A SUPER MODERATOR
	  USER IS A SUPER MODERATOR
	  USER IS A SUPER MODERATOR
	  USER IS A SUPER MODERATOR
	  USER IS A SUPER MODERATOR
	  USER IS A SUPER MODERATOR
	  USER IS A SUPER MODERATOR
	php_sapi_name(): apache2handler
The moderators and Super Moderators are defined per usegroup ID, and view waring links is on.

Any suggestions?

Thanks in advance
Reply With Quote
  #467  
Old 10-11-2007, 11:08 PM
CoryNickerson CoryNickerson is offline
 
Join Date: Oct 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fatal error: Call to undefined function construct_warning_display() in /home/ezpknet/public_html/includes/class_postbit.php(296) : eval()'d code on line 7

what can i do to fix this error?
Reply With Quote
  #468  
Old 01-08-2008, 08:47 AM
powerful_rogue powerful_rogue is offline
 
Join Date: Jan 2007
Location: Kent
Posts: 603
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just installed on 3.6.7 and seems to be working fine
Reply With Quote
  #469  
Old 01-09-2008, 12:57 PM
powerful_rogue powerful_rogue is offline
 
Join Date: Jan 2007
Location: Kent
Posts: 603
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there an edit to the code which will remove the rights of moderators, so only admins and super mods can view and issue warnings?

Im guessing its something to do with:

Quote:
if ($_GET['do'] == 'removewarning')
{
if (!can_moderate() || !$vbulletin->options['can_del_warn'])
{
print_no_permission();
}

if (!$Warn = $DB->query_first("select w.*, u.* from " . TABLE_PREFIX . "warnlog w left join " . TABLE_PREFIX . "user u on(u.userid = w.w_user) where w.wid = '" . intval($_GET['log']) . "'"))
which is located in the warn.php

Any idea how this can be altered to put in the Admin + Supermod usergroup?

(If you search "can_moderate) in the warn.php you will notice that relates to the view/warn and delete.
Reply With Quote
  #470  
Old 02-04-2008, 03:33 PM
psxnet psxnet is offline
 
Join Date: Jan 2007
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Small problem

Everything works fine, EXCEPT it just refuses to auto ban people when the warning limit is reached.
Banned usergroup is set correctly in admincp

Running vBulletin 3.6.8 Patch Level 2

If anyone has come across this before I would be grateful if they could suggest a fix, as it is a great system apart from this.

Thanks.
Reply With Quote
  #471  
Old 07-09-2008, 03:53 PM
steve1966 steve1966 is offline
 
Join Date: Dec 2007
Posts: 504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi can someone please give me some full settings for this i am trying to install on v3,72


i complete the details here in step 4 but i get the message

what should i put in

Varname ?

Description ?

Log Phrase ?

Code:
Please Complete All Required Fields
step 4:
Add the following Cron task (ACP -> Scheduled Tasks -> Add New Scheduled Task):
--
Title: Inferno Warning Tasks
Day Of The Week: *
Day Of The Month: *
Hour: 23
Minute: 2 - - -
Log Entries: (Up to you)
Filename: ./includes/cron/warning.php
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 01:33 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.05129 seconds
  • Memory Usage 2,325KB
  • 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
  • (6)bbcode_code
  • (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
  • (1)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