Jump to content

Show user logged in outside WHMCS in HTML.


faheemuddin91

Recommended Posts

Hello,

I have been searching for the solution to this problem but I couldn't. The problem is simple, we can display the login form outside whmcs in html page and if we login - the client area opens up, but when we go back to html, the login form is still showing.

 

I want to display a login message to logged in users. Please check the screenshot. The login information is being displayed in whmcs and not in html. I have read many posts but those methods wont work in html since those methods are for php files.

 

Any kind of help will be appreciated,

 

With Best Regards

clientlogin.jpg

Link to comment
Share on other sites

you probably can do it if you know enough about PHP to code it all yourself. I'm not sure how easy it is to get this information from WHMCS - you would need to know the session name it uses for example and integrate that into your pages. But HTML pages (ending in .htm or .html ) normally won't parse PHP code. You can however configure your server so it parses all html pages as PHP. Whether or not that is a good idea is another question...

Link to comment
Share on other sites

  • 3 months later...
I dont think you will be able to, better to add your pages to WHMCS then they will be able too..

 

But for added security, running WHMCS from a different VPS/Server from your main website CMS is a very good idea. We''d hate to have a our WHMCS hacked due to a bad pluggin in our main website CMS!

 

I might follow this up with Matt, as it would make integrating WHMCS into an existing site a lot easier, yet still keep it isolated.

 

Cheers,

Paul

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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