Show Thread Plain/Rich Prefix Sideblock
Description
This small template edit shows Plain or Rich Thread Prefix in Sideblock. Block: Forum Threads Edit template: block_threads ________________________ Find: PHP Code:
<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: PHP Code:
<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: PHP Code:
<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: PHP Code:
<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: PHP Code:
<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: PHP Code:
<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 Download No files for download. |
Similar Mods
Administrative and Maintenance Tools Nexia's Show Rich Prefixes in Prefix Manager | vBulletin 4.x Add-ons |