Jump to content

Hans!

Newbie
  • Content count

    3
  • Joined

  • Last visited

  • Days Won

    1

Hans! last won the day on May 10

Hans! had the most liked content!

Community Reputation

1 Neutral

About Hans!

  • Rank
    Junior Member
  1. Nope: the data to be managed are time and activity tracking notes, which will be monthly managed by billing people. So, it may happen (and usually it's so) that a single ticket has more than one record of this kind. For this reason we're going to use a different table, with fields like that: timestamp ticketid customerid operator time description of activity for billing purposes I've also tried to use the "billing function" native in WHMCS ticket management, but it's not sufficient, it's difficult to integrate with our billing software, and it's far from error-proof for the operator...
  2. Hello. I would like to enrich admin area, inserting in the viewticket page a little four-fields form; the operator may compile them (when and if necessary), and the related "submit" will save the data in a db table. Easy but... how to do it? If I edit viewtickt.tpl inserting something like: <div class="container"> <form method="post"> first field: <input type="text" name="field1" value="field 1"> description: <input type="text" name="field2" value="field 2"> <input type="submit" value="submit extra"> </form> </div> what kind of "post" should I need to set, and how define the action? Other forms in same page are defined as calls to {$smarty.server.PHP_SELF}?action=[something], but .php code is encrypted so I can't add any action to it... :-/ Maybe using hooks: using AdminAreaViewTicketPage I guess I can define the form but... the issue is the same: how to manage related submit action? Rather confused... :-/
  3. I need to recover the nameservers set by the user in the order. So, I have: $domain (i.e. "mydomain.com"), $domainid (i.e. 1234), $domainorderid (i.e. 4567) In the table "orders" there's the "nameservers" fields (i.e. "ns1.namserver.com,ns2.nameserver.com,ns3.nameserver.com") The question is: Do I need to do a query to the mysql "orders" table, recover the field "nameservers", and write the code to parse it (I don't know the number of nameservers... 0 to 5), or does exist any smarter way to recover this data, getting a ready array with the nameservers?!
  4. Welcome to WHMCS.Community Hans!! We're glad you're here please take some time to familiarise yourself with the Community Rules & Guidelines and take a moment to introduce yourself to other WHMCS.Community members in the Introduce Yourself Board.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated