Jump to content

Atomic

Member
  • Posts

    67
  • Joined

  • Last visited

Everything posted by Atomic

  1. Anyone know how to change this so you have different icons/images for each product group?
  2. This works perfectly - thanks! However, I am considering which one to use. I still might go with the bootstrap. But I added the database query to the code and now it doesn't work at all: <?php use Illuminate\Database\Capsule\Manager as Capsule; function homepage_network_issues_hook($vars) { $networkissues = Capsule::table('tblnetworkissues') ->join('tblhosting', 'tblnetworkissues.server', '=', 'tblhosting.server') ->leftjoin('tblservers','tblnetworkissues.server', '=', 'tblservers.id') ->select('tblnetworkissues.*','tblservers.name') ->where('tblhosting.userid', $client->id) ->where('tblnetworkissues.status','<>','Resolved') ->where('tblnetworkissues.type','Server') ->orderby('tblnetworkissues.lastupdate','desc') ->groupby('tblnetworkissues.id') ->take(2) ->get(); $encodedata = json_encode($networkissues); $decodedata = json_decode($encodedata, true); return array("networkissues" => $decodedata); } add_hook("ClientAreaPageHome", 1, "homepage_network_issues_hook"); ?> I didn't change any code in the template.
  3. Thanks so much. I'm going to attack this tomorrow as it's late here.
  4. Outstanding. Also commented out the Support links above it. Perfection.
  5. I've been wanting this for years! Thank you! One question, is it possible to remove "Department" from the title? So it says "Linux Support" instead of "Linux Support Department" just because I want it on one line and I'm pedantic.
  6. Hi Brian, Thanks for the reply. I added the hook and then the code in clientareahome.tpl. However, it shows to clients not on that server. Anyway to have it so it only displays if a client has a product on a particular server? Also, I would prefer the homepagepanel. If you have time I would appreciate any insight into the code. I looked at the docs but couldn't work out how to integrate the db queries with the panel code.
  7. I'd like to add a section for Network Issues on clientaera.php. So if a server a client is on they see the announcement when logging in without having to go to Network Issues. Is this possible?
  8. I created a promotion with 100% discount recurring once (so 1 month free). The cart said "Total Due Today: $0.00" but after account creation it goes to the payment gateway to charge the client?
  9. When creating cPanel reseller accounts: Creating WHM reseller account creates account with "Allow reseller to use any available IP address.". We like to restrict IPs. How do most hosts achieve this? As it's setup so they can use any IPs how can the email template tell them what IPs to use for nameservers? Also does not set main/shared IP to one of the reseller's IPs (as above). Will it also set up a resellers account so their shared IP is the server's main IP? No way to set on the second IP assigned to the reseller?
  10. This post saved my life. Thanks. (Well, not life but it was #1 on Google for "stardevelop jquery conflict". Cheers!
  11. Got it, thanks. So I add a server group like "cPanel Server" and add my cPanel servers there. And on the cPanel plan I select that Server Group and it will set up the plan on whatever cPanel server is default?
  12. Greets, So I'm setting up WHMCS and we'll have cPanel Hosting, Plesk Hosting and OnApp VMs. How do I set it in WHMCS so that cPanel signups get setup on the cPanel server, Plesk signups go to the Plesk server etc? Does WHMCS just figure it out so that if I create a cPanel package and a cPanel server it just sets up the account on the default cPanel server and same for a Plesk account, Plesk server?
  13. I was interested in this: http://www.whmcsgold.com/inodes_monitor But looks like ther's no active development and also looks like there's no WHMCS development anyhow. We need something like this but does the reporting from multiple servers in WHMCS. Must be compatible with cPanel and Plesk. Second part of this job is reporting CPU and Memory usage coming from LVE in CloudLinux: http://cloudlinux.com/docs/lvestats-0.5.13.php "The package creates sqlite database /var/lve/lveinfo.db that holds historical information about LVE usage. Up to two months of hourly info is stored for each client. Higher resolution of data is stored for the past two days, and past 10 minutes." So shouldn't be hard to query the database and display a graph/chart based on desired levels. Please email me at lflynn at atomicvps.com with pricing and turnaround time. Thanks.
×
×
  • 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