More about bypassing login
Hi! I'm just about finished setting up the calendar on my site. Other than editing the theme (a copied version, of course) all I have left is to integrate the calendar with my members mysql database so they only have to login once. I found the following post from the past but need a little more information. I need to use variables to determine the name and password in the url.
Previous suggestion....
You can by-pass the EPCal authentication by passing a set user name and password to the script. Look at the Details page and the Setup Manager and Event Manager links to see an example.
The name and passwords would be passed like this:
/setup/index.php?name=demo&pwdX=demo
/events/index.php?name=demo&pwd=demo
*Replace demo with a user name and password that has been entered in the Setup Manager.
My preference would certainly be to have the calendar refer to my database for permissions rather than the flatfile. If that is not possible, how can I make my link pull the name and password from my current user's record? My table is "members". Password is "member_password". Name is "Login_Name". I know how to do a lookup for these fields but not how to incorporate them into the URL.
Thanks!!!
|