vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Getting parsed version of post text (https://vborg.vbsupport.ru/showthread.php?t=183248)

UNWebman 06-22-2008 07:16 PM

Getting parsed version of post text
 
I'd like to know if there is a way to force creation of the records in the postparsed table, OR get the parsed version of the post text, after adding a post via the datamanager, without having to load the thread page via http (showthread.php) first?

I've gone as far as to have a php script load contents of the thread page via http to force the update. And while this could work, it won't work in forums that aren't public. (i.e. my test forum).

Dismounted 06-23-2008 07:17 AM

Parse them with the BB code class.

UNWebman 06-24-2008 02:27 PM

I've gone through the BB code class and while I am able to get the parse method to parse smilies, it does not seem to parse any actual BB code even though the option for the specified forum is set to do so, and I have verified that it is receiving forum info from the fetch_foruminfo function.

Even using the parse_bbcode method by itself does not parse the bbcode, but rather only the smilies. Is there something I'm missing?

--------------- Added [DATE]1214322094[/DATE] at [TIME]1214322094[/TIME] ---------------

Never mind. I was missing the fetch_tag_list() function from the code parser class instantiation.


All times are GMT. The time now is 08:13 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.01041 seconds
  • Memory Usage 1,707KB
  • 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
  • (3)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