Jump to content

AffordableDomainsCanada

Member
  • Posts

    405
  • Joined

  • Last visited

  • Days Won

    1

AffordableDomainsCanada last won the day on July 25 2017

AffordableDomainsCanada had the most liked content!

About AffordableDomainsCanada

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

AffordableDomainsCanada's Achievements

Senior Member

Senior Member (3/3)

8

Reputation

  1. As of this afternoon I have tasked a member of our team to find a suitable replacement for WHMCS. We invested in WHMCS during the early years and now we are getting screwed over and forced to pay more money for a product we already paid for and continue to pay for every year. We feel this move by WHMCS is going to cost them money rather then make them money
  2. Client Area >> Product/Service info for example, /clientarea.php?action=productdetails&id=16
  3. Do you have a hook that would allow me to even change the Product image? I was going to edit the config product tpl again but it just keeps getting over written. A hook would be ideal! I can figure out the FA5 icon colors etc... just need the hook that would change a pid or gid image
  4. Happy new year good sir! Can you share this hook? Would be greatly appreciated!
  5. the client does not need to edit the ticket before it being submitted. right now they are basically submitting the ip address and url to me and I have to manually complete this task, so I figured it would be easy for my clients to fill the form out and the information in the ticket be correct from the get go and I can get someone at the data center to complete the rDNS request.. I was not sure how to connect to the API to pass all the calls through that way.
  6. Hello WHMCS community, I have created a form for generating rDNS request. As yo can see by the 2 tpl files ive posted, I have to form working, all but the $message section. How can I get the results from my generator/form to be posted in the $message section when a ticket is created? So this file is the actual form, which the user will place their inputs, <html> <body> Hello{if $loggedin} {$clientname},{else},{/if}<br /> Please use the rDNS Generator below to create your rDNS records! <br /><br /> <form action="../rDNS_complete.php" method="get"> Main IP Address: <input name="ip1-1" type="text" size="3" maxlength="3"> . <input name="ip1-2" type="text" size="3" maxlength="3"> . <input name="ip1-3" type="text" size="3" maxlength="3"> . <input name="ip1-4" type="text" size="3" maxlength="3"> <br> URL: <input name="url1" type="text" size="30"><br><br> IP Address #2: <input name="ip2-1" type="text" size="3" maxlength="3"> . <input name="ip2-2" type="text" size="3" maxlength="3"> . <input name="ip2-3" type="text" size="3" maxlength="3"> . <input name="ip2-4" type="text" size="3" maxlength="3"> <br> URL: <input name="url2" type="text" size="30"><br><br> IP Address #3: <input name="ip3-1" type="text" size="3" maxlength="3"> . <input name="ip3-2" type="text" size="3" maxlength="3"> . <input name="ip3-3" type="text" size="3" maxlength="3"> . <input name="ip3-4" type="text" size="3" maxlength="3"> <br> URL: <input name="url3" type="text" size="30"> <br><br> IP Address #4: <input name="ip4-1" type="text" size="3" maxlength="3"> . <input name="ip4-2" type="text" size="3" maxlength="3"> . <input name="ip4-3" type="text" size="3" maxlength="3"> . <input name="ip4-4" type="text" size="3" maxlength="3"> <br> URL: <input name="url4" type="text" size="30"><br><br> IP Address #5: <input name="ip5-1" type="text" size="3" maxlength="3"> . <input name="ip5-2" type="text" size="3" maxlength="3"> . <input name="ip5-3" type="text" size="3" maxlength="3"> . <input name="ip5-4" type="text" size="3" maxlength="3"> <br> URL: <input name="url5" type="text" size="30"><br><br> <br> <center><button type="submit" class="btn btn-primary">Generate rDNS records</button></center> </form> </body> </html> This next tpl file is the output/results from the above file. When the button on the bottom is clicked it also tells the ticket which deptid, etc.. but I cannot get the results from my form in the message section of the ticket. Any help would be greatly appreciated. <html> <body> <form method="post" action="submitticket.php?step=3" enctype="multipart/form-data"> <input type="hidden" name="deptid" value="011" /> <input type="hidden" name="name" size="30" value="{$name}" /></td> <input type="hidden" name="email" size="50" value="{$email}" /></td> <input type="hidden" name="subject" size="60" value="rDNS Submission" /></td> {if $capatacha}{$LANG.imagecheck}[img=includes/verifyimage.php] <input type="text" name="code" size="10" maxlength="5" />{/if} <div class="alert alert-info"> <strong>Completed!</strong> You will find the results of your rDNS request below. Use the 'Open NEW Support Ticket' to get your rDNS records installed on your server. </div> <br> <div class="well"> <?php echo $_GET["ip1-4"]; ?>.<?php echo $_GET["ip1-3"]; ?>.<?php echo $_GET["ip1-2"]; ?>.<?php echo $_GET["ip1-1"]; ?>.in-addr.arpa. IN PTR <?php echo $_GET["url1"]; ?>.</br> <?php echo $_GET["ip2-4"]; ?>.<?php echo $_GET["ip2-3"]; ?>.<?php echo $_GET["ip2-2"]; ?>.<?php echo $_GET["ip2-1"]; ?>.in-addr.arpa. IN PTR <?php echo $_GET["url2"]; ?>.</br> <?php echo $_GET["ip3-4"]; ?>.<?php echo $_GET["ip3-3"]; ?>.<?php echo $_GET["ip3-2"]; ?>.<?php echo $_GET["ip3-1"]; ?>.in-addr.arpa. IN PTR <?php echo $_GET["url3"]; ?>.</br> <?php echo $_GET["ip4-4"]; ?>.<?php echo $_GET["ip4-3"]; ?>.<?php echo $_GET["ip4-2"]; ?>.<?php echo $_GET["ip4-1"]; ?>.in-addr.arpa. IN PTR <?php echo $_GET["url4"]; ?>.</br> <?php echo $_GET["ip5-4"]; ?>.<?php echo $_GET["ip5-3"]; ?>.<?php echo $_GET["ip5-2"]; ?>.<?php echo $_GET["ip5-1"]; ?>.in-addr.arpa. IN PTR <?php echo $_GET["url5"]; ?>.</br> </div> </br></br> <center><button type="submit" class="btn btn-success">Open NEW Suport Ticket</button></center> </body> </html> ALSO! on the rDNS Complete page, is it possible to have the user select a related product? I see when a ticket is opened there is a dropdown menu for "Related Service". How can the user select this prior to the step=3 page of opening a ticket ?? Thank you for taking the time to look into this issue, if you see any other issues regarding this form, and any ideas on how it can be improved would be great! I hate manually creating these rDNS request that are being submitted. so I figured if my clients were able to fill out a quick form and have it submitted via a ticket, it could save me hours every week!
  7. If im not mistaken, and I may be wrong here. But I'm pretty sure they subcontract their work out. From the replies I have received in the past, it seemed like they do not have in house developers that they can get a response from immediately.
  8. https://docs.whmcs.com/Addons_and_Configurable_Options This page may be of some assistance.
  9. You cannot link to other websites, they classify that advertisement(s).
  10. Your third party theme needs to be updated to work with WHMCS 7.2.x
  11. <?php add_hook('ClientAreaHomepagePanels', 1, function($homePagePanels) { $client = Menu::context('client'); $limite = 8; $resultado = substr(preg_replace("/[^0-9]/", "", md5($client->id)), $limite, $limite); $newPanel = $homePagePanels->addChild('panel PIN', array( 'name' => 'Pin', 'label' => '<strong>CÓDIGO PIN: '.$resultado.'</strong>', 'icon' => 'fa-lock', 'order' => '99', 'extras' => array( 'color' => 'pomegranate', ), 'bodyHtml' => '<p><small>Forneça este código, quando solicitado pela nossa equipe de atendimento. Por questões de segurança, ele será solicitado em determinados tipos de atendimentos, por exemplo em atendimentos via E-mail ou Chat Online.</small></p>' ) ); // Admin Page add_hook("AdminAreaClientSummaryPage", 1, function($vars){ return "<div class='alert alert-success'><strong>PIN: ".montar_pin($vars["userid"])."</strong></div>"; }); // Admin search add_hook("IntelligentSearch", 1, function($vars){ $pesquisa = array(); foreach (capsule::table("tblclients")->get() as $clientes){ $resultado = montar_pin($clientes->id); if($resultado == $vars["searchTerm"]){ $idcliente = $clientes->id; $pin = $resultado; } } foreach (capsule::table("tblclients")->WHERE("id", $idcliente)->get() as $cliente){ $pesquisa[] = ' <div class="searchresult"> <a href="clientssummary.php?userid='.$cliente->id.'"> <strong>'.$cliente->firstname.' '.$cliente->lastname.'</strong> (PIN: '.$pin.')<br /> <span class="desc">' . $cliente->email . '</span> </a> </div>'; } return $pesquisa; }); }); This is what I have and its not showing on the admin area client summery page at all. Also when I search the Pin Code, it is not found.
  12. Can you share you code for the admin template to display the clients PIN code ?
×
×
  • 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