Invision Byte: 3.2.x Adding joined date to topic view - IP.Board 3.x - Tutorials - Invision Byte

Jump to content


Welcome to Invision Byte

Welcome to Invision Byte, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information. Take advantage of it immediately, Register Now or Sign In.

  • Start new topics and reply to others
  • Subscribe to topics and forums to get automatic updates
  • Purchase one of the products available and quickly receive support for it!
  • View and use the shoutbox to communicate
  • Get your own profile and make new friends
  • Customize your experience here
Guest Message by DevFuse

User is offline Author

Find Posts Tutorial info

  • Added on: Sep 28 2011 11:27 AM
  • Date Updated: Sep 28 2011 11:29 AM
  • Views: 2588

Collaboration


AndyF likes this Like

3.2.x Adding joined date to topic view

Description: A quick tutorial on how to restore the 'joined' date to topic view
Its very easy with a small skin edit to add the joined date back to topic view on 3.2 if you require it.

ACP > Look / Feel > Skin Manager > (choose skin) > Manage Templates / CSS > Global Templates > UserInfoPane

Find...
        <li class='post_count desc lighter'>
            {parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"} {$this->lang->words['m_posts']}
        </li>
        </if>
    </ul>


Add this after the </if> tag but before the </ul> tag...
<span class='group_title'>{$this->lang->words['m_joined']}</span> <span class='post_count desc lighter'>{parse date="$author['joined']" format="joined"}</span>


So you end up with this:
        <li class='post_count desc lighter'>
            {parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"} {$this->lang->words['m_posts']}
        </li>
        </if>
<span class='group_title'>{$this->lang->words['m_joined']}</span> <span class='post_count desc lighter'>{parse date="$author['joined']" format="joined"}</span>
    </ul>


Save. :) Quick pic:

Posted Image

You might want to add a <br /> tag or suchlike to space it out, but that's essentially it.
1
Powered by Tutorials 1.2.2 © 2021, by Michael McCune