Daily Lucky Numbers:
12
21
22
27
31
46

Recent posts

#1
SMF Arcade Support + Plugins / Re: Undefined array key "rese...
Last post by Duban Black - June 23, 2025, 06:43:27 PM
Quote from: Chen Zhen on June 22, 2025, 12:33:02 AMZhenMailer only filters SMF's default email templates and not any emails from custom modifications.
However, "Precursory" & "Signature" should be working for all emails.
   

"Precursory" & "Signature" do not work in this type of email, it seems to me that it does not follow the regular sending flow that is SMTP and that is currently used with ZhenMailer. On the contrary the email sending in Arcade is by (PHP default). Even the sending email which is the same looks different in both emails, attached evidence.

Mail sent by zhenmailer (smtp)

Mail sent by Arcade (I assume it is php default)

Where in the arcade code could I change the email sending and configure smtp instead of php default?
#2
SMF Arcade Support + Plugins / Re: Undefined array key "rese...
Last post by Chen Zhen - June 22, 2025, 12:33:02 AM

ZhenMailer only filters SMF's default email templates and not any emails from custom modifications.
However, "Precursory" & "Signature" should be working for all emails.
   
#3
SMF Arcade Support + Plugins / Re: Undefined array key "rese...
Last post by Duban Black - June 11, 2025, 11:10:56 PM
@Chen Zhen  It's working ok, no more errors occur, but the emails are sent outside the ZhenMailer format, is there a way to include them in the default templates?
#4
SMF Arcade Support + Plugins / Re: Undefined array key "rese...
Last post by Chen Zhen - May 22, 2025, 05:30:05 PM
My apologies for the late response as I've been preoccupied with work as of late.

This is a ZhenMailer issue & not really an Arcade issue.
Please use the attachment to replace the ZhenMailer hooks file and let me know if it corrects the undefined errors.

This file belongs in the ./Sources path.



#5
SMF Arcade Support + Plugins / Re: Activate download
Last post by Allach - May 10, 2025, 10:39:23 AM
Thanks.
#6
SMF Arcade Support + Plugins / Re: Activate download
Last post by Duban Black - May 09, 2025, 02:41:55 PM
Quote from: Allach on May 09, 2025, 12:48:48 PMHow do I enable downloads?

you must go to this link :

?action=admin;area=arcade;sa=settings

and enable:

Enable Game Downloading
#7
SMF Arcade Support + Plugins / Activate download
Last post by Allach - May 09, 2025, 12:48:48 PM
How do I enable downloads?
#8
EhPortal Support / Re: Block title change color
Last post by deansmar - May 08, 2025, 07:35:07 AM
Thanks..
#9
I will leave the detail of the first 3 errors, they are 92:

Error 1:
Tipo de error
Undefined_vars
Mensaje de Error
2: Undefined array key "msg_quote_body"
Archivo
/home/u964766853/domains/harrypotterhead.com/public_html/foro/Sources/ZhenMailerHooks.php
Línea
434
URL de la página causante del error
https://harrypotterhead.com/foro/index.php?act=Arcade&do=newscore

#0: smf_error_handler()
Llamado desde /home/u964766853/domains/harrypotterhead.com/public_html/foro/Sources/ZhenMailerHooks.php en línean 434

Line 434 of function ZhenMailTemplates()           

$txt[$email . '_body'] = !empty($zhenMailModSettings['zhen_' . $email . '_body']) ? ZhenMailer_decode($zhenMailModSettings['zhen_' . $email . '_body']) : $txt[$email . '_body'];
Error 2:
Tipo de error
Undefined_vars
Mensaje de Error
2: Undefined array key "msg_quote_subject"
Archivo
/home/u964766853/domains/harrypotterhead.com/public_html/foro/Sources/ZhenMailerHooks.php
Línea
433
URL de la página causante del error
https://harrypotterhead.com/foro/index.php?act=Arcade&do=newscore

#0: smf_error_handler()
Llamado desde /home/u964766853/domains/harrypotterhead.com/public_html/foro/Sources/ZhenMailerHooks.php en línean 433

Line 433 of    function ZhenMailTemplates()

$txt[$email . '_subject'] = !empty($zhenMailModSettings['zhen_' . $email . '_subject']) ? ZhenMailer_decode($zhenMailModSettings['zhen_' . $email . '_subject']) : $txt[$email . '_subject'];
Error 3:
Tipo de error
Undefined_vars
Mensaje de Error
2: Undefined array key "paid_subscription_error_body"
Archivo
/home/u964766853/domains/harrypotterhead.com/public_html/foro/Sources/ZhenMailerHooks.php
Línea
434
URL de la página causante del error
https://harrypotterhead.com/foro/index.php?act=Arcade&do=newscore

#0: smf_error_handler()
Llamado desde /home/u964766853/domains/harrypotterhead.com/public_html/foro/Sources/ZhenMailerHooks.php en línean 434

$txt[$email . '_body'] = !empty($zhenMailModSettings['zhen_' . $email . '_body']) ? ZhenMailer_decode($zhenMailModSettings['zhen_' . $email . '_body']) : $txt[$email . '_body'];
This error is repeated for each variable used by zhenmailer:

2: Undefined array key "paid_subscription_new_subject"
2: Undefined array key "paid_subscription_refund_body"
2: Undefined array key "paid_subscription_refund_subject"
2: Undefined array key "admin_attachments_full_body"
2: Undefined array key "admin_attachments_full_subject"
2: Undefined array key "admin_notify_approval_body"
2: Undefined array key "admin_notify_approval_subject"
2: Undefined array key "notification_split_body"
.
.
.
2: Undefined array key "resend_pending_message_subject"

When you want to send an email with arcade notifications 92 errors are generated, which are all the variables used by zhenmailer
#10
SMF Arcade Support + Plugins / Re: Undefined array key "rese...
Last post by Chen Zhen - May 08, 2025, 01:02:10 AM

You posted the error trace which doesn't actually tell me the error from line 433 of ZhenMailerHooks.php.
Show me the type of error that was flagged for line 433.