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 |
#92
|
|||
|
|||
...ignore me...i had to mess about with file includes and requires etc, got it working now though. thanks!
|
#93
|
|||
|
|||
Hi,
Thanks for this great mod! Really helped me out. Coupla things: Is there any solution to IE expecting a '(' and showing 'done but with errors' yet?? Also I'm using the login box not only on my non-forum pages, but within my forum template too. Works great, apart from the private messages - doesn't show whether you've got any or not. Any idea what might be causing this? I'm guessing I don't have to include global because it is a forum page so must already have it allowed. Also, when I logout in a forum page, the login_inc ends up a step behind. eg. I logout but login_inc shows me as still signed in til I refresh. Any help with these minor quirks would be great! Thanks |
#94
|
|||
|
|||
It doesn't work with files in different directories. I'm using a header file, where the global.php include comes in. I use the header file throughout my site. However, I get an error similar to erinys (page 2):
Code:
Warning: main(administrator/components/com_smf/config.smf.php): failed to open stream: No such file or directory in /home/6304/bunnybunch.nl/HTML/templates/247portal-b-grey/index.php on line 33 Fatal error: main(): Failed opening required 'administrator/components/com_smf/config.smf.php' (include_path='.:/usr/local/lib/php') in /home/6304/bunnybunch.nl/HTML/templates/247portal-b-grey/index.php on line 33 |
#95
|
|||
|
|||
Ok so I have a quick question if a user is banned on the forums is there a way to carry over so they cant see whats on the page we put this login on?
|
#96
|
|||
|
|||
I have got the error
Quote:
|
#97
|
||||
|
||||
Quote:
Have a look at the usage guide on post 2 of the first page. https://vborg.vbsupport.ru/showpost....49&postcount=2 Just change the conditionals in the example to suit. |
#98
|
||||
|
||||
Quote:
Anyone else getting this error? |
#99
|
||||
|
||||
NEW UPDATE
Version 2.1 has been released to fix 2 reported issues. It is recommened to update. The current login_inc.php here is the revised version. Changelog Version 2.10 (4th June 2006)
|
#100
|
|||
|
|||
Quote:
Only get the error when using Pre-defined Avatars that are saved in the database, output of Custom Avatars works fine BTW could you add the following. 1) output of total members. 2) output of the newest member. 3) output of user joined date. 4) output of user age. I tryed adding echo "<b>$vbphrase[age]:</b> $post[age]<br />"; for the age put it only put out the phrase. |
#101
|
|||
|
|||
Quote:
Thanks for the update. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|