- Compatible XF Versions
- 1.3
- 1.4
- 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
Last post on thread list
Installation
Template node_category_level_2 (forum index)
Search
Replace by
Template node_forum_level_2 (forum index)
Search
Replace by
Template node_forum_level_2 (forum index)
Search
Replace by
Template thread_list_item (thread list)
Search
Replace by
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
Replace by
That's my first addon so it's certainly not perfect and it can be improved.
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
Last post on thread list
Installation
- Upload contents of upload folder to Xenforo root directory
- Install addon-RichUsernameEverywhere.xml
- Edit your templates
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.