vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   URGENT - [4.0.7 cms] insert and display attachments in CMS article (https://vborg.vbsupport.ru/showthread.php?t=256633)

Lynne 01-20-2011 04:56 PM

xxx is the filedataid (from table fieldata) That table is used throughout the site for all attachments uploaded.

saimon69 01-20-2011 05:08 PM

well thanks, am going to do another test import in a short (want to set permission and make another database snapshot first) and will let know the result;

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

BTW, does really matter the filename, considered that am storing the pictures and the thumbnails as blobs in the DB (advised by impEx manual and more comfortable to move from local to server and back) ?

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

And another thing, the attachment i inserted in the article via script does not appear in the asset manager lower slot; might be one of the reasons the article does not show it? how do i solve this? what parameters should i set?

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

Improvement: seems that one of the reasons the attachment did not showed up was because instead of linking attachment to node_id i was attaching it to article_id; so now the attachments show in the page (at least the first one and others as list) is already a BIG progress since:)


All times are GMT. The time now is 04:58 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.00940 seconds
  • Memory Usage 1,711KB
  • 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
  • (2)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