![]() |
Show Thread Plain/Rich Prefix Sideblock
1 Attachment(s)
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 :D |
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
|
I checked and tried again with no error, could you post a screenshot?
|
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: https://vborg.vbsupport.ru/external/.../1.php?di=uzdh |
You missed something, this is your code
PHP Code:
PHP Code:
|
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> |
snapshot please or any demo ?
|
prefix appear only in block forum threads and not in block new forum posts, can you fix that? thx
|
Quote:
Quote:
|
All times are GMT. The time now is 11:18 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|