Resource icon

xF1 Unmaintained Add Username Style to Last Post 1.1

No permission to download
Compatible XF Versions
  1. 1.3
  2. 1.4
  3. 1.5
Description
This addon add the possibility to user rich username in the last post section on forum index and thread list like this :

Last post on forum index
xenforo_com_community_attachments_last_post1_png_34416__.png



Last post on thread list

xenforo_com_community_attachments_last_post2_png_34417__.png




Installation
  • Upload contents of upload folder to Xenforo root directory
  • Install addon-RichUsernameEverywhere.xml
  • Edit your templates
Templates modifications
Template node_category_level_2 (forum index)

Search

Code:
<xen:username user="$category.lastPost" />

Replace by

Code:
<xen:username user="$category.lastPost" rich="true" />

Template node_forum_level_2 (forum index)



Search

Code:
<xen:username user="$category.lastPost" />

Replace by


Code:
<xen:username user="$category.lastPost" rich="true" />

Template node_forum_level_2 (forum index)



Search

Code:
<xen:username user="$forum.lastPost" />

Replace by

Code:
<xen:username user="$forum.lastPost" rich="true" />

Template thread_list_item (thread list)



Search

Code:
<xen:username user="$thread.lastPostInfo" />

Replace by

Code:
<xen:username user="$thread.lastPostInfo" rich="true" />

If you also want to add rich username to thread author (under topic name), edit the same template thread_list_item (that's a XenForo feature)

Search

Code:
<xen:username user="$thread" title="{xen:phrase thread_starter}" />

Replace by

Code:
<xen:username user="$thread" title="{xen:phrase thread_starter}" rich="true" />

That's my first addon so it's certainly not perfect and it can be improved.

Author
Admin
Size
4.2 KB
Extension
zip
Downloads
24
Views
1,624
First release
Last update

More resources from Admin

Similar resources

[TH] Add Username To Attachment
Prepend an attachment with the user's name when they download if they are in a specified user group.
0.00 star(s) 0 ratings
Downloads
4
Updated
If you use cometchat, here is the way to add chat with me button every where you want
0.00 star(s) 0 ratings
Updated
Adds the My Account wrapper (sidebar) to Conversations pages
0.00 star(s) 0 ratings
Downloads
1
Updated
Add on Builder Admin
0.00 star(s) 0 ratings
Downloads
20
Updated
Allow users to add their own response option to the polls - controlled by permissions
0.00 star(s) 0 ratings
Downloads
4
Updated