Author Topic: Mulitple sites/ multiple vendors  (Read 331 times)

Offline jwrourke

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
Mulitple sites/ multiple vendors
« on: 13/June/2012, 08:22:49 PM »
Using nBill with a full domain licence I am trying to set up a student services franchise site for a client.  nBill seems to address most needs but I was wondering if it would be possible to use a Joomla extension like Multi Sites http://extensions.joomla.org/extensions/core-enhancements/multiple-sites/5550 then setup some subdomains and then be able to install nBill more than once...then the multiple vendor problems will not exist (i.e.  vendor1 will be able to login and see only his orders, vendor1 will have his own paypal account, etc.) Is this possible?

Offline netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,955
    • View Profile
Re: Mulitple sites/ multiple vendors
« Reply #1 on: 14/June/2012, 10:12:15 AM »
I am not familiar with the workings of Multisites, but judging by the description on the JED it would appear to use separate database table prefixes for each site, in which case it would probably work (I cannot guarantee it, as I have never used Multisites). If you have a domain-wide nBill license key for the primary domain, you can use that same license key on all sub-domains.

Offline jwrourke

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
Re: Mulitple sites/ multiple vendors
« Reply #2 on: 26/June/2012, 04:20:00 PM »
Well...the theory is good; since JMS Multisites uses different prefixs for the database for the slave sites nBill should work; but what is happening it seems is that nBill in the Slave sites is not loading the tables into the new prefixes and therefore is sharing all information between the Master and Slave sites (eg. if I add a new vendor in Slave1 it is also there in Slave2 and Master) When I install another extension such as Kunena forms, I do not have a problem with the sharing of information between Master and slaves. I have been in touch with the developer of JMS Multisites and he informs me that because of the ionCude encryption they are not able to look into the nBill extension to see what is happening.  I think that JMS Multisites would really give us flexibility and solve the problem we have with mulitple vendors and having different paypal accounts for each vendor. Do you have any ideas of what we can do to solve this?

Offline netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,955
    • View Profile
Re: Mulitple sites/ multiple vendors
« Reply #3 on: 27/June/2012, 08:08:31 AM »
From the JMS Multi Sites JED description:

Quote
You can decide to use:
- One database for all the websites. In this case, you must specify different database table prefix for each websites.
- Two databases (One master database and One slave database). This architecture is advised when you want to install JMS on an existing website and you are limited in the number of databases you can create (or disk space).
- As many databases than there are websites. This is the most flexible architecture where each websites works with its own database. This is generally the architecture adopted by joomla when you create multiple websites.

Can you use the 'as many databases as there are websites' option rather than the master/slave option?

Offline jwrourke

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
Re: Mulitple sites/ multiple vendors
« Reply #4 on: 28/June/2012, 08:18:02 PM »
Yes JMS Multisite can be used with separate databases...I have confirmed it works fine with Kunena Forum as an example, and a host of other Joomla extensions; but when I install nBill (with a separate database) it still is reading information from the original database.  I am trying to resolve this issue for my client and future clients that require multiple vendors.  I can't just install nBill into completely separate websites for the client because then the ACL would not be shared and every new customer would have to somehow get routed into different websites.  I really think that the potential to solve all the issues is close.  Could you possibly look into the code a bit further.

"The problem of nBill is that they are reading information from another place and I don't know where as the code is confidential (encrypted). ~ The developer of JMS Multisites

Offline netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,955
    • View Profile
Re: Mulitple sites/ multiple vendors
« Reply #5 on: 29/June/2012, 01:02:43 PM »
If you submit a support ticket, giving me access to your JMS Multisite installation so I can do some testing, I will see if I can find out what is wrong (not something I am willing to spend a lot of time on though!)