vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Intergrate VB security to non-vB page (https://vborg.vbsupport.ru/showthread.php?t=36934)

certify 04-02-2002 10:00 PM

Intergrate VB security to non-vB page
 
This is a simple Hack which will utilize VB security and will automatically foward back to the referrer url after login or register. Enjoy! :)

We have been using this hack for almost 8 months now on our online exam
http://www.certifyexpress.com/exam/microsoft/mcse/

kineda 04-04-2002 09:29 PM

I tried installing this hack on a test page but it doesn't work.

Here's the error:
Warning: Failed opening 'home/kinedac/www/forums/global.php' for inclusion (include_path='') in /home/kinedac/public_html/new2/index_test.php on line 8

Warning: Cannot add header information - headers already sent by (output started at /home/kinedac/public_html/new2/index_test.php:7) in /home/kinedac/public_html/new2/index_test.php on line 14

the url is: http://www.kineda.com/new2/index_test.php

Psychdrone 04-04-2002 10:04 PM

I like it, but havn't tried to install it yet!

Dose it work??

kineda 04-04-2002 11:16 PM

Still not working... I wish it did.

I've gotten past the first error that I posted, and now I'm getting this one:

Fatal error: Failed opening required './admin/config.php' (include_path='') in /home/kinedac/public_html/forums/global.php on line 78

Please help!

http://www.kineda.com/new2/index_test.php

certify 04-05-2002 07:37 AM

Can you post the code for index_test.php?

E 04-05-2002 08:14 AM

yea he needs too certify that its right :)

kineda 04-05-2002 02:54 PM

PHP Code:


<? 
include_once("../forums/global.php");    
    if ($bbuserinfo[userid]==0) 
    {
        $thispage=urlencode("$PHP_SELF?quiz=$quiz");
        header("Location:[url]http://www.kineda.com/forums/usercp.php?urloverride=1&prevpage=[/url]".$thispage);
    }
?>
<html>
<head>
<title>Kineda::Give into the TemptAsian</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="style.css" type="text/css">
</head>

<body bgcolor="#FFFFFF" text="#000000" background="images/background.gif" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

Here's the first part of it. The rest of it is exactly the same as;
www.kineda.com/new2/index.html

certify 04-08-2002 09:01 AM

remove this line ?quiz=$quiz as this is an example.

kineda 04-08-2002 05:39 PM

PHP Code:


<? 
include_once("../forums/global.php");    
    if ($bbuserinfo[userid]==0) 
    {
        $thispage=urlencode("$PHP_SELF");
        header("Location:[url]http://www.kineda.com/forums/usercp.php?urloverride=1&prevpage=[/url]".$thispage);
    }
?>
<html>
<head>
<title>Kineda::Give into the TemptAsian</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="style.css" type="text/css">
</head>

Still getting the same error and I've removed that code section you mentioned.

kineda 04-09-2002 09:52 PM

Bump. TTT.

Any word on why this is still giving me an error?

Thanks.


All times are GMT. The time now is 11:09 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.01218 seconds
  • Memory Usage 1,737KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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