Jump to content

Stu

Members
  • Posts

    51
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Stu

  1. Stu

    SolusVM API user

    Posting this for others... Thanks for your help Paul Creating a package and selecting the SolusVM module should prompt an API call to your SolusVM master server. For SolusVM, when managing the module under Settings > Company > Modules, you should create a Server Group and add your SolusVM master server into the group. The reason for this is that there's a bug with 4.0 that will not populate the module fields correctly if it doesn't belong to a group. In either case though, you should see the API request in Tools > Logs > Module log. Click the row to expand. It should look something like this: INPUT your.solusvm.server|list-plans a:1:{s:4:"type";s:3:"xen";} OUTPUT your.solusvm.server <?xml version='1.0'?> <status>success</status> <statusmsg></statusmsg> <plans> <plan> <id>9</id> <name>20</name> <ipv6subnets>0</ipv6subnets> <automatedbackups>1</automatedbackups>
  2. Stu

    SolusVM API user

    thanks Paul, I didnt realise each line expanded when you click on it lol. It turns out it was just a case of waiting for the blesta process to run and connect to the SoluVM API and pull the details. Is there a way to manually force whatever process that is to run? would be useful to know how for testing purposes. Thanks
  3. Stu

    SolusVM API user

    I am setting up solusVM for the first time. I have added the created SolusVM API user into blesta, but it doesnt seem to communicate. If the API log in SolusVM is empty, then I am assuming blesta has not been able to communicate at all, is this correct? Is there a log on Blesta's side of things for this communication that I can look at? When things are working, if I make changes to something in solusVM, does blesta automatically check for changes and pick them up or do I have to refresh something to make the changes show? If so I couldn't find anywhere so please let me know where. Thanks
  4. I am, but with specific needs. Thanks though, your info still helps
  5. Thanks for the advice but I'm not planning on selling general use VPSs. What I'm trying to achieve is create VPSs with specific uses, that will fit the needs of the market I already have other interests in. I have already built a number manually for people always with a combination of the same software. This is why I want to have the one click installers, because I know what my customers will want already. So I am wondering which provisioning software this can be added to. I'm thinking a developer can add this functionality to the client control panel and have it use some bash script or Ruby rail/passenger solution or something. But that side of things I'm not familiar with. Thanks again
  6. I need some advice from the community about which direction to go... This is what I want to do.... 1: use blesta for billing and managing subscriptions 2: automatically provision VPS's from blesta 3. allow my my clients to have a control panel for their VPS The part I am stuck on is the functionality of the control panel. I am looking for all the usual things that most control panels offer:- visual representations of the traffic/disk space for their account Server functions like start/stop/reboot password reset etc... But on top of the usual things I want to be able to offer some one click installers for some specific software. Does anyone have experience with making these installers? how do they work? is it php calling bash scripts on the vps? are there multiple ways they can be done? it would probably be good to have them be able to setup an ftp account and add/remove ftp users from within the control panel too. I have been reading up on some of the control panels out there, but I cannot find any that offer me the ability to add something like one click installers. The closest I could find was Virtualizor with their "recipes" which could work. But I also see that virtualizor has a lot of negative feedback out there. Now I should say, this is a new area for me so its very possible I have looked at things and missed the functionality I am looking for. My plan is to pay a developer to work with blesta and create a custom module/control panel addon for blesta to do all of these things, but would like to have a play with some backend provsioning software first. So should I be asking a developer to create a frontend to do this using existing software such as proxmox/solusvm/virtualizor/openstack/cpanel or some others... or am I going in completely the wrong direction, in which case please steer me in the right direction. I know these question are best put to the developer I'll be using (I dont have one yet), but im hoping to explore some backend software first that can do these things before anything else. Thanks to anyone who takes the time to give me advice
  7. I'm new to blesta myself and have quickly discovered the community is great here and the blesta staff are also great. So if you're concerned at all about being able to manually install it yourself, give it a try and come and ask for help in the Forums if you need it. I've already had lots of help through PM's, live chat with Paul and Licensecart and a couple of forum posts. and I've only been here a few days. It really is a pleasure running into a problem when you have such great support So +1 for manual install EDIT: just realised you're not new you have 144 posts lol. Well what I said still stands, but you probably already know it.
  8. thanks again for the help, I'll have a play with this when I get home
  9. Sorry I'm not explaining myself properly lol The current default look is like this... I dont see the need to show the client their client_id, I much prefer the traditional look of "welcome back stu" like you have on licensecart.... So I was expecting to see in a file somewhere 'client_id' and be able to change it for 'first_name' very much what you pointed me in the direction of here... https://licensecart.com/plugin/support_manager/knowledgebase/view/482/welcome-the-client-or-welcome-them-back/12/ So all I need to do is figure out which file controls the layout of the client dashboard now. Is that /app/controllers/client.main.pdt ? or should I be looking in structure.pdt?
  10. ok thanks, I was looking in /app/controllers/client.main.php $this->contact = $this->Contacts->getByUserId($this->Session->read("blesta_id"), $this->client->id); if (!$this->contact) $this->contact = $this->Contacts->get($this->client->contact_id); I guess I was way off lol. Thanks for the help, I'll look through it and figure it out EDIT: just realised you're talking about the navigation lol
  11. first thing I wanted to do was to replace the massive CLIENT#1500 with something like "welcome back Stu" and put it left align, pretty much how you have it on your site. then i just wanted to see how the menu was called to the page.
  12. I'm messing around with my client area a little, I can find most of the elements, but I can find which file to edit to change the way Client#1500 and the menu looks (just on the client dashboard) Still getting to grips with the way blesta is structured so thanks for the help
  13. Ah ok I didn't realise that. Well there's no problem with that at all then. Thanks for the help and advice
  14. so in doing this.... Configure::set("Blesta.csrf_bypass", array('client_login::index')); am I just disabling it for the login action? then CSRF is still enabled for the session within the client area for all subsequent actions after?
  15. Thanks for this, just what I needed. I have added a hmtl front page to my blesta install that has a model login. I have made the recommend change in blesta.php... Configure::set("Blesta.csrf_bypass", array('client_login::index')); I have modified the action url for my login form as follows... <form method="post" action="https://mysite.com/client/login"> Everything is now working fine. I have 2 question. 1. Is this safe to do? obviously csrf tokens are there for a reason so is disabling them like this safe? 2. when I logout from the client area I am taken back to /client/login am able to change this behaviour so the client is taken /index on logout? Thanks everyone
  16. thanks
  17. yes please
  18. Hi, I have purchased this and have installed it, but am stuck on the "How to Set-up the custom menu?" part. what do I do with the code in the instructions? where do I put it? Thanks
  19. Stu

    Timezone Error

    Thanks again for the help. For anyone else that comes up against this error, its a system error not a blesta error To fix it, locate your php.ini (in my case /etc/php.ini) and uncomment date.timezone =. check here for your timezone http://php.net/manual/en/timezones.php and add in the correct one for you. example: date.timezone = "US/Central" if the line doesn't exist you can just add it. Thanks
  20. Stu

    Timezone Error

    HI again, I am getting this error displaying on the frontend Array ( [type] => 2 [message] => date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. [file] => /var/www/mysite.com/public_html/lib/stdlib.php [line] => 15 ) Timezone is set in the settings as you can see. I tried manually adding the timezone into the stated file on line 15, but it didn't seem to make any difference. I don't think im suppose to be doing that anyway to be honest. Thanks all
  21. Stu

    Show Available products?

    Thanks for the fast reply. It's late here in the UK as you know, probably not the best time for me to be learning new things and getting annoyed with them lol. I had already created the order form, but hadn't assigned it to a package group. Now I've gone back and edited the order form to assign it to a group, everything is working now. Thanks for the offer to show me around, I'll continue alone as I am for now, I can usually figure everything out. I think the late hour just got the better of me lol. Thanks again for the help
  22. Hi all, I have managed to add a provisioning module and created a product. Now the next logical step would seem to be check the products page to make sure my product has appeared. My question is... where is the products page? I followed the link to my product thats provided in the backed when adding the product, and I get An unexpected error occurred. Please contact the site administrator for help. when I go to the currently untouched portal page located at / then click the Order link which links to /order/ i get the same thing... An unexpected error occurred. Please contact the site administrator for help. I made a fake client account, I thought maybe I could go into the client account and be able to order products from there, but theres no options as far as I could see to order the product from within the client control panel. Its almost as if the product is inactive and so nothing is showing up, but I checked and it is active. I don't know what to do, or what to check, someone please help Thanks
×
×
  • Create New...