Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)

Reply
 
Thread Tools Display Modes
  #11  
Old 10-22-2013, 04:16 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It should hold the setting, so apparently it's bailing out at some point.

If you want you could try going to the admincp, and at or near the bottom of the list there should be a "kh99 Rotate Attachment" setting page. There you can turn on debugging and specify a file to write the messages to. It has to be a writable directory. If your server is set up so that the web server process can write to the forum directories then you can just put a file name, otherwise you'll need a path to somewhere with write permission.

Do you know if you have GD configured? You can go to Maintenance > View PHP Info and see if it's listed in the configuration (there'll be a section with GD at the top, for me it's between ftp and gettext).
Reply With Quote
  #12  
Old 10-22-2013, 04:19 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

...also, do you know which version of vbulletin and php you're running?
Reply With Quote
  #13  
Old 10-22-2013, 04:46 PM
FBRN_Andrew FBRN_Andrew is offline
 
Join Date: Sep 2013
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP 5.3.26
VBulletin 4.2.2
I made a directory set it to 755 and a file also 755 and nothing's going in the file.
I'm _not_ much of a coder, or web guy, so I'm not sure I did it correctly.
I'm more than willing to work on testing but it might be easier to PM me instructions and we can post what's needed without me fumbling around or possibly confusing things on the forum.

--------------- Added [DATE]1382464151[/DATE] at [TIME]1382464151[/TIME] ---------------

GD Support enabled
GD Version bundled (2.1.0 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.4.2
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPEG Support enabled
libJPEG Version 6b
PNG Support enabled
libPNG Version 1.2.44
WBMP Support enabled
XBM Support enabled
Reply With Quote
  #14  
Old 12-06-2013, 05:52 PM
jjohns12 jjohns12 is offline
 
Join Date: Aug 2013
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have been looking for a mod like you are making and i am using imagemagic please add support for that.

Thanks
Reply With Quote
  #15  
Old 12-06-2013, 10:30 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll try to do that. I actually have a version of this mod that works for me (using GD), but FBRN_Andrew who volunteered to test it for me couldn't get it to work at all on his server, so it's been on hold.
Reply With Quote
  #16  
Old 12-07-2013, 05:41 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
I'll try to do that. I actually have a version of this mod that works for me (using GD), but FBRN_Andrew who volunteered to test it for me couldn't get it to work at all on his server, so it's been on hold.
@KH99, I will give it a whirl if you would like. I think this would be used by many of the users if we worked out the kinks, if there is any.
Reply With Quote
Благодарность от:
kh99
  #17  
Old 12-07-2013, 10:49 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tbworld View Post
@KH99, I will give it a whirl if you would like. I think this would be used by many of the users if we worked out the kinks, if there is any.
OK, I'm attaching the latest (still GD only). Instead of repeating the instructions I'll refer you to post #9 in this thread.

It takes some time to rotate an image and there's no feedback, so if you press "OK" in the dialog and it looks like it hangs, it may just be taking a long time (also read the "There are a couple of issues:.." paragraph in post #9).
Attached Files
File Type: xml product-kh99_rotate(9).xml (28.2 KB, 22 views)
Reply With Quote
  #18  
Old 12-07-2013, 10:58 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks @Kh99, I am pretty sure I will figure it out. I already read through the thread prior to replying the first time. I dislike wasting your time or mine.

Let me get this running and if you want I have some image magic code that I created/altered on another project, that we could patch in to your code. Famous last words, now I will have to find it.
Reply With Quote
  #19  
Old 12-07-2013, 10:55 PM
Big Al Big Al is offline
 
Join Date: Nov 2011
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Until you get it sorted you can load the images into Imageshack and rotate them easily.

Then you can use them however you wish. Re- post them using imageshack or copy and paste.
Reply With Quote
  #20  
Old 12-07-2013, 11:19 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, but I think the original post mentioned that people post from phones so they don't want to go through all that, and moderators don't either. But that reminds me of something I thought of while doing this: I think pictures coming from phones sometimes contain information about the orientation, and the real problem is that it's being ignored (although I think I read that the latest IE will see it and rotate the image accordingly). So maybe a simpler mod might be when someone uploads a jpeg, look for the orientation tag and rotate the image if necessary.
Reply With Quote
Reply

Thread Tools
Display Modes

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 05:22 AM.


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.08242 seconds
  • Memory Usage 2,267KB
  • Queries Executed 12 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (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_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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete