The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Deluxe vB User login and access control on non vB pages Details »» | |||||||||||||||||||||||||||
Deluxe vB User login and access control on non vB pages
Developer Last Online: Nov 2011
Hack Description
This is the deluxe version of the user authentication and access control system I use on the non vB pages on my website. For the simple no frills version look here. 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. It also displays the logged in users Avatar, number of unread PM's, New posts since last visit, total posts and total threads. It also allows you to specify a maximum Avatar size, and resize any avatars larger than that, while keeping their height/width ratios in proportion! Its very handy if you allow large avatars, but want a small format display on your non forum pages. If the user is not logged in, a login box is displayed, along with total posts and total threads in the forums. 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 is a work in progress and currently a beta version. It was a little rushed as a few people were pushing for it Its missing a couple of planned things like newest member etc, but they will be added in a later version. This script has been confirmed as working on
Known Bugs Will not display Avatars correctly if they are kept in the file system (database avatars are fine) Changelog Version 2.20 (24th April 2007)
Version 2.10 (4th June 2006)
Version 2.00 (16th April 2006)
You will need to re-edit the path on line 3 and also redo any formatting changes you may have done for the last version. Version 1.0 (15th Feb 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 |
#362
|
|||
|
|||
hey, works fine on a 3.6.8 vB too, thanks a lot !
|
#363
|
|||
|
|||
Hello, fantastic script. But I'm having a few problems. First off, I'd just like to note that my forums is located in a directory called "forums". The script will show me logged in for about 3 minutes or less, and then will show me as logged off; but still logged in on the actual forums. My site is coded like so:
Code:
<?php include("header.php"); ?>CONTENT GOES HERE<?php include("footer.php"); ?> Naturally, I put the (with my directory settings, obviously) PHP Code:
Please help, thanks. |
#364
|
|||||
|
|||||
Quote:
Also, I can't style anything in the login form even when it says "you can style this with CSS or HTML" It breaks the form and throws back a bunch of errors about Quote:
Finally, Unless I COMPLETELY remove most of the new posts stats code at the bottom of the login_inc.php file, I get this error: Quote:
[Edit: I notice you told another user with this error: Quote:
Quote:
If thats not where it goes, then where? Also it's obvious by the error message that it is accessing the file successfully, theres just a problem with the line 150. Thank you for all the hard work, and I'm sure these are simple fixes. I just need some help to get it working I thinks. -Troy |
#365
|
|||
|
|||
For those who are running vBExternal and this mod or the Simple Login Mod, and are running any version of vb 3.6.x, well I came up with a simpler solution to have both run simultaneously.
To prevent a conflict: 1) You need to create a separate blank page just to display the news feed from the vBExternal source. Make a blank page (e.g. newsfeed.php) Set it up for vbexternal by inserting the pull code at the very top of your HTML code before the header and all that... Code:
<?php chdir('./forum'); require_once('./vBExternal.php'); ?><HTML> 2) Insert within the <HTML></HTML> tags, whatever you would like to display, whether it be news, last ten posters, etc. e.g. Code:
<?php output_News4(10,56); ?> Code:
<? include("http://www.yoursite.com/path/to/newsfeed.php"); ?> 4) Enjoy News and Login without complications. I will be posting a demo within the next day or so when I reorganize my site. Live Demo at http://www.grandtheftcentral.com/ |
#366
|
|||
|
|||
Quote:
EDIT It now works, I simply moved the login_inc.php to the root directory, where my test page is and I now log in (and out) successfully. Yeh me!! PS: Thanks for the mod. |
#367
|
|||
|
|||
Thank you
|
#368
|
|||
|
|||
Sorry I am using 3.6.8 and I only uploaded this page hoping that it would display an empty page but looks like somewhere the main object is becoming null
This is my page: Quote:
Quote:
|
#369
|
|||
|
|||
This code no work on my joomla page =[ any solution?
|
#370
|
|||
|
|||
I have this login script on my website e.g. http://www.site1.com/ and my forums are at http://www.site2.com/ when i login in the script it goes to site2.com and says successfully logged in, then redirects back to site1 but isn't logged in. (it still displays the login script)
Is there a fix for this? Thanks. |
#371
|
|||
|
|||
Get this great hack and can't figure out my fault.
The login works correctly but the logout don't work and I don't know why. Do anybody know a solution? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|