Login or Register

RSS IconRecent posts in this topic

avatar
Ilija Studen on Jan 15. 2008. 4:42 am
If you need to provide a custom login form (from your website or something like that) you can do it by creating a form that submits a POST request to login page with following fields:

- login[email]
- login[password]
- login[remember]

and hidden field name submitted with value submitted. Here is a simple form that can log you in our trial setup:

<form method="post" action="http://www.activecollab.com/try/login">
  Email: <input type="text" name="login[email]" />
  Password: <input type="password" name="login[password]" />
  Remember me: <input type="checkbox" name="login[remember]" />
  <input type="hidden" name="submitted" value="submitted" />
  <button type="submit">Go baby go!</button>
</form>
activeCollab team member
avatar
davidm on Feb 1. 2008. 11:35 am
Very nice Ilija, it sure is going to be useful !
I'll provide my clients with a form on my company's website for direct access :)

I'll try that out !
The best way to predict the future is to invent it
------------------------------------------
Apache 2.2.8 - MySQL 5.0.45 - PHP 5.2.6 | Debian 4.0 (Etch)
avatar
VexxMedia on Feb 22. 2008. 10:21 am
Does this work with 0.7.1? I am trying to get it to work but there is no login folder or php file what address should I be using?
http://www.sitename.com/projects/index.php?c=access&amp;a=login???
avatar
Ilija Studen on Feb 22. 2008. 11:25 am
This tip is for v1 or newer only.
activeCollab team member
avatar
BlueSky on Apr 5. 2008. 12:34 am
I am using the above redirect and it works well and the logout I also have redirecting. However at least once a day the program exists gracefully by itself and brings us to another login page e.g. http://www.domainnamehere/projects/public/index.php/login?re_route=project_tickets&re_project_id=1

Where do we alter the code so that when the system quits by itself it brings it back to our own login URL?
avatar
Ilija Studen on Apr 5. 2008. 2:19 am
Technically, activeCollab uses only one login screen - it's own. What you added is just a form that sends data to activeCollab, not a full login screen replacement. There is no way to completely replace login screen without serious hacking (that you'll need to reapply every time you upgrade your activeCollab).
activeCollab team member
avatar
yuranga on May 6. 2008. 9:25 pm
Thank you for sharing it.

RSS IconRecent posts in this topic