The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Login box on my Index Page
Hi all,
I'm wondering if there's any good little scripts out there to do this? I have a login box on my front page that I copied from the VB page source. But it doesn't change to show that you are logged in. http://www.warwickshireonline.com/ So I'm wondering if I can add some extra scripting to do this or if I need to look for something else entirely. Please help me, I really want to get this down so I can tidy things up. |
#2
|
|||
|
|||
Did you check our articles section?
|
#3
|
|||
|
|||
You should look at the login page again. I think you didn't take enough of the login script because the code is there to block the code if the member is active. I think you might just have to change the redirect to fit your site URL.
HTH |
#4
|
|||
|
|||
Hi Marco, I did have a look but couldn't find anything. Do you have a link please? Thank you in advance if you do.
--------------- Added [DATE]1233673783[/DATE] at [TIME]1233673783[/TIME] --------------- Quote:
I think you're probably right, I've added a missing script from the header which I think is meant to be there, and changed some of the links to be correct, but still not working. Any idea what else I might have missed? Thank you for your time. --------------- Added [DATE]1233693190[/DATE] at [TIME]1233693190[/TIME] --------------- Please can anyone help with this? It is urgent I get it fixed. |
#5
|
||||
|
||||
You must include global.php and then use conditionals to display either code as it is done in the navbar.
|
#6
|
|||
|
|||
Please could you tell me which bits of code? I thought I'd already got it all, but clearly I haven't.
|
#7
|
||||
|
||||
Have you included global.php?
|
#8
|
|||
|
|||
I've copied this bit of code, if that's what you mean.
Code:
<script type="text/javascript" src="/forum/clientscript/vbulletin_global.js?v=374"></script> |
#9
|
||||
|
||||
global.php is a PHP file, you must include it to access the vBulletin variables. The line of code you are looking at there is the include for the javascript. You will need some sort of PHP knowledge to do this.
|
#10
|
|||
|
|||
Do a search for "Simple Login" and you will find what you need. I just did it.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|