Daily Lucky Numbers:
7
13
20
34
36
47

Recent posts

#31
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.
#32
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.

#33
worked well, thank you very much
#34
Thank you very much, it works perfectly
#35
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;
#36
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.

#37
SMF Arcade Support + Plugins / Re: SMF-Arcade Plug-in: Mobile...
Last post by Skhilled - May 02, 2025, 09:13:23 PM
Cool!  8)
#38
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?
#39
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
#40
General Code/Script Inquiries / Re: Hide content
Last post by Duban Black - April 28, 2025, 06:20:10 PM
Quote from: Dave on April 15, 2025, 05:30:06 PMOK I get it now. There is no option in the settings to allow for replies to see the hidden content, but you can set it to use 'Likes' in the current SMF2.1.4.

Yes, I would like to edit the code so that instead of liking it, I can set it to make a reply in the topic