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 |
#322
|
||||
|
||||
Quote:
This line here Code:
</table></td>\"; Code:
</table></td>"; (Escaping the " ment that you never ended that PHP statement correctly) |
#323
|
||||
|
||||
Also, I recommend taking a few online tutorials on using HTML with PHP.
You really just need a basic level of experience in using them togeather and it all becomes clear. |
#324
|
|||
|
|||
Hi,
Ye I have sorted it all now, well on way with it all now |
#325
|
|||
|
|||
Is there anyway to use this (i.e. including global to make logging in easy to sort out) without it auto banning banned users from our own pages?
The site I'd like to use this on will have a separate banning system on the site itself as forum bans shouldn't result in suspensions from the rest of the site. The two are very unrelated and as such shouldn't affect each other's bans. |
#326
|
||||
|
||||
Quote:
|
#327
|
|||
|
|||
hi,
at first i have to say big thanks for this script, i need it very much and it looks pretty cool, but i have problem with it: the script works fine in this way: i created an extra logintest.php with this contents: require_once('/srv/www/htdocs/web0/html/v4/vb3/global.php'); require_once('/srv/www/htdocs/web0/html/v4/vb3/login_inc.php'); and in neu.php im including this logintest.php by: <?php chdir("/srv/www/htdocs/web0/html/v4/vb3"); require("/srv/www/htdocs/web0/html/v4/vb3/logintest.php"); ?> when i open the neu.php it works fine (when i delete the cookies at firefox options first), but when i put the include code from neu.php into my index.php (same code!) i get: Warnung: array_keys() [function.array-keys]: The first argument should be an array in /includes/functions.php (Zeile 4994) Warnung: Empty regular expression in /includes/functions.php (Zeile 4994), so some code of the board or loginscript collades with the code on my page. is there a possibility to fix this problem? i dont want to use frames/iframe or a little popup window to include the loginform, but i dont know how i can include it, without getting these errors, remember: neu.php alone works fine many thanks, david |
#328
|
||||
|
||||
Great hack, thank you for your hard work
Added custom CSS, and change some of your code so it is W3C validated. http://www.bluepearl-design.com/index.php |
#329
|
||||
|
||||
Quote:
|
#330
|
||||
|
||||
Quote:
|
#331
|
|||
|
|||
Quote:
So we naturally had to revert back to our old pre-made solution which is just a custom script which just uses cookies and sends the login info to the login.php page when logging in. Though as some of our users have been having problems (particularly Mac Safari users) staying logged in we were looking for a more foolproof system which included sessions (as we presumed that was at least part of the issue). Any help that could be given on the being banned situation would be greatly appreciated. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|