Sign in to follow this  
Followers 0

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...
[code] <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>[/code]

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

So you end up with this:
[code] <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>[/code]

Save. :) Quick pic:

[img]http://img.photobucket.com/albums/v294/yellow_spider/ipb_tutorials/joined_date_topic_view.png[/img]

You might want to add a <br /> tag or suchlike to space it out, but that's essentially it.



0 Comments

There are no comments to display.