Jump to content

Jamesking56

Member
  • Posts

    15
  • Joined

  • Last visited

About Jamesking56

Jamesking56's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Hello, I'm creating an addon module which needs to add a page to the client area. I only need one page, so I decided to use Client Area Output. Unfortunately though, it isn't working. When clicking on my added navigation link, it instead shows the client home page. Here's my client area output function: function gocardless_clientarea($vars) { return [ 'pagetitle' => 'Direct Debit', 'breadcrumb' => ['index.php?m=gocardless' => 'Direct Debit'], 'templatefile' => 'clienthome', 'requirelogin' => true, 'forcessl' => false, 'vars' => $vars ]; } and here is clienthome.tpl which I put in my module directory: Hello World Any ideas why its rendering the client home instead at http://whmcs/clientarea.php?m=gocardless Cheers.
  2. Thanks for your responses. My new plugin is currently in planning phases and I've not started writing the code for it yet. I plan to make a full blown Testimonials system which will be a paid product aimed mainly at Web Hosting companies. It will have features to allow staff to manually approve testimonials sent, email users x amount of days after they've signed up for their product and even will include an API so you can show our testimonials on a 3rd party website. Theres a few other features I'm keeping quiet about but you get the basic idea. Prices for the released version (after beta) are TBA
  3. Hello, I am developing a WHMCS plugin which I will be selling to the public in a few months. However, I need 5 Web Hosting Companies running WHMCS to test the beta version (which will be coming soon) and submit any bugs they find. For doing so, you will earn 50% off the final product of the plugin (the stable version). If you're a hosting company running WHMCS and you wish to take part, apply here: http://goo.gl/4pa86 Hope to tell you all about the plugin soon.
  4. You can edit the port by modifying the cron.php file. We hope to add a full interface soon with options to edit server, ports and even create widgets to show current server statuses on other websites.
  5. ServerDown will notify you automatically via email when a server goes offline! Support done in this topic or at BlazeStudios Helpdesk! Current Version: v1.0.1 Contributions Directory URL: http://www.whmcs.com/members/communityaddons.php?action=viewmod&id=193 Product Link: http://www.blazestudios.co.uk/products/serverdown/ Changelog © Copyright BlazeStudios, All Rights Reserved. http://www.BlazeStudios.co.uk
  6. Announcement: We have just released v1.0.1 available for download in the BlazeStudios Members area. This fixes all issues with v1.0 and has been tested.
  7. This is correct, we will be releasing version 1.0.1 to address this issue tomorrow or sunday. We're sorry for any inconvenience caused.
  8. IP Monitor is unsupported in WHMCS 4.4 (due to the new addons system) and doesn't provide adequate support. ServerDown is fully compatible, does automatic update checks and has continued support through the BlazeStudios Helpdesk. You may also edit the Cron Job file to customise the email message if you wish.
  9. ServerDown will notify you automatically via email when a server goes offline! Support done in this topic or at BlazeStudios Helpdesk! Current Version: v1.0 Contributions Directory URL: (Coming Once Submitted) Product Link: http://www.blazestudios.co.uk/products/serverdown/ © Copyright BlazeStudios, All Rights Reserved. http://www.BlazeStudios.co.uk
  10. I've done it I Queried the mod_licensing table and parsed it to check... Quite easy actually.
  11. Hey, I want to create a domain validator so that people can check domains and see if they are licensed in my panel (like WHMCS does). How can I code this? What API should I use and how do I parse it?
  12. Hey! Basically, I got the Array in PHP and printed it like so. Array ( [status] => Active [registeredname] => James King [email] => james@jamesking56.co.uk [productid] => 6 [productname] => MyShout Free License [regdate] => 2010-09-04 [nextduedate] => 0000-00-00 [billingcycle] => Free Account [validdomain] => jamesking56.zapto.org,www.jamesking56.zapto.org [validip] => 192.168.1.68 [validdirectory] => F:\xampp\htdocs\MyShout\TEST [addons] => name=Test License Addon;nextduedate=2010-10-05;status=Active|name=Test License Addon 2;nextduedate=2010-10-06;status=Pending [checkdate] => 20100905 [localkey] => 9tjI1ATOwATMwIjI6gjOztjIlRXYkt2Ylh2YioTO6M3OicmbpRmblBVPzVHdhR3c7YDMtATMtATMwITP lRXYkVWdkRHel52OyAibvRGZBBSZz5WZjlGTgQ3clRVPl1WYuxXZ2lGdjFUPzVHdhR3c7UDMtATMtATM wITPlRXYkVWdkRHel52Ou9GZkFEIlNnblNWaMBCdzVGV9UWbh5mI6QjMxozc7Iycu9GZkFmI6YjOztjI UNVRUxFd19GaTlXTcN3YvRGdoxFcw1WY4xlOGJiO4IjOztjI5J3b0NWZylGZklGbhZnI6QTM6M3OigjN uEjL4YTMuITOxIiOyEjOztjIwlGZpxWY2JiO3ozc7IyZy9mLvRHchpnL2UzZul2azVWbhpmL3d3dscmc v5yb0BXY65iN1cmbpt2cl1WYqJiO3QjOztjIulWYt9GZklGbhZnI6ETM6M3OiQnb192YjFEIlVmcGJiO yEjOztjIlx2Y5N2ZulGbslmYiojMxozc7ICMw0CMw0CMwADMioDMxozc7ISZ0FGZlVHZ0hXZuJiOxEjO ztjI0ATL5ATLwEDMyIiOwEjOztjIlRXYkdWZyJiO3ozc7ISZz5WZjlGTgUWZyZEI0V3boNVeNJiOwIjO ztjIl1WYuR3Y1R2byBnI6ETM6M3OiYjI6EjOztjIklGdjVHZvJHcioTO6M3OisWdu82YuYTNn5WarNXZ tFmaANXZtFmaiozMyozc7ICbpFWblJiO1ozc7IyZul2SgMXZtFmSioDMxozc7ISZtFmbkVmclR3cpdWZ yJiO0EjOztjIlZXa0NWQiojN6M3OiMXd0FGdzJiO2ozc7pzMxoTYae9524b945f9c4eaef2e0e892291 3e019b28298da0bd1347f20a2c48a0f2eb84 [remotecheck] => 1 ) So, What I want to do is parse the addons part. I want to strip away the "name=" parts so I can get the addons in a separate array for each one... What is the best way to parse them? If anyone has parsed it before please post how you parsed the addons (It might be a better way than mine ) Thanks in advance for your help!
  13. Hey! I'm trying to use the licensing addon in WHMCS for my product but i'm having some trouble. How do I parse the addons from the product? I have the check code working and it shows their name etc. Here is what it shows when printing the array: Array ( [status] => Active [registeredname] => James King [email] => james@jamesking56.co.uk [productid] => 6 [productname] => MyShout Free License [regdate] => 2010-09-04 [nextduedate] => 0000-00-00 [billingcycle] => Free Account [validdomain] => jamesking56.zapto.org,www.jamesking56.zapto.org [validip] => 192.168.1.68 [validdirectory] => F:\xampp\htdocs\MyShout\TEST [addons] => name=Test License Addon;nextduedate=2010-10-05;status=Active|name=Test License Addon 2;nextduedate=2010-10-06;status=Pending [checkdate] => 20100905 [localkey] => 9tjI1ATOwATMwIjI6gjOztjIlRXYkt2Ylh2YioTO6M3OicmbpRmblBVPzVHdhR3c7YDMtATMtATMwITP lRXYkVWdkRHel52OyAibvRGZBBSZz5WZjlGTgQ3clRVPl1WYuxXZ2lGdjFUPzVHdhR3c7UDMtATMtATM wITPlRXYkVWdkRHel52Ou9GZkFEIlNnblNWaMBCdzVGV9UWbh5mI6QjMxozc7Iycu9GZkFmI6YjOztjI UNVRUxFd19GaTlXTcN3YvRGdoxFcw1WY4xlOGJiO4IjOztjI5J3b0NWZylGZklGbhZnI6QTM6M3OigjN uEjL4YTMuITOxIiOyEjOztjIwlGZpxWY2JiO3ozc7IyZy9mLvRHchpnL2UzZul2azVWbhpmL3d3dscmc v5yb0BXY65iN1cmbpt2cl1WYqJiO3QjOztjIulWYt9GZklGbhZnI6ETM6M3OiQnb192YjFEIlVmcGJiO yEjOztjIlx2Y5N2ZulGbslmYiojMxozc7ICMw0CMw0CMwADMioDMxozc7ISZ0FGZlVHZ0hXZuJiOxEjO ztjI0ATL5ATLwEDMyIiOwEjOztjIlRXYkdWZyJiO3ozc7ISZz5WZjlGTgUWZyZEI0V3boNVeNJiOwIjO ztjIl1WYuR3Y1R2byBnI6ETM6M3OiYjI6EjOztjIklGdjVHZvJHcioTO6M3OisWdu82YuYTNn5WarNXZ tFmaANXZtFmaiozMyozc7ICbpFWblJiO1ozc7IyZul2SgMXZtFmSioDMxozc7ISZtFmbkVmclR3cpdWZ yJiO0EjOztjIlZXa0NWQiojN6M3OiMXd0FGdzJiO2ozc7pzMxoTYae9524b945f9c4eaef2e0e892291 3e019b28298da0bd1347f20a2c48a0f2eb84 [remotecheck] => 1 ) How do I parse the [addons] => part? its just a long string with ; and |.... Whats the best way to parse it and remove the name= etc.
×
×
  • 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