Jump to content

Eric4gh

Retired Forum Member
  • Posts

    3
  • Joined

  • Last visited

About Eric4gh

Eric4gh's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. I imagine it would be something along the lines of this this SQL query: $qresult = mysql_query("select * FROM tblhostingaddons WHERE $vars["accountid"] eq hostingid AND name='Sitebuilder Access'"); if(mysql_num_rows($qresult) > 0) { // create new sitebuilder site } else { // customer does not have a Addon }
  2. Hi everyone. I wonder if anyone would know how to query WHMcs to see if a certain product add-on has been added to an order. This would be a very similar query to what is written into invoices.php - that lists hosting add-ons. (although I can't see it because the file is encoded.) I see that this type of information is stored in table: tblhostingaddons - and there are three identifying columns "id", "orderid", and "hostingid" However, I am not the best at creating queries. The goal is to take an action based if on order includes an add-on for Sitebuilder access. This column name where the add-on is named is "name" and if this column contains text "Sitebuilder Access" - then the query should return positive. Thank you for your help.
  3. I wish to find out more about these specific features. Where are the Docs for DNS Mgmt, EM FWing, and ID Protection? I noticed they were only mentioned in a sidenote in the manual. Could you supply me with forum threads or actual documented information as it relates to WHM? I tried a forum search, but this forum search is not good.
×
×
  • 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