Jump to content

Douglas Ruiz

Member
  • Posts

    24
  • Joined

  • Last visited

Everything posted by Douglas Ruiz

  1. Hello, how create custom action button? i mean like "Cancel" button but run my own code? Link example: clientarea.php?action=change&id=40 where change will be my function, i need it to run at same tpl productdetails like here for example, i need display a message when click at my button. {if $modulecustombuttonresult} {if $modulecustombuttonresult == "success"} {include file="$template/includes/alert.tpl" type="success" msg=$LANG.moduleactionsuccess textcenter=true idname="alertModuleCustomButtonSuccess"} {else} {include file="$template/includes/alert.tpl" type="error" msg=$LANG.moduleactionfailed|cat:' ':$modulecustombuttonresult textcenter=true idname="alertModuleCustomButtonFailed"} {/if} {/if} i created the button <a href="clientarea.php?action=change&amp;id={$id}" class="btn btn-block btn-info">Trocar Máquina</a> but i don't know the next step.
  2. Hello, i want some help. recently i changed my hosting and it caused some problems, some of then i fixed just changing the user Storage Settings and creating the cron job again. but the problem now is, after changed some customers complain they still receiving e-mails from invoice who they already paid. system retrieve the payment fine, mark as paid but continue sending the e-mails as unpaid. and at e-mails logs on user panel don't show these e-mails send. Somebody know where is the problem?
  3. Hello, i have the WHMCS Licensing Addon, and i need revoke some licenses on a hook. I'm calling at DailyCronJob hook so i tried: $command = 'custom'; $postData = array( 'serviceid' => '1', 'func_name' => 'revoke', ); $adminUsername = 'Admin name'; $results = localAPI($command, $postData, $adminUsername); But it always return False, somebody know how do it? The JS code from Revoke Button on Admin area call "runModuleCommand('custom','revoke')"
  4. After many messages with whmcs they still say its a problem on my hosting but with 7.6 works perfectly, i checked verify.php from a nulled version with 7.7 and worked. however now i know you can't count with whmcs since they always find another reason to say the problem wasnt on their files and yes on your hosting / installation. i've tried reinstall many times directly from my hosting, downloading files from whmcs website and every time the same problem with 7.7 and not with 7.6
  5. so you don't use 7.7 or don't use licensing addon, because i contacted they and they don't find a solution yet for this problem. only work well on 7.6
  6. The problem still there, i get a development licensing addon and tested on last build 7.7 you can see on image above.
  7. we have many servers working, if we update it and stop work all they will down. if is the same update as i did before will be the same thing. you use licensing addon too? because the problem was with licensing addon who don't send the customfields data.
  8. don't send custom fields informations, at previous version 7.6.2 send fine. we changed back to 7.6.2 since can't use a version with this fault.
  9. I use licensing addon from whmcs, after update to Version: 7.7.0 whmcs stopped send <customfields> on post to check a license.
  10. I created a custom page but i'm not using .tpl, i coded all messages directly on .php. so i need call the lang variables direclty from .php for example: $ca->setPageTitle('{$LANG.Gerador_TXT1}'); but .php displayt it as text, don't get the value from lang file. How i can do it without use a .tpl file?
  11. I have licensing addon module from WHMCS, On managelicense.tpl $status always show as Active, if i request a new service already will show as Active, only the Status of Service show right at page clientarea.php?action=services. But Status of Licensing addon always show as Active, Status on AMIN panel can be Reissued, Expired, etc. always show as Active.
  12. I have the module licensing manager My question is on managelicense.tpl file because {$LANG.licensingaddon.status} always return Active, if a customer ask for a new service who isn't setup already show as active.
  13. I'm having this problem when click on Message Preview. On old versions before new i don't have this problem. Solution?
  14. Somebody can tell me where i change this tpl template? I have licesing addon module.
  15. I'm having the same error, how fix that? if i use the default template six work, but after these recents update from whmcs stoped work on my template. what file i should update?
  16. I mean on this: Created Invoice - Invoice ID: 262 System 05/01/2018 09:00 Automated Task: Starting Invoices
  17. Yes i tried, but i need it to work when cron job generate invoices. And on InvoiceCreation dont work on cron job.
  18. Where i can hook Invoice Creation of Cron Job? Because i hooked add_hook("InvoiceCreation", 1, "MyFunction"); but it only work on first invoice when purchase the product first time. Others invoices don't pass on this hook. So my question is how hook InvoiceCreateion who run on Cron Job.
×
×
  • 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