vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   avatars not working? (https://vborg.vbsupport.ru/showthread.php?t=178628)

guv 05-09-2008 07:36 AM

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?

Lynne 05-09-2008 02:47 PM

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.

guv 05-09-2008 03:13 PM

Quote:

Originally Posted by Lynne (Post 1513826)
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

Lynne 05-09-2008 03:27 PM

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?

guv 05-09-2008 04:03 PM

Quote:

Originally Posted by Lynne (Post 1513867)
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?

Lynne 05-09-2008 07:59 PM

Quote:

Originally Posted by guv (Post 1513904)
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.

guv 05-09-2008 09:36 PM

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

Lynne 05-09-2008 09:40 PM

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?

guv 05-09-2008 09:42 PM

Quote:

Originally Posted by Lynne (Post 1514267)
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?

Lynne 05-09-2008 09:54 PM

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?

guv 05-09-2008 09:54 PM

Cancel the above!!!!

Its doing it on both PCs in whatever browser I try! Very very strange!

Lynne 05-09-2008 09:56 PM

Send me the image. I'll PM you my email.

guv 05-09-2008 09:56 PM

Quote:

Originally Posted by Lynne (Post 1514287)
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?

Ive just copied the path from another forum - and also to your avatar! So they are definately valid! Both are very small files

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

Quote:

Originally Posted by Lynne (Post 1514289)
Send me the image. I'll PM you my email.

Lynne

The image I was using was your own avatar!

Lynne 05-09-2008 10:09 PM

So you are trying to upload using a link to an avatar here on a vbulletin site? That will not work. If you look at the link to my avatar here, it looks like: http://www.vbulletin.org/custompics/...tar65230_1.gif *however* it's... um.... not exactly a gif. I know that sounds weird, and it is, but I think it has to do with the way the images/avatars and permissions work around here. I think. I'm really not sure, but I do know you will have problems. Try saving the avatar to your harddrive and then upload it (although, if I recall, that won't work either).


edit: I just saved it from here and tried to upload it and it didn't work. However, I think went and changed the .gif extension to .jpg and it did work. I'm gonna have to just scratch my head on this one. Someone might have some reason for it being this way, but I don't know it.

guv 05-09-2008 10:13 PM

Quote:

Originally Posted by Lynne (Post 1514299)
So you are trying to upload using a link to an avatar here on a vbulletin site? That will not work. If you look at the link to my avatar here, it looks like: http://www.vbulletin.org/custompics/...tar65230_1.gif *however* it's... um.... not exactly a gif. I know that sounds weird, and it is, but I think it has to do with the way the images/avatars and permissions work around here. I think. I'm really not sure, but I do know you will have problems. Try saving the avatar to your harddrive and then upload it (although, if I recall, that won't work either).

Lynne, I have saved and send via email. Ive definately used the correct path (via image properties)

http://www.vbulletin.org/custompics/...tar65230_1.gif (Sorry thats been abbreviated by the board - but look in the status bar!)

And here as an image!

http://www.vbulletin.org/custompics/...tar65230_1.gif

The image wont upload from the PC either!


All times are GMT. The time now is 04:59 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.01242 seconds
  • Memory Usage 1,763KB
  • 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
  • (2)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)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