helpppppppp

Pinuccio

Well-known member
Registered
Joined
Sep 21, 2020
Messages
46
Points
18

Reputation:

Why did "Resources" disappear?

Screenshot 2023-11-27 194109.png
 

thomsa

Moderator
Staff member
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
Jun 22, 2019
Messages
1,068
Points
173

Reputation:

Pinuccio

Well-known member
Registered
Joined
Sep 21, 2020
Messages
46
Points
18

Reputation:

View previous replies…

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,519
Points
523

Reputation:

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,519
Points
523

Reputation:

I deactivated, but I still can't see any changes, should I rebuild the cache?
PinuccioIs it possible that we talk about different things?
You ask how to deactivate this field, right?

Is it still shown?
Or do you want to see that field? And for the user it is not shown?
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,519
Points
523

Reputation:

I want to see the "0" resource field, the default field, what can I do?
PinuccioYou can try to change the the template modification I've mentioned and remove the && $user.xfrm_resource_count like this:

PHP:
<xf:if is="$xf.visitor.canViewResources()">
    <dl class="pairs pairs--rows pairs--rows--centered menu-fauxLinkRow">
        <dt>{{ phrase('xfrm_resources') }}</dt>
        <dd>
            <a href="{{ link('resources/authors', $user) }}" class="menu-fauxLinkRow-linkRow u-concealed">
                {$user.xfrm_resource_count|number}
            </a>
        </dd>
    </dl>
</xf:if>
$0

But I have not tested it.
 

Pinuccio

Well-known member
Registered
Joined
Sep 21, 2020
Messages
46
Points
18

Reputation:

You can try to change the the template modification I've mentioned and remove the && $user.xfrm_resource_count like this:

PHP:
<xf:if is="$xf.visitor.canViewResources()">
    <dl class="pairs pairs--rows pairs--rows--centered menu-fauxLinkRow">
        <dt>{{ phrase('xfrm_resources') }}</dt>
        <dd>
            <a href="{{ link('resources/authors', $user) }}" class="menu-fauxLinkRow-linkRow u-concealed">
                {$user.xfrm_resource_count|number}
            </a>
        </dd>
    </dl>
</xf:if>
$0

But I have not tested it.
BattleKingExactly it works! This is what I was looking for. It was a misunderstanding! Thank you
 

Splicho

Emudevs.gg Owner
Staff member
Moderator
Collaborate
Registered
Joined
Jan 21, 2022
Messages
600
Points
103

Reputation:

You can try to change the the template modification I've mentioned and remove the && $user.xfrm_resource_count like this:

PHP:
<xf:if is="$xf.visitor.canViewResources()">
    <dl class="pairs pairs--rows pairs--rows--centered menu-fauxLinkRow">
        <dt>{{ phrase('xfrm_resources') }}</dt>
        <dd>
            <a href="{{ link('resources/authors', $user) }}" class="menu-fauxLinkRow-linkRow u-concealed">
                {$user.xfrm_resource_count|number}
            </a>
        </dd>
    </dl>
</xf:if>
$0

But I have not tested it.
BattleKing@BattleKing the goat
 
Top