Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/21/2014 in all areas

  1. While doing work for a client, one of the requests was to make it so the SolusVM module properly (un)suspends a virtual server, instead of shutting down/starting up (which the client could then easily reverse if they wanted via SolusVM CP). The fix to this is actually pretty simple, so I thought I'd share it! This assumes you're running Blesta v3.1.1 with no changes made to the module: Open /path/to/blesta/components/module/solusvm/solusvm.php in your favorite text editor, and look for line 482: $this->log($row->meta->host . "|vserver-shutdown", serialize($params), "input", true); $response = $this->parseResponse($server_api->shutdown($params), $row); Now, here we want to edit both references of "shutdown" to "suspend" like so: $this->log($row->meta->host . "|vserver-suspend", serialize($params), "input", true); $response = $this->parseResponse($server_api->suspend($params), $row); To unsuspend it we just use go to the unsuspendService function and look for this (around #526): $this->log($row->meta->host . "|vserver-boot", serialize($params), "input", true); $response = $this->parseResponse($server_api->boot($params), $row); We want to replace "boot" with "unsuspend": $this->log($row->meta->host . "|vserver-unsuspend", serialize($params), "input", true); $response = $this->parseResponse($server_api->unsuspend($params), $row); There you have it. Suspendable SolusVM containers that clients can't just start back up!
    2 points
  2. I've been working over the last few days to establish Australian English as the default language by taking the en_us language files, duplicating them to en_au and making various changes to spelling and localising terminology. I currently have both languages active and in various locations I now see two tabs -- one for English, US and one for English, AU. However when I go to edit a template under Settings > Emails > Email Templates, I only see the English, US tab. I also tried changing the language in the database from en_us to en_au for each of the templates but then the list of e-mails disappears completely. Perhaps the template list may be hard-coded to en_us rather than looking for the Default Language defined in Settings > General > Localization?
    1 point
  3. velaware

    Paid Downloads

    Meet people everywhere. As for this being done, not sure. What you could do is use the license manager once it gets released to the public (I think its only for devs right now?). I don't think there's any sort of ACL or something for the downloads area, but with the manager you'll be able to have people not be able to use something w/o a valid license. Its what I do for a few of my works.
    1 point
  4. Hello Blestars See first post with updated download Now we have add two new buttons "Merge" and "Permanent Delete" Now you can Merge Two or More Tickets in to one Single Ticket, and also you can Permanent Delete tickets without problems. We have attached the complete plugin with some fixes and optimised code, just upload and replace your support_manager folder. ==================================================================== If you didn´t run the qwery already, just do: Open phpMyAdmin form your host, select your database on the left, and then on the right click on "SQL" and add this below: ALTER TABLE `support_tickets` CHANGE `status` `status` ENUM( 'open', 'awaiting_reply', 'in_progress', 'closed', 'spam', 'deleted' ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT 'open'; Now click on "Execute" button to run the qwery. ==================================================================== If you find any bugs just tell us P.S- We will next week add the function to check SPAM status emails against new emails, and also add the button "Permanent Delete" to only show on "Delete" status, but today we have no time to add more code We hope you enjoy Regards, PV
    1 point
  5. Tyson

    Displaying Client's Note

    Fixed in v3.1.2.
    1 point
  6. velaware

    Release 3.1.1

    Did you run /admin/upgrade after you did? If not, do that. You might also have to make sure the permissions are correct.
    1 point
  7. What browser and version are you using? We have testds on the latest IE, FF, Safari, GC without bugs The only bug is on CSS for the buttons that lose the background colors that we are going to fix today, and maybe today we will add the "Merge" and "Permanent Delete" Tickets P.S- Thanks for compiling everithing (I have it compiled with some extra fixes, I will post the Update as a file easy to execute) Regards, PV
    1 point
  8. infected

    Universal

    I am trying to configure the Universal Module for a product, but this thing is confusing me. I'm following the documentation at docs.blesta.com, but without help actually. Its just confusing, so I was wondering if someone could help me trough teamviewer?
    1 point
  9. Hello, Just to say the Blesta Live Chat plugin is 99% done, one more week and we will release it Are you ready for it? Regards, Paulo V
    1 point
  10. Awesome, thanks for the contribution. I've added a note to CORE-1036, we'll review your implementation.
    1 point
  11. cloudrck

    Cryptocurrency Mining

    I'm still working on how the market works, thinking about using http://www.middlecoin.com/ for max profitability. I should be getting the card soon (prices went up again, go figure) and I got a new 1000W PSU) The only other issue I have to worry about is electricity use, at the moment this is what my usage amounts to for my entire household. I will see how this fairs when my new equipment gets here.
    1 point
×
×
  • Create New...