Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/28/2015 in Posts

  1. Outstanding heroes!!! After changing code to Naja7host's latest code and removing $this->client = $this->Clients->get($this->Session->read("blesta_client_id") ; Flawless victory! Thanks again to everyone's help. Much appreciated.
    2 points
  2. yes, bacause you should add a condition for the message , the message will appear for logged in when they load new page . so , i can suggest this new code // Set the client info $this->client = $this->Clients->get($this->Session->read("blesta_client_id") ; if (!$this->client) { $this->flashMessage('notice', "You must be logged in to use the order system.", null, false); $this->requireLogin($this->client_uri); }
    2 points
  3. See: http://www.blesta.com/forums/index.php?/topic/592-display-prices-on-your-website/?hl=display+prices
    2 points
  4. I think this is because you're being redirected twice. Try changing the redirect URI to the login page itself then. $this->requireLogin($this->client_uri . "login");
    2 points
  5. As naja7host mentioned, you can redirect to the client URI for clients not logged in with $this->requireLogin($this->client_uri); If you want to show a message, you should set a flash message before that redirect $this->flashMessage('notice', "You must be logged in to use the order system.", null, false); $this->requireLogin($this->client_uri); If you don't want the "Order" box to appear on the portal page, you can update the portal to remove the HTML that displays it from within Blesta under [settings] -> [Plugins] -> Portal (Manage link).
    2 points
  6. normally it should redirect unlogged client to login page . try this one $this->requireLogin($this->client_uri); or set a redirect or set a input error message redirect : $this->redirect($this->client_uri); set error message : $this->setMessage("sorry you need to be logged in to place an order", $error, true, null, false)
    2 points
  7. Paul

    Plugin: Auto Cancel

    A plugin was developed that can automatically cancel suspended services. It will be included, but not installed by default, starting with 3.6.0 BETA 2. To install: Download auto_cancel_1.0.1.zip Unzip, and upload the auto_cancel directory to /plugins/ Go to Settings > Company > Plugins > Available and click to Install Configure the plugin Please note that this plugin is DESTRUCTIVE. It will scheduled services that are suspended for cancellation. If you don't want to automatically cancel suspended services after a certain period of time, do not install this plugin. This plugin is only compatible with Blesta 3.6 and greater Please report any issues or suggestions in the beta forums. Thanks!
    1 point
  8. sorry , i have missed the thread about the announcement .
    1 point
  9. Blesta Addons

    Morocco States

    i can provide the valid subdivision for my country , as from now 2015 , morocco wil have just 12 regions . 1 - Tanger-Tétouan-Al Hoceima 2 - l’Oriental 3 - Fès-Meknès 4 - Rabat-Salé-Kénitra 5 - Beni Mellal-Khénifra 6 - Casablanca-Settat 7 - Marrakech-Safi 8 - Darâa-Tafilalet 9 - Souss-Massa 10 - Guelmim-Oued Noun 11 - Laâyoune-Sakia El Hamra 12 - Dakhla-Oued Ed Dahab from the official file http://www.pncl.gov.ma/fr/EspaceJuridique/DocLib/d%C3%A9cret%20fixant%20le%20nombre%20des%20r%C3%A9gions.pdf
    1 point
  10. Paul

    Paypal Subscription Bug

    I created CORE-1827 and mentioned that in http://www.blesta.com/forums/index.php?/topic/5090-stuck-in-payment-loop/ I think this is the same issue?
    1 point
  11. Unique is the way to go!
    1 point
  12. Paul

    Plugin: Auto Cancel

    Here's the direct link to beta 1, you need to be logged in https://account.blesta.com/client/plugin/download_manager/client_main/download/77/blesta-3.6.0-b1.zip
    1 point
  13. Cody

    Morocco States

    One problem I think we'll have is determining which subdivisions to include in countries that have multiple levels of subdivisions. For example, GB's first level is country, of which there are 3 (England, Wales, and Scotland). Obviously we can't just include those three, we have to dig deeper. However, that's not necessarily the case for other countries. I don't believe there is an automated way of determining that, which is probably why we included all subdivisions, rather than to exclude some. This is also probably why there are no correct complete data sets available. Even ISO doesn't identify which subdivisions are in common use within a country.
    1 point
  14. Cody

    Morocco States

    Here's what our data provider has for ISO 3166-2 for Morocco: 3166-1 3166-2 name MA AGD Agadir Ida-Outanane MA AOU Aousserd MA ASZ Assa-Zag MA AZI Azilal MA BEM Beni Mellal MA BER Berkane MA BES Ben Slimane MA BOD Boujdour MA BOM Boulmane MA CAS Casablanca MA CHE Chefchaouen MA CHI Chichaoua MA CHT Chtouka-Aït Baha MA ERR Errachidia MA ESI Essaouira MA ESM Es-Semara MA FAH Fahs-Beni Makada MA FES Fès-Dar-Dbibegh MA FIG Figuig MA GUE Guelmim MA HAJ El Hajeb MA HAO Al Haouz MA HOC Al-Hoceima MA IFR Ifrane MA INE Inezgane-Aït Melloul MA JDI El Jadida MA JRA Jerada MA KEN Kénitra MA KES Kelâat Es-Sraghna MA KHE Khémisset MA KHN Khénifra MA KHO Khouribga MA LAA Laâyoune MA LAR Larache MA MED Médiouna MA MEK Meknès MA MMD Marrakech-Médina MA MMN Marrakech-Ménara MA MOH Mohammédia MA MOU Moulay Yacoub MA NAD Nador MA NOU Nouaceur MA OUA Ouarzazate MA OUD Oued Ed-Dahab-Lagouira MA OUJ Oujda-Angad MA RAB Rabat MA SAF Safi MA SAL Salé MA SEF Sefrou MA SET Settat MA SIK Sidi Kacem MA SKH Skhirat-Témara MA SYB Sidi Youssef Ben Ali MA TAI Taourirt MA TAO Taounate MA TAR Taroudant MA TAT Tata MA TAZ Taza MA TET Tétouan MA TIZ Tiznit MA TNG Tanger-Asilah MA TNT Tan-Tan MA ZAG Zagora 3166-1 3166-2 name MA 1 Tanger-Tetouan MA 2 Gharb-Chrarda-Beni Hssen MA 3 Taza-Al Hoceima-Taounate MA 4 L'Oriental MA 5 Fes-Boulemane MA 6 Meknes-Tafilalet MA 7 Rabat-Salé-Zemmour-Zaer MA 8 Grand Casablanca MA 9 Chaouia-Ouardigh MA 10 Doukkala-Abda MA 11 Marrakech-Tensift-Al Haouz MA 12 Tadla-Azilal MA 13 Souss-Massa-Draa MA 14 Guelmim-Es Smar MA 15 Laayoune-Boujdour-Sakia El Hamra MA 16 Oued ed Dahab-Lagouira MA AGD Agadir-Ida-Outanane MA AOU Aousserd MA ASZ Assa-Zag MA AZI Azilal MA BEM Beni Mellal MA BER Berkane MA BES Ben Slimane MA BOD Boujdour MA BOM Boulemane MA CAS Casablanca [Dar el Beïda]* MA CHE Chefchaouen MA CHI Chichaoua MA CHT Chtouka-Ait Baha MA ERR Errachidia MA ESI Essaouira MA ESM Es Smara MA FAH Fahs-Beni Makada MA FES Fès-Dar-Dbibegh MA FIG Figuig MA GUE Guelmim MA HAJ El Hajeb MA HAO Al Haouz MA HOC Al Hoceïma MA IFR Ifrane MA INE Inezgane-Ait Melloul MA JDI El Jadida MA JRA Jrada MA KEN Kénitra MA KES Kelaat es Sraghna MA KHE Khemisset MA KHN Khenifra MA KHO Khouribga MA LAA Laâyoune* MA LAR Larache MA MED Mediouna MA MEK Meknès MA MMD Marrakech-Medina MA MMN Marrakech-Menara MA MOH Mohammadia MA MOU Moulay Yacoub MA NAD Nador MA NOU Nouaceur MA OUA Ouarzazate MA OUD Oued ed Dahab MA OUJ Oujda* MA RAB Rabat MA SAF Safi MA SAL Connaught Salé MA SEF Sefrou MA SET Settat MA SIK Sidi Kacem MA SKH Skhirate-Témara MA SYB Sidi Youssef Ben Ali MA TAI Taourirt MA TAO Taounate MA TAR Taroudant MA TAT Tata MA TAZ Taza MA TIZ Tiznit MA TNG Tanger-Assilah MA TNT Tan-Tan MA ZAG Zagora I think we may need to find a different data source, possibly directly from ISO, because the information does not appear to be correct.
    1 point
  15. thanks guys. I sent a request in to Ken and we'll go from there. I'm looking for custom themes. I don't want my portals to look like Blesta or WHMCS.
    1 point
  16. Michael

    Release 3.6.0-B1

    All upgraded merci guys roll on 4.0 after the beta
    1 point
  17. So $1.33 for the first month (prorated). You want to override it from $10 to $5 for the second month (first full month after proration). Then set a price override of $5 and uncheck the Prorate checkbox. It says $-0.67 because it is attempting to override the first month (prorated), which is the $1.33. Halving the $10 to $5 also halves the prorated price from $1.33 to $0.67 and will create a credit for this amount (if you have it configured to do so) when the Prorate checkbox is checked. I'm not sure what part you consider to be a bug. Could you clarify?
    1 point
  18. You can't create a package without a module (whatever kind, Universal or otherwise). That checkbox will not be checked if you had unchecked it. Going back in your browser will re-check it because it is checked by default and is probably missing your previous POST data to uncheck it again. "Provision using the __ module" means that Blesta will attempt to call the module to provision the service. With most modules, this means a remote call will be made to an offsite location to provision the service. For example, if you were using the cPanel module, and you checked that field, Blesta would have communicated with cPanel to create a new cPanel account and to add the domain to it. However, if you do not check that field, then the cPanel API will not be contacted. Instead, the service will only exist locally in your Blesta installation and will not be tied to anything offsite. The Universal Module does not interface with an API. Instead, it can send notifications (if you set them up on your product). Unchecking the 'provision' field will simply not send the notifications you had setup. In short, the module is your product. The package is your configuration/pricing of the product. And the service is an individual instance of the package. Without a module, you have not defined anything to sell. This would be analogous to creating an invoice with a blank line item. Do you mean the package welcome email? What do you find confusing? The package welcome email is injected into your Service Creation email template when a service is created, which lets you set specific details about the service for the customer.
    1 point
  19. Tyson

    Morocco States

    I think naja7host brought this up to me, but I haven't had a chance to look into it yet. But if it's an issue, it should be fixed sometime this week. Blesta includes what erroneous data? State and country ISO information?
    1 point
  20. Blesta Addons

    Morocco States

    the standard ISO is correct . blesta is merging between states and cities in some countries like morocco and italy .
    1 point
  21. The Universal Module allows you to make products or services without a module... The best way to explain it is in my KB Article How can I sell a product without a module? If you want to pay for a module to be done, you don't need it, if there's a module already done, you don't need it. If you would like a product to send you a email / via the api you can do it on the Universal Module. I use it for LiteSpeed, Softaculous, CraftSRV, etc licenses because I don't have a module for them yet. I used to use it for Blesta / InterWorx licenses before I had a module done where I re-made the packages with the new module. I've had a customer use it for providing the address for their mail office. (They used to sell office space and mail delivery etc). So a customer ordered and they then got a welcome email with the address, this was manually entered after their order was accepted.
    1 point
  22. @naja7host, well done but... fix "Resend welcoe email" label in sidebar menu!
    1 point
×
×
  • Create New...