Jump to content

Joomla to display when logged into whmcs


gbensonii

Recommended Posts

I have an existing module I created to go on my Joomla Homepage (shown below) that I want to change so that when a client is logged in it will display a message that says something like "Hello George," or whatever the users name is followed by a button to logout. The module works well for the Login but I am not sure how to change it to check to see if your logged in and if you are logged in then to display the Hello message and Logout button.

 

Any suggestions?

 

Note: I have replaced the token value with x's for security purposes.

 

<html>
   <head>
   </head>
   <body>
       <form id="frmlogin" action="http://www.frugalhost.com/billing/whmcs/dologin.php" enctype="application/x-www-form-urlencoded" method="post">
	<input type="hidden" name="token" value="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" />
           <table id="whmcslogin" align="center" border="0" cellpadding="0" cellspacing="0">
               <tbody>
                   <tr>
                       <td colspan="2">Email:</td>
                   </tr>
                   <tr>
                       <td colspan="2"><input name="username" size="30" type="text" /></td>
                   </tr>
                   <tr>
                       <td colspan="2">Password:</td>
                   </tr>
                   <tr>
                       <td colspan="2"><input name="password" size="30" type="password" /></td>
                   </tr>
                   <tr>
                       <td><input name="rememberme2" value="on" type="checkbox" /> Remember Me</td>
                       <td style="text-align: right;"><input value="Login" type="submit" /></td>
                   </tr>
               </tbody>
           </table>
       </form>
   </body>
</html>

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