Simple Machines Community Forum

Customizing SMF => Bridges and Integrations => Topic started by: sirdavid23 on February 12, 2005, 01:26:58 PM

Title: Registering users at Main Page. How to work it?
Post by: sirdavid23 on February 12, 2005, 01:26:58 PM
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.

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?
Title: Re: Registering users at Main Page. How to work it?
Post by: Owdy on February 12, 2005, 04:57:22 PM
http://www.simplemachines.org/community/ssi_examples.php
http://unknown.network32.net/tutorial.smf_using-ssi
http://www.simplemachines.org/community/index.php?topic=14906.0

<?php ssi_login(); ?>

<?php ssi_welcome(); ?>
Title: Re: Registering users at Main Page. How to work it?
Post by: sirdavid23 on March 16, 2005, 12:48:02 PM
Thank you, thay will light my way a little. But still what if I wanted to do this specifically?

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.davidr.boxesmedia.com%2Fallpics%2Fforo.jpg&hash=8fdcd443133f947b80264742092f18a3bf82f0ec)

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.
Title: Re: Registering users at Main Page. How to work it?
Post by: Owdy on March 16, 2005, 01:59:54 PM
Do you have .shtml or .php page?
URL?
Title: Re: Registering users at Main Page. How to work it?
Post by: sirdavid23 on March 18, 2005, 12:11:12 AM
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

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?
Title: Re: Registering users at Main Page. How to work it?
Post by: sirdavid23 on March 23, 2005, 07:53:25 PM
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

Could someone help me please? Dark Steel, dude are you there?  :D
Title: Re: Registering users at Main Page. How to work it?
Post by: [Unknown] on March 23, 2005, 09:07:18 PM
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]
Title: Re: Registering users at Main Page. How to work it?
Post by: sirdavid23 on March 25, 2005, 11:52:00 AM
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....

:-\