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)

mars 05-28-2002 10:51 AM

lo :)
Same prob as x69..tried all the variations within this thread & still no luck...just end up on a blank white page

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

Code in my Global.php
................................................
$ipaddress=$REMOTE_ADDR;
$scriptpath=$REQUEST_URI;
//Begin VB Security Intergration Hack
if(!$urloverride) { $scriptpath=$REQUEST_URI; }
else { $scriptpath=urldecode($prevpage); }
//end VB Security Intergration Hack
if ($scriptpath=='') {
..............................................
Code on Protected page
..............................................
<?php include_once($DOCUMENT_ROOT . "/forum/global.php");
if ($bbuserinfo[userid]==0)
{
$thispage=urlencode("$PHP_SELF");
header("Location:http://www.ev0lution.co.uk/forum/use...de=1&prevpage=".$thispage);
}
?>
<html>


Asked certify about it on his forums..but he's a busy man !.....Anyone got any ideas ?

Thanx in advance :)

mars 05-29-2002 08:50 AM

[high]* mars pats himself on the back...sorted don't worry :)[/high]

CGarson 06-05-2002 01:40 PM

It wont work for me. I have the code entered in BEFORE my HTML tag. Even if I have text in the body, I don't get any output.

Thanks in advance

xamu 06-06-2002 02:03 PM

Quote:

Originally posted by CloakSim
Any clue on how to set this to a certain user group?
I'd like to know the answer to this too. I have free sections of my site and parts I want restricted to paying members. I created a user group called "Certified Member" and only they should have access to these restricted pages.

ryans 07-26-2002 07:02 PM

Can I get the full code for this script? It seems not to work.

Highlander 11-26-2002 04:21 AM

yes. for me also .. a pretty BLANK WHITE page.. its really not so easy to get it working :) ...

i also made all changes (global.php) but nthing happens if i load the test.php

Rushy 12-15-2002 04:13 PM

Yep I am having problems and I need to get this working asap :( I put the code in and it starts going to open the page but I then get a 404 even though the url is coprrect. I am not sure if it's because the page is calling an action ...

http://blah.com/maps.php?id=1162

or if I mess with the include path I get the white page problem

Any ideas, I am depserate for this to work and would really appreciate some help from someone.

Rampag33 03-01-2004 04:57 AM

Is there an update for vb3 rc4 on this. really needed.


All times are GMT. The time now is 06:54 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.01205 seconds
  • Memory Usage 1,728KB
  • 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_quote_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
  • (8)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