I want to use one login and password for forum-Private website

Started by dlukens, November 04, 2005, 07:24:42 AM

Previous topic - Next topic

dlukens

Hello all,

I have a private website which requires login and password to reach the forum pages and want to use the account information entered during the login to the website.  Does anyone know how to pass the session and password information to SMF so my users do not need to log-in twice? I've seen some PHP code that grabs the $_SESSION  information, but I don't understand it, and  I don't know where to insert the code in SMF.

I'm very new to SMF and PHP, but can find my way around and know enough to be extremely dangerous. I'm the kind of user that I hate to have lurking around in my systems at my day-job.

Thanks in advance.

kadhumia_flo

I think i can help you...
u will need SSI
u can use the

<?php ssi_welcome(); ?>

to show the welcome thing
Hey dlukens, You have 0 messages, 0 is new

u can use the php codes all around this site to query if the person is logged in or not, which allows u to make a link to the login place or place a login box = <?php ssi_login(); ?>
OR
if logged in , the logout button = <?php ssi_logout(); ?>

The more querying on the user , if logged in or not, u can control content

if the person is guest then say U dont have permission

stuff like that in php coding

look for it

Advertisement: