Jump to content
  • Welcome to WHMCS.community

    Hello and welcome to the WHMCS.community we're glad to see you've stopped by! We'd love to have you join our community please take a moment to register and join in on the conversation.

  1. The Latest from the WHMCS Team

    1. News & Announcements

      Announcements and mailings we send out will be posted here

      338
      posts
    2. Community Announcements

      Our WHMCS Community Announcements with everything from our community rules to updates on making our community more awesome

      71
      posts
    3. Get to know the new WHMCS.Community

      We've created this forum to provide you with an overview of some of the new features and functionality that our new community offers.

      5
      posts
  2. The WHMCS.Community

    1. Introduce Yourself

      Introduce yourself here and be sure to come back to welcome others.

      184
      posts
    2. New Community Feedback

      Welcome to the New WHMCS Community Forum, please provide any and all feedback in this board, please keep one comment/idea per thread to enable troubleshooting/fixing/tracking thanks testers!

      20
      posts
  3. Using WHMCS

    1. Pre-Sales Questions

      Considering purchasing WHMCS but have some questions? Ask them here.

      12,610
      posts
    2. Admin & Configuration Questions

      This is your space for any questions about WHMCS configuration settings.
       

      67
      posts
    3. Installation, Upgrade, and Import Support

      Get help from the community with installing, upgrading and migrating to WHMCS here

      2,901
      posts
    4. Using WHMCS

      Have a question about how something works or need help configuring and using WHMCS? Here's the place to do it.

      83,800
      posts
    5. Troubleshooting Issues

      Use this forum to discuss any issues or problems you are encountering. If you think you've found a bug, please report it here

      14,183
      posts
    6. Vendor Discussions

      Discuss Control panels, payment gateways and domain registrars here

      3
      posts
  4. WHMCS Showcase

    1. Showcase Your Site

      Customized and integrated WHMCS in some way? Show the WHMCS Community here!
       

      7,728
      posts
    2. Share Your Best Practices & Tips

      Share your tips and advice to the rest of the WHMCS community.
       

      5
      posts
  5. Developing & Extending WHMCS

    1. Third Party Add-ons

      A place to discuss third party modules, add-ons and extensions for the WHMCS platform.

      marketplace_inverse_728x90.png&key=ebc9c3244aa6bb0297564b81d8e33ae4d631eaca838fc05b66038be9162910c7&resource=1

      15,762
      posts
    2. Service Offers & Requests

      A place to post offers & requests for services related to WHMCS. Rules apply.

      20,424
      posts
    3. Developer Corner

      Integration, customization and module development, if you have questions, ask them here.

      44,841
      posts
    4. Building Modules

      Need help while building an extension? Ask your questions here.

      • No posts here yet
    5. Share Ideas for WHMCS Modules

      Looking for an extension that doesn't exist? Share your ideas and vote on others.

      • No posts here yet
  6. Community Competitions

    1. Competitions

      From time to time we run community competitions this is the place you'll find them

      • No posts here yet
  7. General Discussions

    1. General Discussion

      Forum for general conversation, share interests, discuss industry related news, etc...

      37,096
      posts
  • Popular Contributors

  • Our picks

  • Topics

  • Posts

    • Hello srsbiznus, Welcome and thank you for joining WHMCS.Community! Please take a moment to introduce yourself to the other community members. If you need any assistance with the community please reach out in the WHMCS.Community Assistance Board. Thanks! WHMCS ChrisD
      WHMCS.Community Manager
    • sure: <?php if (!defined("WHMCS")) die("This file cannot be accessed directly"); function hook_ForceEveryoneToLogin($vars) { $clientID = intval($_SESSION['uid']); $adminID = intval($_SESSION['adminid']); if ($adminID===0){ if (!in_array($vars['filename'], array("login","dologin","clientarea","pwreset", "register")) && $clientID===0){ header("Location: login.php"); exit; } } } add_hook("ClientAreaPage", 1, "hook_ForceEveryoneToLogin");  
    • I am running into an issue in which the WHMCS installer insists that the necessary files/directories are not r/w when I have even made them world r/w.  I've restarted the installer, restarted apache, re-uploaded the source, examined the apache php config.  No issues were found and none of the actions have resolved the issue.  Has anyone else ran into a similar situation or have a helpful suggestion?
    • It appears that my client’s email disk usage is not being reflected when i run the Disk Space and Bandwidth Summary report (yes, even when clicking “update now’) and so presumably it is possible for them to greatly exceed the disk space limits we’ve set for them. Is this how it’s supposed to work or is something borked/misconfigued ?
    • I was able to find a solution: I copied "six" and modified the CSS.
    • Evening all.  I am toying with ideas at the moment, and wondered if the following is possible.  So currently, if "Stock Control" is enabled, and the quantity is "0", a client can click the product and is then shown an "Oops sorry" message.  I would like to know, if it is possible to edit the file, to either disable the "order now" button, or change its colour, like the example below. This would be instead of showing "-1 Available", and would hopefully prevent the client clicking the "Order Now" button, and seeing the dreaded "Oops Sorry" message.   Thank you in advance.  
    • Hello, What i do wrong? I have main page with button pay, after clicking i want to create invoice. 
      Its look like this:
      $('.submit').on('click', function () {
                      jQuery.post('{$systemurl}includes/hooks/ajax.php', {action:'createInvoice'}, function(data) {
                          console.log(data);
                      });
              }); On the file ajax.php:

      <?php
      use Illuminate\Database\Capsule\Manager as Capsule; if($_POST['action'] == 'createInvoice'){     function getAdminUserName() {
              $adminData = Capsule::table('tbladmins')
                  ->where('disabled', '=', 0)
                  ->first();
              if (!empty($adminData))
                  return $adminData->username;
              else
                  die('No admin exist. Why So?');
          }     $command = 'CreateInvoice';
          $postData = array(
              'userid' => '1',
              'status' => 'Unpaid',
              'sendinvoice' => '1',
              'paymentmethod' => 'mailin',
              'taxrate' => '10.00',
              'date' => '2016-01-01',
              'duedate' => '2016-01-08',
              'itemdescription1' => 'Sample Invoice Item',
              'itemamount1' => '15.95',
              'itemtaxed1' => '0',
              'itemdescription2' => 'Sample Second Invoice Item',
              'itemamount2' => '1.00',
              'itemtaxed2' => '1',
              'autoappliedcredit' => '0',
          );
          $adminUsername = getAdminUserName();      $results = localAPI($command, $postData, $adminUsername);
          print_r($results);
          die();
      } answer is : 500 (Internal Server Error)
    • thanks for the help worked flawlessly     
    • Hello Rubel Ah, Welcome and thank you for joining WHMCS.Community! Please take a moment to introduce yourself to the other community members. If you need any assistance with the community please reach out in the WHMCS.Community Assistance Board. Thanks! WHMCS ChrisD
      WHMCS.Community Manager
    • is there any way possible to exclude the register page in this mod as if they are not a member they can not register thanks in advance Andy  
×

Important Information

By using this site, you agree to our Terms of Use & Guidelines