PDA

View Full Version : Global Login Point


Brad
17 Nov 2002, 23:47
Hack: Global Login Point

By: Anime-loo

Description: This hack will add a new page to your forums (login.php). This page will allow users to login to their acounts without having to be on index.php

Why install this?

One thing i noticed about vbulletin compared to most other forum script out there is the fact that it has no login page i could direct my members to. With this installed i can add a login link to my header allowing my members a easy way to login :)

This is my frist real script, i know its very very simple but i am new to php, i hope it helps you out as much as its helped me, screenshots in the next two post.

Brad
17 Nov 2002, 23:49
If user logged out they are show the login page:

Brad
17 Nov 2002, 23:50
After user logs in they are shown this page. Or if user gose to login.php and is already logged in they are also shown this page.

Link14716
18 Nov 2002, 00:01
Hey, not a bad hack. I'll probably install :)

FleaBag
18 Nov 2002, 15:48
This is cool. I use a hack that gives different links to registered and un-registered users, this will go well with it, thanks. :)

Dean C
18 Nov 2002, 18:46
Geez your browser is awesome Anime-Loo

How did you do that?

Regards

- miSt

Jitway
19 Nov 2002, 02:19
Great hack! :bandit:

Chris M
19 Nov 2002, 15:42
Simple but nice:)

Satan

Bison
19 Nov 2002, 21:01
Originally posted by Mist
Geez your browser is awesome Anime-Loo

How did you do that?

Regards

- miSt

StylesXP ... avalable at http://www.tgtsoft.com :D

Paul
20 Nov 2002, 07:29
I was *just* about to code this. Thanks :)

Brad
21 Nov 2002, 05:21
Nope :). I dident get it there. Acully i forget where i got it but i know it wasent from there.

Originally posted by Rolodex


StylesXP ... avalable at http://www.tgtsoft.com :D

Dean C
21 Nov 2002, 17:07
I didn't even know you could do this with windows XP :)

How wonderful

Thanks for the tip Rolodex

- miSt

Brad
21 Nov 2002, 17:16
question: sould i expand this and add the code to make the login button only be displayed when a user is logged out, and once loggedin they would see the logout button ?

FleaBag
21 Nov 2002, 22:15
Installed with a little cusotmisation; thanks. :)

Heffe2000
22 Feb 2003, 02:26
I could REALLY use a modified one that only shows the login button if you're not logged in, it would save me some major headaches :).

I got an influx of users today from a public forum that went down, and the login page would definitely be advantageous for me :).

stark427
10 Mar 2003, 20:39
Very nice hack.

I'm having some problems... probably having to do with the default style I have at my boards.

When a user is already logged in, everything seems fine :

look at the attachment :

stark427
10 Mar 2003, 20:40
But the problem arises when a user is not logged in, so he gets this page :

Look the attachment :

I think I need to change some things at the loo_login template to resolve this... but I can't find what I should modify :(

DigitalDesktops
21 Mar 2003, 08:26
are you not able to make the area around the log-in box transparent?

Frozen Dreams
27 Apr 2003, 20:54
11-21-02 at 08:16 PM Anime-loo said this in Post #13 (http://www.vbulletin.org/forum/showthread.php?postid=324295#post324295)
question: sould i expand this and add the code to make the login button only be displayed when a user is logged out, and once loggedin they would see the logout button ?


This would be great :)
Is there a way you could make that log out button swap places with the login button when u r not offline?
Am I making sense?

discussfitness
22 Jun 2003, 03:28
You can do it with this hack:
http://www.vbulletin.org/forum/showthread.php?s=&threadid=38416

PM me if it helps - I feel lonely ;)