The Arcive of vBulletin Modifications Site. |
|
Show Thread Plain/Rich Prefix Sideblock Details »»
|
|||||||||||||||||||||||||
Description
This small template edit shows Plain or Rich Thread Prefix in Sideblock. Block: Forum Threads Edit template: block_threads ________________________ Find: PHP Code:
---------------------------------- To show Plain text, replace by: PHP Code:
--------------------------------- To show Rich text, replace by: PHP Code:
Block: New Forum Posts Edit template: block_newposts ___________________________ Find: PHP Code:
---------------------------------- To show Plain text, replace by: PHP Code:
--------------------------------- To show Rich text, replace by: PHP Code:
===== Done ![]() Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
I tried both and get a nesting error on the code. Can you please double check the coding? Thanks. I am running 4.2.2
|
|
#3
|
||||
|
||||
|
I checked and tried again with no error, could you post a screenshot?
|
|
#4
|
|||
|
|||
|
The following error occurred when attempting to evaluate this template:
Invalid Tag Nesting This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish. That is the message. Code is attached: |
|
#5
|
||||
|
||||
|
You missed something, this is your code
PHP Code:
PHP Code:
|
|
#6
|
||||
|
||||
|
If you want the prefix inline with the title, and for the link to take you to the latest post rather than the first, use:
HTML Code:
<a href="{vb:raw thread.newposturl}" class="title" style="display: inline">{vb:raw thread.title}</a> |
|
#7
|
|||
|
|||
|
snapshot please or any demo ?
|
|
#8
|
|||
|
|||
|
prefix appear only in block forum threads and not in block new forum posts, can you fix that? thx
|
![]() |
|
|