vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How do I fix this simple bug (https://vborg.vbsupport.ru/showthread.php?t=207261)

shane1968 03-03-2009 11:06 PM

How do I fix this simple bug
 
I do not know much about Smarty and vbulletin and need some help as I cannot strip the bbcode from my web site.

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/showthrea...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 template *.tpl 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


All times are GMT. The time now is 02:31 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
  • Page Generation 0.03539 seconds
  • Memory Usage 1,710KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete