1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Registration Email Allowed In Our Database :  Yahoo * Gmail * Hotmail * Outlook * yandex * live * are allowed to register in our database. [ We Will Approve Manually After Review It ]

Add-on Add Username Style to Last Post 1.1

Add rich username (CSS) to last post section in forum index and thread list

  1. SM€GGLE
    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
    [​IMG]

    Last post on thread list
    [​IMG]


    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)
    1. Search
      Code:
      <xen:username user="$category.lastPost" />
    2. Replace by
      Code:
      <xen:username user="$category.lastPost" rich="true" />
    Template node_forum_level_2 (forum index)
    1. Search
      Code:
      <xen:username user="$forum.lastPost" />
    2. Replace by
      Code:
      <xen:username user="$forum.lastPost" rich="true" />
    Template thread_list_item (thread list)
    1. Search
      Code:
      <xen:username user="$thread.lastPostInfo" />
    2. 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)
    1. Search
      Code:
      <xen:username user="$thread" title="{xen:phrase thread_starter}" />
    2. Replace by
      Code:
      <xen:username user="$thread" title="{xen:phrase thread_starter}" />
    That's my first addon so it's certainly not perfect and it can be improved.

    Thanks to Jake Bunce, Waindigo and bubbl3 for their help.

    If you find this addon useful you can donate if you want :)
    [​IMG]