Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Display all images and files in Print Thread Details »
Display all images and files in Print Thread
Mod Version: 1.0.4, by Elite_360_ (Coder) Elite_360_ is offline
Developer Last Online: Apr 2019 I like it Show Printable Version Email this Page

vB Version: 4.2.x Rating: (1 vote - 5.00 average) Installs: 10
Released: 14 Aug 2015 Last Update: 03 Sep 2015 Downloads: 34
Not Supported Uses Plugins  

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

-

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	printthread.jpg
Views:	96
Size:	36.1 KB
ID:	153135  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 14 Aug 2015, 23:56
Elite_360_'s Avatar
Elite_360_ Elite_360_ is offline
 
Join Date: Nov 2012
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.


--

Last edited by Elite_360_; 03 Sep 2015 at 03:58.
Reply With Quote
  #3  
Old 19 Aug 2015, 20:56
Wedframe Wedframe is offline
 
Join Date: Mar 2013
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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and of couse its give me wrong result:


I use next code for replace embeded Images:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

It`s work fine with attachments and with regular images.
Reply With Quote
  #4  
Old 19 Aug 2015, 23:17
Elite_360_'s Avatar
Elite_360_ Elite_360_ is offline
 
Join Date: Nov 2012
Added your code to 1.0.2 i was getting the same error if you make a image as a link.
Reply With Quote
  #5  
Old 02 Sep 2015, 02:15
Wedframe Wedframe is offline
 
Join Date: Mar 2013
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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And.... I release new mod with some more functionality(and it will be still more with time):
http://www.vbulletin.org/forum/showt...78#post2554078
I hope its not bad idea?

Last edited by Wedframe; 02 Sep 2015 at 10:04.
Reply With Quote
  #6  
Old 02 Sep 2015, 22:46
Elite_360_'s Avatar
Elite_360_ Elite_360_ is offline
 
Join Date: Nov 2012
Originally Posted by Wedframe View Post
Go ahead just don't take any more code from future releases of this mod. Thanks for pointing out that it's not checking attachment types.
Reply With Quote
  #7  
Old 02 Sep 2015, 23:55
Elite_360_'s Avatar
Elite_360_ Elite_360_ is offline
 
Join Date: Nov 2012
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".
Reply With Quote
  #8  
Old 03 Sep 2015, 03:59
Elite_360_'s Avatar
Elite_360_ Elite_360_ is offline
 
Join Date: Nov 2012
Update to 1.0.4
-Added back the code i accidentally removed in 1.0.3 that converts embedded images.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 15:22.

Layout Options | Width: Wide Color: