[Xensoluce Invitaion System] Remove invitations from member_view template

Apnix

Active member
Registered
Joined
Mar 5, 2020
Messages
35
Points
18

Reputation:

Hello ENXF users,

So recenlty i have had a bit of trouble with this.
As you can see from the screenshot below, There is a tab in this template called "Invitations"


I mainly invite all the people on this forum and I don't want everyone to see who i invited (except if they look on the profile on the person i invited)
I thought that the template called member_view may be the one that shows all this information, since all the other things (Profile Posts, Latest Activity etc. are there)

The code for the member_view (tab part) is:
HTML:
    <xf:if is="$user.canViewLatestActivity()">
        <li data-href="{{ link('members/latest-activity', $user) }}" role="tabpanel" aria-labelledby="latest-activity">
            <div class="blockMessage">{{ phrase('loading...') }}</div>
        </li>
    </xf:if>

    <li data-href="{{ link('members/recent-content', $user) }}" role="tabpanel" aria-labelledby="recent-content">
        <div class="blockMessage">{{ phrase('loading...') }}</div>
    </li>

    <!--[XF:tab_panes:after_recent_content]-->

    <li data-href="{{ link('members/about', $user) }}" role="tabpanel" aria-labelledby="about">
        <div class="blockMessage">{{ phrase('loading...') }}</div>
    </li>

    <xf:if is="$xf.visitor.canViewWarnings() && $user.warning_count">
        <li data-href="{{ link('members/warnings', $user) }}" role="tabpanel" aria-labelledby="warnings">
            <div class="blockMessage">{{ phrase('loading...') }}</div>
        </li>
    </xf:if>

As you can see there is no option for invitation.
Does anyone know how i'll be able to remove the invitation tab?
It'd be very helpful, you can reply to this thread, send me a private message or contact me on discord. (Apnix#8888)
 

swiss

Collaborate
Collaborate
Registered
Joined
Nov 13, 2019
Messages
78
Points
63

Reputation:

Someone is going to have gamesense-a-like forum I think. Hope your resolver is good. XD

Also don't check member_view, check your invitation addon templates. Then remove the part there or make it only visible to you by conditions.
 

Apnix

Active member
Registered
Joined
Mar 5, 2020
Messages
35
Points
18

Reputation:

Someone is going to have gamesense-a-like forum I think. Hope your resolver is good. XD

Nah Not really, but yeh we're working hard on it haha

Templates by addon:




xs_is_member_invitation: doesnt seem to do anything.

xs_is_account_Invitation: Can't find anything related to member profile
 

swiss

Collaborate
Collaborate
Registered
Joined
Nov 13, 2019
Messages
78
Points
63

Reputation:

link me your website and give me admin account FROM Private Message i'll connect and try to fix your issue
 
Top