MyBB Community Forums

Full Version: Make a login/register box?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I just need it to where when I press the "Sign In" button on the website header, it will open up a box where I can login. Can I make an action div? Where if I press sign in, it will bring up a div with the login information in it just like a normal login on MyBB?

Preview of the Sign In/Register button on the website: http://gyazo.com/883ede5abb88b732532bc49807abe535

Note: I don't want login on the website header where it opens up the login to type in the username and password in the header. I want to open my own box using javascript to do that. As for register, I just want to open a box and display some text and have a button that say "Register" which will take you to the registration page.
Example of what I'm saying above: http://gyazo.com/89d566878ce9a8770c7be05515ad1e8a

Example of what I'm trying to do:
Sign Up: http://gyazo.com/47cec7bae575061ccf96161532a68eb5
Register: http://gyazo.com/ce3165ca33cb189bc8734a70d6a8095f

Can anybody help me?
Website: http://www.Vizzy.VisualizeEdits.com/
Hmm, I am not clear if you want a modal or a dropdown - two different things.

Maybe try looking through some of the tutorials here on MyBB or on MyBB Addict
(2013-07-09, 05:36 AM)Leefish Wrote: [ -> ]Hmm, I am not clear if you want a modal or a dropdown - two different things.

Maybe try looking through some of the tutorials here on MyBB or on MyBB Addict

I'm guessing dropdown but what exactly is a modal?
(2013-07-09, 05:37 AM)VisualizeForums Wrote: [ -> ]...what exactly is a modal?

[Image: 6ixgL3s.jpg]
(2013-07-09, 05:39 AM)effone Wrote: [ -> ]
(2013-07-09, 05:37 AM)VisualizeForums Wrote: [ -> ]...what exactly is a modal?

[Image: 6ixgL3s.jpg]

Okay, that's not what I'm looking for so I believe dropdown. I want to be able to create a little box and just add the login box like for example

Create a Div and somehow make it hidden until the button is pressed (sign in) and it will make the box not hidden which will include these contents in the box.
{$welcomeblock} (MyBB wouldn't let me post it but it's the contents inside of [header_welcomeblock_guest])
(2013-07-09, 06:03 AM)effone Wrote: [ -> ]http://rijamedia.com/blog/2011/01/simple...idetoggle/

Exactly what I'm looking for! I really appreciate it Effone!! Rep!