News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Registering users at Main Page. How to work it?

Started by sirdavid23, February 12, 2005, 01:26:58 PM

Previous topic - Next topic

sirdavid23

Hi, I really like the smf forum, but I´d like to ask if it´s possible to log in a user (or register him) from the main page in my page: http://www.turismopeninsular.com. [nofollow]

I´d like to show at the very top of the page the option for the user to log in or to register.

Where do I change the code from which .php page in the sfm forum?

Could someone give me a light, please?

Owdy

Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

sirdavid23

Thank you, thay will light my way a little. But still what if I wanted to do this specifically?



I get a hard time, since I cannot do it right. I get that chunk of code on the registration.

What I would like is that the user puts in their usr and psw and when they click LOG ME button they´ll jump to the php forum on a new page.

I´ve been trying but nothing seems to work. Please help me out, I know this is simple but I don´t get it. Hope the graphic illustrates better.

Thanks in advanced.

David R.

Owdy

Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

sirdavid23

AH! that's the solution!. I renamed the page> index.php it works!
One question: how could I place in the correct place the log in module? it looks bad>
http://www.turismopeninsular.com/newindex.php [nofollow]

so I need to place the login as this graphic>

USER _______   *graphic SWF button
PSW_________

Also> how to set the font attribute for that log in? I need it to be arial 10 points Green.
Could you help me on that please?

sirdavid23

Hi, I´m still trying but I believe one thing I can do is recreate a SSI module using the "old" one as template. But since the entire LOG in SSI module is in PHP I don´t know how manipulate it, so that it specifically loads that at my index.php.

Also: I still havent´found a way to format the text to arial 9 points for the log in and pasword text boxes at: http://www.turismopeninsular.com/newindex.php [nofollow]

Could someone help me please? Dark Steel, dude are you there?  :D

[Unknown]

All the login stuff is just html.  Just format it with css... you can even write your own html form, as long as it includes the right things.

-[Unknown]

sirdavid23

ok. I´ll try to do that.

I will also try to find to manipulate the SSI Login ().
I know I can create the form in html. But I am new into php, so I don´t exactly know what are..."the right things" in the form as to connect to PHP database.

Sorry, I just know this is an easy question. I´ll try to work it from there....

:-\


Advertisement: