Learn Japanese with JapanesePod101.com

View topic - View active topics Page

View active topics Page

Spotted any errors or found anything that doesn't work?

View active topics Page

Postby coco » Wed 01.27.2010 8:32 pm

Test.
I might be wrong, but "View active topics" page doesn't seem to work correctly.
coco
 
Posts: 3061
Joined: Mon 05.30.2005 12:43 am
Location: 東京都
Native language: 日本語(Japanese)

Re: View active topics Page

Postby Harisenbon » Wed 01.27.2010 8:46 pm

for me it gives the same results as if I had searched for "NewPosts"

What is it supposed to show? (I've never used ActiveTopics)

Btw, welcome back coco! We've missed you!
Want to learn Japanese the right way? How about for free?
Ippatsu // Japanesetesting.com
User avatar
Harisenbon
 
Posts: 2964
Joined: Tue 06.14.2005 3:24 am
Location: Gifu, Japan
Native language: (poor) English

Re: View active topics Page

Postby coco » Wed 01.27.2010 8:52 pm

Hariさん、ありがとうございます。 :)
ログインしているときは、最新の投稿が反映されているのですが、
ログインしていないと最新のものに更新されないようです。
お手数ですが、試していただけますか?

When loggin, View active topics page shows latest posts, but without loging, the page still shows
Attachments
101028.jpg
101028.jpg (160.53 KiB) Viewed 3177 times
coco
 
Posts: 3061
Joined: Mon 05.30.2005 12:43 am
Location: 東京都
Native language: 日本語(Japanese)

Re: View active topics Page

Postby phreadom » Wed 01.27.2010 9:25 pm

SS asked me about this on the chat as well... this was my answer to her that should answer it well enough for everyone else too.

phreadom wrote:(8:16:21 PM) Justin: you have to log in to see the new posts.
(8:16:27 PM) Justin: it's because of drupal caching.
(8:16:41 PM) Justin: now that the forum is embedded in the main part of the site, it's cached for anonymous users.
(8:16:46 PM) Justin: so new posts don't show up for awhile.
(8:16:54 PM) Justin: logging in disables that caching.
(8:17:11 PM) Justin: I can't disable it for the whole site because it's too much load for the server and the site won't work for anyone then.
(8:17:28 PM) Justin: I submitted a bug report to the developers of the module that ties the forum to the main part of the site.


I'll clean that up and explain further after I get some sleep. Can't think right now. :sweatdrop: :sleepy:
猿も木から落ちる
User avatar
phreadom
Site Admin
 
Posts: 1762
Joined: Sun 01.29.2006 8:43 pm
Location: Michigan, USA
Native language: U.S. English (米語)
Gender: Male

Re: View active topics Page

Postby ss » Wed 01.27.2010 9:29 pm

ここさん、お帰りなさい。お会いできてとてもうれしいです。

Same problem here.
I wonder if it's my pc's problem, after I dropped a new post, it took a while for my post to appear on the screen. But if I logged in, I could see all the new posts.

Edit
*opps, okay Justin, thanks. Please have a good rest.
Last edited by ss on Wed 01.27.2010 9:46 pm, edited 1 time in total.
User avatar
ss
 
Posts: 1656
Joined: Fri 11.18.2005 10:07 am
Native language: English speaking family

Re: View active topics Page

Postby coco » Wed 01.27.2010 9:42 pm

phreadom wrote:SS asked me about this on the chat as well... this was my answer to her that should answer it well enough for everyone else too.
[中略]

I'll clean that up and explain further after I get some sleep. Can't think right now. :sweatdrop: :sleepy:


ご回答ありがとうございます。事情は了解いたしました。

SSさん、ありがとうございます。 :) 同じことを思ってたんですね。 :D
coco
 
Posts: 3061
Joined: Mon 05.30.2005 12:43 am
Location: 東京都
Native language: 日本語(Japanese)

Re: View active topics Page

Postby AJBryant » Thu 01.28.2010 10:34 am

Phreadom, it's all part of Drupal's funky handling of threads -- part of what I've mentioned before about clicking on "new posts" and seeing posts that are already a couple of days old *and* that I've already seen still showing up in the window.

I will always maintain that "show new threads" should *only* show threads that are new since the last time you were there -- logging in or out regardless (that's what cookies are for). All my other fora operate that way -- I really just don't get why this one doesn't. :shrug:
User avatar
AJBryant
Site Admin
 
Posts: 5313
Joined: Sun 10.09.2005 11:29 am
Location: Indiana
Native language: English
Gender: Male

Re: View active topics Page

Postby phreadom » Thu 01.28.2010 12:19 pm

AJBryant wrote:Phreadom, it's all part of Drupal's funky handling of threads -- part of what I've mentioned before about clicking on "new posts" and seeing posts that are already a couple of days old *and* that I've already seen still showing up in the window.

I will always maintain that "show new threads" should *only* show threads that are new since the last time you were there -- logging in or out regardless (that's what cookies are for). All my other fora operate that way -- I really just don't get why this one doesn't. :shrug:


Are all your other forums set not to actually log you out automatically for 48 hours? Because that's how long this one is set to.

I suppose I could cut that time down dramatically, which is probably what everyone else does... but in the past we felt it was better to not make people have to log back in all the time for convenience' sake.

Unless you wait 48 hours for your session to time out, without visiting the site in that amount of time, OR explicitly log yourself out manually, the "new posts" list will not reset. Which is why I only use it to look for the little orange page icon to show which threads I have or haven't caught up on reading since new posts were made. I suppose I should be using the "active posts" page for this function instead... but oh well.

Maybe we should revisit the issue of session length? Maybe make it an hour or something? :think:
猿も木から落ちる
User avatar
phreadom
Site Admin
 
Posts: 1762
Joined: Sun 01.29.2006 8:43 pm
Location: Michigan, USA
Native language: U.S. English (米語)
Gender: Male

Re: View active topics Page

Postby ss » Thu 01.28.2010 9:20 pm

As I understand from Justin, because it's cached on the server itself, non-logged in users see totally different pages. The site takes a snapshot of the forum every so often and only shows that snapshot to non-logged in users.

I think my only problem is when I do posting here. In the past, usually after I posted, I would re-read it again, double checked and I would just log out. After logging out, I could see my own posts right away ...... but this new setting didn't seem to operate in this way any more, even after I cleared all the cookies and reloaded, it still didn't show my newest posts (or other members' posts) until a much later time. So, I thought it was my pc giving me problems.

It's no big deal, seriously, it's just that it never occurs to me that I have to stay login at all time to view latest posts in the forum. I think I understand the problem now. Thanks for your explanation.
User avatar
ss
 
Posts: 1656
Joined: Fri 11.18.2005 10:07 am
Native language: English speaking family

Re: View active topics Page

Postby AJBryant » Thu 01.28.2010 9:32 pm

phreadom wrote:Are all your other forums set not to actually log you out automatically for 48 hours? Because that's how long this one is set to.

I suppose I could cut that time down dramatically, which is probably what everyone else does... but in the past we felt it was better to not make people have to log back in all the time for convenience' sake.



No, that's not the issue. I never log out (I set them on "keep me logged in") so I don't have to "sign in" every time I go there. The pages just *know* what's new since last time I was there. I assume its a cookie that tracks when I'm there, and when I leave the forum it says "okay, he's not here. Start the clock" -- and when I go back, whammo, new topics. :shrug: it's no big deal, but it weirds me out that this is the only place that doesn't do that.

V 8) V
User avatar
AJBryant
Site Admin
 
Posts: 5313
Joined: Sun 10.09.2005 11:29 am
Location: Indiana
Native language: English
Gender: Male

Re: View active topics Page

Postby phreadom » Thu 01.28.2010 10:42 pm

AJBryant wrote:
phreadom wrote:Are all your other forums set not to actually log you out automatically for 48 hours? Because that's how long this one is set to.

I suppose I could cut that time down dramatically, which is probably what everyone else does... but in the past we felt it was better to not make people have to log back in all the time for convenience' sake.



No, that's not the issue. I never log out (I set them on "keep me logged in") so I don't have to "sign in" every time I go there. The pages just *know* what's new since last time I was there. I assume its a cookie that tracks when I'm there, and when I leave the forum it says "okay, he's not here. Start the clock" -- and when I go back, whammo, new topics. :shrug: it's no big deal, but it weirds me out that this is the only place that doesn't do that.

V 8) V


I would guess that there is a fundamental difference between "keep me logged in" and the actual sessions.

"Keep me logged in" I would think just sets a cookie that automatically logs you back in when you return, regardless of how long you've been away... so it doesn't matter when the session times out. So on these other sites you'll never notice because it will just automatically have you logged in when you came back... so to you it looks like the "new posts" list gets updated because on the server side your session ended and a new one is created when you return and are "logged in" again automatically with your "keep me logged in" cookie.

Here however that session doesn't time out because you come back before the 48 hour expiry time... thus the system never ends your session (which would thus reset your new posts count since your last session) because that session never ended.

For people who don't choose the "keep me logged in" option, this is more readily apparent because after being away for awhile (more than 48 hours) they'll be forced to login again... thus making it clear their session timed out.

Just as a test I'm going to set the session to 1 hour and we'll see if you still have the same issue. ;)

