vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   php parse attachments, parsing bbcode works (https://vborg.vbsupport.ru/showthread.php?t=299604)

KaitenV 06-29-2013 08:46 PM

They are stored and the database, I can upload them just fine. It's just the issue with thumbnails. I tried switching it to directory storage and it did not help, now it's back to database.

Thanks for all of your hard work, please keep assisting me. It's probably on the tip of your mind.

kh99 06-30-2013 03:35 PM

Sorry, I can't figure it out just by looking at the code. It does seem like if you have it working in the normal thread display then you should be able to get it to work. Maybe you should try calling $bbcode_parser->parse(unhtmlspecialchars($News['pagetext'])) and see what happens. Also the second parameter is a forumid that is used to apply the forum settings, if you have the thread's forumid maybe you could pass that as well (or at least make it some valid forumid). Without a forumid it might apply options for a "non forum" area.

KaitenV 07-01-2013 03:31 AM

If I use $bbcode_parser->parse(); only a "1" is rendered.


All times are GMT. The time now is 01:59 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.00979 seconds
  • Memory Usage 1,709KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete