Back to vBulletin 4.x Template Modifications

Show Thread Plain/Rich Prefix Sideblock
Mod Version: 1.00, by mokujin

vB Version: 4.2.2 Rating: (1 vote - 5.00 average) Installs: 11
Released: 04 Jul 2014 Last Update: Never Downloads: 0
Not Supported Template Edits  

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

vblts.ru supports vBulletin®, 2022-2024