Now if you're gone for more than 1 hour, even though you still stay logged in, your "new posts" list should only show the posts since your "Last Visited: 28 Jan 2010 08:34 pm" time stored for your account.

Let's try it out and see what happens. :)
猿も木から落ちる
User avatar
phreadom
Site Admin
 
Posts: 1762
Joined: Sun 01.29.2006 8:43 pm
Location: Michigan, USA
Native language: U.S. English (米語)
Gender: Male

Re: View active topics Page

Postby phreadom » Fri 01.29.2010 10:21 am

Well that's interesting... I come back this morning and I'm logged out of JUST the forum... but not the main part of the site... that was confusing for a moment...

So I log back into the forum and sure enough my "new posts" list is freshly trimmed.

Not sure I really like that at all though. :( I've checked the "keep me logged in" box... which I thought I had checked already... we'll see what happens now. :sweatdrop:
猿も木から落ちる
User avatar
phreadom
Site Admin
 
Posts: 1762
Joined: Sun 01.29.2006 8:43 pm
Location: Michigan, USA
Native language: U.S. English (米語)
Gender: Male

Re: View active topics Page

Postby AJBryant » Fri 01.29.2010 11:38 am

I had the same experience. Had to log back in and find the forum (it was all new stuff, though).
User avatar
AJBryant
Site Admin
 
Posts: 5313
Joined: Sun 10.09.2005 11:29 am
Location: Indiana
Native language: English
Gender: Male

Re: View active topics Page

Postby tōkai devotee » Wed 02.03.2010 12:56 am

Hey phreadom-san :D ,
Have you changed it back 48 hours? Coz I have to log back in each time, even though I checked the 'keep me logged in' box, and it's getting to be a bit annoying!!
User avatar
tōkai devotee
 
Posts: 1113
Joined: Thu 08.02.2007 6:15 am
Native language: Australian!

Re: View active topics Page

Postby phreadom » Wed 02.03.2010 2:11 am

tokai devotee wrote:Hey phreadom-san :D ,
Have you changed it back 48 hours? Coz I have to log back in each time, even though I checked the 'keep me logged in' box, and it's getting to be a bit annoying!!


Yeah, days ago.... right after that conversation. :(

I don't know why it would still be giving you trouble... maybe log out, clear your cookie for TJP, then log back in and set that box again? :think:
猿も木から落ちる
User avatar
phreadom
Site Admin
 
Posts: 1762
Joined: Sun 01.29.2006 8:43 pm
Location: Michigan, USA
Native language: U.S. English (米語)
Gender: Male

Next

Return to Problems

Who is online

Users browsing this forum: No registered users and 4 guests