Integrate calendar admin login with site login script

Help with installation and general calendar setttings

Integrate calendar admin login with site login script

Postby nath2132 » Fri Oct 28, 2011 1:40 am

Hi,

I am planning on using the calendar on this site:

http://testsite.freelance-crew.com/profile.php?member=1

Each user will have their own calendar and I'd like for each user to be able to edit their calendar from their profile page without having to either login specifically to the calendar script or be redirected to a different page.

I'm assuming I have to set these variables within my own login:

Code: Select all
$_SESSION["admin_id"]   =   $row["id"];
$_SESSION["admin_name"]   =   $row["username"];
$_SESSION["admin_lang"]   =   $_POST["lang"];
$_SESSION["admin_level"]=   $row["level"];


Firstly, is that all there is to it, and secondly what of these variables is absolutely required?

Thanks,
Nathan.
nath2132
 
Posts: 2
Joined: Thu Oct 06, 2011 6:51 am

Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron