Pirates@Home logo

Pirates@Home

Berkeley Open Infrastructure
BOINC!
for Network Computing
Home Help Status Forums Glossary Account

minor new feature

log in

Advanced search

Message boards : Wish list : minor new feature

Author Message
Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,065.6
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 3056 - Posted: 1 Mar 2006 | 1:49:26 UTC

Okay, to make up for taking away the option of sorting a thread from newest to oldest I've added something else. If you check the forum preference to jump to the first unread post (which requires that you have JavaScript turned on, BTW) and if you have the thread sorted from oldest to newest (the default) and if there is no new post (you've seen it all before) then.... it jumps you to the last post in the thread. I've been wanting this whenever I jump back into a long thread and I had a little time to code it this evening.

____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Profile Darren
Volunteer tester
Avatar
Send message
Joined: 21 Jul 04
United States
Credit: 188.9
RAC: 0.00
Joined: Jul 21, 2004
Verified: NEVER
Dubloons: 1
Punishment: Cat o' Nine Tails
Message 3058 - Posted: 1 Mar 2006 | 3:31:11 UTC - in response to Message 3056.

Okay, to make up for taking away the option of sorting a thread from newest to oldest ...


I guess this is a tad bit off-topic and quite a bit late, but my sorting has never changed from my original setting of newest to oldest. I thought I had posted this before, but looking back I see I never did. I can manually resort by clicking the button at the top of the page, but any time I open a thread, the posts still load newest first.

It's definately account related and not something on my local system like an old cookie or something, because it does it on any system I use, with any OS and any browser (even lynx text only browser sorts them newest at the top for me).


____________

I beg to dream and differ from the hollow lies

Profile MJKelleher
Volunteer tester
Avatar
Send message
Joined: 17 Jan 06
United States
Mensa
Credit: 3,155.2
RAC: 0.00
Joined: Jan 17, 2006
Verified: Jan 2, 2011
Dubloons: 3
Pieces of Eight: 2
Message 3060 - Posted: 1 Mar 2006 | 4:45:48 UTC

Very nice! Particularly on longer threads where I've read all the posts, but wait until later to come back and answer.

Thankee, Cap'n!

MJ
____________
Hail, Poetry, thou heav'n-born maid!
Thou gildest e'en the pirate's trade.
Hail, flowing fount of sentiment!
Hail, all hail, divine emollient!

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,065.6
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 3063 - Posted: 1 Mar 2006 | 12:58:23 UTC - in response to Message 3058.

I guess this is a tad bit off-topic and quite a bit late, but my sorting has never changed from my original setting of newest to oldest. I thought I had posted this before, but looking back I see I never did. I can manually resort by clicking the button at the top of the page, but any time I open a thread, the posts still load newest first.


This is not off topic at all, it's directly related to the changes we're making to the forums, and very interesting. Thanks.

It's definately account related and not something on my local system like an old cookie or something, because it does it on any system I use, with any OS and any browser (even lynx text only browser sorts them newest at the top for me).


BOINC does save your sorting preferences in the database, if you are a logged in user. (If you are not logged in, it uses a cookie to remember your choice.) In the routine which puts these into the database I found
// TODO: Check each value of the array to make sure it's one of the valid prefs

This means that an old value, no longer in the list of allowed values, can still get through. But that's actually not relevant here, because it's not clear that the routine to save your prefs to the database is ever getting called.

You had your sorting preferences set long ago, and even if you change the sorting during your session they are not put back into the database. It seems they are only written back if the preference gets set via the GET method (having 'sort=...' in the URL), and that in turn is now only invoked now (I think) if you go to the next page of a long page of threads. My guess is this just sort of evolved this way, not quite intentionally, perhaps when the cookie method of remembering was added.

I'll take a look and see if it is easy to have it update the database with your new preferences whenever you change them. Thanks again for noting this.

____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,065.6
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 3066 - Posted: 1 Mar 2006 | 13:15:17 UTC - in response to Message 3063.

I'll take a look and see if it is easy to have it update the database with your new preferences whenever you change them. Thanks again for noting this.


I think it should now do this, at least at the thread level.

____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Profile Darren
Volunteer tester
Avatar
Send message
Joined: 21 Jul 04
United States
Credit: 188.9
RAC: 0.00
Joined: Jul 21, 2004
Verified: NEVER
Dubloons: 1
Punishment: Cat o' Nine Tails
Message 3073 - Posted: 1 Mar 2006 | 17:07:32 UTC - in response to Message 3066.
Last modified: 1 Mar 2006 | 17:11:51 UTC

I think it should now do this, at least at the thread level.


Yes, it does. I went into my message board preferences in my account settings and clicked update (didn't even actually make any changes, just clicked the update button), and when I came back to the boards the posts are now sorted oldest first and jumped to the end like you mention at the start of this thread.

I then clicked the button at the top of the page to change the sort order to "highest rated first" then checked in my account settings and the change shows there as well.


____________

I beg to dream and differ from the hollow lies

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,065.6
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 5575 - Posted: 27 Apr 2007 | 17:37:49 UTC - in response to Message 3056.

Wormholio wrote:
Okay, to make up for taking away the option of sorting a thread from newest to oldest I've added something else. If you check the forum preference to jump to the first unread post (which requires that you have JavaScript turned on, BTW) and if you have the thread sorted from oldest to newest (the default) and if there is no new post (you've seen it all before) then.... it jumps you to the last post in the thread. I've been wanting this whenever I jump back into a long thread and I had a little time to code it this evening.


This is to note for the log that this feature fails to work as one would want when the URL has a named target in it which is intended to take you to a particular posting (by number, eg. #4815). You end up at the end of the thread, which is not what is expected in this case. Hopefully this is an easy case to account for.

____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Profile Pepo
Chief Petty Officer
Volunteer tester
Avatar
Send message
Joined: 13 Sep 04
Slovakia
TeamVision42
Credit: 928.1
RAC: 0.00
Joined: Sep 13, 2004
Verified: Aug 4, 2009
Dubloons: 3
Pieces of Eight: 5
Punishment: Cat o' Nine Tails
Message 5600 - Posted: 30 Apr 2007 | 13:09:27 UTC - in response to Message 5575.

Wormholio wrote:
Wormholio wrote:
then.... it jumps you to the last post in the thread.

This is to note for the log that this feature fails to work as one would want when the URL has a named target in it which is intended to take you to a particular posting (by number, eg. #4815). You end up at the end of the thread, which is not what is expected in this case. Hopefully this is an easy case to account for.

Yes, known bug. In such case (with IE7) I have to press the "go back 1 page" button (IE jumps to beginning of the page, but in the URL field the requested URL appears (instead of the last post's URL)) and then "enter" the original URL again (e.g. click to the URL field and press Enter key).

With old Netscape it is not possible to "go back 1 page" button to go to the beginning of the page. There are two possibilities:
1) I've opened the link in new tab - although browser jumped to the end of page, the requested target's URL was left in the URL area and it is enough to click there and press Enter - browser jumps to the message.
2) I've opened the link in new window - browser jumped to the end of page and the URL area already contains the last message's URL and there is no previous page in the window to "go back 1 page" to. I have to go back to the previous window, copy the URL, again to new window, enter the URL into the URL area and press enter - browser jumps to desired message.

The clue - if I enter any target URL (into the URL field) from the same page as is displayed, I will then jump there. If the entered URL belongs to some other page, the Boinc-(pirates-enhanced-)forum logic will jump at the end of (the other) page.

Lengthy explanation, isn't it? ;-)

I've never understood, why IE maintains opening the page and jumping to first unread post as two wisited URLs (and pages), whereas Mozillas keep only the latter one.
____________
Peter .-)

Post to thread

Message boards : Wish list : minor new feature

Home Help Status Forums Glossary Account


Return to Pirates@Home main page


Copyright © 2017 Capt. Jack Sparrow