vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Miserable Users for vB3 (https://vborg.vbsupport.ru/showthread.php?t=59727)

RDX1 02-15-2004 05:23 PM

Quote:

Originally Posted by KuraFire
NerdNations, please put your PHP code in a PHP code block, NOT in a quote block!!!!


Well, it was the same code you posted except with the UserID changed. I had trouble with the code when I edited the times. I also tried with it unedited and it does not work.

PHP Code:

// Miserable Hack for vB3
    // Ported by KuraFire to vB3, original vB2 version by Zzed
    // #######################################################
    // Put the id of your Miserable Usergroup here:
    
$miserableid 13;
   
// Check to see if the user is a Miserable User
if (is_member_of(array('userid'=>$bbuserinfo['userid'], 'usergroupid'=>$bbuserinfo['usergroupid'], 'membergroupids'=>$bbuserinfo['membergroupids']), $miserableid))
    {
        
$glitch rand(60120);
        for(
$x=0$x<$glitch$x++)
        {
            echo 
' ';
            
sleep(1);
        }
    
        
$vboptions['floodchecktime'] *= 10;
        
$glitch rand(0100);
        if(
$glitch 90)
        {
            
$vboptions['enablesearches'] = 0;
        }
    
        
$glitch rand(0100);
       if (
$glitch 75)
       {
           eval(
'$headinclude = "' fetch_template('headinclude') . '";');
           eval(
'$header = "' fetch_template('header') . '";');
           eval(
'$footer = "' fetch_template('footer') . '";');
           eval(
'$timezone = "' fetch_template('timezone') . '";');
           eval(
'$gobutton = "' fetch_template('gobutton') . '";');
           
$vboptions['useforumjump'] = 0;
           eval(
print_standard_error('error_toobusy'));
       }
   
        
$glitch rand(0100);
       if (
$glitch 80)
        {
            if (
$glitch 50)
            {
                exit;
            }
        
$templatecache['headinclude'] = '<META HTTP-EQUIV=\"refresh\" CONTENT=\"5; URL=$vboptions[forumhome].php\" />' $templatecache['headinclude'];
        }
    }
    unset(
$ids$glitch$miserableid$x); 


KuraFire 02-15-2004 07:49 PM

*sigh*

okay, please REMOVE the part with the code from your earlier post where you have it in a QUOTE section.

We don't want code put in quote blocks because those are visible to non-licensed people, whereas code in code/php/html blocks is not.

Hence, please remove your php code in the quote block in this post. :)

RDX1 02-15-2004 09:03 PM

Quote:

Originally Posted by KuraFire
*sigh*

okay, please REMOVE the part with the code from your earlier post where you have it in a QUOTE section.

We don't want code put in quote blocks because those are visible to non-licensed people, whereas code in code/php/html blocks is not.

Hence, please remove your php code in the quote block in this post. :)

So what is the problem? Any help?

KuraFire 02-16-2004 05:28 PM

I think someone in the Dev team moved the function again, meaning I have to change this again.

*sigh*

I hate when they move functions to new files all the time.. :(

I'll look into it for the HTL version.

RDX1 02-16-2004 05:39 PM

Quote:

Originally Posted by KuraFire
I think someone in the Dev team moved the function again, meaning I have to change this again.

*sigh*

I hate when they move functions to new files all the time.. :(

I'll look into it for the HTL version.

I'm using Beta4, This was meant for what version? I'll upgrade when gold comes out..

KuraFire 02-17-2004 04:52 PM

Oh, you're using BETA 4?

Hrm, ok, this won't work until you upgrade to the current release.

You really shouldn't be using Beta 4 anymore, it's quite outdated and filled with several security holes...

RDX1 02-17-2004 05:40 PM

Quote:

Originally Posted by KuraFire
Oh, you're using BETA 4?

Hrm, ok, this won't work until you upgrade to the current release.

You really shouldn't be using Beta 4 anymore, it's quite outdated and filled with several security holes...

I'm doing fine. I'll upgrade when gold is released.

KuraFire 02-17-2004 06:40 PM

Most of the hacks that exist now will not work on beta 4 though :)

kneesparx 02-25-2004 07:33 PM

this hack is funny, i wont use it but i like it :D

Ocean 03-28-2004 11:08 PM

Is this hack fully stable and ready for vB 3.0 Gold? Or does it still need to be updated?


All times are GMT. The time now is 11:28 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.01183 seconds
  • Memory Usage 1,762KB
  • 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
  • (4)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