Reseller Hosting, Shared Hosting, Dedicated Hosting by Vortech Inc.

Go Back   Reseller Hosting, Shared Hosting, Dedicated Hosting by Vortech Inc. > >> General Public > Chit Chat Public
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Chit Chat Public Talk about any thing you want! This forum is public.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-09-2003, 11:02 PM
gadgetgal99's Avatar
gadgetgal99 gadgetgal99 is offline
Vortech Inc. Customer
Vortech Inc. Customer
 
Location: Vegas
Solution for atmail custom logout with demo

Okay, I finished a demo of a potential demo for using a custom login page for your clients to access @mail and then when they return to go back to the custom login page instead of the default index.pl

It all runs from 2 javascripts. One would be placed on the resellers custom page, the other iwould be located in index.pl of @mail. This solution uses javascript and sets a cookie in the browser window when the custom page is loaded. The nonpersistent cookie is also available to webmail.yourdomain.com/index.pl and is used during logout by webmail.yourdomain.com/index.pl to change the location back to the custom login url stored in the cookie.

Below is a link to the demo. I will leave it up for a couple of days so you cab check it out, test, and until you and Matrix decide if it would help. I did not do any formatting in the pages that pretend to be the custom login, default login or atmail popup window. Since this is about custom pages doing formatting makes no sense and I'm just tired.

http://www.mydevtech.com/inc_atmaildemo.htm

While the scripts are tagged asp, they could just as easily have been tagged php or pl. I did not use any asp specific code. The first time I did it I has the custom login in asp and the default index demp in php on unix but the ftping between 2 different windows and unix accounts during debugging became annoying. So I switched to 2 diffrent domains on windows for easier ftping.


Just let me know if this is what everyone was talking about.
Reply With Quote
  #2  
Old 06-09-2003, 11:08 PM
gadgetgal99's Avatar
gadgetgal99 gadgetgal99 is offline
Vortech Inc. Customer
Vortech Inc. Customer
 
Location: Vegas
The best way to test this is to copy the link and paste it in a completely new browser window rather than having a window popped up by the forum link

if you use the forum link in the post above to pop up and want to test both versions, you must test the default version first, then click the post link again and do the custom solution.

http://www.mydevtech.com/inc_atmaildemo.htm
Reply With Quote
  #3  
Old 06-09-2003, 11:16 PM
david's Avatar
david david is offline
Vortech Inc. Customer
Vortech Inc. Customer
 
Location: Bangkok, Thailand
Kathleen that is great! Works fine for me.

David
Reply With Quote
  #4  
Old 06-09-2003, 11:19 PM
Silverbug's Avatar
Silverbug Silverbug is offline
Custom Built Solutions
Vortech Inc. Customer
 
Location: AK, New Zealand
Send a message via ICQ to Silverbug Send a message via MSN to Silverbug Send a message via Skype to Silverbug
looks good to me. Brad and crew, any change of matrix setting it up for us?
also gadgetgal what happends if a user doesnt want to use this method (i didnt actually go and have a look at the javascript). i asume they would see what is currently displayed with the @mail details
__________________
Paul Foley
Sniper Systems Ltd

Reply With Quote
  #5  
Old 06-09-2003, 11:21 PM
landiserve
Guest
 
gadgetgal, you mentioned an ASP page on @mail, is there actually any asp function? as it would not work, i just want to see that I understand this all properly.
Reply With Quote
  #6  
Old 06-09-2003, 11:22 PM
landiserve
Guest
 
nevermind, you say on there that is is not php,asp or anything dependent, except of course client side JS
Reply With Quote
  #7  
Old 06-09-2003, 11:37 PM
gadgetgal99's Avatar
gadgetgal99 gadgetgal99 is offline
Vortech Inc. Customer
Vortech Inc. Customer
 
Location: Vegas
it goes back to your custom login screen if the cookie is set. if you don't want to use it then simple don't set the cookie in your custom login page.

if you want to default to the cookie but want to give users an option you could always add a javascript function that checks a field you have on your custom login page for this that is triggered on submit to see if the field is filled and if it is filled it would erase the cookie.

