tubadc Posted May 28, 2007 Share Posted May 28, 2007 Hi im trying to change de login redirect dologin.php?goto=clientarea to dologin.php?goto=index It works nice, but if the client entrer the wrong user/pass, its dosent show any alert.... How can i do it, show a alert in the index page only if the client enter a wrong one...?? Tks 0 Quote Link to comment Share on other sites More sharing options...
tubadc Posted May 29, 2007 Author Share Posted May 29, 2007 please someone give a idea please.... 0 Quote Link to comment Share on other sites More sharing options...
l0gic Posted May 29, 2007 Share Posted May 29, 2007 Hi tubadc, I've also tested this and you're right, it doesn't show that the password is wrong, it just directs to the index of the client area without logging the person in. There obviously is a function for an incorrect password since it directed me to "clients/index.php?func=incorrect", but it doesn't say anywhere about the login/password being wrong. Maybe Matt will browse this thread: Matt, is this by design or was something missed? 0 Quote Link to comment Share on other sites More sharing options...
tubadc Posted May 29, 2007 Author Share Posted May 29, 2007 What i have donne is like insert in the header the code {if !$loggedin} show error and fields to log {/if} But its a terrible solution, because the message appears everywhere including in the shopping when the client isnt logged... And i really need this because i create a way in the front of the panel to customer login into the Plesk or Webmail... so when a costumer login in the site, he needs to be redirect to de index, not to the client area... Please Matt one more time.... help us if its possible.... Tks 0 Quote Link to comment Share on other sites More sharing options...
skshost Posted May 29, 2007 Share Posted May 29, 2007 I have this working pretty nice: http://my.skshost.com/index.php?func=incorrect 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted May 29, 2007 WHMCS CEO Share Posted May 29, 2007 You have to redirect to the client area page if you want an error to show with the default setup. If you redirect to a page without the login form on then of course no error will appear. Matt 0 Quote Link to comment Share on other sites More sharing options...
l0gic Posted May 29, 2007 Share Posted May 29, 2007 I have this working pretty nice: http://my.skshost.com/index.php?func=incorrect Hi Skshost, Nice integration, very classy site. How did you get the func=incorrect to show the wrong password error? (Is this because of what Matt said re: the login form?) I guess your site is quite integrated with WHMCS which allows for the errors and stuff to show up nicely formatted to fit the rest of your site. I'm working towards that with mine, but slowly. 0 Quote Link to comment Share on other sites More sharing options...
tubadc Posted May 30, 2007 Author Share Posted May 30, 2007 But this i already have donne... http://www.matrixidc.com.br/painel What im tring to do is take out the loggin request of the header for the shopping templates for example... 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.