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 |
#232
|
||||
|
||||
It already does.
|
#233
|
|||
|
|||
indeed it does, sorry bill :-)
|
#234
|
|||
|
|||
I'm trying to rewrite this code:
echo "<a href=\"".$forumpath."private.php?$session[sessionurl] \"> so that it will open in _top no luck though, it causes a parse error when I do something like echo "<a href=\"".$forumpath."private.php?$session[sessionurl] \" target="_top"> I'm sure its something simple like quotations but nothing I've tried works. |
#235
|
||||
|
||||
Quote:
Try something like PHP Code:
|
#236
|
||||
|
||||
any idea on my prob?
|
#237
|
||||
|
||||
Sorry no.
It looks like a cookie problem. The rest of the script appears setup correctly as it forwards you to the vB login page then redirects back again. It could be the way your host is setup to handle cookies, Im not sure. |
#238
|
|||
|
|||
Hi bill. I have used this integration into a cms that i have purchased for the front end of my forums, and all went really well. thanks.
However I have a request, to ask, and I hope it is not too big of a request. I am trying to get several other things to show in the non vb page that are from vbulletin. some examples of things that I am trying are: * Last 5 posts * Last 5 Threads * Latest Polls * Random Arcade Games * Most popular Downloads (From Downloads II) etc. Basically just like modules from vbadvanced, however instead of for them to show on vbadvanced, for them to show on a non vb page. If you could throw something together, or basically any help, advice, etc. would be so much appreciated. (I'm not asking for the lot, just any that you think you could do would be great) Thanks Matt. |
#239
|
||||
|
||||
Thats pretty much replicating a few modules from vB advanced.
Its certainlty possible, however I really dont have enougth time at present to look at doing that. |
#240
|
|||
|
|||
Quote:
Thanks. |
#241
|
||||
|
||||
Sorry, with family life at the moment I really just dont have any spare time.
I have another project sitting stalled from lack of time as it is |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|