I did not add this customization because the idea was to come up with a simple method to let resellers that have made custom login pages for themselves or their users to have the user land their after logoff. All a reseller has to do is paste in a snippet now and in one update the snippet with the domain name they use.

There are several customizations you could do to the script on the reseller custom login. For instance if we get to do this, I will add a function on my custom login page that sets additional non persistent cookies onlogin submit for browser, server, mail type, mail server domain so that it is repopulated automatically on logout. But thatis a personal customization feature and not part of a simple generic standard.
Reply With Quote
  #8  
Old 06-10-2003, 12:58 AM
javier011's Avatar
javier011 javier011 is offline
Business World
Vortech Inc. Customer
 
Brad, what do you think of it ? (If you did not decide yet to add the code)

In my opinion it looks fine and it works. (thanks to gadgetgal)
__________________
Thank You

Javier
Advertising Websites
Reply With Quote
  #9  
Old 06-10-2003, 01:15 AM
Brangwyn Brangwyn is offline
T3CHN0 STUD
Vortech Inc. Customer
 
Location: New Zealand (Wellington)
looks nice great stuff.

In the scripts I've been playing with I've left the mailserver input out as its going to be the same as the email domain address in my case as well.
Reply With Quote
  #10  
Old 06-10-2003, 06:35 AM
ramjet's Avatar
ramjet ramjet is offline
I'm fine thank you.
Vortech Inc. Customer
 
Location: Waiheke Island, New Zealand
its pretty obvious, but....

Go, go, gadgetgal go!!!

(I congratulate you on your EXCELLENT contribution.... hopefully one day i too will be cluey enough to actually do something useful as well)


murray
Reply With Quote
  #11  
Old 06-20-2003, 10:34 AM
gadgetgal99's Avatar
gadgetgal99 gadgetgal99 is offline
Vortech Inc. Customer
Vortech Inc. Customer
 
Location: Vegas
Matrix,
Haven't heard if you are interested in this solution to the default logout after a custom login problem. Can you let me know, so I know whether to take down the demo of the logout solution?

http://www.mydevtech.com/inc_atmaildemo.htm
Reply With Quote
  #12  
Old 06-20-2003, 11:24 AM
javier011's Avatar
javier011 javier011 is offline
Business World
Vortech Inc. Customer
 
I think this modifications can be done by the @mail staff,
Am I wrong?
__________________
Thank You

Javier
Advertising Websites
Reply With Quote
  #13  
Old 06-20-2003, 11:45 AM
gadgetgal99's Avatar
gadgetgal99 gadgetgal99 is offline
Vortech Inc. Customer
Vortech Inc. Customer
 
Location: Vegas
one piece of the code gets installed on the @mail defaiult page. Once that is done then there is apiece of code that you must insert in your custom login page that sets the correct information needed. So they make one change and then anyone that has set up a custom login page inserts the code into their page.
Reply With Quote
  #14  
Old 06-20-2003, 11:53 AM
javier011's Avatar
javier011 javier011 is offline
Business World
Vortech Inc. Customer
 
gadgetgal, I did understood that since the beginning,

What I am saying now, is that is very possible that is not matrix to insert the code but the @mail staff.

I dont know the exact location of the @mail software, maybe admin can respond to this.
__________________
Thank You

Javier
Advertising Websites
Reply With Quote
  #15  
Old 06-20-2003, 11:57 AM
jmbeach's Avatar
jmbeach jmbeach is offline
mistra know it all
Vortech Inc. Customer
 
Location: San Diego
my question is do you hope that @mail will udate their product to persist your custom variable to redirect to your custom login page?

Remember, if using the advanced interface it's not such a big deal because the logout button never refreshes, but if using the simple interface, the page is refreshed on every action.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make a custom login page for atmail for our clients? dipu Chit Chat Public 2 06-29-2003 11:46 AM


All times are GMT -5. The time now is 11:52 PM.


Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Vortech Inc. ©2005
Page generated in 0.95471 seconds with 19 queries
[Output: 108.88 Kb. compressed to 100.02 Kb. by saving 8.86 Kb. (8.14%)]