vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   What is post_parsed for (https://vborg.vbsupport.ru/showthread.php?t=164124)

Dean C 12-02-2007 03:15 PM

What is post_parsed for
 
I have just added a new bbcode tag and want it to be applied to all old posts that have used it. I believe that running the command below will fix it:

truncate post_parsed

However, I'm not entirely up to speed as to what this post_parsed table does? Is it like a post cache whereby no processing has to be run to parse bbcode on the fly? If i truncate it will it affect performance? Can I then rebuild the cache?

TigerWare 12-02-2007 03:26 PM

Actually its 'postparsed' table. Try this [link] for some words on what the postparsed table is for.

Dean C 12-02-2007 03:33 PM

Ah okay. So if i truncate that table, how do I rebuild the cache?

Opserty 12-02-2007 05:04 PM

Quote:

Originally Posted by Dean C (Post 1393560)
Ah okay. So if i truncate that table, how do I rebuild the cache?

I'm guessing its done when the posts are parsed to be displayed, I've never really looked into actually. :D

*Goes to look in vBulletin Files*

Paul M 12-02-2007 06:09 PM

You rebuild it in the ACP - "Rebuild Post Cache" is part of the rebuild counters area.

Marco van Herwaarden 12-03-2007 06:52 AM

Or just wait until it gets populated again

Adrian Schneider 12-03-2007 07:10 AM

Quote:

Originally Posted by Marco van Herwaarden (Post 1393904)
Or just wait until it gets populated again

Yep.

There's no harm in truncating that table it will just force bbcode to be parsed again on first views. Unless your site is insanely active, you can do it without fear.


You have users that use bbcodes that don't yet exist? How very strange. :)

Dean C 12-03-2007 08:27 AM

We've just upgraded from vB2 (with a custom bbcode hacked in), and it needed porting over to vB3 :)


All times are GMT. The time now is 11:38 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.01446 seconds
  • Memory Usage 1,718KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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