YAFLogo

continienzo
17 years ago
Hi, I noticed two problems in this version ...

1st:

When I'm in the homepage and then enter in a forum, I have the list of topics, for example I have got 1 topic unread (with the unread icon); I read it and I go back to the homepage. Then the icon for that forum is again unread even though I just read the only topic unreaded in it. But, if I go back to the topics list first and then to the homepage, the icon is shown exactly (that is as read). I hope I make me understand well.

Yesterday it happened that I was on the homepage with the forums list and I had unread icons (real ones because I didn't read them), so I had some unread topics, I stayed on the homepage for a bit and afer a refresh of the page there were no unread topics icons ... even though I didn't read any topic.

I assume then that there must be still some problems in the read/unread system.

2nd:

Sometimes it happens that there are some users online (for example yesterday there were 120) but, going in the control panel I noticed that they ALL HAD THE SAME IP ADDRESS (all 120 users!!!).

Thanks for the support.

Kinds regards.

Enzo

Sponsor
Ederon
  • Ederon
  • 100% (Exalted)
  • YAF Developer
17 years ago

When I'm in the homepage and then enter in a forum, I have the list of topics, for example I have got 1 topic unread (with the unread icon); I read it and I go back to the homepage. Then the icon for that forum is again unread even though I just read the only topic unreaded in it. But, if I go back to the topics list first and then to the homepage, the icon is shown exactly (that is as read). I hope I make me understand well.

continienzo wrote:

The problem is thar read/unread info of forum is not reviewed when you jump directly to the unread topic. It just marks that topic as read without looking for other yet unread another topic in same forum. It just assumes forum is unread until you visit it (i.e. forum topics listing). This may change in the future, but now it's no big deal as list of unread topics is treated correctly in active discussions/active topics. So when you see no topics with "unread" button you know there is nothing new.

Yesterday it happened that I was on the homepage with the forums list and I had unread icons (real ones because I didn't read them), so I had some unread topics, I stayed on the homepage for a bit and afer a refresh of the page there were no unread topics icons ... even though I didn't read any topic.

I assume then that there must be still some problems in the read/unread system.

I believe it was because your session cookie expired thus it was time of your last visit which determined that those unread posts were treated as read. You can extend session timeout to make the time before session is deemed dead longer. But it's WAD and not problem of YAF, nor problem of ASP.NET. Sessions just expire, nothing more, nothing less.

2nd:

Sometimes it happens that there are some users online (for example yesterday there were 120) but, going in the control panel I noticed that they ALL HAD THE SAME IP ADDRESS (all 120 users!!!).

It can be that 120 people from same net browsed your forum or one person had 120 browser windows opened or it was robot.


When I post FP:Ederon in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting.
continienzo
17 years ago
Thanks Ederon you was very kindly, I understand the read/unread topics thing... I would just ask you how actually work the system... Read/unread info are stored in session right? So when I go to the homepage I would have to check in session?

I maybe could have a go and see what I can do...

test2005
17 years ago

...It can be that 120 people from same net browsed your forum or one person had 120 browser windows opened or it was robot...

Ederon wrote:

I once created a program to test a search engine I built. It opened 50 windows, bounced through an annonomizer/ip serialiser, each with different search parameters.

Crashed my machine in 8 seconds!! Never got to 50! Never do that again! :shock:

:-P


.....the man in black fled across the desert..........and the gunslinger followed.....

Ederon
  • Ederon
  • 100% (Exalted)
  • YAF Developer
17 years ago

Thanks Ederon you was very kindly, I understand the read/unread topics thing... I would just ask you how actually work the system... Read/unread info are stored in session right? So when I go to the homepage I would have to check in session?

I maybe could have a go and see what I can do...

continienzo wrote:

It's probably as you say, but I don't have YAF code in front of me right now so I can't tell. Try looking for Mession.LastVisit (iirc) and you should find the code treating topics/forums read/unread.


When I post FP:Ederon in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting.