mokujin
07-03-2014, 10:00 PM
Description
This small template edit shows Plain or Rich Thread Prefix in Sideblock.
Block: Forum Threads
Edit template: block_threads
________________________
Find:
<h5 class="widget_post_header"><a href="{vb:raw thread.url}" class="title">{vb:raw thread.title}</a></h5>
----------------------------------
To show Plain text, replace by:
<h5 class="widget_post_header"><vb:if condition="$thread['prefixid']">{vb:rawphrase prefix_$thread[prefixid]_title_plain} </vb:if><a href="{vb:raw thread.url}" class="title" style="display: inline;">{vb:raw thread.title}</a></h5>
---------------------------------
To show Rich text, replace by:
<h5 class="widget_post_header"><vb:if condition="$thread['prefixid']">{vb:rawphrase prefix_$thread[prefixid]_title_rich} </vb:if><a href="{vb:raw thread.url}" class="title" style="display: inline;">{vb:raw thread.title}</a></h5>
Block: New Forum Posts
Edit template: block_newposts
___________________________
Find:
<h5 class="widget_post_header"><a href="{vb:raw post.url}" class="title">{vb:raw post.title}</a></h5>
----------------------------------
To show Plain text, replace by:
<h5 class="widget_post_header"><vb:if condition="$post['prefixid']">{vb:rawphrase prefix_$post[prefixid]_title_plain} </vb:if><a href="{vb:raw post.url}" class="title" style="display: inline;">{vb:raw post.title}</a></h5>
---------------------------------
To show Rich text, replace by:
<h5 class="widget_post_header"><vb:if condition="$post['prefixid']">{vb:rawphrase prefix_$post[prefixid]_title_rich} </vb:if><a href="{vb:raw post.url}" class="title" style="display: inline;">{vb:raw post.title}</a></h5>
=====
Done :D
This small template edit shows Plain or Rich Thread Prefix in Sideblock.
Block: Forum Threads
Edit template: block_threads
________________________
Find:
<h5 class="widget_post_header"><a href="{vb:raw thread.url}" class="title">{vb:raw thread.title}</a></h5>
----------------------------------
To show Plain text, replace by:
<h5 class="widget_post_header"><vb:if condition="$thread['prefixid']">{vb:rawphrase prefix_$thread[prefixid]_title_plain} </vb:if><a href="{vb:raw thread.url}" class="title" style="display: inline;">{vb:raw thread.title}</a></h5>
---------------------------------
To show Rich text, replace by:
<h5 class="widget_post_header"><vb:if condition="$thread['prefixid']">{vb:rawphrase prefix_$thread[prefixid]_title_rich} </vb:if><a href="{vb:raw thread.url}" class="title" style="display: inline;">{vb:raw thread.title}</a></h5>
Block: New Forum Posts
Edit template: block_newposts
___________________________
Find:
<h5 class="widget_post_header"><a href="{vb:raw post.url}" class="title">{vb:raw post.title}</a></h5>
----------------------------------
To show Plain text, replace by:
<h5 class="widget_post_header"><vb:if condition="$post['prefixid']">{vb:rawphrase prefix_$post[prefixid]_title_plain} </vb:if><a href="{vb:raw post.url}" class="title" style="display: inline;">{vb:raw post.title}</a></h5>
---------------------------------
To show Rich text, replace by:
<h5 class="widget_post_header"><vb:if condition="$post['prefixid']">{vb:rawphrase prefix_$post[prefixid]_title_rich} </vb:if><a href="{vb:raw post.url}" class="title" style="display: inline;">{vb:raw post.title}</a></h5>
=====
Done :D