XenForo Profile Post Button

CR LEAKS

Administrators
Joined
Mar 25, 2022
Messages
1,485
Credits
28,051
Step 1 :

Does your forum also need more social conversations? Then place the inviting button. This button is only visible to logged in members
Do you want to give your user a convenient and better access to conversations and profiles, follow this tutorial

Step 2 :

Edit the forum_overview_wrapper template
Edit the above template

Step 3 :

look for this line: <xf:pageaction>
Look for the above line
Step 4 :

Place this code directly below it:
Place the above code below the line above


Code:
<xf:if is="$xf.visitor.user_id">
<xf:button href="{{ $xf.options.forumsDefaultPage == 'profile-posts' ? link('forums/new-posts') : link('whats-new/profile-posts') }}" icon="user">
{{ phrase('profile_posts') }}
</xf:button>
</xf:if>
 
Back
Top Bottom