Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-24-2012, 09:46 PM
paulket paulket is offline
 
Join Date: Oct 2010
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default A mod that reads exif data?

Can someone please tell me if there is a VB4 mod available which members could upload or link images to in order to read the exif data? ... Kind of like what Digital Point has on their site.

I couldn't find anything by doing a search.
Reply With Quote
  #2  
Old 03-26-2012, 01:15 PM
paulket paulket is offline
 
Join Date: Oct 2010
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

God it would be nice to get an answer instead of having the question pushed pages down in one day...
Reply With Quote
  #3  
Old 03-26-2012, 01:20 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you don't get an answer it probably means that no one knows of any existing mod.

I actually started on this mod a while back - it's not too complicated because php has built-in functions to read the data, it's just a matter of figuring out when to read and store it and where to display it. The functions to read the data are slow so I don't think it's practical to read it every time it's displayed, so I was going to make a place in the database for it.

Anyway, if anyone is interested in this I could let you have the little bit that I did get done, or else maybe I'll get back to it eventually.
Reply With Quote
  #4  
Old 03-26-2012, 04:01 PM
paulket paulket is offline
 
Join Date: Oct 2010
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
If you don't get an answer it probably means that no one knows of any existing mod.
Thank you for replying, kh99, that's what I figured but it just becomes a little frustrating having questions pushed down ... not only about mods but CSS questions that are easily answered by those who know in other sections of vBulletin.org by other members who could get answers by doing a simple search (which I always do before asking).

Anyway, I was looking for something that members could upload a photo and get an output like the Example Output (about halfway down the page) here http://www.sno.phy.queensu.ca/~phil/exiftool/ My site's members would then be able to copy and paste the output into some custom BB Code that I have for displaying exif data.

If I knew how to add the script to my server and then have it displayed on a vBulletin page (on my site) in an iframe, I would do it.
Reply With Quote
  #5  
Old 07-07-2012, 11:44 PM
donholloway donholloway is offline
 
Join Date: Oct 2007
Location: Bucks County, PA
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

kh99, I would be interested in trying to pick up and expand on some of the work that you've done. I have been looking at another (in the graveyard) mod that used Jhead to read and write the data.

I'd rather stay in PHP. My goal is to provide users with a way to see their EXIF data, make sure that they have copyrights, good meta data, etc. I have a photography forum, and I'm surprised by how many people don't really understand any of it.
Reply With Quote
  #6  
Old 07-07-2012, 11:52 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, at one point I had a plugin that got the exif data from an uploaded file and saved it in a database field. Unfortunately a while back I had a number of problems on my home computer (where I work on everything) and that was one of the things I lost, so I don't have anything to give you. But there wasn't a lot to it - there's a php function that reads exif data, so I just called it on the temporary upload file if it was of the correct type. The biggest problem was figuring out the plugin hook where the right info was available, and I don't remember which one that was. I also remember there was a problem with getting it back out of the database at the right times because I couldn't find hooks in the right places. But if you only want to write something for your own site you always have the option of editing the vb files to get around that (I could have done that for a released mod as well, but I try to avoid it).
Reply With Quote
  #7  
Old 07-10-2012, 02:38 PM
donholloway donholloway is offline
 
Join Date: Oct 2007
Location: Bucks County, PA
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

kh99,

Thanks for the response. Based upon what I can find, I will try to share it on here.
Reply With Quote
  #8  
Old 05-17-2013, 02:22 AM
ywwz ywwz is offline
 
Join Date: Jul 2009
Posts: 255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

+10000
Reply With Quote
  #9  
Old 05-17-2013, 03:32 AM
John Lester John Lester is offline
 
Join Date: Nov 2004
Posts: 543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
or else maybe I'll get back to it eventually.
Stop kidding yourself it's a goner Kind of like my unsub mod ... stuck in limbo because I just haven't had the gumption to delve into the next phase
Reply With Quote
  #10  
Old 05-17-2013, 04:48 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
The biggest problem was figuring out the plugin hook where the right info was available, and I don't remember which one that was.
Like you said the solution is not difficult, but hard to implement. I have embedded all that stuff in the core which of course makes it a bit difficult to share. I tried originally to make everything work by hooks, but it just got to difficult to debug everything and keep track of the flow of the code.

Anyway, I am giving you 'kudos' that you made it work through the hook system at one point. I believe I used 'imagemagic' or 'jhead'. I would have to look it up again.

Sorry 'paulket' I did not reply, I didn't feel my answer would have been any help to you. You were not asking on how to make this work, but if there was a mod.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 07:17 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04867 seconds
  • Memory Usage 2,251KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete