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

Reply
 
Thread Tools Display Modes
  #1  
Old 05-09-2008, 07:36 AM
guv guv is offline
 
Join Date: Jan 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default avatars not working?

Im using version 3.7.0 and things all seem to be working ok.

The default "no avatar" image is shown, but seem unable to add either from uploading direct to the avatar storage location, or importing. I get the error message "This JPEG image has the incorrect file extension."

Given that the avatars are gif's, thats not surprising!

Looking in the CP, I have checked to make sure gifs are acceptable and they are.

Probably an easy one to solve - but have spent too much time searching for a solution already!

Anyone have any pointers?
Reply With Quote
  #2  
Old 05-09-2008, 02:47 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go to Usergroups > Usergroup Manager > select the usergroup to edit > go to Can Upload Custom Avatars > Yes and Can Upload Animated Avatar > Yes and then check the sizes below to make sure they are what you want them set at. Do this for every usergroup you want to have avatars.
Reply With Quote
  #3  
Old 05-09-2008, 03:13 PM
guv guv is offline
 
Join Date: Jan 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Go to Usergroups > Usergroup Manager > select the usergroup to edit > go to Can Upload Custom Avatars > Yes and Can Upload Animated Avatar > Yes and then check the sizes below to make sure they are what you want them set at. Do this for every usergroup you want to have avatars.
Thanks Lynne.

Ive done this, but am still getting this error:

This JPEG image has the incorrect file extension.

The avatar I am uploading as "admin" is just a very small gif file 80x60 and isnt animated. It fits inside all the parameters as far as physical size and volume. It is a gif file - yet the error is saying it isnt a jpeg!

So its something inside VB that needs to tell it that avatars are gifs (as well!) The image manage is set to accept gifs, so Im baffled where else to look!

Site is www.voltdeals.com if that helps
Reply With Quote
  #4  
Old 05-09-2008, 03:27 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try disabling your plugins and then see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

PHP Code:
define('DISABLE_HOOKS'true); 
It could be that a plugin you have installed is interferring in your upload, so try disabling them as I wrote above.

Also, doyou have a test account on your site where we can try this out?
Reply With Quote
  #5  
Old 05-09-2008, 04:03 PM
guv guv is offline
 
Join Date: Jan 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Try disabling your plugins and then see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

PHP Code:
define('DISABLE_HOOKS'true); 
It could be that a plugin you have installed is interferring in your upload, so try disabling them as I wrote above.

Also, doyou have a test account on your site where we can try this out?
Tried that, but still the same error message. I know its disabled, because my "VBadvanced" has stopped woking!

I will PM you some details. Is it just a user test account - or do you need admin rights?
Reply With Quote
  #6  
Old 05-09-2008, 07:59 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by guv View Post
Tried that, but still the same error message. I know its disabled, because my "VBadvanced" has stopped woking!

I will PM you some details. Is it just a user test account - or do you need admin rights?
I just want a test account to try to upload an avatar with. Usually people will make a test account with username "test" and with a password and make sure that account has regular user permissions - in other words, make sure the usergroup for the test account is the same as for your regular users, usually the Registered Usergroup. That way we can see what they see.
Reply With Quote
  #7  
Old 05-09-2008, 09:36 PM
guv guv is offline
 
Join Date: Jan 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Lynne, Ive created the account. Just tested again - and still cannot either link upload or transfer upload without getting the "jpeg" error message. Ive PMd the account details. thanks for your help
Reply With Quote
  #8  
Old 05-09-2008, 09:40 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just logged on and I was able to upload both a .gif and a .jpg just fine on the test account you set up for me. Have you tried logging into the test account and uploading avatars?
Reply With Quote
  #9  
Old 05-09-2008, 09:42 PM
guv guv is offline
 
Join Date: Jan 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
I just logged on and I was able to upload both a .gif and a .jpg just fine on the test account you set up for me. Have you tried logging into the test account and uploading avatars?
Well that is strange!

Yes, I tried on the test account!

Would it be something on the PC? Ive tried it from 2 PCs here and get the same!

How odd!!!!!

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

Lynne, I just tried again on one machine with IE7 and Firefox and get the problem. Used another PC on the same network in Opera and IE7 and it works! You now you now have your VB forum avatar visible!

So does it sound more like a PC thing rather than VB? (Silly question probably!!!!)

Have you come across this problem before?
Reply With Quote
  #10  
Old 05-09-2008, 09:54 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe it is something with that particular jpg. Maybe it really isn't a valid jpg, as the message seems to kinda imply. I know the two I uploaded are valid for vb since I have uploaded each to my site before. Where did you get the image? Are you sure it is a valid jpg?
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 01:52 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.06830 seconds
  • Memory Usage 2,263KB
  • 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
  • (2)bbcode_php
  • (4)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
  • (1)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete