vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - Advanced Ipban Manager (https://vborg.vbsupport.ru/showthread.php?t=227013)

Carnage 03-11-2010 10:10 AM

Yep, I have this installed and working on 4.0.2

Sador 03-11-2010 01:01 PM

Some kind of quick IP banner from the postbit (banning the IP of that post) would be a nice feature.

Anyway, it's a nice mod.

wolfyman 03-21-2010 06:21 PM

where do I enable this for a usergroup?

I want my super mods to be able to use it, but I can't find that setting!

ViktorDA 03-21-2010 08:01 PM

Thank you.
Installed.

wolfyman 03-21-2010 08:40 PM

Quote:

Originally Posted by ViktorDA (Post 2007737)
Thank you.
Installed.

did you figure out where to give access to this tool by usergroup?

Carnage 03-22-2010 11:18 AM

This is an admin cp tool; for someone to access it they need to be a) an admin and b) be given the admin permission 'Can Administer Ipbans'

TheVoidz 04-15-2010 04:58 AM

I am having a problem with this mod. My web servers run on 32 bit systems, I believe PHP is having a problem with the use of bitwise operators because of this. Any suggestions?

Carnage 04-15-2010 01:57 PM

IP's are 32 bits; so it should be ok...

Can you describe the specific symptoms this is causing I may be able to come up with a work around.

TheVoidz 04-15-2010 02:23 PM

I believe the problem exists here;
PHP Code:

$ip=sprintf("%u",ip2long($vbulletin->GPC['ip']));
$cidrmask = ((pow(2,$vbulletin->GPC['cidr']) -1) << (32 $vbulletin->GPC['cidr'])); //nb only works with ipv4. for ipv6 changes need to be made.

$ip $ip $cidrmask

Specifically with the last statement, and only when $ip is implicitly cast to a float(?). What happens is any ban above 127.255.255.255 results in PHP returning a maximum of 2147483647 not allowing anyone to ban anything above that range.

Da-Vinci 04-15-2010 04:07 PM

It works great for me, thanks for all your effort and hard work


All times are GMT. The time now is 02:20 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.01213 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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