Daily Lucky Numbers:
3
20
24
31
33
38

Hide profile information fields

Started by Duban Black, May 02, 2025, 01:39:15 PM

Previous topic - Next topic

Duban Black

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

Chen Zhen


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;

Duban Black

Thank you very much, it works perfectly

Chen Zhen

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


Duban Black

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.