Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/23/2015 in all areas

  1. I've done this, pretty roughly. ./app/models/services.php - add this method + /** + * Resends a welcome email. + * + * @param int $service_id The ID of the service to resend the welcome email for. + */ + public function resendWelcomeEmail($service_id) { + + extract($this->getRelations($service_id)); + + // Resend the service's welcome email. + $this->sendNotificationEmail($service, $package, $service->client_id); + + } Replace in getActions method: public function getActions($current_status = null) { $actions = array( + 'resend_welcome_email' => $this->_("Services.getActions.resend_welcome_email"), 'suspend' => $this->_("Services.getActions.suspend"), 'unsuspend' => $this->_("Services.getActions.unsuspend"), 'cancel' => $this->_("Services.getActions.cancel"), ./app/controllers/admin_clients.php switch ($this->post['section']) { case "action": switch ($this->post['action']) { + case "resend_welcome_email": + $this->Services->resendWelcomeEmail($service->id, $this->post); + break; case "suspend": $this->Services->suspend($service->id, $this->post); break; ./clients/language/en_us/services.php +$lang['Services.getActions.resend_welcome_email'] = "Resend Welcome Email"; $lang['Services.getActions.suspend'] = "Suspend"; $lang['Services.getActions.unsuspend'] = "Unsuspend"; $lang['Services.getActions.cancel'] = "Cancel";
    2 points
  2. Self explanatory. Needed for: When a service is created (but "use module" is not selected on activation). Happens very often. When a client wants a password reset on a cpanel account or similar. Happens very often. When clients want this resent for their own records.
    1 point
  3. ChrisB

    Braintree Gateway

    I saw a request for a BrainTree payment gateway and remembered that while ago we whipped one up as we were contemplating using BrainTree. This was tested with test credentials but we never actually tested it or used it live.. there may be issues/bugs/etc and unfortunately as we don't currently use Blesta nor will we be using BrainTree, we won't be working on it/supporting it any further. I am 100% okay with Phillips Data, inc. taking over the plugin if they want to as we extended their stripe one to begin with, anyway. Or anyone else who wants to take over development on it is fine too. Anyway, feel free to test it out and report back here what you find for other users. Hope some folks find some value in this. braintree_gateway.zip
    1 point
  4. Michael

    Yearly Breakdowns

    So if you wanted to show the breakdown of a price instead of the full value for APIs Monthly: $2.00 Yearly: $12.00 Shows on site / billing system: $1.00 or: Month: $2.00 Yearly: $1.00 (Saving 50%) Just an idea, some companies do that on their websites so might help them. Maybe a option to show that price instead of the normal price on the cart.
    1 point
  5. Should work fine you just make a hash up, a mate just did it with me when we was sorting it out he just generated a hash and used that.
    1 point
  6. Ok. Here is how. The model is packages, the method get, and the parameter is package_id. The api is easy to use... ...once you get familiar with it First create a product group with all your domains. Then, fetch the products lists to return all the infos (including the pricing). Example : $response = $api->get(packages, getAllPackagesByGroup, package_group_id'=>100);
    1 point
  7. Ahhh. I mis read it. Trying it now.
    1 point
  8. Blesta needs full access to its database. During upgrades or plugin installation, it may need to alter the database. It shouldn't need permissions to server administration type of privileges though like CREATE USER for example. https://dev.mysql.com/doc/refman/5.1/en/privileges-provided.html Cody or Tyson may be able to offer more details on exactly what privileges are required, but I think you're safe with everything on that list above ALTER ROUTINE.
    1 point
  9. yes and yes .... but until that time , it worth a small plugins for those who didn't know/want to change core files
    1 point
  10. This really should be core functionality if you ask me.
    1 point
  11. i got a idea of plugin , maybe i will write a plugin just for resend welcome email without hacking the core files
    1 point
  12. 1 point
  13. Kurogane

    Module Names

    You can move this post to Developer Corner if you want. I fix the issue for doing naja7host. Now i have two problems 1. In the package browser not show the module name is show blank 2. In the order summary when i do "continue" to select method payment is come back to the order form as buying again and not pay if i do the process again only keep adding the item in the cart.
    1 point
  14. FYI the Dutch banks have just released the eMandate technical specifications. Allowing you to redirect the customer to the online banking website of his own bank, and confirm the direct debit authorization there with the 2 factor authentication system banks use. This is similar to how iDeal works, but for recurring payments. http://www.incassomachtigen.nl/wp-uploads/eMandates-Implementation-Guide-B2C.pdf http://www.incassomachtigen.nl/wp-uploads/eMandates-Creditor-Libraries-Integration-Manual.pdf It replaces paper authorization forms that the customer needs to print, sign and return. Only handles the customer giving you authorization part though, you then still need to use PAIN XML batch files to actually collect the funds. And still requires Blesta core changes to implement.
    1 point
  15. We have plans to do this, but it the API does not currently support it.. so that will happen in a future release. (You'll also be able to generate an API key in the client area. If you do, then it will require you use your API key and not a password but maintain backwards compatibility)
    1 point
×
×
  • Create New...