Wedge

Public area => Bug reports => The Pub => Archived fixes => Topic started by: MultiformeIngegno on March 23rd, 2012, 01:23 PM

Title: Thoughts edits now shown in the sidebar
Post by: MultiformeIngegno on March 23rd, 2012, 01:23 PM
So, I posted a thought:
Finally "Unread posts/replies" seems works in Wedge! It always gave me problems in SMF (topics marked as unread whe they was read, unread topics disappeared & so on..) :)

As you can see, it has some errors in it, so I edited it:
Finally "Unread posts/replies" seems to work in Wedge! It always gave me problems in SMF (topics marked as unread when they was read, unread topics disappeared & so on..) :)

The edited thought is displayed in the "Thoughts area", but the thought in the sidebar is still the 1st one (not edited).
Title: Re: Thoughts edits now shown in the sidebar
Post by: Nao on March 23rd, 2012, 01:33 PM
I'll look into this. Thoughts on the right are, for performance reasons, cached in the user's data field, which is accessed through updateMyData, so it should be easy to spot.

PS: please don't post screenshots in public where links to Friend topics are in clear view ;)
Title: Re: Thoughts edits now shown in the sidebar
Post by: MultiformeIngegno on March 23rd, 2012, 01:43 PM
Quote from Nao on March 23rd, 2012, 01:33 PM
PS: please don't post screenshots in public where links to Friend topics are in clear view ;)
Ops.. didn't notice.. :(
Title: Re: Thoughts edits now shown in the sidebar
Post by: MultiformeIngegno on March 27th, 2012, 03:09 PM
I still have the old cached text displayed in both the "Thought" box and the user box in posts...
Title: Re: Thoughts edits now shown in the sidebar
Post by: Nao on March 27th, 2012, 03:26 PM
Busy irl and on the reverse post order thing ;)
Title: Re: Thoughts edits now shown in the sidebar
Post by: MultiformeIngegno on March 27th, 2012, 04:09 PM
Quote from Nao on March 27th, 2012, 03:26 PM
Busy irl and on the reverse post order thing ;)
Absolutely, I didn't want you to hurry up! I posted because I thought that the cache had an expiration, instead I think it's "permanent"..?
Title: Re: Thoughts edits now shown in the sidebar
Post by: Nao on March 27th, 2012, 05:53 PM
Yes, it is. It's stored in a member field in the database. It's not an actual file cache or anything. Since it's retrieved on every single page you visit, it's way faster to store it in your member row, which is retrieved as well.