Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: p41j - helmikuu 18, 2009, 08:30:05 AP

Otsikko: Site integrated, now what about top login box/login on all the pages?
Kirjoitti: p41j - helmikuu 18, 2009, 08:30:05 AP
I have integrated my site into my forum, but I need to know how to make the login box show up if there on as a guest, or if there loged into the forums, how do I make it show the same thing in the forums on all the other pages?  Thanks. :)
Otsikko: Re: Site integrated, now what about top login box/login on all the pages?
Kirjoitti: p41j - helmikuu 18, 2009, 05:01:18 IP
Lainaus käyttäjältä: rordude - helmikuu 18, 2009, 08:30:05 AP
I have integrated my site into my forum, but I need to know how to make the login box show up if there on as a guest, or if there loged into the forums, how do I make it show the same thing in the forums on all the other pages?  Thanks. :)

Anyone?  :D
Otsikko: Re: Site integrated, now what about top login box/login on all the pages?
Kirjoitti: p41j - helmikuu 21, 2009, 12:55:35 AP
Lainaus käyttäjältä: rordude - helmikuu 18, 2009, 05:01:18 IP
Lainaus käyttäjältä: rordude - helmikuu 18, 2009, 08:30:05 AP
I have integrated my site into my forum, but I need to know how to make the login box show up if there on as a guest, or if there loged into the forums, how do I make it show the same thing in the forums on all the other pages?  Thanks. :)

Anyone?  :D

I noticed that I'm not reciving help?  I would really love to get this done if there is any one out there.
Otsikko: Re: Site integrated, now what about top login box/login on all the pages?
Kirjoitti: Tyrsson - helmikuu 21, 2009, 01:43:38 AP
If its a static site then use SSI.

There are examples of how to do this included in your forum directory

url/forum/ssi_examples.shtml
Otsikko: Re: Site integrated, now what about top login box/login on all the pages?
Kirjoitti: Xylar2 - helmikuu 21, 2009, 04:40:16 AP
I used SSI, on a test file, but when you are logged in, you get this error:

Notice: Undefined variable: scripturl in /home/www/smashsagaforums.freehostia.com/Themes/default/languages/Modifications.english.php on line 9

Notice: Undefined variable: scripturl in /home/www/smashsagaforums.freehostia.com/Themes/default/languages/Modifications.english.php on line 154

Notice: Undefined variable: scripturl in /home/www/smashsagaforums.freehostia.com/Themes/default/languages/Modifications.english.php on line 155

Notice: Undefined variable: scripturl in /home/www/smashsagaforums.freehostia.com/Themes/default/languages/Modifications.english.php on line 245

Notice: Undefined variable: scripturl in /home/www/smashsagaforums.freehostia.com/Themes/default/languages/Modifications.english.php on line 246

Notice: Undefined variable: scripturl in /home/www/smashsagaforums.freehostia.com/Themes/default/languages/Modifications.english.php on line 330

Notice: Undefined variable: scripturl in /home/www/smashsagaforums.freehostia.com/Themes/default/languages/Modifications.english.php on line 331

Notice: Undefined variable: scripturl in /home/www/smashsagaforums.freehostia.com/Themes/default/languages/Modifications.english.php on line 341

Notice: Undefined variable: scripturl in /home/www/smashsagaforums.freehostia.com/Themes/default/languages/Modifications.english.php on line 341


After looking at it, it seems it is not understanding the bit of code in modifications.english.php that says: '. $scripturl .'
Any help appreciated.
Otsikko: Re: Site integrated, now what about top login box/login on all the pages?
Kirjoitti: p41j - helmikuu 21, 2009, 09:29:32 AP
I need you to be more specific, where in ssi.php?
Otsikko: Re: Site integrated, now what about top login box/login on all the pages?
Kirjoitti: Tyrsson - helmikuu 21, 2009, 10:49:22 AP
See if these links help some :)

[README] SSI FAQ\'s (http://www.simplemachines.org/community/index.php?topic=14906.0)