The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Simple vB User login and access control on non vB pages Details »» | |||||||||||||||||||||||||||
Simple vB User login and access control on non vB pages
Developer Last Online: Nov 2011
Hack Description
This is a cutdown version of the user authentication and access control system I use on the non vB pages on my website. This uses the vB 3.6 login system to log you in and out. It allows you to move between your forums and other pages on your site while remaining logged in. It allows you to do things such as restrict pages by usergroup, display different content depending on a user being logged in or not. For example, you can have banner Adds displying to non members only, and/or let members access to specific content. Ive cut it down to the bare minimum that it needs to work, no fancy stuff such as avatars, PM's, or even formating. I will try and offer support, but work and family commitments mean I dont have much free time. This code is a mix of my own, and pieces I have used from other hacks that are floating around. This script has been confirmed as working on
Changelog Version 1.10 (24th April 2007)
Version 1.0 (2nd December 2006)
Click on Install If you have this script installed then please click on the install link because;
Donations First of all, to be clear. This script is 100% free. However if you feel an urge to donate I'm not going to say no. Donations can be made at http://www.billspaintball.com/vb3/bd_donate.php Show Your Support
|
Comments |
#72
|
|||
|
|||
having a problem, im using this addon
I'm not a PHP PRO --- but now i can not use simple dynamic include urls (www.site.com?page=Staff) <?php $page = $_GET['page']; if (!empty($page)) { $page .= '.php'; i else { include('news.html'); } ?> when i delete global.php from require it works fine >< does anyone have any ideas? Thanks. |
#73
|
||||
|
||||
Quote:
Im not sure if $page is a vB variable or not. If possible try renaming your variable to something different such as mypage and see if that fixes it. |
#74
|
|||
|
|||
I tried alot of random names like , "exile, happy, thispage,content, con etc etc" thats not the case. I guess its something to do with global.php . I hope someone can figure out a way around this if not im screwed
|
#75
|
|||
|
|||
ok i got a problem when im logged in to the forum everything works find but when im not logged in i get this error on my homepage.
Unable to add cookies, header already sent. File: /home/gamer/public_html/index.php Line: 11 this file is a encoded script by the author so i am lost. why does it give me this error only when im not logged in? |
#76
|
|||
|
|||
ok i fixed the last issue now im having another issue when i try to login i get this in my Address bar and it doesnt log me in
http://www.gamersiege.com/index.php?...5password_utf= changed personal info for apparent reasons Fixed that had a open form on the page now im getting the infamous Fatal error: Call to a member function on a non-object on line 150 ok before i get the normal response i have tried everything as requested. http://gamersiege.com |
#77
|
||||
|
||||
Can you post the code for your login_inc.php file.
|
#78
|
|||
|
|||
PHP Code:
|
#79
|
||||
|
||||
Looks like you have it all fixed now.
I created an account on your forums and logged in and out ok. What was the problem in the end? Account I created was billtest, you may want to delete it now. |
#80
|
|||
|
|||
I removed this part of the code
which i really wanted to use. and wish i could still use PHP Code:
im using 3.6.5 |
#81
|
||||
|
||||
good stuff
Tagged for future use |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|