News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

NEED HELP - I'M USELESS WITH PHP

Started by Vinnys Web Designs, May 19, 2008, 09:34:44 PM

Previous topic - Next topic

Vinnys Web Designs

i need help with setting my website home page at hxxp:localhost/ [nonactive] to use the login area on my SMF 2.0 forum at hxxp:localhost/forum/ [nonactive]
is it possible
p.s. i haven't change the forum files from downloading. ;D

steighan

yes.

include ssi.php,

then...
ssi_login('http://mysite.com/');
   echo '<br>',$context['user']['avatar']['image'];
   ?>
   <br>
   <?php ssi_logout('http://mysite.com/');
    ?>
"Frequently wrong, but never in doubt"

Vinnys Web Designs

can you write it out because i cant get it working,
i get this:
"SQL logic error or missing database
no such table: smf_settings",
but i have a database..... ???

steighan

ooh... sorry. left out some important steps.

1) You have to have SMF installed and running first.

"Frequently wrong, but never in doubt"

Vinnys Web Designs

i have it installed and running on my local server...

Rumbaar

You need to ensure you have a properly configured web server and forum running.

Now give the SSI Readme a look over for how to implement those functions.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Advertisement: