Page Index Toggle Pages: [1] 2 
Topic Tools
Hot Topic (More than 10 Replies) No images or avatars after upgrade (Read 6,093 times)
jem
Full Member
***
Offline



Posts: 177
No images or avatars after upgrade
Jul 26th, 2010 at 12:25pm
Post Tools
Hello, everyone. I've just upgraded from Yabb 2.0 to YABB 2.5 AE. Everything seems to work fine, except that images won't show anymore...meaning that [img] code doesn´t work , and the users' avatars have dissapeared. I've checked paths and the forum's options and everything seems to be ok.

Thanks for the help!
« Last Edit: Jul 26th, 2010 at 12:26pm by jem »  
Back to top
 
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 3,981
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: No images or avatars after upgrade
Reply #1 - Jul 26th, 2010 at 2:35pm
Post Tools
Hi -

A - Do you mean that the images 'attached' to old posts are now shown with a red x? (Image not found)
OR
Do you mean you cannot attach images now? -

You may need to work on the image settings - Forum Settings > Advanced > File Attachments, Images.

B -  Do you mean NO Avatars at all, or no 'user-defined' avatars?  (I don't know what modifications you were running on 2.0)
There is now a subfolder for 'UserAvatars'. (I'm unsure, but I think that 2.0 boards may have mixed the user-defined avatars in with Attachments)  I have a running 2.0 (modded) Forum that is an archive, so I don't work with it much. Undecided)

Good Luck
Smiley
  

I find your lack of faith disturbing.
Back to top
IP Logged
 
jem
Full Member
***
Offline



Posts: 177
Re: No images or avatars after upgrade
Reply #2 - Jul 26th, 2010 at 5:00pm
Post Tools
Hi JonB, thank you for your reply Smiley

I'm referring to the "insert image" YaBBC code . The URLs inserted inside this code don't work anymore, even though the option for YaBBC is on in the board's settings. The images of avatars from external URLs don't work either.



« Last Edit: Jul 27th, 2010 at 10:02am by jem »  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: No images or avatars after upgrade
Reply #3 - Jul 27th, 2010 at 4:38pm
Post Tools
1) Do you have "Display Picture Attachments in Posts?" enabled in Advanced Settings - File Attachments tab.

2) Is the answer "yes", At right, the avatar directory path is displayed (top) and whether the directory exists and has the correct permissions (Yes/No) in Forum Settings - Members tab.

3) Is "Auto-link URLs?" enabled in Forum Settings - Posting tab ?
  
Back to top
 
IP Logged
 
jem
Full Member
***
Offline



Posts: 177
Re: No images or avatars after upgrade
Reply #4 - Jul 27th, 2010 at 5:54pm
Post Tools
Yes, i've checked and everything is ok
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: No images or avatars after upgrade
Reply #5 - Jul 28th, 2010 at 12:24am
Post Tools
what is the url to your forum ?
  
Back to top
 
IP Logged
 
jem
Full Member
***
Offline



Posts: 177
Re: No images or avatars after upgrade
Reply #6 - Jul 28th, 2010 at 12:25pm
Post Tools
« Last Edit: Jul 28th, 2010 at 12:26pm by jem »  
Back to top
 
IP Logged
 
Jet Li
Legacy Dev Team
Development Team
****
Offline



Posts: 6,588
Location: Hong Kong
Re: No images or avatars after upgrade
Reply #7 - Jul 28th, 2010 at 12:43pm
Post Tools
There is missing code in default2.html

Code (Javascript)
Select All
<script language="JavaScript1.2" type="text/javascript" src="{yabb html_root}/YaBB.js"></script> 

  

PM me for YaBB Installation Service
Back to top
WWWGTalkFacebook  
IP Logged
 
Captain John
Ex Member


Re: No images or avatars after upgrade
Reply #8 - Jul 28th, 2010 at 12:43pm
Post Tools
What /yabb2/Templates/Display.template are you using ? (Version number).
   If you want the vertical user info (like you have) you should be using Y2.4 # $Revision: 1.20.2.1 $
  
Back to top
 
IP Logged
 
jem
Full Member
***
Offline



Posts: 177
Re: No images or avatars after upgrade
Reply #9 - Jul 28th, 2010 at 1:33pm
Post Tools
It worked! Brilliant!!! Thank you very much for the help  Grin
  
Back to top
 
IP Logged
 
Jet Li
Legacy Dev Team
Development Team
****
Offline



Posts: 6,588
Location: Hong Kong
Re: No images or avatars after upgrade
Reply #10 - Jul 28th, 2010 at 1:37pm
Post Tools
Your welcome. Smiley
  

