By Sophia on
Well, I have attempted to integrate Drupal with WHMCS (which is a reseller hosting package, fyi). The result can be seen here:
If there is any webhosting reseller in this community who is interested how it is done, I am willing to share information. If any of you have integrated the two with greater success I am willing to learn :)
Oh, the theme is a slightly modified zen classic (thank you for your assistence, gforce301!).
Comments
please share
Looks very nice in your website.
Any tips are welcom
Thanks :) Just tell me what
Thanks :) Just tell me what you wish to know, are you familiar with whmcs?
nice
Hi,
Looks great. Can u tell me how u did integration?
Thanks animator, now you
Thanks animator, now you forced me to reveal my dirty tricks :) I have to say it is not a full db integration, meaning the WHMCS part is hard coded... if you have a very dynamic menu (changing all the time) it would not work.
First, I synchronised all the stylesheets used in the Drupal theme with the header.tpl in the WHMCS template folder.
Then, and this is the "dirty" part I think, I went into the source file of the main (Drupal) page, and copied part of the body (the part containing the entire menu) into the body of the header.tpl file.
I did the same with the footer.tpl, that is, copy the footer part from the source into the footer.tpl file.
That was it... looks nice, done in seconds. I am sure there are better ways but I am not a coding expert :) I would love to hear if somebody created a full integration though, with a fully dynamic menu. Now, whenever I update the menu, I have to copy the source into the header template again.
Yikes, what happens when you
Yikes, what happens when you update either Drupal or WHMCS? You gotta do that all over again I would suspect. Yea, a more Drupalish way like a module would be better.
see this post, i automated it a tid bit more
take a look at my solution, http://drupal.org/node/687096
Tighter Integration
We have had success doing some tighter integration.
At My Account by Geekz we applied heavy restyling to the theme to tie it into the existing theme through the rest of our site network. Primarily themed after Hosting by Geekz which is itself a themed version of by Geekz to allow us to expand pages and use and expand Drupal to our liking. All theme work done to WHMCS was done by extending what already existing in the header and footer. Some custom PHP was used to draw in the custom footer used through out the rest of the site.
We also used a custom action-hook written in-house to tie WHMCS user sign-ups back into Drupal. We used an in-house Drupal module to tie new user sign-ups to WHMCS. Between these two we maintain account synchronization.
We will shortly be releasing both the action-hook and module on our Web Apps by Geekz store for a very affordable price. Both will be encrypted with the same method that WHMCS is, so if WHMCS runs, so will both of our modules. If you have any questions for us, feel free to email support@bygeekz.com, preferably with Integration somewhere in the title.
subscribing
subscribing
subscribing. would be nice
subscribing. would be nice to offer this integration module and instructions free of charge though.
I emailed bygeekz and
I emailed bygeekz and recieved great news that they'll be releasing the module soon!
Lets wait for them to finish up module for public release.
cool good work! thanks
cool good work! thanks bygeekz too :)
Question is though, will they
Question is though, will they be releasing it for free? On their site, the install and module is $20. Selecting the module alone is still $20. I'd really like this as a module, so I would consider paying the $20.
subscribing. It seems the
subscribing. It seems the site is down today, though.
So did this ever happen?
So did this ever happen? Don't see anything at the link but a contact form.
Wondering just that
Wondering just that myself.
None of the bygeekz links seem to be working, so are they still with us?
iFrames
Hi
I had serious problems with WHMCS sessions being reset with traditional php includes in my Drupal pages. WHMCS
was creating a new session every time I connected to a password protected page.
I have found a solution that for me is sufficiently acceptable. I have decided to use the much maligned iframe
within my drupal pages to include WHMCS content.
I have found some very nice code here
[url]http://www.wolfcreekconsulting.com/support/techlib/web/DynamicallyResize...
to reshape the iframe on reload of its content. This means crucially that there are no ugly scroll bars on your iframe.
Select view page source to view code.Remove all the table related html from his example and just use the iframe tag.
One important thing I discovered was that an http iframe cannot resize itself based on https
content and vice versa. Therefore it is important to mod rewrite all http links within Drupal to https and to set your WHMCS installation to always deliver in https(This is done by setting the system url to [url]https://www.yourdomain.com/whmcs[/url] and blanking out the WHMCS SSL System URL. All this is in General settings of WHMCS admin)
Once included you would then need to update your theme's css with the style required by WHMCS and match them to your current theme.
Hope that helps someone
Eugene Martin
Interesting work around
Do you have a link to this solution?
I'm looking at implementing
I'm looking at implementing WHMCS as well and I've got no clue at this point (although just beginning to look). I presume there's no module. What have others done to successfully implement WHMCS on a drupal site?
Is there any way to at least handle single signon between Drupal and WHMCS?
signon between Drupal and WHMCS
Hi,
Yes i would also like a single signon between Drupal and WHMCS.... as well as the integration so man others are requesting.
Any word yet on this?
thanks
I also do it with iFrames.
I also do it with iFrames. Very easy and no problems upgrading WHMCS or Drupal independent of each other. I don't remember having to do anything special other than installing the iframes module. Site is still chugging away signing up customers.
On the WHMCS side all I did was disable the header so I don't get that big huge whmcs logo inside an iframe with my website logo on top of that outside the iframe. That was more an asthetic thing.
Not sure what the aversion to iFrames is but for this application it seems ideal to me.
The code is no longer available
Hi Eugene,
Do you still have a copy of the DynamicallyResizedIframesDemo.php. The link above is no longer valid.
Thanks
Matthew
Hi everyone, Regularly we
Hi everyone,
Regularly we still receive questions about my Drupal integration, and I wondered why, until I realized I never updated this article to say we decided not to use Drupal anymore on our hosting site. I found that for our needs, a full Drupal integration was not necessary, so I abandoned Drupal and went for a full WHMCS theme. I still love Drupal to bits, but it was easier to just use WHMCS :) Our forum was hardly used at all, it seems that most of our customers prefer the ticket/chat system and it was of no use to keep it all running for one or two who did use it. I'm sorry about not telling everybody earlier :)
WHMCS Integrator by GoHigherIS
There will be a possibility to integrate Drupal and WHMCS fully, incl. sessions and user accounts. GoHigherIS is planning to release in near future their WHMCS Integrator (which now works only with Joomla) in the version that allows full integration (design, sessions, user accounts) of Drupal and WHMCS.
That would be cool
That would be cool
OH YEAH!! thats what i've
OH YEAH!! thats what i've been waiting for.
When I went through this before I ended up having to go with a Joomla site because you guys only did an integration with that. The day you bring this out I will rebuild out entire site on Drupal (my favourite) and get your integration : )
Please as soon as you can
Exactly! Yeahh. I am waiting
I am waiting to do the same. I am tired of Joomla
Just an update because I'm
Just an update because I'm still searching for a solution here. I heard from GoHigherIS that their Drupal/WHMCS integration is still quite some time away...
I've had someone quote me on integrating them through a single sign-on using Drupal core that will create, delete and sync a drupal user based on whmcs. I do not know as yet how this is going to be effected by session tracking, for instance if a user is logged into Drupal will it show up in WHMCS as being logged in, and vis versa.
This single sign-on solutions does not cover the theme integration (i.e. if Drupal changes so does the WHMCS theme). But a tthis point it looks as though manually changing the WHMCS them is the only way as IFrames seem to get sucha bad wrap... pardon the pun : )
I'll keep the thread updated will any developments and appreciate anything from anyone else.
Cheers : )
WHMCS - Integration - API
Dear Sophia,
I know this is an older posting I am responding to but I would like to know about your experience with WHMCS. I am soon to purchase the latest version of this software will all of the addons. And would like to know about your experience. How was your liked this software. Can you tell me a little about the benefit of integration with drupal. Also how to whmcs integrate with drupal how easy is it to perform.
Drupal Normal Guy
Very Interesting
I've been looking into tying in some bash scripts, maybe simple perl, to accomplish some sysadmin stuff. Would be great to have a ton of stuff built in linking drupal to a hosting management platform. I'm assuming what all this chatter is about, subscribing!
Drupal - WHMCS authentication
Hello,
Hostdog is a web hosting company located in Thessaloniki, Greece. We are already using Drupal to handle authentication and keeping track of WHMCS users, invoices and orders. We also intend to release a series of modules to integrate basic functionality of WHMCS to Drupal.
After long developing and usage of Drupal with WHMCS external API, we are in the very pleasant position to announce the release of two Drupal - WHMCS modules ( WHMCS AUTH module and WHMCS API module )
We are currently in the process of formatting the code and submitting it as a sandbox project ( reviewers will be greatly appreciated ;) ).
Hi, this sounds great... i'll
Hi,
this sounds great... i'll have a good look.
Can I ask if you have limited isolated where clients can change their account details i.e. in Drupal or/and whmcs?
Are they synced?... whats your approach to this?
Look forward to see it
We keep clients account
We keep clients account details, registration, and reset password functionality at WHMCS system and redirect users to Drupal only for login.
Currently (via whmcs_auth module) from Drupal side a user account is created at the first login with WHMCS group permissions and the WHMCS ID is stored in a field.
We are planning to release support for client data sync using the same approach (update Drupal's user fields once they have changed since last login) with a new module.
I love the idea hostdog and
I love the idea hostdog and appreciate the effort!
Please post here when you have created the sandbox.
I'm getting this when trying to login at the front end. I have followed your instructions to the best of my knowledge at least.
Deprecated function: Call-time pass-by-reference has been deprecated in drupal_load() (line 1100 of /var/www/html/dev/includes/bootstrap.inc).
Warning: simplexml_load_string(): Entity: line 1: parser error : Start tag expected, '<' not found in whmcs_api() (line 137 of /var/www/html/dev/sites/all/modules/whmcs_api/whmcs_api.module).
Warning: simplexml_load_string(): result=error;message=Invalid IP XX.XX.XX.XX(my ip was here); in whmcs_api() (line 137 of /var/www/html/dev/sites/all/modules/whmcs_api/whmcs_api.module).
Warning: simplexml_load_string(): ^ in whmcs_api() (line 137 of /var/www/html/dev/sites/all/modules/whmcs_api/whmcs_api.module).
Notice: Trying to get property of non-object in whmcs_auth_user_exists() (line 237 of /var/www/html/dev/sites/all/modules/whmcs_auth/whmcs_auth.module).
Notice: Trying to get property of non-object in whmcs_auth_user_exists() (line 237 of /var/www/html/dev/sites/all/modules/whmcs_auth/whmcs_auth.module).
Notice: Trying to get property of non-object in whmcs_auth_user_exists() (line 237 of /var/www/html/dev/sites/all/modules/whmcs_auth/whmcs_auth.module).
Sorry, unrecognized username or password. Have you forgotten your password?
Now that sounds really useful
Now that sounds really useful. Will take a look, thanks for the effort
website
Very nice layout structure.
Hi Sofia
I would like to know how you integrated Drupal with WHMCS..?
I found some links about Drupal integration on WHMCS forum website..
http://forum.whmcs.com/showthread.php?31807-Drupal-WHMCS
http://forum.whmcs.com/showthread.php?75079-Two-Drupal-modules-for-WHMCS
I guess these guys had some success as well https://www.snowball.co.za/ , https://www.snowball.co.za/support
Look forward to hearing more..
Thanks,
Zion
LIke to get it going on my hosting company
I like to have a copy of it
Drupal Integration
Please I need that Information
I also do it with iFrames.
I also do it with iFrames. Very easy and no problems upgrading WHMCS or Drupal independent of each other. I don't remember having to do anything special other than installing the iframes module. Site is still chugging away signing up customers.
The WHMCS MODULE fully
The WHMCS module fully integrates the WHMCS API into a Drupal website making all information in whmcs available to a Drupal website.
WHMCS is an all-in-one client management, billing & support solution for online businesses. Handling everything from signup to termination.
You must have a licensed version of WHMCS to fully utilize this module and it's sub-modules.