Jump to content

lucianozanita

Member
  • Posts

    2
  • Joined

  • Last visited

About lucianozanita

lucianozanita's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Hello, I'm in a dilemma actually an impasse, I'm trying to assemble a query in the database with the new database interaction base WHMCS has developed, but I can not find an easy way to do a multiple query on two tables . Using their example, I would also like to select three customfield fields from the currently listed account. Since they are customfield1, customfield2, customfield3, but I have no idea how I can be using the query to do this, would anyone know how to do the same? Here is an example used at this point that only lists the accounts, and needed to list the customfield value of the currently listed account. foreach (Capsule::table('tblclients')->get() as $clientes) { $primeironome = $clientes->firstname . PHP_EOL; $segundonome = $clientes->lastname . PHP_EOL; }
  2. Hello everyone, I'm trying to make some limitations for whmcs native CPanel module, where I've already been able to limit options views through the type of product, which in the case was used other. Until then, I was able to do everything I wanted, with few details. The Sidebar of product that I will be posting the image, I would like to remove 2 options of it from 'Change Password' and that of 'Log in to Cpanel', as I would limit these two single functions to the 'other' product type, The question is how to do it and if it is possible, if yes how could it do? Another question is '#tabChangepw' how can I limit the password change only to non-Other product type for the Cpanel module? Print Module: http://prnt.sc/dde2pt
×
×
  • 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