Jump to content
Sign in to follow this  
Giles

Weebly Free option not default on Product Config. page

Recommended Posts

Hi

I have just upgraded to WHMCS 7.10 and enabled the Weebly Free Plan as an Addon to Hosting Packages.

The Weebly MarketConnect Config Pages have an option to add the Free Plan automatically to any Hosting Plan selected by customers, but this is not working.  Also it is ignoring the addon weighting and therefore the FREE Plan is at the bottom of the Paid Plans in the Addon List.

Any ideas how to change this behaviour ?

Many Thanks

Giles

 

Screenshot 2020-04-10 at 09.46.04.png

Screenshot 2020-04-10 at 09.48.33.png

Edited by Giles

Share this post


Link to post
Share on other sites

Hi Giles,

8 hours ago, Giles said:

Also it is ignoring the addon weighting and therefore the FREE Plan is at the bottom of the Paid Plans in the Addon List.

the weighting issue is raised in the thread below - it's always (AFAIK) ignored the weightings...

it's fixable externally, but it would be far easier if WHMCS just used the weightings values in it's queries that generates this array.

Edited by brian!

Share this post


Link to post
Share on other sites

Hi @Giles,

I've been able to reproduce the issue with the Free Weebly tier not being selected by default, so I've created case # CORE-14515 with our developers in order to have this reviewed for future releases.

Once we resolve cases and push features they are available at our change log, here:

https://changelog.whmcs.com/

