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 |
#22
|
||||
|
||||
Quote:
|
#23
|
||||
|
||||
Quote:
Do you use the verification images for registration? |
#24
|
||||
|
||||
Quote:
Do you run any other vB scripts on that page? |
#25
|
|||
|
|||
Quote:
I use GD in the vbulletin options if this is what you mean..I don?t use Image Verification for the new user register process. What could be the problem ? Greets and THX for help |
#26
|
|||
|
|||
@bill
no not any VB scripts.. but it seems to be conflicting with whatever include_once is right below it.. im pasting it in a template btw.. wich also has codes for SMF forums, discussbots etc etc (im upgrading from SMF to VB atm) |
#27
|
||||
|
||||
I've got this to work....so don worry about supporting the other one. However.
one little bug, if you have no new PM's you get Quote:
I've done a lot of bug checking and it turns out that it wasn't your scripts causing me errors. i apolagise :cheeky: |
#28
|
|||
|
|||
Ive got it working now.. cause i switched forums today i was able to remove a lot of include_once tags, and now it works
bug: the link to new PM's is actually a link to the last new posts.. and there are missing a lot of <br> etc to make it look nice so i editted it a bit thanks for this Mod! |
#29
|
||||
|
||||
Quote:
|
#30
|
||||
|
||||
I've got a bit of a problem. Whenever a User changes their avatar, the avatar shown on login_inc is the one they had before they changed.
|
#31
|
|||
|
|||
I have what is probably an easy question. How do I add more then 1 usergroup to the code?
if ($vbulletin->userinfo['usergroupid'] == '25' ) I have tried different things and still can only allow 1 usergroup to access the page. Thanks |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|