vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Deleted Attachments in posting body still visible (https://vborg.vbsupport.ru/showthread.php?t=327573)

muffel 10-01-2019 11:06 AM

Deleted Attachments in posting body still visible
 
Hi,

we have deleted some of the attachments with the normal function of the vb4.

But now where I delete the attachment, there is still the
Code:

[ATTACH=CONFIG]12345[/ATTACH]
... into some post, where the attachments were added. But naturally there is no attachment there, just a link on there with shows only an error message, when I click on it. What can I do to delete also these "attach" things? Is there a function or addon?

Thank you!

muffel :)

muffel 11-21-2019 09:46 AM

Hm - has nobody any idea to do so? Isn't there a addon for that?

Thank you!

muffel

Dave 11-21-2019 11:48 AM

I tried looking for it but there doesn't seem to be a tool that removes the BBCode. I suppose the only way is to create a custom script for it that finds all posts with that BBCode, checks if the attachment still exists and then removes it from the post if it does not.

muffel 11-21-2019 01:41 PM

Yes. I also think this could be a solution. To search into the posts and delete these attach things when the attachment is not in the attachment table any more.

Does anyone already have such a custom script maybe? I also would pay something for that :) Because I need it very urgent now...


All times are GMT. The time now is 08:38 AM.

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.01133 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)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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