vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Inferno Warning System v1.3 (https://vborg.vbsupport.ru/showthread.php?t=93669)

Lea Verou 04-22-2006 10:18 PM

The other admin on my site found that weird bug:
If you decrease a user's warning level and the sum of his current warning level plus the amount that you are going to substract from it add up to more than the max level, the user gets banned, even though he shouldn't.
Example:
A user has 70%. You substract 40% from his warning level and instead of just having 30% afterwards, the user becomes banned and his warning level is 30% as it should.
I have no time to look at the code so I just report it in case someone can solve it (perhaps you ZT? :))
Have a happy easter :)

RS_Jelle 04-24-2006 09:48 AM

This is a known bug. I fixed it already, it's posted a few posts above your message ;)

Keyser S?ze 04-25-2006 12:58 AM

just a suggestion, but it would be great if it told the person who banned them

Noonster 04-26-2006 07:03 PM

Quote:

Originally Posted by satman123
hello

pls help me

how can ı closed maderatores cant give alert

Yeah I would like to do the same...

I would like to choose the usergroups that are able to warn people - IE on my forum i want only Admins to be able to warn and NOT moderators.

Is there some code I can put somewhere that will only allow the usergroups I want to give warnings but still allow everyone to see the meter.

Thanks and I hope someone can help ASAP!

johnn 04-26-2006 11:17 PM

Quote:

Originally Posted by Noonster
Yeah I would like to do the same...

I would like to choose the usergroups that are able to warn people - IE on my forum i want only Admins to be able to warn and NOT moderators.

Is there some code I can put somewhere that will only allow the usergroups I want to give warnings but still allow everyone to see the meter.

Thanks and I hope someone can help ASAP!

Here here! I would like the same!

COBRAws 04-27-2006 02:59 AM

Quote:

- 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)
Is there a way to add some Quotation marks or something to make it look different than being a simple edit? I mean, when you enter the modifier notice, it is added to the original warned post at the very top, but with any kind of edition or diference from the original text. Do I make myself clear?

Thank you.

DJ XtAzY 04-28-2006 03:49 AM

Quote:

Originally Posted by DannyITR
I think I may have to uninstall it too because there doesn't seem to be any support from the author and there are many features that appear to be lacking for a seemless operation.

if u go to his forums the reason y we dont see zero now because he had no internet access atm. He was forced to get a new home or something. His forum wil tell u y

board.trash 05-01-2006 04:40 PM

Quote:

Only my Admins & Super Moderators can warn people.
Same Problem here, with 3.5.3 it works finde.. but now with 3.5.4 only admin + smods can warn :cross-eyed: is there a fix?

thx

Kmaster 05-02-2006 12:50 AM

Quote:

Originally Posted by RS_Jelle
I had a look at it and it's easy to fix:

OPEN warn.php
FIND
PHP Code:

if ($vbulletin->options['warn_auto_ban'] && ($UserData['inferno_warn_level'] + $Warning['amount']) >= $vbulletin->options['warn_max_level']) 

REPLACE WITH
PHP Code:

if ($vbulletin->options['warn_auto_ban'] && ($UserData['inferno_warn_level'] + $Warning['amount']) >= $vbulletin->options['warn_max_level'] && $Warning['method'] == 'plus'


with above change, the person will get ban even they don't reach the max points.

VTXCafe.com 05-12-2006 05:33 AM

This works great but the problem is we added a "creative team" to help plan and design new features. They have been given mod access to their 1 forum but they have mod access to the whole site.

Anyone have a solution for this problem? I love the hack I'm just not wanting 10 more people with mod ability.


All times are GMT. The time now is 11:29 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.01642 seconds
  • Memory Usage 1,753KB
  • 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
  • (2)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete