View Full Version : help with login screen (splitted)

02 Dec 2007, 10:45
Hi there! i want to split my vb login, into two parts, where you first enter your username, then alot of detials comes up, such as: group, posts, join date, account name, avatar.
Then below you will enter your password.

I have already coded a very little piece of the code, but i dont know the sql very well, and i have some troubles intigrating it to vbulletin.. if some1 out there can help me, i would love it.

here the code ive already got:

Code is only visible to licensed users, and only when logged into the forums.

02 Dec 2007, 11:18
Can I just ask....why?

I don't see an advantage in doing any of this...also it gives people access to info (depending on how you set up your permissions) to which they may not normally want access to. For example I can find an Admin's username in the login box and get a lot of his info.

Furthermore the code you posted has fairly extensive sercurity holes in it, I suggest your read this article first before you think about creating code for your board. (Using the vBulletin Input Cleaner (http://www.vbulletin.org/forum/showthread.php?t=119372)).

Then you need to look at Using the vBulletin Database Class (http://www.vbulletin.org/forum/showthread.php?t=119350&highlight=Database+Class).