Jump to content

Front-end multi company customization


Veus

Recommended Posts

Hi,

 

A few people have PMed me about how to setup multi company customization.

We have it at both of our sites http://www.cendoo.com and http://www.blizoo.com

 

The blizoo site is almost done and can be seen at http://www.blizoo.com/design

All the pages have been customised.

As you can see on Blizoo, the link to WHMCS is https://clients.centation.com/?host=Blizoo'>https://clients.centation.com/?host=Blizoo

 

This will bring up the blizoo layout. Once a user has accessed clients.centation.com with the host parameter, a cookie is stored on the users computer stating which host they belong to.

Try going to https://clients.centation.com plain, before and after you went to the ?host=Blizoo link.

 

As for the second company, you can see how the layouts are used by first going to:

 

http://clients.centation.com/?host=Blizoo

then

http://clients.centation.com/?host=Cendoo

 

The Cendoo layout for WHMCS hasnt been customised as much, the blizoo one has had all pages edited.

 

Please let me know what you think.

Also if anyone wants the code for this, i will be posting it soon on these forums.

Link to comment
Share on other sites

Hi,

 

A few people have PMed me about how to setup multi company customization.

We have it at both of our sites http://www.cendoo.com and http://www.blizoo.com

 

The blizoo site is almost done and can be seen at http://www.blizoo.com/design

All the pages have been customised.

As you can see on Blizoo, the link to WHMCS is https://clients.centation.com/?host=Blizoo'>https://clients.centation.com/?host=Blizoo

 

This will bring up the blizoo layout. Once a user has accessed clients.centation.com with the host parameter, a cookie is stored on the users computer stating which host they belong to.

Try going to https://clients.centation.com plain, before and after you went to the ?host=Blizoo link.

 

As for the second company, you can see how the layouts are used by first going to:

 

http://clients.centation.com/?host=Blizoo

then

http://clients.centation.com/?host=Cendoo

 

The Cendoo layout for WHMCS hasnt been customised as much, the blizoo one has had all pages edited.

 

Please let me know what you think.

Also if anyone wants the code for this, i will be posting it soon on these forums.

 

Are you storing which host they are using in a custom field as well? Also, i havent done any digging yet, but none of your emails will show the company name either. Right? I was planning on doing something like this last year, but there were just to many backend limitations that i didnt want to deal with.

Link to comment
Share on other sites

Are you storing which host they are using in a custom field as well?

 

Nope, the hosting package they are on indicates what host they are with. We have two categories setup in WHMCS, one containing Blizoo packages the other containing Cendoo packages.

We dont store a custom field as this would cause to many problems. Aslo this way means the client can have accounts on the 'budget' Blizoo as well as 'professional' Cendoo.

 

Also, i havent done any digging yet, but none of your emails will show the company name either. Right?

Well at the moment both Blizoo and Cendoo arent companies. Centation is the company.

Everything is billed as Centation with Centation appearing on all the emails.

 

I was planning on doing something like this last year, but there were just to many backend limitations that i didnt want to deal with.

 

We havent changed much on the backend. According to WHMCS all clients are billed by Centation. Its just the front end layouts which change.

Link to comment
Share on other sites

Actually, MAC, in regards to multi company, it should theoretically be feasible, as long as you use a theme for each, as used above, track the company signed up with in a custom field, edit both invoices and pdf to show the correct company name, and additionally, any name, address or telephone appearing on the user end, but assigned to a smarty variable could be replaced with the proper info.

 

The only limitation would be support tickets.

 

This is all not too difficult to do.

Link to comment
Share on other sites

Hi Veus

 

Nice work - though I just noticed a typo on Blizoo support home page

 

If you have any pre-sale questions, then please feel free to send us an email and we will getr back to you in a flash.

 

The 'r' after get -> getr

 

Keep up the good work

 

Regards

Link to comment
Share on other sites

No problem Veus

 

Based on that I gave Blizoo another trawl and found a couple more..

 

However ber warned,
under the 'Email' heading in support.

 

And...

 

Give us a call today, what have you got to loose?

 

Should only be one 'o' = lose?

 

Keep up the good work.

 

David

Link to comment
Share on other sites

Design is great, glad to see something different. Sometimes you don't want people to know you run 2 hosting companies. I personally would have just had one of the domains parked and IF domain.. else.. But your design is great!

Link to comment
Share on other sites

There is only one copy of WHMCS. This is completely legal as all it is is using simple smarty code to switch the css.

 

This can easily be done, as long as the designs of the two layouts you want to use are exact in the html, with all the design in the css.

 

Technically you could have an unlimited amount of brands for your company if you wanted :)

 

Thank you for all the kind words about the design :)

Link to comment
Share on other sites

Very soon, just finishing up the customization.

 

Another issue i have just come across.

 

All our product categories are hidden, so if you go to order.php the drop down box is empty and no products are listed.

We have just solved this by adding some PHP which again checks which cookie is set (so which host the user is browsing) and then populates all the products from the relevant category.

So we dont need the top drop down box at all and just displays the relevant products.

 

The limitation of this is that we only have two categories, Blizoo and Cendoo. With any reseller packages for Blizoo being a part of the Blizoo category, instead of its own category.

 

This problem could be got around so what you could store them internally as seperate categories and display all products for the named category and the extra one.

 

All of this code will be posted soon.

Link to comment
Share on other sites

  • 5 years later...

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