![]() |
[solved] Automatic removal of [img] and [youtube] tags when quoting posts
Often, people quote posts that contain an embedded video or a large image, and when it's done excessively it takes up a lot of unnecessary vertical space (more scrolling) and can cause the threads to take longer to load.
Can images and videos using [img], [youtube], [youtubehd], [video] and other such tags be changed to just the URL of the image or video when using "Reply With Quote"? How can I go about this? Thanks. |
bump. Any help would be much appreciated.
|
<a href="https://vborg.vbsupport.ru/showthread.php?t=260337" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=260337</a>
Is that what you're looking for? |
While this isn't exactly what you asked for, what I did was edit the strip_quotes function in the file /includes/functions.php, with an array of tags literally defined to simply be removed, along with their contents:
PHP Code:
|
Thanks guys. Dave's link seemed to work.
MarkFL: does your suggestion do anything different? |
All times are GMT. The time now is 03:46 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|