[7.2.2] - Custom Title vs Title display - 07/27/2007 3:33 AM
Simple modification that checks if a user has a Custom Title defined. If they do, then the Custom Title replaces the post based Title. (thanks to the pishmeister, who no one knows yet for this)
If they don't have a Custom Title, then the post based Title will be displayed.
Also does a small tweak to not include extra
when the Rating system is turned off or the user doesn't have a rating. Right now it slams in a
regardless. This saves some vertical space.
Ok.. here goes.
Open: /templates/default/post_side.tpl
Find:Replace with: done!
Open: /templates/default/post_top.tpl
Find:Replace with: Done!
Open: /templates/default/post_comments.tpl
Find:Replace with: Done!
Upload your files!
Enjoy
If they don't have a Custom Title, then the post based Title will be displayed.
Also does a small tweak to not include extra
when the Rating system is turned off or the user doesn't have a rating. Right now it slams in a
regardless. This saves some vertical space.
Ok.. here goes.
Open: /templates/default/post_side.tpl
Find:
Code
{if $postrow[post].CustomTitle}
{$postrow[post].CustomTitle}
<br />
{/if}
{$postrow[post].Title}
<br />
{$postrow[post].Rating}
<br />
Code
{if $postrow[post].CustomTitle}
{$postrow[post].CustomTitle}
{else}
{$postrow[post].Title}
{/if}
<br />
{if $postrow[post].Rating}
{$postrow[post].Rating}
<br />
{/if}
Open: /templates/default/post_top.tpl
Find:
Code
<span class="small">
{if $postrow[post].CustomTitle}
{$postrow[post].CustomTitle}
<br />
{/if}
{$postrow[post].Title}
</span>
Code
<span class="small">
{if $postrow[post].CustomTitle}
{$postrow[post].CustomTitle}
{else}
{$postrow[post].Title}
{/if}
</span>
Open: /templates/default/post_comments.tpl
Find:
Code
{if $postrow[post].CustomTitle}
{$postrow[post].CustomTitle}
<br />
{/if}
{$postrow[post].Title}
<br />
{$postrow[post].Rating}
<br />
Code
{if $postrow[post].CustomTitle}
{$postrow[post].CustomTitle}
{else}
{$postrow[post].Title}
{/if}
<br />
{if $postrow[post].Rating}
{$postrow[post].Rating}
<br />
{/if}
Upload your files!
Enjoy