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.5 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.30 (24th April 2007)
Version 1.20 (2nd December 2006)
Version 1.10 (4th Feb 2006)
There is no functionality changes or bug fixes between these 2 releases. Version 1.0 (17th November 2005)
Deluxe Version of this hack is now available Has Avatars, PM's, Number of Posts etc. Click Here 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 |
#142
|
||||
|
||||
Quote:
It may or may not work, and make sure you back up your login_inc.php first. Find PHP Code:
PHP Code:
|
#143
|
|||
|
|||
It seems to be working properly right now. Thanks!
|
#144
|
|||
|
|||
This is my situation. I installed the Simple -version on my forum and it was working perfectly. No problems what-so-ever, things were going as smooth as I could hope.
Then I decided to setup a test forum, and proceeded by creating a testvb folder, protected it with htaccess and installed the test forum along with the Simple login extension. This is where the problems begun. According to vB instructions, the 'Path to Save Cookies' setting (Cookies and HTTP Header options) must be set to the directory of individual forums, if one runs more than one forum on the same domain. In my case, this meant that I set the path on my live forum to '/forums/' and on my test forums to '/testvb/forums/'. This, of course, meant that the Simple login extension stopped working on my live forums since the 'Path to Save Cookies' setting should be set to '/'. If, on the other hand, I leave the live forums setting to '/', then I am not able to log on to my test forums at all, while the extension works perfectly on the live forums. Does anyone see a way around this problem, or am I just out of luck. Is it possible to use this extension simultaneously and successfully on test forum thats running on the same domain with the 'live forum'. |
#145
|
|||
|
|||
Really cool hack, but i can't use it because i have a random banner / header script going on, and the..
PHP Code:
Dammit, any fix ? |
#146
|
||||
|
||||
Quote:
Can you post the first dozen lines or so of your page so we can have a look. |
#147
|
||||
|
||||
Confirmed working on vB 3.6 Beta 1
|
#148
|
|||
|
|||
Hi bill,
Ive not got the error codes handy - but ill show you my random banner script, if this doesn't help i will add it again and show the error codes that are confliciting with this script. PHP Code:
|
#149
|
||||
|
||||
Quote:
PHP Code:
|
#150
|
|||
|
|||
I don't really understand that, the random image script goes inside a table, and the php code your supposed to put at the top of the page won't work if it's in the table too, right? :s
|
#151
|
||||
|
||||
Quote:
Correct, my code wont work if its not at the very top of the page (before any output anyhow). I suspect that your banner script may be broken because of the directory change in my script. What was the exact error message you got? You can change back to current directory after my script if you like. I will post the code to do that as soon as I remember how... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|