The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Avatar in the recent topics problem

5 posters

Go down

Solved Avatar in the recent topics problem

Post by sofiam007 November 16th 2021, 6:05 pm

Hi!
On many sites I have found that there is a problem with the last post image.
https://help.forumotion.com/t137749-avatar-in-the-recent-topics?highlight=recent

If I login, I can see member pic, but when I signed out, I can't.

I did not do anything (I don't have new java, and I don't have new code) and I think other admins did not do anything too.
(I have been using the code since January 2021.)
Can you please help us? Maybe it was an update with this code?


Last edited by sofiam007 on November 17th 2021, 12:44 pm; edited 1 time in total
sofiam007
sofiam007
New Member

Posts : 6
Reputation : 1
Language : Hungarian

Back to top Go down

Solved Re: Avatar in the recent topics problem

Post by Neptune- November 16th 2021, 7:03 pm

Hello,


There is no problem with the script, it's the way it should work.

You can find at line 38
Code:
      $('#recentTopics a[href^="/u"]').each(function(){
Script is looking for a link of username.

Logged out, usernames are not clickable, so no link, no picture.
Once logged, usernames can be clicked and you get the avatars displayed.
Neptune-
Neptune-
Forumember

Female Posts : 496
Reputation : 104
Language : French (10), English (8), CSS (5), HTML (4), Javascript (4)
Location : Scotland, UK

https://www.galaxie-series.net/

Back to top Go down

Solved Re: Avatar in the recent topics problem

Post by skouliki November 16th 2021, 8:14 pm

When your request is complete, please mark it as Solved.
skouliki
skouliki
Manager
Manager

Female Posts : 15391
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Avatar in the recent topics problem

Post by sofiam007 November 16th 2021, 8:31 pm

Neptune- wrote:Hello,


There is no problem with the script, it's the way it should work.

You can find at line 38
Code:
      $('#recentTopics a[href^="/u"]').each(function(){
Script is looking for a link of username.

Logged out, usernames are not clickable, so no link, no picture.
Once logged, usernames can be clicked and you get the avatars displayed.

It has worked properly to this day. Guests also saw the pictures.
How can I fix it?
sofiam007
sofiam007
New Member

Posts : 6
Reputation : 1
Language : Hungarian

Back to top Go down

Solved Re: Avatar in the recent topics problem

Post by skouliki November 16th 2021, 9:03 pm

skouliki
skouliki
Manager
Manager

Female Posts : 15391
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Avatar in the recent topics problem

Post by sofiam007 November 16th 2021, 9:13 pm

Okey, but my problem is not this. (and this post is from 2019)
I say again. Smile Yesterday was good everything, and morning too. And now every forum what i know has a problem. Smile
sofiam007
sofiam007
New Member

Posts : 6
Reputation : 1
Language : Hungarian

Back to top Go down

Solved Re: Avatar in the recent topics problem

Post by skouliki November 16th 2021, 9:31 pm

I do not see any mistakes on the code
skouliki
skouliki
Manager
Manager

Female Posts : 15391
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Avatar in the recent topics problem

Post by sofiam007 November 16th 2021, 9:48 pm

I'm talking about my own website. Everything was fine until morning, and all names were linked. At afternoon, usernames in the widget were not linked. (Therefore, the java code does not work either.)
If I login, I can see member pic, but when I signed out, I can't. I did not do anything (I don't have new java, and I don't have new code) and I think other admins did not do anything too.(I have been using the code since January 2021.)
The default code has no link too.

So what happend, and how I can fix it?
sofiam007
sofiam007
New Member

Posts : 6
Reputation : 1
Language : Hungarian

Back to top Go down

Solved Re: Avatar in the recent topics problem

Post by skouliki November 16th 2021, 10:04 pm

Can you post your forum link
skouliki
skouliki
Manager
Manager

Female Posts : 15391
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Avatar in the recent topics problem

Post by Ape November 17th 2021, 12:06 am

Clear your browsers cache and cookies


Avatar in the recent topics problem Left1212Avatar in the recent topics problem Center11Avatar in the recent topics problem Right112
Avatar in the recent topics problem Ape_b110
Avatar in the recent topics problem Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19435
Reputation : 2010
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Avatar in the recent topics problem

Post by The Godfather November 17th 2021, 10:23 am

Hello,

We have modified the link on member nicknames in the "Latest topics" and "New topics" widgets. As on the forum and topic pages, the nickname is not clickable for guests. Only for members.

Is the problem the same with the default template and CSS file please?
The Godfather
The Godfather
Administrator
Administrator

Posts : 5343
Reputation : 846

skouliki likes this post

Back to top Go down

Solved Re: Avatar in the recent topics problem

Post by Neptune- November 17th 2021, 10:32 am

Hi @The Godfather


The problem will be the same with default template since Insane's tutorial is based on links on usernames. No more links, no more avatars for guests
Neptune-
Neptune-
Forumember

Female Posts : 496
Reputation : 104
Language : French (10), English (8), CSS (5), HTML (4), Javascript (4)
Location : Scotland, UK

https://www.galaxie-series.net/

Back to top Go down

Solved Re: Avatar in the recent topics problem

Post by The Godfather November 17th 2021, 10:41 am

Hello

We just applied a fix because now, the change of yesterday only impacts the mobile version (no link on the username for guest). Can you test again please (don't forget to clear your cache)?
The Godfather
The Godfather
Administrator
Administrator

Posts : 5343
Reputation : 846

skouliki and Neptune- like this post

Back to top Go down

Solved Re: Avatar in the recent topics problem

Post by Neptune- November 17th 2021, 10:57 am

Just tested and tutorial is working again, logged in or logged out
Neptune-
Neptune-
Forumember

Female Posts : 496
Reputation : 104
Language : French (10), English (8), CSS (5), HTML (4), Javascript (4)
Location : Scotland, UK

https://www.galaxie-series.net/

skouliki likes this post

Back to top Go down

Solved Re: Avatar in the recent topics problem

Post by skouliki November 17th 2021, 11:52 am

When your request is complete, please mark it as Solved.
skouliki
skouliki
Manager
Manager

Female Posts : 15391
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Avatar in the recent topics problem

Post by sofiam007 November 17th 2021, 12:43 pm

The Godfather wrote:Hello

We just applied a fix because now, the change of yesterday only impacts the mobile version (no link on the username for guest). Can you test again please (don't forget to clear your cache)?

Thank you for help Godfather, and that you fixed it.
Problem was not java, not my browsers cache and not cookies. Problem was just link. It was not clickable for guests. BUT NOW good.
sofiam007
sofiam007
New Member

Posts : 6
Reputation : 1
Language : Hungarian

skouliki likes this post

Back to top Go down

Solved Re: Avatar in the recent topics problem

Post by skouliki November 17th 2021, 2:24 pm

Problem solved & topic archived.
Please read our forum rules: ESF General Rules
skouliki
skouliki
Manager
Manager

Female Posts : 15391
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum