Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Intergrate VB security to non-vB page Details »»
Intergrate VB security to non-vB page
Version: 1.00, by certify certify is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 04-02-2002 Last Update: Never Installs: 27
 
No support by the author.

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/

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 05-28-2002, 10:51 AM
mars's Avatar
mars mars is offline
 
Join Date: Nov 2001
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #23  
Old 05-29-2002, 08:50 AM
mars's Avatar
mars mars is offline
 
Join Date: Nov 2001
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[high]* mars pats himself on the back...sorted don't worry [/high]
Reply With Quote
  #24  
Old 06-05-2002, 01:40 PM
CGarson CGarson is offline
 
Join Date: Jun 2002
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #25  
Old 06-06-2002, 02:03 PM
xamu's Avatar
xamu xamu is offline
 
Join Date: Feb 2002
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #26  
Old 07-26-2002, 07:02 PM
ryans ryans is offline
 
Join Date: Feb 2002
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can I get the full code for this script? It seems not to work.
Reply With Quote
  #27  
Old 11-26-2002, 04:21 AM
Highlander Highlander is offline
 
Join Date: Apr 2002
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #28  
Old 12-15-2002, 04:13 PM
Rushy Rushy is offline
 
Join Date: Apr 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #29  
Old 03-01-2004, 04:57 AM
Rampag33's Avatar
Rampag33 Rampag33 is offline
 
Join Date: Jun 2002
Location: Houston, Texas
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:01 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04323 seconds
  • Memory Usage 2,280KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete