Jump to content

grapyhost

Members
  • Content count

    26
  • Joined

  • Last visited

  • Days Won

    1

grapyhost last won the day on November 14 2017

grapyhost had the most liked content!

Community Reputation

11 Good

About grapyhost

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. We have whmcs in public_html directory and same we hosted wordpress in the same location. As whmcs - bagful.net/manage and WordPress - bagful.net so the issue is whmcs and WordPress have index.php conflict issue whenever we update the whmcs. so can you tell me .htaccess rules to access both in the same location? Currently, the rule applied - # Send all remaining (routable paths) through index.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # Determine and use the actual base RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)\1$ RewriteRule ^.*$ %2manage/index.php [QSA,L] </IfModule> If i removed manage from RewriteRule ^.*$ %2manage/index.php [QSA,L] so wordpress all sub links work properly. if not so wordpress links get to redirect to whmcs 404. If anyone has an idea to get both works, please share.
  2. Hello Brian, I have done that activity as you suggested, but still no luck. renew tab URL is same as before.
  3. Hello Guys, I got one small bug under Portal Home - Client Area - My Domains - Left Side Bar - Actions - Renew Renew tab URL showing wrong. its showing custom as well as unchanged six templates. Please suggest, How to fix? Thanks Madan
  4. grapyhost

    How to connect with sub resellers account

    Thanks @imaticon and @brian! I have used Netearthone, and its working fine. issue solved. Now all old domain renewal will handle with Netearthone and all new domain registration will handle with resellerclub inbuilt module. Thanks for your time and solution.
  5. grapyhost

    How to connect with sub resellers account

    Hello, imaticon Thanks for the reply. if I used my resellerclubs sub-reseller account's user id and API key into Resell.biz or other you mentioned module, so it will works? Are they using same parameters as resellerclub registrar module using?
  6. grapyhost

    How to connect with sub resellers account

    Hello Brian, Thanks for the reply. I don't want to access sub resellers domain prices. I have an only concern with domain renewals, there are 500 domains in the sub-reseller account. Here are the brief details - This is our main resellerclub reseller account - 215172 and this is Sub reseller - 384784 of main reseller account. So i want provision only renewals with sub reseller account, and all new domain registration with main (215172) reseller account. Hope you got what i want to say. So after searching - here is the resellerclub API call documents - https://manage.resellerclub.com/kb/answer/746 https://test.httpapi.com/api/domains/renew.json?auth-userid=0&api-key=key&order-id=562994&years=1&exp-date=1279012036&invoice-option=NoInvoice and below is the whmcs domain module sample code - /** * Renew a domain. * * Attempt to renew/extend a domain for a given number of years. * * This is triggered when the following events occur: * * Payment received for a domain renewal order * * When a pending domain renewal order is accepted * * Upon manual request by an admin user * * @param array $params common module parameters * * @see https://developers.whmcs.com/domain-registrars/module-parameters/ * * @return array */ function registrarmodule_RenewDomain($params) { // user defined configuration values $userIdentifier = $params['auth-userid']; $apiKey = $params['api-key']; $testMode = $params['Test Mode']; $accountMode = $params['Account Mode']; $emailPreference = $params['Email Preference']; $additionalInfo = $params['Additional Information']; // registration parameters $sld = $params['sld']; $tld = $params['tld']; $registrationPeriod = $params['regperiod']; // domain addon purchase status $enableDnsManagement = (bool) $params['dnsmanagement']; $enableEmailForwarding = (bool) $params['emailforwarding']; $enableIdProtection = (bool) $params['idprotection']; /** * Premium domain parameters. * * Premium domains enabled informs you if the admin user has enabled * the selling of premium domain names. If this domain is a premium name, * `premiumCost` will contain the cost price retrieved at the time of * the order being placed. A premium renewal should only be processed * if the cost price now matches that previously fetched amount. */ $premiumDomainsEnabled = (bool) $params['premiumEnabled']; $premiumDomainsCost = $params['premiumCost']; // Build post data. $postfields = array( 'username' => $userIdentifier, 'password' => $apiKey, 'testmode' => $testMode, 'domain' => $sld . '.' . $tld, 'years' => $registrationPeriod, 'dnsmanagement' => $enableDnsManagement, 'emailforwarding' => $enableEmailForwarding, 'idprotection' => $enableIdProtection, ); try { $api = new ApiClient(); $api->call('Renew', $postfields); return array( 'success' => true, ); } catch (\Exception $e) { return array( 'error' => $e->getMessage(), ); } } /** * Fetch current nameservers. * * This function should return an array of nameservers for a given domain. * * @param array $params common module parameters * * @see https://developers.whmcs.com/domain-registrars/module-parameters/ * * @return array */ function registrarmodule_GetNameservers($params) { // user defined configuration values $userIdentifier = $params['auth-userid']; $apiKey = $params['api-key']; $testMode = $params['Test Mode']; $accountMode = $params['Account Mode']; $emailPreference = $params['Email Preference']; $additionalInfo = $params['Additional Information']; // domain parameters $sld = $params['sld']; $tld = $params['tld']; $registrationPeriod = $params['regperiod']; // Build post data $postfields = array( 'username' => $userIdentifier, 'password' => $apiKey, 'testmode' => $testMode, 'domain' => $sld . '.' . $tld, ); try { $api = new ApiClient(); $api->call('GetNameservers', $postfields); return array( 'success' => true, 'ns1' => $api->getFromResponse('nameserver1'), 'ns2' => $api->getFromResponse('nameserver2'), 'ns3' => $api->getFromResponse('nameserver3'), 'ns4' => $api->getFromResponse('nameserver4'), 'ns5' => $api->getFromResponse('nameserver5'), ); } catch (\Exception $e) { return array( 'error' => $e->getMessage(), ); } } Can you tell me how to match the actual parameters and pass it to resellerclub API. and get users domain renew. Thanks Grapy
  7. grapyhost

    How to connect with sub resellers account

    As per WHMCS documentation - https://developers.whmcs.com/domain-registrars/ I have added a sample module in - module - registrar - Registrarmodule, but its seems not working. i think there kis some API call issue. here is the request and response code. Request Code = Array ( [username] => ****** [password] => ***************************************************** [testmode] => [domain] => codyplay.xyz [years] => 1 [nameservers] => Array ( [ns1] => dns1.getsetlive.com [ns2] => dns2.getsetlive.com [ns3] => dns3.getsetlive.com [ns4] => dns4.getsetlive.com [ns5] => ) [contacts] => Array ( [registrant] => Array ( [firstname] => Madan [lastname] => Malhotra [companyname] => Eworld Web Services => madan@eworld.guru [address1] => Navi Mumbai [address2] => CBD - Belapur Sec - 2 [city] => Navi Mumbai [state] => Maharashtra [zipcode] => 400614 [country] => IN [phonenumber] => +91.9922558680 ) [tech] => Array ( [firstname] => Madan [lastname] => Malhotra [companyname] => Eworld Web Services => madan@eworld.guru [address1] => Navi Mumbai [address2] => CBD - Belapur Sec - 2 [city] => Navi Mumbai [state] => Maharashtra [zipcode] => 400614 [country] => IN [phonenumber] => +91.9922558680 ) ) [dnsmanagement] => [emailforwarding] => [idprotection] => ) Response Code - <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>404 - Not Found</title> </head> <body> <h1>404 - Not Found</h1> </body> </html> Please advice.
  8. Hello Guys, Hope you doing great. So i got one issue, that seems not resolved as per my 5 days RND. The issue is - We have reseller account from resellerclub and that reseller account have sub reseller So how to connect both accounts with whmcs using inbuilt whmcs resellerclub domain registrar module, can we make one duplicate module. if possible so, which code stream i need to edit. and make this possible! Your reply is valuable. Thanks Grapy
  9. Buddy, plz read the issue again before reply.
  10. Hello Guys, Hope you doing well. I am facing one issue, client registered a domain. we using a resellerclub reseller account to register the domains. but after registration in Client Profile - Domain Section, there is domain info is empty. can anyone tell, how to get sync with resellerclub. or how to fix it. Screenshots to understand - Showing - https://snag.gy/JOi4Rg.jpg Not Showing - https://snag.gy/ITwXgY.jpg Regards Mohit
  11. grapyhost

    How do you promote your hosting website ?

    Try to build up customer trust first. your website design development should be neat and clean. you can use Facebook adv and google ad-words to get few customers. best of luck
  12. This is HUGE, awesome job done. hope this feature will come in next update. Working screen - Thanks
  13. I have removed value from on line 116 and getting this result, hope it will help u little bit .
  14. I am testing this code in whmcs 7. not in 7.4
  15. Getting same 500 error. and after display errors - Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home/bagflnet/public_html/modules/reports/sales_tax_liability.php on line 116 Thanks
×

Important Information

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