The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Displaying Posts Stored In Database
Hi all,
I'm currently writing a front-end website to accompany my forums and I've hit a metaphorical brick wall. The problem is that posts that are created using vBulletin when stored in the db don't contain the html formatting tags, in particular for paragraphing. I've searched through the source files to see how vBulletin goes about reading these posts from the db and converting them correctly with all the paragraphs intact but I can't for the life of me figure out how it's done. Basically instead of there being <p> or <br /> tags stored along with the posts in the db there are simply lines in between the text. I don't know how to parse this though into paragraphs when I display the posts on the website though in HTML. Here's an example article of how it's stored in the db in case you don't know what I'm on about: Code:
This is the fifth and final article I am posting right now for testing purposes. What should happen is that all of the 5 articles that have been posted should appear on the website with the alternating colour scheme working as well. I haven't tested the length of an article yet, but I've got to somehow only post a certain number of words of the article so that the layout isn't messed up. This is the fifth and final article I am posting right now for testing purposes. What should happen is that all of the 5 articles that have been posted should appear on the website with the alternating colour scheme working as well. I haven't tested the length of an article yet, but I've got to somehow only post a certain number of words of the article so that the layout isn't messed up. Code:
This is the fifth and final article I am posting right now for testing purposes. What should happen is that all of the 5 articles that have been posted should appear on the website with the alternating colour scheme working as well. I haven't tested the length of an article yet, but I've got to somehow only post a certain number of words of the article so that the layout isn't messed up. <br /><br /> This is the fifth and final article I am posting right now for testing purposes. What should happen is that all of the 5 articles that have been posted should appear on the website with the alternating colour scheme working as well. I haven't tested the length of an article yet, but I've got to somehow only post a certain number of words of the article so that the layout isn't messed up. Anyhow assistance would be helpful. I'm still fairly new to vB so go easy on me Thanks in advance The Wolverine |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|