Jump to content

Joomla and WHMCS Integration


Mozzie

Recommended Posts

Hello, I've been developing an online backup service using WHMCS and Joomla. Matt has helped me by developing a new payment gateway and module for creating user accounts in the backup server. I'm almost at a go live state just working through some finer points.

 

Keen to get some feedback...

 

http://www.mozzie.co.nz

 

Regards

Paul

Link to comment
Share on other sites

Wow nice one :)

I like the fact you've not used the flash banner throughout the site, and only on the front page. It has a nice template and layout.

 

One thing I noticed is that the search (as far as I could see) in the top right only searched the Joomla side of things. I'm not sure but it might be possible to include WHMCS KB and announcments into it?

 

Still, very good overall :)

Link to comment
Share on other sites

Very nice.

 

Mozzie, could you give me a tip on how you setup the login form on the home page to pass through the WHMCS login. Is it just a custom login form in a module? I have been unable to build a form in a custom module, and also unable to modify an existing Joomla! login module to work with WHMCS.

 

Nice work!

Link to comment
Share on other sites

Thanks guys,

 

The WHMCS login (on the front page) is a Joomla banner with WHMCS login code placed in the customer banner code field. WHMCS provide the code

-=-=-=-

<a{NAME}</a>

If you have already registered please login to our customer area

<br/>

<form method="post" action="http://www.mozzie.co.nz/whmcs/dologin.php?goto=clientarea">

Email Address: <input type="text" name="username" size="20"><br>

Password: <input type="password" name="password" size="10"><br>

<input type="submit" value="Login">

<br/>

-=-=-=-=

Stick that in the banner, define where the banner is shown and you're good to go.

 

Good point about the search not searching WHMCS (I never noticed :-)

Link to comment
Share on other sites

I'm sorry but I do not understand how you put this in a BANNER for Joomla.. do you mean a MODULE?

 

A banner would only be an image and used for tracking click throughs via an ad campaign for example, and usually most templates have only a few areas you can place a banner. There are also several elimates you have to define before it will even let you create a new one (like a banner image).

 

Please define if you could. If this is a module, could you explain how you were able to write <form> tags (even directly into the HTML WYSIWIG) as I am unable to do so.

 

Thanks! :-)

Link to comment
Share on other sites

ok 9thnode, here goes...

 

I assume you have the banner module installed (comes with Joomla base install).

 

1. (need to create a banner Client & Category first), Click Components > Banner > Category (create new Category, I called ming WHMCS).

2. (create client), Click Components > Banner > Client (create new Client - note these items don;t have much info).

3. (create new module), click Extensions > Module Manager > (Create new module) Click New > select Banner. The important parts in here is in the parameters (right side) make sure you select Banner Client and Category that you create above (make sure its enabled).

4. (now we create the actual banner), click Components > Banners > Banner > New

5. Enter name , select the category and client name.

6. In the click URL field place "http://www.yourdomain/clientarea.php"

7. In the customer banner code field paste

<a{NAME}</a>

If you have already registered please login to our customer area

<br/>

<form method="post" action="http://www.mozzie.co.nz/whmcs/dologin.php?goto=clientarea">

Email Address: <input type="text" name="username" size="20"><br>

Password: <input type="password" name="password" size="10"><br>

<input type="submit" value="Login">

<br/>

8. You can put other text and pictures as required.

 

Hope this helps, let me know if it worked (this is my first real assist anyone since joining)

Link to comment
Share on other sites

Thank you very much for your help. :-)

 

However, while following your directions I'm noticing you have some options that I do not. One example is I do not have the ability to create Categories for Banners. Only clients.

 

I am going to assume you are using Joomla 1.5stable correct? I am using 1.0 still.

 

I believe the template I'm working with will still be compatible with 1.5 (hopefully)

 

I will try this with my version however, I'm already getting stuck on the part where "make sure you select Banner Client and Category that you create above" because this does not exist in my version.

 

Any ideas?

Link to comment
Share on other sites

Yes I am using 1.5 (sorry forgot to mention that :-)

 

I started on 1.0 mid last year when I was investigating Joomla, I quickly decided to use Joomla but wait till 1.5 stable was out to really get into it. If your site is relatively simple I'd recommend you move to 1.5 (its much easier) - of course you'll have to do a fresh install and recreate the site, I did this and found it a good execerise that helped me improve my understanding of Joomla.

 

Although as i write this I'm surprised the banners don;t work the same between 1.0 and 1.5!

 

Regards

Paul.

Link to comment
Share on other sites

  • 1 month later...
Please define if you could. If this is a module, could you explain how you were able to write <form> tags (even directly into the HTML WYSIWIG) as I am unable to do so.

 

It is not necessary to use the banner component to accomplish this. Just create a new module for it. You can enter the <form> tags by opening the HTML source (button is located in the wysiwyg editor buttons) and add the form script to the textarea. Very easy to do. If you have problems opening the HTML source, turn off your editor in your user manager first.

 

Best wishes,

Rae

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