vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - EXIF Info for Album Photos (https://vborg.vbsupport.ru/showthread.php?t=241532)

MoMan 04-29-2010 10:00 PM

EXIF Info for Album Photos
 
This is a simple PHP script / vBulletin plugin that displays EXIF information for photos uploaded to the vBulletin albums system, as well as in social groups.

Please do not redistribute this elsewhere, and do leave my contact and copyright information intact at the top of the plugin source. There are no visible copyright notices in the output. The album exif modification is copyright 2010 by Adam Oest.

REQUIREMENTS
-PHP permission to run shell_exec (safe mode off)
-album pictures must be stored in the filesystem
-jhead must be installed on your server

INSTALLATION/UPGRADE INSTRUCTIONS:
1. Make sure you have jhead installed (get it from http://www.sentex.net/~mwandel/jhead/)
2. Download the attached vBulletin product and upload it through your admin cp
3. Configure the two settings in vbulletin options > album picture and social group EXIF
4. Open the album_pictureview template and add $exifdata right above $picturecomment_commentarea, or wherever else you want it to appear
5. Open the group_picture template and add $exifdata directly after $pictureinfo[username]</a></div>, or wherever else you want it to appear
6. You should be all set. Enjoy!

Demo at http://www.pentaxforums.com/forums/m...-shot4828.html

Version history:
1.0 - Initial Release
1.01 - Converted to plugin; output formatting improvements
1.02 - Further output formatting improvements
1.03 - Converted to product; further formatting improvements
1.04 - HTML validation bugfix
1.05 - All settings moved to vBulletin options, and functionality for social groups added
1.06 - New documentation

Screenshot:

MoMan 04-30-2010 06:05 AM

Attached locally- should be visible now.

MagicThemeParks 04-30-2010 10:41 AM

Very cool! :up:

Thanks for sharing this. How can we make this work with the popular PhotoPlog mod?

barroca 04-30-2010 03:46 PM

hello
works with vB 4.x?
thanks

MoMan 04-30-2010 06:25 PM

Exif info is built-in to photoplog (pro). If you already have that running, my script can run off of photoplog's admincp setting that provides the path to the jhead program.

If you're using the free version of photoplog, you'd have to make some small changes to the use my script with it. First, add it to the photoplog image view plugin, second, add it to the photoplog viewfile template, and third, you'd have to change the line in my program that determines the image location. I'm not going to support this, but you're more than welcome to try on your own.

I don't see why this wouldn't work with vB4.

MoMan 05-01-2010 10:15 PM

New version- 1.01 - converted it to a plugin and improved display. Enjoy!

MoMan 05-02-2010 09:42 PM

New version - 1.02 - formatting improvements to file date, size, and resolution

MoMan 05-17-2010 06:17 PM

New version - 1.03 - converted to product

MoMan 05-19-2010 08:36 AM

New version - 1.04 - bugfix

mertiliuss 05-19-2010 03:42 PM

sorry, but I install it shows an error Phats, as configured that?

Thanks

MoMan 05-24-2010 05:33 AM

Your jhead path must be incorrect. Please download the latest version, and then go to vBulletin options and add the correct value.

New version released: 1.05
-configuration now in vBulletin options
-exif now also added to social group albums via dropdown

http://www.pentaxforums.com/forums/g...ml#post1025912


All times are GMT. The time now is 05: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
  • Page Generation 0.01164 seconds
  • Memory Usage 1,732KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (11)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete