Jump to content

jacksoggetto

Member
  • Posts

    49
  • Joined

  • Last visited

About jacksoggetto

Recent Profile Visitors

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

jacksoggetto's Achievements

Member

Member (2/3)

0

Reputation

  1. I found the problem, a hook that was using the same hook point was generating an error (not reported in the log) and that was preventing all the hooks to run
  2. I created a hook, and it apperas that DailyCronJob is not being called at all. I created a simple testing hook file: function whmcstricks_cancel_invoices($vars) { logactivity('Hook cancel invoice run, check if something was cancelled'); } function whmcstricks_cancel_invoices_bis($vars) { logactivity('Hook cancel invoice_bis run, check if something was cancelled'); } function whmcstricks_cancel_invoices_tris($vars) { logactivity('Hook cancel invoice_tris run, check if something was cancelled'); } add_hook('AfterCronJob', 1000, 'whmcstricks_cancel_invoices'); add_hook('DailyCronJobPreEmail', 1000, 'whmcstricks_cancel_invoices_bis'); add_hook('DailyCronJob', 1000, 'whmcstricks_cancel_invoices_tris'); And only the whmcstricks_cancel_invoices function is being called. is it possible that these hooks are not working anymore? is this hook file logging correctly for the 4 functions for you?
  3. Here is what I'll do: I save the cart, and also save session[''tkval'] and userid in the database If the userid is empty it means i don't have their email, so if they try to exti the page I'll ask for their email. If I have the user id there is no need for a popup. Once the carts are saved I can send reminder emails with a cart recovery link. Will do a basic version of the module to see how many carts I can recover. No any other modules are doing the same
  4. Thanks steven, will use that hook. That module is not doing what I need, also i tried the demo version and it's just not working
  5. I get to understand the cart content is stored in a php session, and after 30 minute the client will lose all the content of the cart. This is very user unfriendly. How would you do to create a hook that stores the content in the database and then create a link (I can send it manually) to retrieve the cart? thanks
  6. Also, weird stuff but could be somehow... To be faster I created the rules using a sql query on phpmyadmin (copy row) and then edited the email template an number of days from whmcs admin (to avoid having to select all the products manually every time). can it be that this caused the problem? I'm creating some tests to figure this out...
  7. I just remembered I used some date merge fields in the template. {$service_next_due_date} has been printed as 17/07/2019 {$service_reg_date} has been printed as 17/07/2018 And the mail was sent on 18/08/2018 even though is setup to send 1 day after next due date so they are both correct. I went on the email marketer rules and checked all of them singularly, and only the correct rule was set to send this email, I was guessing maybe the problem was due to a rule set to send this same template 31 days after order
  8. I was taking a closer look in these days. Setup a template per rule, and made the text different to identify them. I noticed another mistaken one (might have been others I didn't notice, it would be too hard to check them indivdually). emailmarketer rule: product data: what is weird is that the same rule was applied correctly on the same day to another account. I'm thinking... there is any possibility that the problem is due to this: I setup a cron every 5 minutes like this: php -q /home/user/whmcs_crons/cron.php skip --EmailMarketer and then setup a cron at a more convenient time (a good time to send marketgin emails) like this: php -q /home/user/whmcs_crons/cron.php do --EmailMarketer I don't think this actually makes any difference. other than this I don't know what could be the problem
  9. I'm noticing a weird behaviour with the email marketer. It basically sent a few email that should have not been sent. So I have 2 questions: 1. I setup it up to send emails after next due date. This way it should only send the email if the client didn't renew right? If the client renews before next due date it gets moved forward in the future, so thta rule shall never go in use. Am I thinking the right way? 2. there is a way to check which marketer rule (I have 17 rules and plan to create new ones) has been triggered for each email sent to be able to isoltae the problem and figure out what is happening? So I have few rules (reminders) that triggers after next due date (1 day, 20, 31, 55 days). These emails have been sent to clients whose plan expires in 2019. Even to a client who got an annual plan last month, so it doen't make any sense. I was checking some dates, and it just seems random. ps: please con't tell me to use the Overdue Reminder in the automation setting, this email marketer email serve a different purpose (and I'm already using the automated reminders).
  10. it's not tracking sales. they always stay at 0. test it
  11. utilities -> link tracking http://whmcs.developer/link.php?id=3 It counts the hits, but it doesn't count sales
  12. It appears the link tracking is not tracking the sales, so it's pretty pointless (honestly speaking is already pointless since I can't see which are the order from a certain link)
  13. thanks, very helpful, I'll put all this into a function and then create my hook
  14. I want to use the sendmail api to send emails to my clients this is easy but, is it possible to send them from a different email and name? I want to send from my private email and pretend it was me sending it directly to my client. I better ask before writing the code to send the email
  15. Also: should I see a record in the log confirming that the mailchimp module did all his automations correctly? searching for %mailchimp% I only see errors in the activity log
×
×
  • 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