shane1968
03-03-2009, 01:29 AM
I have recently upgraded to version 3.8.1 from a really old version of Vbulletin 3.0
This caused my main home page to start displaying the bbcodes on the web page when posts are displayed from Vbulletin.
Can anyone tell me what I have to do to use the bb code to display the proper format on the main page.
Here is the actual form post link.
http://www.pngbd.com/forum/showthread.php?threadid=24499
Here is the main page that displays this post on it near the top of the page.
http://www.pngbd.com/
Here is the code that actually displays the post on the main page.
{section name=loop loop=$site_news}
<table border="0" width="100%" cellpadding="4" cellspacing="1" class="border">
<tr>
<td bgcolor="#FFFFFF" width="100%">
<h2>{$site_news[loop].title}</h2>
<br>
{if $site_news[loop].attachmentid}
<img src="/forum/attachment.php?attachmentid={$site_news[loop].attachmentid}&stc=1" border="0" alt="PNG" align="left">
{/if}
{$site_news[loop].pagetext}
<br>
<br>
<span class="note">Papua New Guinea news posted on: {$site_news[loop].dateline|date_format:"%A, %e %B %Y"}
-
<a href="/forum/showthread.php?threadid={$site_news[loop].threadid}">Comments</a>: {$site_news[loop].replycount}
- <a href="/forum/newreply.php?action=newreply&threadid={$site_news[loop].threadid}">Add your comment</a>
</span>
</td></tr>
</table>
<br>
{/section}
What has changed that causes the BBCode to be displayed instead of the formatted text.
Thanks in advance.
Shane
This caused my main home page to start displaying the bbcodes on the web page when posts are displayed from Vbulletin.
Can anyone tell me what I have to do to use the bb code to display the proper format on the main page.
Here is the actual form post link.
http://www.pngbd.com/forum/showthread.php?threadid=24499
Here is the main page that displays this post on it near the top of the page.
http://www.pngbd.com/
Here is the code that actually displays the post on the main page.
{section name=loop loop=$site_news}
<table border="0" width="100%" cellpadding="4" cellspacing="1" class="border">
<tr>
<td bgcolor="#FFFFFF" width="100%">
<h2>{$site_news[loop].title}</h2>
<br>
{if $site_news[loop].attachmentid}
<img src="/forum/attachment.php?attachmentid={$site_news[loop].attachmentid}&stc=1" border="0" alt="PNG" align="left">
{/if}
{$site_news[loop].pagetext}
<br>
<br>
<span class="note">Papua New Guinea news posted on: {$site_news[loop].dateline|date_format:"%A, %e %B %Y"}
-
<a href="/forum/showthread.php?threadid={$site_news[loop].threadid}">Comments</a>: {$site_news[loop].replycount}
- <a href="/forum/newreply.php?action=newreply&threadid={$site_news[loop].threadid}">Add your comment</a>
</span>
</td></tr>
</table>
<br>
{/section}
What has changed that causes the BBCode to be displayed instead of the formatted text.
Thanks in advance.
Shane