phpScheduleIt
May 23, 2013, 04:36:34 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: phpScheduleIt 2.4.2 has been released!
Home
Help
Login
Register
phpScheduleIt
>
Help and Support
>
phpScheduleIt 2.x
>
Auto Log-In or auto fill Credentials
Pages: [
1
]
« previous
next »
Print
Author
Topic: Auto Log-In or auto fill Credentials (Read 467 times)
funkeirox
Newbie
Karma: 0
Posts: 41
Auto Log-In or auto fill Credentials
«
on:
March 29, 2012, 01:42:52 PM »
Hi Nick, can you help me with some question? I saw in your phpScheduleIt demo page one small javascript to auto fill credentials in the inputs, but my question is can i pass this informations via get/post in url to auto login the users? or maybe at least auto fill the inputs like in demo? I'm ask this because i already have one restricted area where the users make your log-ins.
One more question, i really enjoy to customize the recursive schedule options in booking page. You defined a fixed number of days plus days, weeks, year and we dont have a option or some var in the config file to edit this.
Logged
Nick
Administrator
Hero Member
Karma: 15
Posts: 5419
Re: Auto Log-In or auto fill Credentials
«
Reply #1 on:
April 02, 2012, 02:57:04 PM »
1) Do you want to always log in as the same user?
2) Do you just want to change the numbers in the drop down?
Logged
funkeirox
Newbie
Karma: 0
Posts: 41
Re: Auto Log-In or auto fill Credentials
«
Reply #2 on:
April 06, 2012, 08:39:53 AM »
No i just want auto login or auto complete the login form fields maybe using get/post variables like user and password using another form. It is possible do that because i do not use OpenLDAP and already have a restrict area where users can acess phpScheduleIt and others sistems.
1) I already have a restricted area and registered users.
2) If possible I need to make the user after login automatically access the phpScheduleIt or complete your details as username and password to login to it.
3) The layout/structure is login form> validate login > access to restricted area > login phpScheduleIt (ie, the user has to log-in 2x).
Logged
Nick
Administrator
Hero Member
Karma: 15
Posts: 5419
Re: Auto Log-In or auto fill Credentials
«
Reply #3 on:
April 10, 2012, 09:12:08 AM »
You'd need to change tpl/login.tpl and Pages/LoginPage.php to read the get/post variables and set them on the template. I'd suggest using POST because putting passwords in clear text on the query string would be a pretty big security risk.
Logged
funkeirox
Newbie
Karma: 0
Posts: 41
Re: Auto Log-In or auto fill Credentials
«
Reply #4 on:
April 16, 2012, 05:55:28 PM »
OK i will try this on 2.1 version, tanks nick.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Announcements
=> Open Discussion
=> Donations
-----------------------------
Help and Support
-----------------------------
=> phpScheduleIt 2.x
=> EspaƱol
=> phpScheduleIt 1.2.x
=> phpScheduleIt 1.1.x
=> New Features and Suggestions
=> Developers
-----------------------------
Bugs
-----------------------------
=> phpScheduleIt 1.2.x
=> phpScheduleIt 1.1.x
-----------------------------
Modifications
-----------------------------
=> Post Modifications
=> Request Modification
-----------------------------
Development
-----------------------------
=> phpScheduleIt 2.0
-----------------------------
Off-Topic
-----------------------------
=> Non-phpScheduleIt Discussion
Loading...