News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Avatar doesn't show up on topics

Started by 69Paull, August 06, 2015, 02:48:59 PM

Previous topic - Next topic

69Paull

Hi guys! I'm having an issue here and I coudn't fix it by myself. When I upload an avatar to change my profile on the forum, it shows up everywhere but on topics, how to fix it? Here is some screenshots:

On the index:



On topics:



Thank you.

Illori

does it do the samething if you use the default theme?

Sir Osis of Liver

If you right click on the question mark, does properties show a path to image?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Illori

Quote from: Krash on August 06, 2015, 03:04:03 PM
If you right click on the question mark, does properties show a path to image?


i think the question mark is a default avatar that the theme has added incorrectly. i bet right clicking on the question mark and getting its properties will lead to a path to that image.

Sir Osis of Liver

Probably right.  Which theme are you using?  Have you tried reinstalling it?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

69Paull

Quote from: Krash on August 06, 2015, 03:50:50 PM
Probably right.  Which theme are you using?  Have you tried reinstalling it?

I'm using a theme edited by me. Based on Redsy by SMFTricks.

Right clicking on the image it gives me that path:

extremeracingcrew.com/Themes/ExtremeRacing/images/noavatar.png

Sir Osis of Liver

Yep, that's what Illori said.  What is the path to the avatar you see elsewhere?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

69Paull


69Paull

Here is the screenshots from the avatar settings of my forum, is there something wrong?

http://i.imgur.com/As1CMg1.png
http://i.imgur.com/iQ5YALR.png

Sir Osis of Liver

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

69Paull


Steve

Compared to my settings, in your second image, I have 'Specific Directory' selected in the dropdown box at the bottom, then the absolute path in the next box and the url in the last one.

Specific Directory

/home/*****/public_html/forums/avatars2

http://forums.**********.com/avatars2
DO NOT pm me for support!

69Paull

Quote from: Steve on August 06, 2015, 05:21:52 PM
Compared to my settings, in your second image, I have 'Specific Directory' selected in the dropdown box at the bottom, then the absolute path in the next box and the url in the last one.

Specific Directory

/home/*****/public_html/forums/avatars2

http://forums.**********.com/avatars2

Like this?


Steve

There shouldn't be a drive letter in the Upload directory box ... and compare what you have to mine format-wise ... obviously your path is going to be different but the format should be the same.

And I should stop responding as I didn't mean to take over Illori and Krash's assistance since they are far more knowledgeable than me.
DO NOT pm me for support!

69Paull

So lets wait for them, thanks mate  :)

Illori

Quote from: Steve on August 06, 2015, 05:28:26 PM
There shouldn't be a drive letter in the Upload directory box ... and compare what you have to mine format-wise ... obviously your path is going to be different but the format should be the same.

there is a drive letter as the op has a windows server so it is setup differently.

really without being able to see your forum and the issue there is not a lot we can do to help.

69Paull

Quote from: Illori on August 06, 2015, 05:50:05 PM
Quote from: Steve on August 06, 2015, 05:28:26 PM
There shouldn't be a drive letter in the Upload directory box ... and compare what you have to mine format-wise ... obviously your path is going to be different but the format should be the same.

there is a drive letter as the op has a windows server so it is setup differently.

really without being able to see your forum and the issue there is not a lot we can do to help.

I disabled the maintence mode already, now you can access it.

Illori

you are talking about http://extremeracingcrew.com/index.php?topic=2.0 ? what theme is this based on?

also the directory you are uploading avatars to, should NOT be the avatars directory, it should be another one. if it is the avatars directory that means that anyone that can select an avatar from the gallery will see everyones avatars to select from.

69Paull

Quote from: Illori on August 06, 2015, 06:35:25 PM
you are talking about http://extremeracingcrew.com/index.php?topic=2.0 ? what theme is this based on?

also the directory you are uploading avatars to, should NOT be the avatars directory, it should be another one. if it is the avatars directory that means that anyone that can select an avatar from the gallery will see everyones avatars to select from.

Yes, I am talking about this. All forum is based on Redsy by SMFTricks.

I fixed the directory thing, thanks.

Illori

// Show avatars, images, etc.?
if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
{
echo '
<a href="', $scripturl, '?action=profile;u=', $message['member']['id'], '">
<img src="', $message['member']['avatar']['href'], '" class="img-thumbnail img-circle" alt="*" />
</a>';
}
else
{
echo'
<a href="', $scripturl, '?action=profile;u=', $message['member']['id'], '">
<img src="',$settings['images_url'] ,'/noavatar.png" class="img-thumbnail img-circle" alt="*" />
</a>';
}
if you did not change that code i dont see why it should have this issue. after you changed the avatars folder did you upload the avatar again and see if that helps any?

Advertisement: