Daily Lucky Numbers:
3
20
24
31
33
38

Recent posts

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


#12
Quote from: Chen Zhen on May 03, 2025, 11:35:55 PMNo problem.

I've never seen it displayed like in your image.
On a wide variety of themes for both desktop/laptop and mobile display it appears just fine.
However, in your image the containers are fully horizontal and forcing the text to overflow.
If I remember correctly, your theme is custom & specifically for your website.

What I might do is add a select input to opt icon, icon + description or disable.
This way the icon option may look OK on a theme such as yours.



Yes, it would be interesting if there is an option to customize the icons and leave it inactive as well. In my case each profile field is shown horizontally, it is part of the skin style.
Another issue is that each field has a title, so instead of showing Arcade info in one row, it should show 3 rows, each with its title and content.
#13
SMF Arcade Support + Plugins / Re: Hide profile information f...
Last post by Chen Zhen - May 03, 2025, 11:35:55 PM
No problem.

I've never seen it displayed like in your image.
On a wide variety of themes for both desktop/laptop and mobile display it appears just fine.
However, in your image the containers are fully horizontal and forcing the text to overflow.
If I remember correctly, your theme is custom & specifically for your website.

What I might do is add a select input to opt icon, icon + description or disable.
This way the icon option may look OK on a theme such as yours.

#14
worked well, thank you very much
#15
Thank you very much, it works perfectly
#16
SMF Arcade Support + Plugins / Re: Hide profile information f...
Last post by Chen Zhen - May 03, 2025, 12:53:00 AM

There isn't an option to disable it but I will add it to the next version.

For now you can edit file:
./Sources/ArcadeHooks.php

Find:
function arcade_custom_profile($memID, $area)
{
global $context, $settings, $txt, $arcadeModSettings, $user_info, $scripturl, $smcFunc;

Replacement for the above code:
function arcade_custom_profile($memID, $area)
{
global $context, $settings, $txt, $arcadeModSettings, $user_info, $scripturl, $smcFunc;
return;
#17
SMF Arcade Support + Plugins / Re: 2: Undefined array key "in...
Last post by Chen Zhen - May 02, 2025, 11:45:26 PM

This never surfaced in testing & was part of the recent update.
It will be fixed in the next release.

For now, you can change that line to this:
$getScoreHooks = !empty($modSettings['integrate_arcade_score']) ? explode(',', $modSettings['integrate_arcade_score']) : [];

Thanks for the report.

#18
SMF Arcade Support + Plugins / Re: SMF-Arcade Plug-in: Mobile...
Last post by Skhilled - May 02, 2025, 09:13:23 PM
Cool!  8)
#19
When the game ends and my score should be saved this error appears:

index.php?act=Arcade&do=newscore
/home/u964766853/domains/harrypotterhead.com/public_html/foro/ArcadeSources/ArcadeGame.php (Line 967)

message error:

2: Undefined array key "integrate_arcade_score"

#0: smf_error_handler()
Llamado desde /home/u964766853/domains/harrypotterhead.com/public_html/foro/ArcadeSources/ArcadeGame.php en línean 967
#1: ArcadeSubmit()
Llamado desde /home/u964766853/domains/harrypotterhead.com/public_html/foro/Sources/Arcade.php en línean 879
#2: Arcade()
Llamado desde /home/u964766853/domains/harrypotterhead.com/public_html/foro/Sources/ArcadeHooks.php en línean 92
#3: Arcade_game_support()
Llamado desde /home/u964766853/domains/harrypotterhead.com/public_html/foro/Sources/Subs.php en línean 5798
#4: call_integration_hook()
Llamado desde /home/u964766853/domains/harrypotterhead.com/public_html/foro/index.php en línean 269
#5: smf_main()
Llamado desde /home/u964766853/domains/harrypotterhead.com/public_html/foro/index.php en línean 196

Line 967 is:

$getScoreHooks = explode(',', $modSettings['integrate_arcade_score']);
How can I fix it?
#20
I installed the Arcade and in the user's profile appeared three data that I would like to hide, I checked in the admin options and I did not find how to do it.

How could I hide it? where in the code is this information generated?
I can't use css to solve it because those fields vary in the users.



Thank you