![]() |
Display all images and files in Print Thread
1 Attachment(s)
Mark As Installed = Support
For Version Information: Go to Post #2 Description: This Mod will show all Images and files in Print Thread. Installation: 1. Import the product-e360_printthreadimg.xml product file via AdminCP > Plugin System > Manage Products > [Add/Import Product] 2. Go To AdminCP > Settings > Options > e360 - Forums Online CountUp Options/ And config - |
Version Information:
1.0.0 - Aug 14 2015 -First version 1.0.1 - Aug 14 2015 -Improve code. 1.0.2 - Aug 19 2015 -Fixed a Bug That @Wedframe Pointed Out With His Code. 1.0.3 - Sep 2 2015 -Fixed a bug "It now checks image type". -Added bmp and jpe image types. -Added non image attachments to "Print Thread". 1.0.4 - Sep 2 2015 -Added back the code i accidentally removed in 1.0.3 that converts embedded images. -- |
Elite_360_, if in post I have link to full image with built-in thumbnail, like this:
[yrl=httр://someserver.net/0000000.htm][iмg]httр://someserver.net/0000000m.jpg[/iмg][/yrl] then regexp work not correctly. And as a result, I have in post follow html: HTML Code:
<div class="content"><img src="http://savepic.net/7168271.htm" target="_blank"><a href="http://savepic.net/7168271m.jpg" style="max-width: 100%;max-height: 100%;padding: 2px;"></a></div> http://savepic.su/6054179m.jpg I use next code for replace embeded Images: PHP Code:
|
Added your code to 1.0.2 i was getting the same error if you make a image as a link.
|
Elite_360_, one more problem what I found.
If inline attachment is NOT image, then again will be error 404 to this "image"(like on above screenshot). So... I made hybrid code from your, from vB and from my own code... what first check the extension of attachment: PHP Code:
https://vborg.vbsupport.ru/showthrea...78#post2554078 I hope its not bad idea? |
Quote:
|
Updated to 1.0.3
-Fixed a bug "It now checks image type". -Added bmp and jpe image types. -Added non image attachments to "Print Thread". |
Update to 1.0.4
-Added back the code i accidentally removed in 1.0.3 that converts embedded images. |
All times are GMT. The time now is 07:00 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:
|