Signed in on Custom pages...

Started by MLM, January 11, 2011, 10:09:38 PM

Previous topic - Next topic

MLM

SMF 2.0 RC4

I have made plenty of custom pages for smf using Cicka's great tutorial: http://www.simplemachines.org/community/index.php?topic=390247.0

They also work fine meaning that you just have to click to the forums to get signed in and you can navigate to the custom pages and still be signed in. All of those pages are only a folder away so the ssi is like this:
//Path to SSI.php
require("../forums/SSI.php");


On this recent page I made (it is not on the nav bar, etc) it doesn't keep you logged in even if you go to forums(on forums you are logged in but go back and you are not), click log in on that page and sign in(uses the template header, footer so has log in stuff). As soon as I navigate to the forums or any other page on my nav i am signed in etc.
NOTE: This page is two folders away:
//Path to SSI.php
require("../../forums/SSI.php");

NOTE: I used same base code for all pages (cickas code).


Please ask any clarifying questions you have. My simple question is:
How do I get my custom page to know that I am signed in?


Other Contact:
AIM: [email protected]

My Themes:

My Mods:

Unsolved Threads:
  • None atm...

Illori

you might get better replies in the coding board then here.

Advertisement: