Quantcast
Channel: WHMCS Community Forums
Viewing all 13458 articles
Browse latest View live

Edit boxes at bottom of tld page

$
0
0
Can someone please tell me where I go to edit the 2 small boxes on the bottom of the tld list?

Add Web Hosting & Transfer your domain to us

-Allan

Porting WHMCS Navbar to HTML external site.

$
0
0
Hi guys, first of all this is an integration question. Let me clear some basics up first.

I have,

1) A HTML based website at www.somedomain.co.uk
2) I have my WHMCS installation at www.someotherdomain.com

My WHMCS installation has already been integrated, by which I mean I have integrated my footer and header from my website into WHMCS, all my CSS etc.

The problem I am having now is that I'd like to have the WHMCS navbar (where the announcements, knowledgebase links etc appear) on my HTML website so it looks flush with WHMCS. How do I go about doing this, I'm trying to wrap my head around it and come to the conclusion that I'd need to build all my HTML files into the WHMCS installation to be able to do this for a simple navbar? Or can I link to the remote navbar.tpl (I'm assuming this is the right file).

Please help, it would be much appreciated.

Kind Regards,

A Fellow Developer.

Order Summary/ Continue button not working

$
0
0
When I am trying to order something the order summary is just blank, and the continue button doesnt work. I know I can bypass this by pressing view cart, however I dont expect customers to do this. https://kryptic.us/client

Get product price on cart without currencie format from $vars['products']

$
0
0
Hello,

I trying access the product total price from $vars['products'] without currencie format,but the variables with the raw value is protected and I can't access your value.

I try to fetch from array

PHP Code:

$vars['products']['pricing']['baseprice'

but this variable contain currencie codes, and the

PHP Code:

$vars['products']['pricing']['baseprice']['price'

is protected

There is another option to fetch the product price from the cart product array without the currencie codes?

Regards

Required Custom Client Fields

$
0
0
Hi all,

I added a custom client field in Setup -> Custom Client Fields. I ticked the checkbox 'Required Field' to ensure that it is mandatory.

However, when I login as administrator (with full permissions) to add a new client using Clients -> Add New Client, I was able to create a new client without entering a value in the custom client field.

Can someone please explain to me why the custom client field is not mandatory? I thought by ticking the checkbox 'Required Field' the custom client field is made mandatory?

I then login to the client area as the new client I just created. Clicked on the Update button to update the client details without entering a value in the custom client field again. This time, a validation message showed up to warn me that it is a mandatory field.

Is this the expected behavior? The 'Required Field' only works in the client area (i.e. login as client) but not in the WHMCS admin site?

Please response asap. Our client is waiting for our reply on this matter.


Thank you,
Sue

Automated Ticket Response Plugin

$
0
0
AMANDA is an integrated ticket response system capable of giving human-like responses based on a number of presets.

AMANDA cuts down much of the need for support staff but does not replace them altogether. It does this by giving a suggestion to the support operator and leaving the choice up to them whether the ticket response fits the context of not. AMANDA streamlines the support process by not only decreasing the time spent per ticket but also the cost per ticket for the company as a whole.

Key features:
  • Seamless integration into WHMCS and support ticket panel
  • Administrator overview of presets and keywords
  • Ability to edit the response before it is sent to customer
  • Little to No Server side slowdown - all heavy processing is done on State of the Art, secure servers


To see pictures and purchase AMANDA, please go to our marketplace page at: https://marketplace.whmcs.com/product/3222

How to configure an recurring Item in a One Time product?

$
0
0
Hi,

I have an One Time product and want to add in the configurable settings a monthly/annual recurring item to it.
The customer will pay one time for his product and then monthly or annually for the rest of the chosen items.

How do I set this up ?

Can not login to WHMCS folllowing upgrade

$
0
0
Hi there,

hoping someone can help me, I have WHMCS as part of my wordpress site, it is not integrated but using a designed theme, when i try and log into the WHMCS url it is just logging me into the back of the wordpress site and not allowing me to access the WHMCS admin area.

Any ideas what might be happening?

https://opengatescom.com/whmcs/admin

many thanks

Paul

Widget section of Administrator Roles not showing addons

$
0
0
I am having an issue with management addons purchased from Resellerclub Mods.

The addons do not appear in the widget section of Administrator Roles.

I then uploaded an unencoded file hooks.php into /modules/addons/resellerclubmods_core/ folder. The widget does not appear in WHMCS -> Setup -> Staff Management -> Administrator Roles -> "Full Administrator" under the section "Widgets".

-Allan

License Add On gives Remote Check Failed

$
0
0
Playing around with the license script to put in a product I am licensing, and I am getting remote check failed. All of my code is correct, and goes to the right paths, etc... but for some reason on a remote site when trying to use the license of the software, when it goes to "call home", I get the Remote Check Failed.

Here's my php code. I want it to call home everytime. I have it to where it stores the license key in a flat text file.

PHP Code:

<?php
ini_set
('display_errors''Off');
error_reporting(0);
$loc $_SERVER['DOCUMENT_ROOT'];
// Replace "yourprefix" with your own unique prefix to avoid conflicts with
// other instances of the licensing addon included within the same scope
function CloseAlert_check_license($licensekey$localkey='') {

    
// -----------------------------------
    //  -- Configuration Values --
    // -----------------------------------

    // Enter the url to your WHMCS installation here -- this calls home
    
$whmcsurl 'whmcspath';
    
// Must match what is specified in the MD5 Hash Verification field
    // of the licensing product that will be used with this check.
    
$licensing_secret_key 'hidden_secret_key';
    
// The number of days to wait between performing remote license checks
    
$localkeydays 0//--Call home every time
    // The number of days to allow failover for after local key expiry
    
$allowcheckfaildays 0;

    
// -----------------------------------
    //  -- Do not edit below this line --
    // -----------------------------------

    
$check_token time() . md5(mt_rand(10000000009999999999) . $licensekey);
    
$checkdate date("Ymd");
    
$domain $_SERVER['SERVER_NAME'];
    
$usersip = isset($_SERVER['SERVER_ADDR']) ? $_SERVER['SERVER_ADDR'] : $_SERVER['LOCAL_ADDR'];
    
//$dirpath = dirname(__FILE__);
        
$dirpath dirname($loc.'/closenet/');
    
$verifyfilepath 'modules/servers/licensing/verify.php';
    
$localkeyvalid false;
    if (
$localkey) {
        
$localkey str_replace("\n"''$localkey); # Remove the line breaks
        
$localdata substr($localkey0strlen($localkey) - 32); # Extract License Data
        
$md5hash substr($localkeystrlen($localkey) - 32); # Extract MD5 Hash
        
if ($md5hash == md5($localdata $licensing_secret_key)) {
            
$localdata strrev($localdata); # Reverse the string
            
$md5hash substr($localdata032); # Extract MD5 Hash
            
$localdata substr($localdata32); # Extract License Data
            
$localdata base64_decode($localdata);
            
$localkeyresults unserialize($localdata);
            
$originalcheckdate $localkeyresults['checkdate'];
            if (
$md5hash == md5($originalcheckdate $licensing_secret_key)) {
                
$localexpiry date("Ymd"mktime(000date("m"), date("d") - $localkeydaysdate("Y")));
                if (
$originalcheckdate $localexpiry) {
                    
$localkeyvalid true;
                    
$results $localkeyresults;
                    
$validdomains explode(','$results['validdomain']);
                    if (!
in_array($_SERVER['SERVER_NAME'], $validdomains)) {
                        
$localkeyvalid false;
                        
$localkeyresults['status'] = "Invalid";
                        
$results = array();
                    }
                    
$validips explode(','$results['validip']);
                    if (!
in_array($usersip$validips)) {
                        
$localkeyvalid false;
                        
$localkeyresults['status'] = "Invalid";
                        
$results = array();
                    }
                    
$validdirs explode(','$results['validdirectory']);
                    if (!
in_array($dirpath$validdirs)) {
                        
$localkeyvalid false;
                        
$localkeyresults['status'] = "Invalid";
                        
$results = array();
                    }
                }
            }
        }
    }
    if (!
$localkeyvalid) {
        
$responseCode 0;
        
$postfields = array(
            
'licensekey' => $licensekey,
            
'domain' => $domain,
            
'ip' => $usersip,
            
'dir' => $dirpath,
        );
        if (
$check_token$postfields['check_token'] = $check_token;
        
$query_string '';
        foreach (
$postfields AS $k=>$v) {
            
$query_string .= $k.'='.urlencode($v).'&';
        }
        if (
function_exists('curl_exec')) {
            
$ch curl_init();
            
curl_setopt($chCURLOPT_URL$whmcsurl $verifyfilepath);
            
curl_setopt($chCURLOPT_POST1);
                         
curl_setopt($chCURLOPT_FRESH_CONNECT1);
            
curl_setopt($chCURLOPT_POSTFIELDS$query_string);
            
curl_setopt($chCURLOPT_TIMEOUT30);
            
curl_setopt($chCURLOPT_RETURNTRANSFER1);
            
$data curl_exec($ch);
            
$responseCode curl_getinfo($chCURLINFO_HTTP_CODE);
            
curl_close($ch);
        } else {
            
$responseCodePattern '/^HTTP\/\d+\.\d+\s+(\d+)/';
            
$fp = @fsockopen($whmcsurl80$errno$errstr5);
            if (
$fp) {
                
$newlinefeed "\r\n";
                
$header "POST ".$whmcsurl $verifyfilepath " HTTP/1.0" $newlinefeed;
                
$header .= "Host: ".$whmcsurl $newlinefeed;
                
$header .= "Content-type: application/x-www-form-urlencoded" $newlinefeed;
                
$header .= "Content-length: ".@strlen($query_string) . $newlinefeed;
                
$header .= "Connection: close" $newlinefeed $newlinefeed;
                
$header .= $query_string;
                
$data $line '';
                @
stream_set_timeout($fp20);
                @
fputs($fp$header);
                
$status = @socket_get_status($fp);
                while (!@
feof($fp)&&$status) {
                    
$line = @fgets($fp1024);
                    
$patternMatches = array();
                    if (!
$responseCode
                        
&& preg_match($responseCodePatterntrim($line), $patternMatches)
                    ) {
                        
$responseCode = (empty($patternMatches[1])) ? $patternMatches[1];
                    }
                    
$data .= $line;
                    
$status = @socket_get_status($fp);
                }
                @
fclose ($fp);
            }
        }
        if (
$responseCode != 200) {
            
$localexpiry date("Ymd"mktime(000date("m"), date("d") - ($localkeydays $allowcheckfaildays), date("Y")));
            if (
$originalcheckdate $localexpiry) {
                
$results $localkeyresults;
            } else {
                
$results = array();
                
$results['status'] = "Invalid";
                
$results['description'] = "Remote Check Failed";
                return 
$results;
            }
        } else {
            
preg_match_all('/<(.*?)>([^<]+)<\/\\1>/i'$data$matches);
            
$results = array();
            foreach (
$matches[1] AS $k=>$v) {
                
$results[$v] = $matches[2][$k];
            }
        }
        if (!
is_array($results)) {
            die(
"Invalid License Server Response");
        }
        if (
$results['md5hash']) {
            if (
$results['md5hash'] != md5($licensing_secret_key $check_token)) {
                
$results['status'] = "Invalid";
                
$results['description'] = "MD5 Checksum Verification Failed";
                return 
$results;
            }
        }
        if (
$results['status'] == "Active") {
            
$results['checkdate'] = $checkdate;
            
$data_encoded serialize($results);
            
$data_encoded base64_encode($data_encoded);
            
$data_encoded md5($checkdate $licensing_secret_key) . $data_encoded;
            
$data_encoded strrev($data_encoded);
            
$data_encoded $data_encoded md5($data_encoded $licensing_secret_key);
            
$data_encoded wordwrap($data_encoded80"\n"true);
            
$results['localkey'] = $data_encoded;
        }
        
$results['remotecheck'] = true;
    }
    unset(
$postfields,$data,$matches,$whmcsurl,$licensing_secret_key,$checkdate,$usersip,$localkeydays,$allowcheckfaildays,$md5hash);
    return 
$results;
}

// Get the license key and local key from storage
// These are typically stored either in flat files or an SQL database
$licensekey "";
$localkey "";
$base __DIR__;
$handle fopen($base."/license.txt""r");
if (
$handle){
$count 0;
while ((
$line fgets($handle)) !== false) {
// process the line reas
if ($count == 0) {
    
$licensekey trim($line);
} else if (
$count ==1) {
    
$localkey trim($line);
}
$count++;
}
fclose ($handle);
} else {
die (
"Could not read the license file. Please contact Support.");
}

// Validate the license key information
$results CloseAlert_check_license($licensekey$localkey);

// Raw output of results for debugging purpose
echo '<textarea cols="100" rows="20">' print_r($resultstrue) . '</textarea>';
// Interpret response
switch ($results['status']) {
    case 
"Active":
        
// get new local key and save it somewhere
        
$localkeydata str_replace(' ','',preg_replace('/\s+/'' ',$results['localkey']));
                
$handle fopen($base."/license.txt""r");
if (
$handle){
$count 0;
while ((
$line fgets($handle)) !== false) {
// process the line reas
if ($count == 0) {
    
$licensekey trim($line);
    break;
$count++;
}
fclose(handle);
    
//$localkey = trime($line);
//}
//$count++;
//}
//fclose ($handle);
if (isset($results['localkey'])) {
$textfile fopen($base."license.txt""w") or die ("Unable to open file!");
    
$contents $licensekey."\n".$localkeydata."\n";
    
fwrite($textfile$contents);
    
fclose($textfile);
    }
} else {
die (
"Could not read the license file. Please contact Support.");
}
        break;
    case 
"Invalid":
        
//die("License key is Invalid");
                //include('../license/manageLicense.php');
        
break;
    case 
"Expired":
        
//die("License key is Expired");
        
break;
    case 
"Suspended":
        
//die("License key is Suspended");
                //include('../license/manageLicense.php');
                //--Figure out how to include our licenseManage.php page to input key
        
break;
    default:
        die(
"Invalid Response");
        break;
}

I want to buy WHMCS License No Branding "Lifetime"

$
0
0
Hi,

I want to buy WHMCS License No Branding "Lifetime", please help me...

Is there anyone who wants to sell the license?

Regards,
Have a nice day...

Needing Help with domainchecker.php page

$
0
0
Need some help to customize the domainchecker.php (now redirected to cart.php) page. I setup a new page here:
https://www.webhostinginwinnipeg.ca/...omain=register

want to edit a few things on the page and wondering if and if so, where I can edit.

Firstly, the "Register Domain" sub-title and the sentence right below "Find your new domain name. Enter your name or keywords below to check availability." I would like to change the words for these 2 areas.

Also, I have 2 currencies setup, USD and CAD, I would like the CAD to display as the default when the page is loaded for the first time, can this be done, and where?

Lastly, the Add Web Hosting box near the footer, can I edit the button both the text within the button and the link so it links to a specific page? If so, where?

Any help here will greatly appreciated on this

Cheers!

There isn't a good explanation on the Footer issue

$
0
0
Hello,

I to want to have my footer in WHMCS theme but it looks like all post that has been posted about this issue doesn't seem to give the right answer or solve the problem. Most of the included link to showcase websites are gone or disabled and the answer to solve the issue is still a mystery.

I went to search in the customising help but even there the info is not helping.
The only thing I could find was:

Quote:

  • The footer template file includes a number of lines of javascript code immediately prior to the closing tag which are essential to the correct operation of the client area. Please take care not to remove these lines.

Include Files

Include templates are templates that are shared and used by multiple pages. They are located within the /includes/ sub-directory.
Common to All Pages

  • head.tpl - Defines the CSS & Javascript files included within the section of a page
  • navbar.tpl - Controls the output of the primary navigation bar menu items
  • sidebar.tpl - Controls the output of the sidebar menu items

As you can see there isn't anything helpful about How To Get My Footer Included in WHMCS.

So my question is, is there someone who is able to explain how to do this on a WordPress theme?

Thanks.

Hook to return values to affiliate section

$
0
0
Working on an integration with a tracking program where we will basically create a domain parking platform. Needing a hook to send conversion amounts back to whmcs. Anybody got any ideas on this?

Email failed

$
0
0
I noticed that I did not receive my usual cron system email this morning and when I looked at the activity log it showed this -

Code:

Admin Email Notification Sending Failed - PHPMailer Exception - SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting (Subject: WHMCS Cron Job Activity)
Has anyone any ideas why this would just randomly happen as the email has been sent every morning for weeks now without fault?

2Checkout not displaying o order form

$
0
0
I have been using paypal with whmcs , recently when I tried to setup 2checkout it is not displaying on the order form but the paypal option is still visible.

Show On Order form check in Payment gateways for 2checkout is visible and i am using modern order form template.


Anyone know what is going on please help

How to generate invoice from client profile

$
0
0
Im new here guys so cut me some slack...

I've installed WHMCS, setup my domain registerar and hosting packages etc and now I went to create a client. In the client profile view i've setup his hosting package under products/serivce and his domain under the domains tab.

How do I get that into an invoice as I dont see the option to do so? Im on version 6

ModulesGarden Zendesk For WHMCS 1.7.0 – Provide Customer Service Of Dreamlike Quality!

$
0
0
Being in control of multiple brands might pose a real challenge but no fears should be on your mind really when there is our Zendesk For WHMCS!

The module’s 1.7.0 version has been released to bring support for Zendesk’s Multibrand component into powerful effect. With it, you will be able to select which brand from those available in Zendesk should be connected with a given WHMCS instance.

Leave nothing to chance when it comes to the shape of your customer service – use Zendesk For WHMCS 1.7.0!

Learn All About Zendesk For WHMCS!

And that is not everything! Our WHMCS Widget For Zendesk has gone under new improvements as well. In result, the widget is now ready to show you all essential information collected in any of WHMCS installations you use to handle your brands with – right in your Zendesk!



Recently we have also released:



Do You Need Custom Software Development For Your Business?


Specially for you we will adapt an application and its design to your own needs, create a new module or even a completely new system built from scratch!

New ticket email

$
0
0
Hello,

Is there any setting that I'm missing and I'm not getting (as Admin) notification emails when a client opens a new support ticket or replies to an old one?
Clients are getting notifications. But not me.

Thank you
Chris

Quick question about Market Connect and WEEBLY for licensed resellers

$
0
0
Hey, guys!

Can anyone point out the pricing for the weebly plugin on market connect?
I can't pinpoint anywhere in their FAQs about the cost.
Are they allowing us to choose the price plans? Or do they get a cut e.c.t.

Also, a follow-up:
The market connect tab is brand new to me, and I noticed there is a small Login Box at the top right corner.
Do I have to make a new login account for the market connect?

If so, Will I still be able to use market connect and all their features as a licensed reseller?
Thanks!

- - - Updated - - -

Ok I see, I answered my own questoin.

I just started to go through the process in my WHMCS just to see and saw the pricing info, they have a base price, and then they recommend a retail price for you. seems like a pretty cool gig!
Viewing all 13458 articles
Browse latest View live