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 |
#242
|
|||
|
|||
Thanks Bill, got it working, and I use 3.6.4 Didn't need to modify any code for it to work, so I think its safe to assume it will work with 3.6.4 out of the box. I did, however, modify it to fit my site better and fixed some validation issues! :P
|
#243
|
|||
|
|||
Quote:
Thanks. |
#244
|
|||
|
|||
another bump as I am a install-ee who could really use that little bit of info to simplify my life <3 thanks out for anyone that knows.
|
#245
|
|||
|
|||
Hi, thanks for this great hack
I have one small problem i am using vb 3.6.4 everything works fine except for dispay avatar. If i add my own avatar through usercp it will diplay, but if i choose a forum avatar it wont any workaround for this ? |
#246
|
||||
|
||||
Quote:
Ive tried a few different things but havent been able to get around it. |
#247
|
||||
|
||||
Quote:
PHP Code:
I havent tried this yet, it may or may not work. Look here for more info https://vborg.vbsupport.ru/showthread.php?t=132024 |
#248
|
|||
|
|||
You should release this as a 3.6 pluging so it shows up in the 3.6 listing its working perfectly fine with it anyway
|
#249
|
|||
|
|||
i've a big problem....my website has a template php (template.inc.php) that is included into index.php
Code:
include("template.inc.php"); top(); include("config.inc.php"); $mod = @$_GET['mod']; $iniz = @$_GET['iniz']; if ($iniz != "") {..... Code:
function top() { chdir('/home/albertac/public_html/a-cube/forum'); require_once('/home/albertac/public_html/a-cube/forum/global.php'); include("config.inc.php"); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Against All Authority Multigaming Clan - www.a-cube.it -</title> <link href="css.css" rel="stylesheet" type="text/css" /> Code:
<?php $curdir = getcwd (); chdir('/path/to/your/forums'); require_once('/path/to/your/forums/global.php'); chdir ($curdir); ?> i don't know what to do.....i know that it go because if i create a normal page login script go well!!!! |
#250
|
|||
|
|||
hey any idea how i could make it show on whosonline page
so people who are using my page www.aur-phala.com/hotmail will show up on whos online so i can see whos checking that page out for version 3.6.x |
#251
|
|||
|
|||
ok, i have the cms postnuke, i want the login to appear in a postnuke block. i understand that the:
<?php require_once('/path/to/your/login_inc.php'); ?> should be in the block, but it won't appear cuz i don't know how to tweak the rest of it. can anyone help me get this to work in a postnuke block? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|