Thanks for taking the time to report your findings. I have not yet been able to reproduce the plan being out of order though.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Similar Content

    • By BOF007
      Hello all, 
      I was testing my licensing addon, and i deleted the product associated with a assigned license.
      It was removed from the test client portal, but now under addons>license manager, i have a license i cant remove since there is no remove/delete button.
      Am i missing something or is there another step i must do to remove the inactive license ?
      Thanks for your time,
      BOF
    • By HardSoftCode
      What is suspend client account?
      The suspend client account module for WHMCS was created to ensure that admin can have better control over the client account for violation the policies or terms of service. In the new suspend client account module, WHMCS will have a new option beside the close account and delete account options. With this module, admin will be able to suspend and set client account for auto termination. Once the suspension has been approved, the client will receive a warning notification and will then finally automatically be suspended. The timeline for when these notifications gets sent out, as well as when the actual suspension takes place, can be set up under the client profile section. After the client has been suspended, you will have the option to pause their suspension (unsuspend the client). This will allow time for the client to make changes and send the proof of fixing the violation. When the time limit has been reached and the client has not made any changes to fix the violation, the client account will be deleted or closed depends on the setting you setup. Please note that when the client account is suspended, that the billing will not be stopped. In other words, even though the account is suspended, the client will receive their monthly invoice.
      Why do you need suspend client account module?
      If you fell that your clients do not follow the website policies, terms of service or there is suspicious activity in client account like logged in from another country or using a VPN. You need to act and suspense the client account and send the client a warning notification. You know that WHMCS have only 2 options in client profile and they are close account and delete account and they are not a good solution for this kind of situation.
      How it works?
      After activating the suspend client account you can configure the module to suit your needs by going to configuration and select the type of suspension also you can set account termination type and enter the number of days for closing or deleting the client account if suspended. You also can select the support department you want the client to contact support. From the reason messages section, you can create unlimited suspension messages or edit the existing one to use them within the module. By going to the client profile section and looking at the other actions menu, you will see suspend client account added to the menu by clicking on the link you will have the option to select a reason for suspending the account or enter a custom reason message also you can send email notification to the client about suspending the account.
      Features
      3 types of suspension Logout the client if he tries to click any link 2 types of account termination Set the number of days for account termination Set the support department Suspend account reason message List suspended accounts Email notification For more details and screenshot visit the product page
      https://www.hardsoftcode.com/products.php?p=product&a=suspend-client-account
       
    • By Kian
      Securing WHMCS
      We're pleased to announce we're working on releasing our second free module for WHMCS. In case you missed the first, it's named Plesk Checker. It lets you quickly identify problems in the integration between WHMCS and Plesk.
      This time we want to open source a script we used internally for years to help our customers to fix compromised installations of WHMCS. Here is the dashboard (click to enlarge).

      Watchdog Features
      The script performs file system integrity checks to detect:
      Compromised files that could potentially threaten your core install (eg. malwares, files with injections) Intruders. Unknown files that require your attention as they could be legitimate scripts of backdoors Missing files that could cause unexpected errors Anomalous and suspicious files buried deep within directories You can inspect all findings to take the appropriate actions but the module can also be configured to automatically deal with such files.

      The module verifies checksums of all .php files and performs checks every X hours. When a compromised file is detected, optionally the module can automatically take any of the following actions.
      Neutralize file so that it can't be used to harm your system (quarantine) Send notifications to selected administrators Watchdog Settings
      All settings can be changed from the following simple and intuitive interface.


      Please keep in mind that the module is not ready for use as we're still working on it. It won't take much time since we're "converting" a stand-alone script to make it work as a WHMCS Addon module.
      Get Involved!
      Follow the project on Github to send suggestions and be the first to use it once it will be ready for use!
      Follow Us on Github
      Looking for other free scripts? Take a look at our huge collection of Action Hooks and Reports for WHMCS.
    • By sokalsondha
      Hello everyone.
      i hope everyone is doing great. i need again some help from the community. hope someone correct my invoicepdf tpl file so it can complete my demand.
      i have done some modify but  i can't understand how to fix some more.
       
      i want to make my invoice like this

       
      and this is my current code. its already modified mostly
       
      <?php
      # Logo
      $logoFilename = 'placeholder.png';
      if (file_exists(ROOTDIR . '/assets/img/logo.png')) {
          $logoFilename = 'logo.png';
      } elseif (file_exists(ROOTDIR . '/assets/img/logo.jpg')) {
          $logoFilename = 'logo.jpg';
      }
      $pdf->Ln(5);
      $pdf->SetFont($pdfFont, 'B', 15);
      $pdf->SetFillColor(255);
      $pdf->SetFont($pdfFont, '', 16);
      $pdf->Cell(100, 6, "My Bill Summary", 0, 1, 'L', '1');
      $pdf->Image(ROOTDIR . '/assets/img/' . $logoFilename, 120, 25, 75);
      # Company Details
      $pdf->SetXY(15, 70);
      $pdf->SetFont($pdfFont, '', 13);
      foreach ($companyaddress as $addressLine) {
          $pdf->Cell(180, 4, trim($addressLine), 0, 1, 'R');
          $pdf->SetFont($pdfFont, '', 9);
      }
      if ($taxCode) {
          $pdf->Cell(180, 4, $taxIdLabel . ': ' . trim($taxCode), 0, 1, 'R');
      }
      $pdf->Ln(5);
      # Clients Details
      $pdf->SetXY(15, 70);
      $pdf->SetFont($pdfFont, 'B', 10);
      $pdf->SetFont($pdfFont, '', 9);
      if ($clientsdetails["companyname"]) {
          $pdf->Cell(0, 4, $clientsdetails["companyname"], 0, 1, 'L');
          $pdf->Cell(0, 4, Lang::trans('invoicesattn') . ': ' . $clientsdetails["firstname"] . ' ' . $clientsdetails["lastname"], 0, 1, 'L');
      } else {
          $pdf->Cell(0, 4, $clientsdetails["firstname"] . " " . $clientsdetails["lastname"], 0, 1, 'L');
      }
      $pdf->Cell(0, 4, $clientsdetails["address1"], 0, 1, 'L');
      if ($clientsdetails["address2"]) {
          $pdf->Cell(0, 4, $clientsdetails["address2"], 0, 1, 'L');
      }
      $pdf->Cell(0, 4, $clientsdetails["city"] . ", " . $clientsdetails["postcode"], 0, 1, 'L');
      $pdf->Cell(0, 4, $clientsdetails["country"], 0, 1, 'L');
      if (array_key_exists('tax_id', $clientsdetails) && $clientsdetails['tax_id']) {
          $pdf->Cell(0, 4, $taxIdLabel . ': ' . $clientsdetails['tax_id'], 0, 1, 'L');
      }
      $pdf->Ln(10);
      $pdf->Ln(10);
      $pdf->Ln(10);
      # Header Bar
      /**
       * Invoice header
       *
       * You can optionally define a header/footer in a way that is repeated across page breaks.
       * For more information, see http://docs.whmcs.com/PDF_Invoice#Header.2FFooter
       */
      $pdf->SetFont($pdfFont, 'B', 15);
      $pdf->SetFillColor(239);
      $pdf->SetFont($pdfFont, '', 12);
      if ($customfields) {
          foreach ($customfields as $customfield) {
              $pdf->Cell(125, 6, $customfield['fieldname'] . ':                                                            ' . $customfield['value'], 0, 1, 'L', '1');
          }
      }
      $pdf->Cell(125, 6, "Invoice Number " . ':                                                               ' . $invoiceid, 0, 1, 'L', '1');
      $pdf->Cell(125, 6, "Bill Issue Date" . ':                                                              ' . $datecreated, 0, 1, 'L', '1');
      $pdf->Cell(125, 6, "Billing Period" . ':                                                              ' . $datecreated, 0, 1, 'L', '1');
      $pdf->Ln(10);
                                           
      $startpage = $pdf->GetPage();
      # Invoice Items
      $tblhtml = '<table width="70%" bgcolor="#ccc" cellspacing="1" cellpadding="2" border="0">
          <tr height="30" bgcolor="#efefef" style="font-weight:bold;text-align:center;">
              <td width="80%">' . Lang::trans('invoicesdescription') . '</td>
              <td width="20%">' . Lang::trans('quotelinetotal') . '</td>
          </tr>';
      foreach ($invoiceitems as $item) {
          $tblhtml .= '
          <tr bgcolor="#fff">
              <td align="left">' . nl2br($item['description']) . '<br /></td>
              <td align="center">' . $item['amount'] . '</td>
          </tr>';
      }
      $tblhtml .= '
          <tr height="30" bgcolor="#efefef" style="font-weight:bold;">
              <td align="right">' . Lang::trans('invoicessubtotal') . '</td>
              <td align="center">' . $subtotal . '</td>
          </tr>';
      if ($taxname) {
          $tblhtml .= '
          <tr height="30" bgcolor="#efefef" style="font-weight:bold;">
              <td align="right">' . $taxrate . '% ' . $taxname . '</td>
              <td align="center">' . $tax . '</td>
          </tr>';
      }
      if ($taxname2) {
          $tblhtml .= '
          <tr height="30" bgcolor="#efefef" style="font-weight:bold;">
              <td align="right">' . $taxrate2 . '% ' . $taxname2 . '</td>
              <td align="center">' . $tax2 . '</td>
          </tr>';
      }
      $tblhtml .= '
          <tr height="30" bgcolor="#efefef" style="font-weight:bold;">
              <td align="right">' . Lang::trans('invoicescredit') . '</td>
              <td align="center">' . $credit . '</td>
          </tr>
          <tr height="30" bgcolor="#efefef" style="font-weight:bold;font-size:14px;">
              <td align="right">' . "Total Amount Due" . '</td>
              <td align="center">' . $total . '</td>
          </tr>
      </table>';
      $pdf->writeHTML($tblhtml, true, false, false, false, '');
      $pdf->Ln(5);
      if ($status == 'Unpaid'){
      $html = "<h2 style=\"color:red;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Please pay by ${duedate} </h2>";
      $pdf->writeHTML($html, true, false, false, false, '');
      $pdf->Ln(10);
      $pdf->SetFont($pdfFont, 'B', 15);
      $pdf->SetFillColor(239);
      $pdf->SetFont($pdfFont, '', 10);
      $pdf->Cell(125, 6, "Failure to pay your account in full may result in loss of service.", 0, 1, 'L', '1');
      $pdf->Cell(125, 6, "Reactivation of your service could take up to 7 days and will incur a fee. ", 0, 1, 'L', '1');
      $pdf->Ln(10);
      }
      # Notes
      if ($notes) {
          $pdf->Ln(5);
          $pdf->SetFont($pdfFont, '', 8);
          $pdf->MultiCell(170, 5, Lang::trans('invoicesnotes') . ': ' . $notes);
      }
      /**
       * Invoice footer
       */
      ============================
      can someone please correct the code so my pdf invoice will be looks same like the image i provide
       
       
      thanks everyone and plesae stay safe
    • By earthgirlllc
      Hi there, I've come across an error I can't seem to find a solution for.  
       
      From this page: https://**WHMCS INSTALL** /admin/configaddonmods.php?activated=true when I save an addon configuration, I get the following error: 
      Error Updating Value On the page:  https://**WHMCS INSTALL**/billing/admin/configaddonmods.php
      I've turned on error reporting and I don't get anything more verbose - just this. I upgraded to the most recent release to see if I could resolve it. The update went smoothly but the error is still present. Any ideas on how to troubleshoot this would be appreciated.
       
      Thanks!
      Amber
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated