"Members" page bug

Discuss and help improve OpenMW's infrastructure: Website, Forums, issue tracker and everything having to do with keeping the lights on with OpenMW.
Post Reply
User avatar
Greendogo
Posts: 1467
Joined: 26 Aug 2011, 02:04

"Members" page bug

Post by Greendogo »

The "Members" page on the forum has a bug affecting the ability to sort the forum member list by letter.
This is because the query portion of the links begin with an ampersand instead of a question mark.
i.e.
For sorting by the letter "p", the link:

Code: Select all

https://forum.openmw.org/memberlist.php&first_char=p&first_char=p#memberlist
should be

Code: Select all

https://forum.openmw.org/memberlist.php?first_char=p&first_char=p#memberlist
User avatar
lgromanowski
Site Admin
Posts: 1193
Joined: 05 Aug 2011, 22:21
Location: Wroclaw, Poland
Contact:

Re: "Members" page bug

Post by lgromanowski »

Greendogo wrote:The "Members" page on the forum has a bug affecting the ability to sort the forum member list by letter.
This is because the query portion of the links begin with an ampersand instead of a question mark.
i.e.
For sorting by the letter "p", the link:

Code: Select all

https://forum.openmw.org/memberlist.php&first_char=p&first_char=p#memberlist
should be

Code: Select all

https://forum.openmw.org/memberlist.php?first_char=p&first_char=p#memberlist
Hmm, for me it works, but probably it could be related to forum theme - I will check this tomorrow.
Thanks for information :)
User avatar
Greendogo
Posts: 1467
Joined: 26 Aug 2011, 02:04

Re: "Members" page bug

Post by Greendogo »

I'm still getting a 404 with all of the alphanumeric links on the Members page.

When I go to the members page, the URL is:

Code: Select all

https://forum.openmw.org/memberlist.php
When I click on any alphanumberic link (or the "all" link) I will get a 404 with a URL like this (here, I click on the "A" link):

Code: Select all

https://forum.openmw.org/memberlist.php&first_char=a#memberlist
If I edit this link and replace the first & with a ? the link works:

Code: Select all

https://forum.openmw.org/memberlist.php?first_char=a#memberlist
Next, if I click on another link, say, the "B" link, I get this URL:

Code: Select all

https://forum.openmw.org/memberlist.php?first_char=a&first_char=b#memberlist
Which displays the correct B members list.

I think a solution would be to add ?first_char= to the end of the "Members" url:

Code: Select all

https://forum.openmw.org/memberlist.php
So it would be:

Code: Select all

https://forum.openmw.org/memberlist.php?first_char=
This solves the problem for me, though you might be able to think of a better solution.

By the way, I get these problems using Chrome, Firefox and Internet Explorer.
User avatar
lgromanowski
Site Admin
Posts: 1193
Joined: 05 Aug 2011, 22:21
Location: Wroclaw, Poland
Contact:

Re: "Members" page bug

Post by lgromanowski »

Thanks for reporting, I'll see what I can do with it.
User avatar
Greendogo
Posts: 1467
Joined: 26 Aug 2011, 02:04

Re: "Members" page bug

Post by Greendogo »

Just wanted to remind you that this is still broken.
User avatar
Okulo
Posts: 672
Joined: 05 Feb 2012, 16:11

Re: "Members" page bug

Post by Okulo »

Looks like a simple enough fix, right? Just add

Code: Select all

id="list_top"
to whatever element you wish the page to jump to and replace all of those

Code: Select all

./memberlist.php&first_char=x#memberlist
with

Code: Select all

./memberlist.php?first_char=x#list_top
and it should work... Basically, just fix the id tag and replace the ampersand with a question mark... Or is there more to this problem?
User avatar
lgromanowski
Site Admin
Posts: 1193
Joined: 05 Aug 2011, 22:21
Location: Wroclaw, Poland
Contact:

Re: "Members" page bug

Post by lgromanowski »

Hi,
I'm sorry that it took so long, it should work now.
User avatar
Greendogo
Posts: 1467
Joined: 26 Aug 2011, 02:04

Re: "Members" page bug

Post by Greendogo »

You fixed the error page coming up. However, it will now only stay on the page of the first letter you choose coming from the "Members" page.

For example, after clicking on "A" from "Members", then "B" from the "A" page, and so on down the alphabet to "H", it will still display the page for "A". This is the URL that is produced:

Code: Select all

https://forum.openmw.org/memberlist.php?first_char=a%3Ffirst_char%3Db%3Ffirst_char%3Dc%3Ffirst_char%3Dd%3Ffirst_char%3De%3Ffirst_char%3Df%3Ffirst_char%3Dg?first_char=h#memberlist
As you can see, "A" is first, while "H" is last. The URL thus points to the "A" page because it is first.
Post Reply