![]() |
Thank you!
|
I've finally got the script working - almost.
I can log in alright - but it does not show that i am logged in on the frontpage - only the log in box. I've checke my cookies path in the admincp and it is set to "/" - I've tried different browser and clearing my cookies etc. But nothing seems to work? If it is to any help - im using wordpress. |
In response of MadsK, this bug seems to happen to a lot of us. I would really like to get some help from the developer of the code or from anyone else to find a way to solve this problem. This login box is a really important part of my website and right now it's a pain in the a** not to be able tu use it
|
I found the trick to make it happen.
Below is the code i use for my site. It has been altered a little with some extra links after you've logged in but they can be changed. I've tested it with a couple of different friends on different computers, operating systems and browsers and it works on all of them. With that said this is only working with Wordpress as it collects the cookie from the wordpress database and outputs it. When logging out it also clears both wordpress and vbulletin cookie! I would really like some feedback on it :) You can see it in action on my website http://www.swtorcommunity.com Code:
<?php |
Than you for this useful hack!
How can i include header and navbar template to this script? |
MadsK, any way to make your code work for those who aren't on Wordpress?
|
You could try to replace the $user_id with the vbulletin equilant. But i'm not sure which that is.
|
Okay - first off Props to the poster - this is a great little addon
Now if anyone is having issues with login.php here is the be all fix put the .php file inside your /forums directory this will solve most issues as you are using vbulletin functionality from outside it's operating path - and is where you are most likely running into issues For example prior I had a php page at mydomain/LINKS - the index.php was the link checker. When adding this hack in that /LINKS dir I was having issue (and I am not a code noob) - however the moment I put the php in my /forums directory and replaced my index.php on /LINKS with a frame loading the php from it's new location - everything works fine Any just a bitta info - oh and always - perfect syntax people Peace .* |
Nope it doesn't work.
I put the .php that contains the login form in my forum folder, still shows as if i'm logged out. |
Ok, I've been trying to get this working for a fair while now, I'm getting the same problem as a lot of people here, the script continues to show the login form after logging in.
I'm running Ubuntu and FF3, it shows logged out, however running under IE6 (using wine) it worked correctly the first time only (would work again even clearing cookies, history, re-opening browser etc). I noticed when it did work it sent back a session string as a _GET variable, but I couldn't get it to do that more than once without resetting my cookies etc. Still gonna work on it some more, but thought I'd share what I've found so far. cOwMoO |
All times are GMT. The time now is 10:16 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|