Jump to content

BillP

Members
  • Posts

    13
  • Joined

  • Last visited

BillP's Achievements

Newbie

Newbie (1/14)

3

Reputation

  1. I agree with the OP. Correct me if I'm wrong in any of the following, but the current situation with Blesta regarding languages is: 1. As installed, Blesta only does US English. 2. Language files to be able to use languages other than the default US English can be installed, as Mike says, from translate.blesta.com. 3. This then gives the admin control panel the ability to set the site-wide default language to other than US English. 4. It also gives a logged-in client in the client area the ability to set their own language for their account, overriding the default. 5. However, these language facilities does not give the visitor/potential client to the order forms the ability to have those in anything other than the default language set in 1 or 2. I would like to see facilities to be able to change the language in the order form for non-logged in users by means of a URL query string, in the same way that the currency in the order forms can be changed per user. I would also mention for those interested in providing or using the British English translation files that they are far from fit for purpose. British English is a bit of a special case, though, and doesn't fit well into the crowd sourced translation utility. The great majority of the language phrases will be just the same in both US English and British English, so do not need translating. But many are, while the default US English entries would be perfectly correct. Also, I have found that many of those phrases that do need translating are incorrectly translated in the British English files, retaining US spellings and usage. For instance, the American English spelling of the British English word 'colour' is used, also the American English files use the abbreviation of the hash symbol to mean 'number', which are retained in the British English files, but are never used in the UK in that context. There are also a couple of examples of phrases in the British English files that are in some other non-English language.
  2. BillP

    Geoip

    Thank you.
  3. BillP

    Geoip

    I have the GeoIP system set up in Blesta. What's the best way to tap into that on custom client pages that I'm building? I just need the client's country code. Thanks.
  4. Thanks Mike I put: // Not logged in? if (!$this->Html->ifSet($logged_in)) { // Send user to Login $this->requireLogin(); } at the top of appropriate methods in each controller. Works fine.
  5. Having created a plugin using the developer documentation (http://docs.blesta.com/display/dev/Plugins) that creates new pages in the client area, I notice that I am able to browse those pages without being logged in as a client. How do I make them protected by the auth component? Thanks for your help.
  6. I want to extend Blesta. I would like to write a plugin that hooks into the addPaidPendingServices function in the Cron controller, by creating an event whose callback function creates a further cron task. That may or may not be the best way to achieve what I want, but that's probably a question for another day. My question for now is how do I start this off in a way that doesn't get broken by an upgrade to Blesta? Thanks for general help and suggestions about avoiding having developments of Blesta being broken by Blesta upgrades.
  7. BillP

    Geolitecity.dat

    Thanks Paul, that worked fine. Now - what facilities does this give me?
  8. BillP

    Geolitecity.dat

    Where does Blesta expect to find GeoLiteCity.dat? The only reference I can find to it is in settings/system/general/geoip/ where it says 'The file should be unzipped and uploaded to system/GeoLiteCity.dat'. I'm not clear what is meant by 'system'. I tried putting it in /usr/local/share/GeoIP as suggested on the MaxMind site, but it doesn't seem to be recognised there. My server is Ubuntu 12.04. Having got it working, what features does Blesta have to use GeoIP? Thanks for your help.
  9. Hi Marcel Thank you for your suggestion re. module account limit. I tried doing that - i.e. setting the Account Limit in Edit cPanel Server to 200. Then in the Module Options in Update Package I set the Server Group back from 'Any' to the group I created and called 'UK', and tested as a client buying a package from that group and it worked just fine, no more "An internal error occurred. The module row is unavailable."! So thank you very much! I don't know why it worked but it did.
  10. The service was set up as a zero-cost item. What does Blesta do in that case? Is there an invoice raised for zero? On checking the client's account, there are invoices for zero amount. Having manually provisioned them they have a status of Sent and have dates set in all three columns - Date Closed, Date Billled and Date Due. When I get to the point of setting up Blesta for real, I don't expect to have any zero-cost services, so I don't expect this to be a problem. (Edit - I've just discovered that cron handles the provisioning - I didn't need to do it manually) Still Wondering why I wasn't able to use the server group. Would it be because I have just one server registered?
  11. Thanks Paul & Mike I tried reinstalling the cPanel module a couple of times and resetting the server in the package with no change - still getting the error. But in Update Package, the Module Options panel, when I changed the Server Group drop down from 'UK' (which I had set to use my hosting server) to 'Any', the order completed to Pending with no error. That's good, but leaves me wondering why I couldn't get it to use the selected server group. The other query regarding that is why it didn't provision the hosting directly. I do not have "Require Manual Review and Approval of All Orders" checked in the order form. Thanks for your help. Despite a few glitches getting things set up, it's great to be using some software that feels well designed and well built.
  12. Hello I'm a new user and having just installed Blesta as a trial and trying things out I am having exactly the same problem as Marcel was. I notice the problem was solved but no solution was posted for others to see. Please share what you found Marcel/Mike. In short, I have a zero-priced hosting product set up in Blesta, linking to a cPanel package. Going through the purchase/checkout process, after submitting the order Blesta comes back with the message "An internal error occurred. The module row is unavailable.". I have enabled error reporting in Blesta config as detailed by Mike, and am getting nothing in the Blesta module log. Thank you for your help. Bill Pearce
×
×
  • Create New...