Daily Lucky Numbers:
9
13
23
28
38
40

Recent posts

#21
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.



#22
SMF Arcade Support + Plugins / Re: Activate download
Last post by Allach - May 10, 2025, 10:39:23 AM
Thanks.
#23
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
#24
SMF Arcade Support + Plugins / Activate download
Last post by Allach - May 09, 2025, 12:48:48 PM
How do I enable downloads?
#25
EhPortal Support / Re: Block title change color
Last post by deansmar - May 08, 2025, 07:35:07 AM
Thanks..
#26
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
#27
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.

#28
EhPortal Support / Re: Block title change color
Last post by Chen Zhen - May 08, 2025, 12:57:29 AM
You'll need to enter css for the custom title style.

ie.
color: blue;
#29
EhPortal Support / Block title change color
Last post by deansmar - May 07, 2025, 10:41:36 AM
in the block editor, i would like to change the color of the Block Title.. (catbg) that appears in the top of the block..

i would imagine it can be entered in the Style Options:
under, Custom Title Class: or Custom Title Style:

What should I enter and where..?
#30
Today I got a new error when registering a high score and therefore a new champion in the Aquacubes game, it seems to me that the error is related to the sending of mails.

I leave the detail:

#0: smf_error_handler()
Llamado desde /home/u964766853/domains/harrypotterhead.com/public_html/foro/Sources/ZhenMailerHooks.php en línean 433
#1: ZhenMailTemplates()
Llamado desde /home/u964766853/domains/harrypotterhead.com/public_html/foro/Sources/Subs-Post.php en línean 3008
#2: loadEmailTemplate()
Llamado desde /home/u964766853/domains/harrypotterhead.com/public_html/foro/ArcadeSources/Subs-Arcade.php en línean 773
#3: arcadeEvent()
Llamado desde /home/u964766853/domains/harrypotterhead.com/public_html/foro/ArcadeSources/Subs-Arcade.php en línean 1277
#4: SaveScore()
Llamado desde /home/u964766853/domains/harrypotterhead.com/public_html/foro/ArcadeSources/ArcadeGame.php en línean 939
#5: ArcadeSubmit()
Llamado desde /home/u964766853/domains/harrypotterhead.com/public_html/foro/Sources/Arcade.php en línean 879
#6: Arcade()
Llamado desde /home/u964766853/domains/harrypotterhead.com/public_html/foro/Sources/ArcadeHooks.php en línean 92
#7: Arcade_game_support()
Llamado desde /home/u964766853/domains/harrypotterhead.com/public_html/foro/Sources/Subs.php en línean 5798
#8: call_integration_hook()
Llamado desde /home/u964766853/domains/harrypotterhead.com/public_html/foro/index.php en línean 269
#9: smf_main()
Llamado desde /home/u964766853/domains/harrypotterhead.com/public_html/foro/index.php en línean 196

Line 433:

$txt[$email . '_subject'] = !empty($zhenMailModSettings['zhen_' . $email . '_subject']) ? ZhenMailer_decode($zhenMailModSettings['zhen_' . $email . '_subject']) : $txt[$email . '_subject'];
The mail arrived correctly although it did not arrive in the conventional Zenhmailer format that uses default templates.