Jump to content

bucasia

Retired Forum Member
  • Posts

    3
  • Joined

  • Last visited

About bucasia

bucasia's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Just an update ... I did what I wanted with Rewrite rules in httpd.conf - Options +FollowSymLinks RewriteEngine on RewriteCond %{QUERY_STRING} ^incorrect=true$ RewriteRule ^clientarea\.php$ [url]https://mysite.com/custlogin.html?[/url] [R=301,L]
  2. Hi Shaun, Thanks for the reply. The closest I've got so far is modifying the line at the top of login.tpl that checks if is an incorrect login to this - {if $incorrect} <meta http-equiv="refresh" content="0; url=https://mysite.com/custlogin.html"> {/if} This works but it briefly loads the normal customer area before redirecting to my site. It looks like I can't use a PHP header line as text has already been sent to the browser, and I don't want to have to rely on javascript being enabled on the client. I guess I could check out doing a redirect using .htaccess if there's nothing in WHCMS to help with it? Thanks, Matt
  3. Hi guys, Just customizing WHMCS for the first time - cool software, I like it. I want a login page on my website which I've created based on instructions in this forum. I also want my login page to be the only login page that the customer can get to. So I've edited includes/actionhooks.php and added a line to actionhook_ClientLogout so that when the user logs out they are redirected to my site and my custom login page works well. They only thing I can't figure out how to do is if the user enters an incorrect username/password they end up at /clientarea.php?incorrect=true Any way I can change that so that they end up back at my login page instead? Thanks, Matt
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated