#1 (permalink)  
Old 05-15-2008, 04:13 PM
Registered User
 
Join Date: Dec 2003
Location: someplace
Posts: 19
adm.iuri
Cool redirect on login success (custom login)

When using a custom login, I know that is possible to set a page to be called on a fail login, so is possible to set the page to be called on a success login?

REF: http://www.cpanel.net/cpanel-login.phps
__________________
---
Iuri
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-15-2008, 05:10 PM
cPanelDavidG's Avatar
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 7,995
cPanelDavidG is on a distinguished road
Quote:
Originally Posted by adm.iuri View Post
When using a custom login, I know that is possible to set a page to be called on a fail login, so is possible to set the page to be called on a success login?

REF: http://www.cpanel.net/cpanel-login.phps
This works for me on: WHM 11.23.0 cPanel 11.23.1-E24388

What version are you running?
__________________
Want our technical analysts to login to your server to assist you? You can contact our technical analysts at: http://tickets.cPanel.net/submit
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-15-2008, 06:22 PM
Registered User
 
Join Date: Dec 2003
Location: someplace
Posts: 19
adm.iuri
Quote:
Originally Posted by cPanelDavidG View Post
This works for me on: WHM 11.23.0 cPanel 11.23.1-E24388

What version are you running?

It works for me too.

But on success it redirects to http://server:2082/frontend/x3, I want a redirect to something else.

if I pass a url in 'failurl' it's will redirect to it on fail, I want something like this but for success. (maybe successurl)
__________________
---
Iuri
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-16-2008, 10:13 AM
cPanelDavidG's Avatar
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 7,995
cPanelDavidG is on a distinguished road
Quote:
Originally Posted by adm.iuri View Post
It works for me too.

But on success it redirects to http://server:2082/frontend/x3, I want a redirect to something else.

if I pass a url in 'failurl' it's will redirect to it on fail, I want something like this but for success. (maybe successurl)
I meant to say that the failurl parameter works as intended for me, redirecting to the URL I provided upon a failed login.
__________________
Want our technical analysts to login to your server to assist you? You can contact our technical analysts at: http://tickets.cPanel.net/submit
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 05-16-2008, 11:33 AM
cpanelkenneth's Avatar
cPanel Quality Assurance
 
Join Date: Apr 2006
Posts: 3,222
cpanelkenneth is on a distinguished road
Quote:
Originally Posted by adm.iuri View Post
It works for me too.

But on success it redirects to http://server:2082/frontend/x3, I want a redirect to something else.

if I pass a url in 'failurl' it's will redirect to it on fail, I want something like this but for success. (maybe successurl)
You likely need to have a customized theme, and then set the account(s) to use that theme.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 05-19-2008, 07:07 PM
Registered User
 
Join Date: Dec 2003
Location: someplace
Posts: 19
adm.iuri
Talking

Thanks,

This is not the perfect solution but I think it will work.
__________________
---
Iuri
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 05-20-2008, 10:56 AM
cPanelDavidG's Avatar
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 7,995
cPanelDavidG is on a distinguished road
Quote:
Originally Posted by adm.iuri View Post
Thanks,

This is not the perfect solution but I think it will work.
You can also just use the branding editor to change the appearance of the interface and then apply that branding to all your users' accounts.
__________________
Want our technical analysts to login to your server to assist you? You can contact our technical analysts at: http://tickets.cPanel.net/submit
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 05-21-2008, 02:35 PM
Registered User
 
Join Date: Dec 2003
Location: someplace
Posts: 19
adm.iuri
Quote:
Originally Posted by cpanelkenneth View Post
You likely need to have a customized theme, and then set the account(s) to use that theme.
One more question:

is possible to an user select the theme on login screen (disabling htauth first of coure)
__________________
---
Iuri
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 05-21-2008, 02:57 PM
cPanelDavidG's Avatar
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 7,995
cPanelDavidG is on a distinguished road
Quote:
Originally Posted by adm.iuri View Post
One more question:

is possible to an user select the theme on login screen (disabling htauth first of coure)
That functionality is not available at this time as the cPanel theme cannot be set via a login form. Offhand, I can't think of any reliable method to programmaticly modify a user's theme as needed during (or immediately preceding) the login process.
__________________
Want our technical analysts to login to your server to assist you? You can contact our technical analysts at: http://tickets.cPanel.net/submit
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:58 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc