Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Thread Image grabber Details »
Thread Image grabber
Mod Version: 1.3, by stuie_b (Coder) stuie_b is offline
Developer Last Online: Aug 2018 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (1 vote - 5.00 average) Installs: 16
Released: 11 Apr 2013 Last Update: 30 May 2013 Downloads: 98
Not Supported Uses Plugins Template Edits Is in Beta Stage  

Thread image grabber is a request by "The Realist" it will enable you to grab all attached images from a thread and display them (as images) on a seperate page.

+ Pulls all attached images from a given thread and displays as images (not links as vb currently does)
+ Adds Link to thread tools bar (under thread tools)
+ Adds icon to forum list

Note: Please be aware although support is provided it is limited. This version is in beta so expect bugs!



As always feature requests are appreciated.

Stuie.

Download Now

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

Screenshots

Click image for larger version

Name:	screen1.png
Views:	386
Size:	8.7 KB
ID:	144502   Click image for larger version

Name:	screen2.png
Views:	487
Size:	16.2 KB
ID:	144503   Click image for larger version

Name:	screen3.jpg
Views:	321
Size:	49.9 KB
ID:	145225  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 11 Apr 2013, 22:24
stuie_b stuie_b is offline
 
Join Date: Jul 2005
Location: Newcastle, UK
Updated 30/05/2013

1.3
+ Added support for inline/embedded images (Images which aren't attached)
+ Added support for vB 3.x.x (Tested only on vB 3.8.7 PL3)
+ Added template cache (Thanks to GENX2 for the heads up on that one)

1.2
+ Added support for vBulletin versions below 4.0.3

V1.0 First release
Nothing its the first release
__________________
Age Lock v3.5 - Now Available
Thread Image Grabber v1.3

Last edited by stuie_b; 30 May 2013 at 14:09.
Reply With Quote
  #3  
Old 11 Apr 2013, 22:39
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Real name: Brian
Well done M8 and a big thanks for this.

Regards
Reply With Quote
  #4  
Old 11 Apr 2013, 22:42
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Real name: Brian
Woooo just installed and loads of errors:

#0 /home/*****/public_html/******/includes/adminfunctions_template.php(2842): vB_TemplateParser->validate(Array)
#1 /home/******/public_html/******/includes/adminfunctions_plugin.php(545): compile_template('{vb:stylevar ht...')
#2 /home/******/public_html/******/admincp/plugin.php(1714): install_product(' #3 {main}


Fatal error: Unable to find a class to validate: vB_TemplateParser_Curlycssfile on line 1035 in [path]/includes/class_template_parser.php in [path]/vb/vb.php on line 284
#0 vb_error_handler(256, Unable to find a class to validate: vB_TemplateParser_Curlycssfile on line 1035 in /home/******/public_html/******/includes/class_template_parser.php , /home/******/public_html/******/vb/vb.php, 284, Array ([exception] => Exception Object ([] => Unable to find a class to validate: vB_TemplateParser_Curlycssfile,[] => ,[] => 0,[] => /home/******/public_html/******/includes/class_template_parser.php,[] => 1035,[] => Array ([0] => Array ([file] => /home/******/public_html/******/includes/adminfunctions_template.php,[line] => 2842,[function] => validate,[class] => vB_TemplateParser,[type] => ->,[args] => Array ([0] => Array ())),[1] => Array ([file] => /home/******/public_html/******/includes/adminfunctions_plugin.php,[line] => 545,[function] => compile_template,[args] => Array ([0] => {vb:stylevar htmldoctype} xmlns:fb="http://www.facebook.com/2008/fbml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}"> {vb:raw headinclude} {vb:cssfile faq.css} {vb:raw headinclude_bottom} {vb:raw header} {vb:raw navbar}

{vb:raw mkio_mode}

{vb:raw mkio_mode_description}


{vb:rawphrase attached_thumbnails} {vb:rawphrase attached_files}{vb:raw mkio_threadImages}
{vb:raw footer} )),[2] => Array ([file] => /home/******/public_html/******/admincp/plugin.php,[line] => 1714,[function] => install_product,[args] => Array ([0] => Pulls all the images attached to a thread and displays them in one place 1.0 xmlns:fb="http://www.facebook.com/2008/fbml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}"> {vb:raw headinclude} {vb:cssfile faq.css} {vb:raw headinclude_bottom} {vb:raw header} {vb:raw navbar}

{vb:raw mkio_mode}

{vb:raw mkio_mode_description}


{vb:rawphrase attached_thumbnails} {vb:rawphrase attached_files}{vb:raw mkio_threadImages}
{vb:raw footer} ]]> misc_start db->escape_string($_REQUEST['thread']); if(!$threadId){ standard_error("Missing ThreadID"); } //------------------------- $qh = $vbulletin->db->query_read(" SELECT p.postid,p.threadid,a.contentid,a.attachmentid,a.filedataid,a.filename,fd.extens ion,fd.dateline FROM ".TABLE_PREFIX."post AS p LEFT JOIN ".TABLE_PREFIX."attachment AS a ON (p.postid=a.contentid) LEFT JOIN ".TABLE_PREFIX."filedata as fd ON a.filedataid=fd.filedataid WHERE p.threadid='".$threadId."' AND fd.extension IN ('png', 'jpg', 'jpeg', 'gif', 'bmp')"); while($row = $vbulletin->db->fetch_array($qh)) { $html .= "options['bburl'].'/attachment.php?attachmentid='.$row['attachmentid'].'&d='.$row['dateline']."\">options['bburl'].'/attachment.php?attachmentid='.$row['attachmentid'].'&thumb=1&d='.$row['dateline']."\" alt=\"".$row['filename']."\" title=\"".$row['filename']."\"> "; } //------------------------- $navbits = construct_navbits(array('' => "Thread Images")); $navbar = render_navbar_template($navbits); $templater = vB_Template::Create('mkio_threadimg'); $templater->register_page_templates(); $templater->register('navbar', $navbar); $templater->register('mkio_mode', "View Thread Images"); $templater->register('mkio_mode_description', "View all images attached to a given thread"); $templater->register('mkio_threadImages', $html); print_output($templater->render()); }]]> showthread_start Display all images';]]> ,[1] => 0)))),[code] => 256)) called at [(null):0] #1 trigger_error(Unable to find a class to validate: vB_TemplateParser_Curlycssfile on line 1035 in /home/******/public_html/******/includes/class_template_parser.php , 256) called at [/home/******/public_html/******/vb/vb.php:284] #2 vB::handleException(Exception Object ([] => Unable to find a class to validate: vB_TemplateParser_Curlycssfile,[] => ,[] => 0,[] => /home/******/public_html/******/includes/class_template_parser.php,[] => 1035,[] => Array ([0] => Array ([file] => /home/******/public_html/******/includes/adminfunctions_template.php,[line] => 2842,[function] => validate,[class] => vB_TemplateParser,[type] => ->,[args] => Array ([0] => Array ())),[1] => Array ([file] => /home/******/public_html/******/includes/adminfunctions_plugin.php,[line] => 545,[function] => compile_template,[args] => Array ([0] => {vb:stylevar htmldoctype} xmlns:fb="http://www.facebook.com/2008/fbml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}"> {vb:raw headinclude} {vb:cssfile faq.css} {vb:raw headinclude_bottom} {vb:raw header} {vb:raw navbar}

{vb:raw mkio_mode}

Last edited by The Realist; 12 Apr 2013 at 11:41.
Reply With Quote
  #5  
Old 11 Apr 2013, 22:57
stuie_b stuie_b is offline
 
Join Date: Jul 2005
Location: Newcastle, UK

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

That error appears to be related to vbulletin it's self and suggests an outdated version of vBulletin, Make sure your running the latest version of VB and try again.


Stuie.
__________________
Age Lock v3.5 - Now Available
Thread Image Grabber v1.3
Reply With Quote
  #6  
Old 12 Apr 2013, 01:59
GENX2 GENX2 is offline
 
Join Date: Jun 2011
thanks so much.
I have note one :
there is query one

add new plugin name hook " cache_templates "
this includes :

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

Reply With Quote
  #7  
Old 12 Apr 2013, 11:59
tpearl5's Avatar
tpearl5 tpearl5 is offline
 
Join Date: Nov 2001
Real name: John
Curious if this will work with 4.1.12, or are those classes not available until 4.2? If not perhaps a min version check should be in order.
__________________
John
Reply With Quote
  #8  
Old 12 Apr 2013, 17:13
stuie_b stuie_b is offline
 
Join Date: Jul 2005
Location: Newcastle, UK
It appears any version before VB 4.0.3 will fail to install with the current code.

VB 4.0.2 Fails
VB 4.0.3 Fails
VB 4.0.4 Works
VB 4.0.5 Works
VB 4.0.8 Works
VB 4.1.0 Works

EDIT: Updated package to incorporate VB verions 4.0.3 and below. (import the package in the VB 4.0.0-4.0.3 folder)

Stuie.
__________________
Age Lock v3.5 - Now Available
Thread Image Grabber v1.3

Last edited by stuie_b; 12 Apr 2013 at 17:40.
Reply With Quote
  #9  
Old 13 Apr 2013, 00:43
abdobasha2004's Avatar
abdobasha2004 abdobasha2004 is offline
 
Join Date: Aug 2008
2 questions :
1- Do you have a vb 3.7 version compatible?
2- Is it possible to grab images not attached, i mean not on the forum server, just the image url in the first post or so...
Reply With Quote
  #10  
Old 17 Apr 2013, 18:33
tpearl5's Avatar
tpearl5 tpearl5 is offline
 
Join Date: Nov 2001
Real name: John
Originally Posted by abdobasha2004 View Post
2- Is it possible to grab images not attached, i mean not on the forum server, just the image url in the first post or so...
I would also like to see this. anything inside of bb img tags
__________________
John
Reply With Quote
  #11  
Old 18 Apr 2013, 19:57
Draffi Draffi is offline
 
Join Date: Oct 2011
Works great! Good Idea, too!!!
Reply With Quote
  #12  
Old 26 Apr 2013, 06:28
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Real name: Richie
Does this work with 4.2?
__________________

Let us take care of your forum, seo, seo reports, maintenance, what ever you need.

Reply With Quote
  #13  
Old 26 Apr 2013, 11:05
autoescala autoescala is offline
 
Join Date: Oct 2011
Originally Posted by tpearl5 View Post
I would also like to see this. anything inside of bb img tags
+1
Nice mood, waiting for updates to try it
Regards
Reply With Quote
  #14  
Old 30 May 2013, 14:17
stuie_b stuie_b is offline
 
Join Date: Jul 2005
Location: Newcastle, UK
Apologies for the delay in replying/updates.

Originally Posted by RichieBoy67 View Post
Does this work with 4.2?
Yes as far as i can tell, all vB4 versions are supported.

Originally Posted by abdobasha2004 View Post
2 questions :
1- Do you have a vb 3.7 version compatible?
2- Is it possible to grab images not attached, i mean not on the forum server, just the image url in the first post or so...
Originally Posted by tpearl5 View Post
I would also like to see this. anything inside of bb img tags
V1.3 now supports the pulling of images not attached, As long as there in the form of an image url they will pulled.

vB3 should now also be supported. (Tested only on vB 3.8.7 PL3)


Stuie
__________________
Age Lock v3.5 - Now Available
Thread Image Grabber v1.3
Reply With Quote
  #15  
Old 30 May 2013, 16:20
tpearl5's Avatar
tpearl5 tpearl5 is offline
 
Join Date: Nov 2001
Real name: John
Fantastic! Thanks for the update!

Some suggestions for the next version:
- link to the original post under the image
- thread title in mkio_threadimg
- link back to main thread in mkio_threadimg
__________________
John
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 17:34.

Layout Options | Width: Wide Color: