The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
VB Login & Info on Non-VB Page Details »» | |||||||||||||||||||||||||
This is nothing too big, I just thought it might help some people out so I'm putting it up here.
===================== DEMO ===================== You can see exactly what I did at: http://www.forumfreedom.net/ ===================== DESCRIPTION ===================== If someone is logged in on your board, but they are on a non-vb page, this will display their username, amount of PMs (and if they have more than 0 it will be bold), and an option to logout (properly, using their logout hash so that it does it the first time), and has a couple more options. What I've done in mine is added two extra usergroups, Premium and Platinum, and if they are either of those then it tells them what usergroup they are in. In the install file, there are two different steps to take, one to install that part and one to not. So, if you have two usergroups that are premium and platinum accounts that people pay for, this will work good for you. You can of course add more premium usergroups easily. Otherwise, just install the other step and it will still work good . The code is simple, but I recommend knowing how vbulletin works before installing it. You will need to change some things in the code, but I think that it's worth it if you need something like this. This doesn't edit any code in vbulletin. ===================== INSTALL ===================== Install Time: Depends, if you already have a page with everything going then this should only take a few seconds, unless you have to troubleshoot it. Difficulty: Medium, I say this because there are a few things you might have to change. It's easy to install if you know what you are doing. PLEASE CLICK INSTALL! Supporters / CoAuthors Show Your Support
|
Comments |
#12
|
|||
|
|||
Thanks for sharing Adam. Works like a charm and had no problem adding the code. Gracias.
|
#13
|
|||
|
|||
I have been wanting to add a login & info block to my header.....will this mod work?
|
#14
|
|||
|
|||
Received this error message:
Unable to add cookies, header already sent. File: /var/www/mysite.com/html/index.php Line: 3 |
#15
|
|||
|
|||
Does this work in vBulletin 3.5.0 final? I tried it... but doesn't seem to be catching the cookie, as in, you can log into the main page fine, but when I get to to the forums, I'm under a guest (meaning it shows that I never logged in). BUT... when I look on the Who's Online list, I fond myself logged in... only I'm not...
Hope that isn't confusing. |
#16
|
||||
|
||||
Anybody have an idea why i get these errors?
Code:
Notice: Undefined index: REQUEST_URI in d:\myforums\htdocs\includes\class_core.php on line 1840 Notice: Undefined index: REQUEST_URI in d:\myforums\htdocs\includes\class_core.php on line 1840 Notice: Undefined index: PATH_INFO in d:\myforums\htdocs\includes\class_core.php on line 1846 Notice: Undefined index: PATH_INFO in d:\myforums\htdocs\includes\class_core.php on line 1846 Notice: Undefined index: REDIRECT_URL in d:\myforums\htdocs\includes\class_core.php on line 1850 Notice: Undefined index: REDIRECT_URL in d:\myforums\htdocs\includes\class_core.php on line 1850 Unable to add cookies, header already sent. File: d:\myforums\htdocs\includes\class_core.php Line: 1840 |
#17
|
|||
|
|||
im gonna bump this because it doesnt seem to work and this seems to be the closest thing to logining into the vb db and session from a non VB page
|
#18
|
|||
|
|||
I'd love to be able to use membership permissions and such on non-vb pages, without installing a portal, etc.
will this mod work for vb 3.5? |
#19
|
|||
|
|||
this mod works in my 3.5 gold install, thanks. that's exactly what I needed. As simple as I wanted it to be. I don't like the other login addons, they try to do too much for you...
Thanks! |
#20
|
|||
|
|||
noone else get ?
Unable to add cookies, header already sent. File: /home/*******/public_html/testlogin.php Line: 2 hmm it works if ur already logged onvia the forum |
#21
|
|||
|
|||
the way around that error is to remove the line 'chdir' and put the non-vb page in your forums directory. That's what i did.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|