PM me for YaBB Installation Service
Back to top
WWWGTalkFacebook  
IP Logged
 
AlanNZ
YaBB Newcomer
*
Offline



Posts: 30
Location: New Zealand

None
Re: No images or avatars after upgrade
Reply #11 - Dec 14th, 2010 at 12:36am
Post Tools
Gosh I have the same problem on a large forum and am a bit stumped....  the source code of a page is showing the linked image url ok but not the actual image... or avatars ..basically any linked image...
http://www.fishnhunt.co.nz/forum/YaBB.cgi
I have a heavily modified template and have ensured the changes to the header have been made.. have read every help file and forum post ...so a bit stumped.
« Last Edit: Dec 14th, 2010 at 2:35am by AlanNZ »  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: No images or avatars after upgrade
Reply #12 - Dec 14th, 2010 at 5:01am
Post Tools
Hi,

A quick suggestion that's worth a try...

In Admin Center => Advanced settings - under the 'Images' tab, make sure that you have set values for each of the fields and saved the settings.
  
Back to top
 
IP Logged
 
AlanNZ
YaBB Newcomer
*
Offline



Posts: 30
Location: New Zealand

None
Re: No images or avatars after upgrade
Reply #13 - Dec 14th, 2010 at 5:32am
Post Tools
Thanks Derek. I have tried  and checked that  ....The template file does display linked images that are not part of the board display.... so the problem is with ????
  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: No images or avatars after upgrade
Reply #14 - Dec 14th, 2010 at 5:43am
Post Tools
It's usually a JavaScript problem - all images have a 'style="display:none;"' and are then resized with JS. But, I checked your source code and the JS seems to be where it should be - that's why I thought it must be a settings problem.

Just to check, your settings do look something like the attached image?

Is this present in your Variables/Settings.pl file?

Code
Select All
########## MemberPic Settings ##########

$max_avatar_width = 65;                           # Set maximum pixel width to which the selfselected userpics are
                                                  #  resized, 0 disables this limit
$max_avatar_height = 65;                          # Set maximum pixel height to which the selfselected userpics are
                                                  #  resized, 0 disables this limit
$fix_avatar_img_size = 0;                         # Set to 1 disable the image resize feature and sets the image size to
                                                  #  the max_... values. If one of the max_... values is 0 the image is
                                                  #  shown in his proportions to the other value. If both are 0 the
                                                  #  image is shown at his original size.
$max_post_img_width = 0;                          # Set maximum pixel width for images, 0 disables this limit
$max_post_img_height = 0;                         # Set maximum pixel height for images, 0 disables this limit
$fix_post_img_size = 0;                           # Set to 1 disable the image resize feature and sets the image size to
                                                  #  the max_... values. If one of the max_... values is 0 the image is
                                                  #  shown in his proportions to the other value. If both are 0 the
                                                  #  image is shown at his original size.
$max_signat_img_width = 0;                        # Set maximum pixel width for images in the signature, 0 disables this
                                                  #  limit
$max_signat_img_height = 0;                       # Set maximum pixel height for images in the signature, 0 disables
                                                  #  this limit
$fix_signat_img_size = 0;                         # Set to 1 disable the image resize feature and sets the image size to
                                                  #  the max_... values. If one of the max_... values is 0 the image is
                                                  #  shown in his proportions to the other value. If both are 0 the
                                                  #  image is shown at his original size.
$max_attach_img_width = 0;                        # Set maximum pixel width for attached images, 0 disables this limit
$max_attach_img_height = 0;                       # Set maximum pixel height for attached images, 0 disables this limit
$fix_attach_img_size = 0;                         # Set to 1 disable the image resize feature and sets the image size to
                                                  #  the max_... values. If one of the max_... values is 0 the image is
                                                  #  shown in his proportions to the other value. If both are 0 the
                                                  #  image is shown at his original size.
$img_greybox = 1;                                 # Set to 0 to disable "greybox" (each image is shown in a new window)
                                                  # Set to 1 to enable the attachment and post image "greybox" (one
                                                  #  image/page)
                                                  # Set to 2 to enable the attachment and post image "greybox" =>
                                                  #  attachmet images: (all images/page), post images: (one image/page) 

« Last Edit: Dec 14th, 2010 at 7:12am by Derek Barnstorm »  

ImageSettings.png ( 67 KB | 83 Downloads )
ImageSettings.png
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Topic Tools
 
  « Board Index ‹ Board  ^Top