 |

iwsdjb
User
Sep 1, 2005, 9:42 AM
Post #1 of 5
(2412 views)
Shortcut
|
|
bypassing login page
|
Can't Post
|
|
Greetings: I'm adding my artman program to an already secured directory -- how can I bypass the login screen so that it goes directly to admin.cgi?? Thanks.
|
|
|  |
 |

ross
Staff
/ Moderator

Sep 1, 2005, 2:19 PM
Post #2 of 5
(2403 views)
Shortcut
|
|
Re: [iwsdjb] bypassing login page
[In reply to]
|
Can't Post
|
|
Hi there. Thanks for posting! There are two things I can think of. One, you can add a username and password right into the link that takes you to the log in page like this:
http://www.yoursite.com/cgi-bin/exec/admin.cgi?login=1&id=USERNAME&pw=PASSWORD Just replace USERNAME and PASSWORD with a valid account. The one thing that might be a problem with this is that it will log in everyone with the same account. If you wanted individual people to be automatically logged in to separate accounts, what you can do is bump up the login time out. The login timeout is how long an account can remain inactive before the system automatically logs them out. If you set it to lets say, a week, your writers would only need to log into the system if they hadn’t been there in over a week. You can change that settings in /exec/config.ini. The line you’re looking for is: login_timeout = 60 Just change the 60 to 9999 and save. The time is in minutes and 9999 minutes is roughly a week. Do either of these suggestions seem like they will work? Let me know if you need anymore detail . I am going to move this post over to the Article Manager forum so that all the other Article Manager developers can follow along with our discussion. ----------------------------------------------------------- Cheers, Ross Fairbairn - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

sandro
User
Sep 13, 2005, 10:55 AM
Post #3 of 5
(2229 views)
Shortcut
|
|
Re: [ross] bypassing login page
[In reply to]
|
Can't Post
|
|
Is it possible to add more variables to this: http://www.yoursite.com/cgi-bin/exec/admin.cgi?login=1&id=USERNAME&pw=PASSWORD I would like to make a number of these links in different pages and each page would be a description of how to publich. Each category requires different method of publishing so i was thinking of first sending user to a topic page which describes how to publish and I would have a page for all the categories. The a direct link from this page would be required and possible I would like the user to have the category already chosen after clicking on the link above. I tried to us &cat=Software or &cat=3 but both do not work. Is this possible! (Hope I have explained myself well) Thanks
|
|
|  |
 |

ross
Staff
/ Moderator

Sep 13, 2005, 1:38 PM
Post #4 of 5
(2227 views)
Shortcut
|
|
Re: [sandro] bypassing login page
[In reply to]
|
Can't Post
|
|
Hi Sandro. Thanks for posting! Did you want there to be a way to log in so that the links from each of your different description pages let you create an article in a specific category? If you setup several different user accounts and only let them add articles to a specific category, you wouldn’t need to have any extra variables in that string. You would just need to change the username and password on each page so that it logs into the correct account. Does that sound like what you are trying to setup? Let me know and I can go into more detail for you . ----------------------------------------------------------- Cheers, Ross Fairbairn - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

sandro
User
Sep 13, 2005, 1:59 PM
Post #5 of 5
(2226 views)
Shortcut
|
|
Re: [ross] bypassing login page
[In reply to]
|
Can't Post
|
|
yep . .thanks it works
|
|
|  |
|