Jump to content

Search the Community

Showing results for tags 'development'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


WHMCS.Community

  • The latest WHMCS Release
    • WHMCS 8.1 Beta Discussion Board
  • WHMCS Beta Program
    • WHMCS Mobile App Technical Preview Feedback
  • The Latest from the WHMCS Team
    • News, Announcements & Blogs from WHMCS
  • WHMCS.Community
    • Community Announcements
    • Introduce Yourself
  • Using WHMCS
    • Pre-Sales Questions
    • Admin & Configuration Questions
    • Installation, Upgrade, and Import Support
    • Using WHMCS
    • Troubleshooting Issues
    • Vendor Discussions
  • WHMCS Showcase
    • Showcase Your Site
    • Share Your Best Practices & Tips
  • Developing & Extending WHMCS
    • Third Party Add-ons
    • Service Offers & Requests
    • Developer Corner
    • Building Modules
    • Share Ideas for WHMCS Modules
  • Community Competitions
    • Competitions
  • General Discussions
    • General Discussion
  • General Feedback & Assistance
    • Feedback
    • WHMCS.Community Tips & Tricks
  • Third Party Developers's Topics
  • Turkish International Discussions's Topics
  • Russian International Discussions's Topics
  • Spanish International Discussions's Topics
  • Portuguese International Discussions's Topics
  • French International Discussions's Topics
  • Italian International Discussions's Topics
  • German International Discussions's Topics
  • WHMCS Brasil's Topics
  • WHMCS Brasil's Tópicos
  • ModulesGarden Club's Topics
  • Hungarian International Discussions's Segítség
  • ThemeMetro Club's Topics
  • WHMCS Services Club's Topics
  • SwiftModders Club's Topics
  • WHMCS Global Services Club's Topics
  • Katamaze's Free Scripts
  • Katamaze's Modules
  • Zomex Club's Topics
  • 0100Dev Club's Topics

WHMCS Version

  • V8.0.x Hotfixes
  • V7.10.x Hotfixes
  • V7.9.x Hotfixes

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me

Found 8 results

  1. Hi everyone, I am looking for a few recommendations on trustworthy developers who can convert a few scripts from WHMCS v6.x to WHMCS v8.x? I asked Brian! however he seems to be busy and is not reading any of my private messages unfortunately. So maybe someone has experience with this and can put in a few recommendations? Thanks in advance. Regards
  2. Greetings, I'm developing a module to setup a user on my server and sync their usage data to whmcs. I've successfully contextualized usage metrics now the big issue here is how whmcs track usage metrics my progress so far is below: I've created a new class which implements "ProviderInterface" below is the code for "metrics" function public function metrics() { return [ new Metric( 'disk', 'Disk Utilized', MetricInterface::TYPE_SNAPSHOT, new MegaBytes, new Usage(0) ) ]; } usage function is public function usage() { $serverData = $this->apiCall('stats'); $usage = []; foreach ($serverData as $data) { $usage[$data['username']] = $this->wrapUserData($data); } return $usage; } tenantusage function is public function tenantUsage($tenant) { $userData = $this->apiCall('user_stats'); return $this->wrapUserData($userData); } helper wrapuserdata function is: private function wrapUserData($data) { $wrapped = []; foreach ($this->metrics() as $metric) { $key = $metric->systemName(); if ($data[$key]) { $value = $data[$key]; $metric = $metric->withUsage( new Usage($value) ); } $wrapped[] = $metric; } return $wrapped; } And lastly helper apicall function which delibrately sends a value somewhat emulating an api call for now. private function apiCall($action) { if($action == "stats"){ return [ [ "username" => "kamran@domain.com", //this represents my username which is provided to whmcs "disk" => 100 ] ]; } else{ return [ [ "disk" => 100 ] ]; } } Okay so far in the above mentioned code, date and time updates but usage details are not updating. BTW I'm checking metrics using module parameters using $params["metricStats"][0]["currentvalue"] So please help me with the below mentioned questions. What is the correct way to return "usage()" function including what should be the identifier of the tenant(i.e. the key of value usage object where key should be serviceid?accountid?userid? of the tenant)? Whenever cron job "TenantUsageMetrics" runs only "usage()" function is invoked and never "tenantusage()" why? Also if my syntax is wrong a possible example would be tremendous. Thank you for hearing me out!
  3. This is obviously easy for me to fix on my own but just wanted to point out this little issue on the Lost Password page (not sure if its elsewhere - just noticed it here).
  4. 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
  5. To celebrate, WHMCS Services is having a two (2) week-long sales on WHMCS Modules! Simply add a program to your shopping cart to receive 20% off! and add discounts code (Memorial18) will be applied automatically! How Long Will this Sale Last?Expires 4th June 2018Here is a list of our various module products: Click HereDo You Need Custom Development? Click HereOur Social Media:WHMCSServices on Twitter
  6. We just finished a new module call WS Hidden Services v1.0.0 to work on WHMCS v7.4 and PHP 7 Find Out More About Hidden Services For WHMCS! Screenshot: Click Here Sale Price: Owned License: $21.99 USD Click Here Click Here To View All WHMCS Addons By WHMCSServices Do You Need Custom Development? Click Here Latest Release: Phone Verification 1.6.0 Affiliates Plus 1.1.0 Cancel Invoices 2.5.1 SMS Manager 5.2.0 Email Verification Pro 6.0.2 Coming Soon: Stripe Bitcoin 1.0.0 Ticket Number Restriction 2.0.0 Backup Module 1.0.0 Our Social Media: WHMCSServices on Twitter
  7. WHMCS: 7.2.3 The DomainWhois JSON API output seems to be missing an opening curly bracket/brace. "result":"success","status":"available","whois":""} Not sure if this is a bug or if I'm doing something wrong? Can someone check if they're seeing the same?
  8. Folks, I'm development a payment gateway with subscription support that need call periodically the API system to charge the invoices. I have the idea to use a After Cron Job Hook, http://docs.whmcs.com/Hooks:AfterCronJob My question is, the gateway module can make advance with hooks simple create a file named "hooks.php" within the module folder? Best!
×
×
  • 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