Jump to content

Will Hosting

Member
  • Posts

    3
  • Joined

  • Last visited

About Will Hosting

Will Hosting's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. I've been trying recently to make the login page on our website homepage show a link "Go to client portal" when the user is logged into WHMCS in the portal but show the login form when they're not. This PHP page is outside of WHMCS, hosted in the public_html/ folder and WHMCS is in the portal/ folder. I've tried using PHP sessions but using $_SESSION['uid'] has been getting me nowhere and refuses to work at all. I was wondering if anyone had finally gotten this to work and if so, please share some example code, I know many other users are looking for this same solution too. Thanks!
  2. Hello, I was wondering if there is any way to check whether a client is logged in on my homepage. I have the WHMCS portal/panel integrated already and I want to show a log in box on my homepage. I want it so that if they are not signed in, a login form appears (already have the code for that) and if they are signed in, then it shows the following: Welcome Back, [first name]! [Link to portal] [sign out link] I was also wondering if it was possible to show an admin page link if the user is an admin. Any suggestions about how to show different text if they are signed in or if they are signed out? The current portal is at http://portal.willhosting.com/ and the website is at http://willhosting.com (though, we are working on a beta one, too) If anyone could help, it would be greatly appreciated by Will Hosting and by our clients.
×
×
  • 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