vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Cookie Ban ?? (https://vborg.vbsupport.ru/showthread.php?t=122527)

aveon 08-13-2006 05:34 PM

man noone doesnt kno about cookies its bad guys really bad all the other boards can do it and vbulletin should be betteer but i see noone cares...

any body there to help guys come on it been 2 weeks anyoone cant figure it out hmmmm

aveon 08-16-2006 02:27 AM

man we gave 160 for nothing no cosumer service nothing it been 2 weeks i gave to many cluee if i only knew anything about cookies i would figure it out but i cant...

Paul M 08-16-2006 05:27 PM

Just to be clear - this is not a Jelsoft Customer Service forum, this is a voluntary site for people to release vb modifications. There is no guarentee you will get any answer to your question.

aveon 09-09-2006 12:17 PM

anybody people this is so imporant please help me put with this
cant we improve ip bannning on vbulletin or how can we make ip banning process set a cookie on some ones computer from that ip and he will be blocked even if he reseta his ip come on friends

aveon 09-17-2006 07:00 PM

any idea to put a cookie to functions.php on this line

PHP Code:

#############################################################################
/**
* Checks to see if the IP address of the visiting user is banned from visiting
*
* This function will show an error and halt execution if the IP is banned.
*/
function verify_ip_ban()
{
    
// make sure we can contact the admin
    
if (THIS_SCRIPT == 'sendmessage' AND (empty($_REQUEST['do']) OR $_REQUEST['do'] == 'contactus' OR $_REQUEST['do'] == 'docontactus'))
    {
        return;
    }

    global 
$vbulletin;

    
$user_ipaddress IPADDRESS '.';

    if (
$vbulletin->options['enablebanning'] == AND $vbulletin->options['banip'] = trim($vbulletin->options['banip']))
    {
        
$addresses preg_split('#\s+#'$vbulletin->options['banip'], -1PREG_SPLIT_NO_EMPTY);
        foreach (
$addresses AS $banned_ip)
        {
            if (
strpos($banned_ip'*') === false AND $banned_ip{strlen($banned_ip) - 1} != '.')
            {
                
$banned_ip .= '.';
            }

            
$banned_ip_regex str_replace('\*''(.*)'preg_quote($banned_ip'#'));
            if (
preg_match('#^' $banned_ip_regex '#U'$user_ipaddress))
            {
                eval(
standard_error(fetch_error('banip'$vbulletin->options['contactuslink'])));
            }
        }
    }
}

// #############################################################################
/** 


aveon 09-30-2006 01:25 PM

come on coders cat anybody figure anything out?? :(

aveon 10-29-2006 08:42 PM

is there anybody out there that can help me with this im not good at coding any good coder can help me with this come on guys vb must be better than smf:ermm:

Mythotical 10-31-2006 08:35 AM

aveon, got your PM, I will test a few things with your code as it will have to be placed in a plugin. I'll make a post within the next 12-18 hours to let you know.

aveon 10-31-2006 10:30 AM

Quote:

Originally Posted by Steve M
aveon, got your PM, I will test a few things with your code as it will have to be placed in a plugin. I'll make a post within the next 12-18 hours to let you know.


thnx bro

aveon 11-09-2006 06:46 PM

it been 5 months since i requested this mod is it time that u guys help me on this??


All times are GMT. The time now is 03:21 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.01701 seconds
  • Memory Usage 1,746KB
  • 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
  • (3)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