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 |
#22
|
|||
|
|||
Still doesn't seem to be working for me properly; I can log in, but when I go to the forums, it shows me as logged out (or guest). When I go back to the page which I logged in from, it shows me as logged in. Anyone know the cause and have a fix for it? Much appreciated.
|
#23
|
|||
|
|||
Yea, when i installed this script, i put it on my non-vb-page but when you submitted, it redirected you without doing anything. So i tested it on my forums, it would log me in, but it wouldnt say i was logged in. I went to forums, logged out, did the login from the page i wanted, and it logged me into forums, but didnt say i did on the page. I think this script needs some major fixes
|
#24
|
|||
|
|||
is it me or when your logged out and view the page with IE theres a javascript error?
|
#25
|
|||
|
|||
Hi, I used your code and everything, followed each step as you stated on the document you wrote. I edited the codes to the correct information what I have on my forums, such as renamed forum to forums, because thats what i have on my website.
Here is the test site i created; http://totalfrag.com/test.php Now when you browse the website, it says the following error; Fatal error: Cannot redeclare class vbulletinhook in /home/totalfr/public_html/forums/includes/class_hook.php on line 29 Please advice! Thank You! |
#26
|
|||
|
|||
Quote:
http://www.dcsclan.net/b.php Fatal error: Cannot redeclare class vbulletinhook in /home2/=====/public_html/forums/includes/class_hook.php on line 29 |
#27
|
|||
|
|||
Sorry guys, forgot about this hack... will try to figure out why you are having your problems and I'll post back here.
I have tried this on a 3.5.1 Fresh install of vBulletin and it worked fine. Please post which vBulletin version you have if you are having errors. |
#28
|
|||
|
|||
I am using "vB Version: 3.5.1 " thanks for any help you can provide.
|
#29
|
|||
|
|||
I am using vB Version : 3.5.0, but soon converting to 3.5.1 = )
|
#30
|
|||
|
|||
Have you found the solution?
|
#31
|
|||
|
|||
Wow, excellent idea for a hack!
Please post when this is working well in 3.5.1 ! Stachel |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|