The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I added $thread[preview] below each thread title in my threadbit template, so the forumdisplay shows a thread preview for all threads without having to mouseover the link.
My problem is that the linebreaks are stripped, so all the paragraphs are stuck together. This doesn't happen with the mouseover preview (when title=$thread[preview]). When I mouseover a link the preview retains the proper linebreaks. Any suggestions to keep the $thread[preview] linebreaks intact when displaying outside of the link title (mouseover)? Thanks. UPDATE: Well, I got the line breaks to display correctly by adding... Code:
$thread['preview'] = nl2br($thread['preview']); I am still looking for a better way to do this the retains proper formatting for both mouseover previews and inline previews, preferably without any php code changes. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|