misdirected links

Forum News, Announcements and any issues you're having with the forum

Moderator: myglaren

User avatar
NewcastleFalcon
Posts: 24561
Joined: 25 Feb 2009, 10:40
Location:
My Cars:
x 6866

Re: misdirected links

Post by NewcastleFalcon »

xantia_v6 wrote: 01 Sep 2019, 11:43
NewcastleFalcon wrote: 01 Sep 2019, 09:52 Mike, here is a screen print from the relevant page with me hovering the cursor over the heading of the relevant post. To put a link in any of my posts to another forum post I right click and select copy link location then post the link into my post.
Going back a step, how did you navigate to the page that you posted the image of. I can see the problem in the url of that page, but need to find the code that generated that url. I think that this issue probably only affects links to posts in topics with many pages.
I usually jump into the forum at the board index page.
Then off topic chat lounge
Then page down to Pickled Egg jukebox
Then on the page number. Usually the last page number although I knew that screenshot page was a couple of pages back from that.
Clicked on the page no to scroll through and find it

Hovered over the link and took the screenshot.

Regards Neil

Normally I wouldn’t go through that routine but find it on a search on the FCF and go directly to the post
Only One AA Box left
687 Trinity, Jersey
User avatar
xantia_v6
Forum Admin Team
Posts: 9052
Joined: 09 Nov 2005, 22:03
Location: France or NewZealand
Lexia Available: Yes
My Cars: -
1997 Citroen Xantia V6 (France)
1999 Citroen XM V6 ES9 (France)
2011 Peugeot 308 CC THP 155 (NZ)
1975 Jaguar XJ-S pre-HE (NZ)
x 825

Re: misdirected links

Post by xantia_v6 »

What I want to know is exactly how (on which page and where) you generate (or navigate to) urls like: viewtopic.php?t=50203&start=2265#p617861 , it is not a reliable url format (as we have discovered), and I don't think that the forum should be generating them.
User avatar
NewcastleFalcon
Posts: 24561
Joined: 25 Feb 2009, 10:40
Location:
My Cars:
x 6866

Re: misdirected links

Post by NewcastleFalcon »

xantia_v6 wrote: 01 Sep 2019, 18:32 What I want to know is exactly how (on which page and where) you generate (or navigate to) urls like: viewtopic.php?t=50203&start=2265#p617861 , it is not a reliable url format (as we have discovered), and I don't think that the forum should be generating them.



viewtopic.php?p=616908&hilit=Burt#p616908


That link there is produced by using the “search this topic” feature and does have some extra gubbins brought with it but works just the same for me

Regards Neil

The Burt in the search term is because I know I used Burt Bacharach in the original post :!:
Last edited by NewcastleFalcon on 01 Sep 2019, 19:17, edited 1 time in total.
Only One AA Box left
687 Trinity, Jersey
User avatar
NewcastleFalcon
Posts: 24561
Joined: 25 Feb 2009, 10:40
Location:
My Cars:
x 6866

Re: misdirected links

Post by NewcastleFalcon »

So that viewtopic ref was precisely produced by

Going to the Pickled Egg jukebox topic, or any other topic

Putting a search term in the search this topic box

This pulls out a list of hits. 5 in the case of “Burt” for the Pickled Egg jukebox

Right click on the search result for the three wheels on my wagon post on the post header

Copy link location

Paste into post

Regards neil
Only One AA Box left
687 Trinity, Jersey
User avatar
mickthemaverick
Donor 2024
Posts: 13520
Joined: 11 May 2019, 17:56
Location: Hertford
My Cars: 70+ former cars (list available) including 11 Citroens, 3 Renaults
Current cars: 2004 Subaru Legacy 2.5 SEn, 1994 Mazda MX3
x 6010

Re: misdirected links

Post by mickthemaverick »

viewtopic.php?t=50468#p618179

In case it helps, to produce the link above I went to a random thread, picked a random post then right clicked on the "RE:........" title line and selected "copy link address". I then came back to this thread and pasted the address above. In the editing screen the full link is displayed but when I preview it the system deletes the https://frenchcarforum.co.uk/forum/ part and just posts the link as you see it

Any help? If I'm just complicating things just delete the post and I won't mind :)
I used to be indecisive, now I'm not so sure!
I used to ride on two wheels, but now I need all four!
User avatar
NewcastleFalcon
Posts: 24561
Joined: 25 Feb 2009, 10:40
Location:
My Cars:
x 6866

Re: misdirected links

Post by NewcastleFalcon »

If you click directly on the search result relevant post title you get

viewtopic.php?p=616908&hilit=Burt#p616908

If you press jump to topic from the search list you get this syntax

viewtopic.php?p=616908&hilit=Burt#p616908

Just the same

Regards Neil
Only One AA Box left
687 Trinity, Jersey
User avatar
xantia_v6
Forum Admin Team
Posts: 9052
Joined: 09 Nov 2005, 22:03
Location: France or NewZealand
Lexia Available: Yes
My Cars: -
1997 Citroen Xantia V6 (France)
1999 Citroen XM V6 ES9 (France)
2011 Peugeot 308 CC THP 155 (NZ)
1975 Jaguar XJ-S pre-HE (NZ)
x 825

Re: misdirected links

Post by xantia_v6 »

Thanks, I have found the problem now. I have recently changed the way that some forum links are generated (reasons unimportant here), but this is actually a bug that has always been in the forum software that may never have been noticed before.

A link of the form viewtopic.php?t=50203&start=2265#p617861 tells the forum to send the page of topics which starts with the 2265th post in topic 50203 and then the browser to scroll the page so that post 617861 is at the top of the screen.

The problem is that for reasons I partly understand, different users have the posts in a topic counted differently. For example if you deleted a post, the deleted post still gets counted for you, as the stub is visible, but for other users it is invisible and does not get counted. The number of posts per page is fixed, so occasionally, a post will slip onto the next or previous page, and the browser can't align to it, so just displays the first post on the offered page.

I should be able to come up with a simple fix, but need to think about the html coding.
User avatar
NewcastleFalcon
Posts: 24561
Joined: 25 Feb 2009, 10:40
Location:
My Cars:
x 6866

Re: misdirected links

Post by NewcastleFalcon »

xantia_v6 wrote: 01 Sep 2019, 19:23 Thanks, I have found the problem now.

I should be able to come up with a simple fix, but need to think aboum
Thanks Mike, we are fortunate that such matters are sorted out by a lot of excellent work and knowledgeable members like yourself.

We all await Mick s musical taste being inflicted on us all when he gets access to the Pickled Egg Jukebox.

Regards Neil
Only One AA Box left
687 Trinity, Jersey
User avatar
mickthemaverick
Donor 2024
Posts: 13520
Joined: 11 May 2019, 17:56
Location: Hertford
My Cars: 70+ former cars (list available) including 11 Citroens, 3 Renaults
Current cars: 2004 Subaru Legacy 2.5 SEn, 1994 Mazda MX3
x 6010

Re: misdirected links

Post by mickthemaverick »

NewcastleFalcon wrote: 01 Sep 2019, 19:38
xantia_v6 wrote: 01 Sep 2019, 19:23 Thanks, I have found the problem now.

I should be able to come up with a simple fix, but need to think aboum
Thanks Mike, we are fortunate that such matters are sorted out by a lot of excellent work and knowledgeable members like yourself.

We all await Mick s musical taste being inflicted on us all when he gets access to the Pickled Egg Jukebox.

Regards Neil
I echo Neils comments. Thanks Mike really appreciate your time and abilities.
Now I can launch Black Sabbath, Metallica and The Black Eyed Peas!!! May sound more like Mozart and The Beatles when and if I do get round to it. Did I mention I'm tone deaf? :-D :-D :-D
I used to be indecisive, now I'm not so sure!
I used to ride on two wheels, but now I need all four!
User avatar
xantia_v6
Forum Admin Team
Posts: 9052
Joined: 09 Nov 2005, 22:03
Location: France or NewZealand
Lexia Available: Yes
My Cars: -
1997 Citroen Xantia V6 (France)
1999 Citroen XM V6 ES9 (France)
2011 Peugeot 308 CC THP 155 (NZ)
1975 Jaguar XJ-S pre-HE (NZ)
x 825

Re: misdirected links

Post by xantia_v6 »

It should be fixed now, those links are now of the format: viewtopic.php?p=618186#p618186 which is an absolute url that will work for any user.

There may be other link locations with a similar issue, but I will fix them as I find them.
User avatar
mickthemaverick
Donor 2024
Posts: 13520
Joined: 11 May 2019, 17:56
Location: Hertford
My Cars: 70+ former cars (list available) including 11 Citroens, 3 Renaults
Current cars: 2004 Subaru Legacy 2.5 SEn, 1994 Mazda MX3
x 6010

Re: misdirected links

Post by mickthemaverick »

My own work
My own work
I am just testing direct upload of my own work picture and this thread is a covenient test place now!!
Thanks for the info too Steve.
I used to be indecisive, now I'm not so sure!
I used to ride on two wheels, but now I need all four!
User avatar
mickthemaverick
Donor 2024
Posts: 13520
Joined: 11 May 2019, 17:56
Location: Hertford
My Cars: 70+ former cars (list available) including 11 Citroens, 3 Renaults
Current cars: 2004 Subaru Legacy 2.5 SEn, 1994 Mazda MX3
x 6010

Re: misdirected links

Post by mickthemaverick »

Mike, I have come across another quirk with the in forum links. Neil posted in 'picture of the day' a link to the jukebox thread. When I clicked it, it took me to the thread but I was no longer logged in. On returning to the first thread my login was restored. I know because I view threads with the latest posting at the top of Page 1 and when I used the link it took me to the right post but it was presented on P154 confirming that I had lost my login default settings!!
I used to be indecisive, now I'm not so sure!
I used to ride on two wheels, but now I need all four!
User avatar
xantia_v6
Forum Admin Team
Posts: 9052
Joined: 09 Nov 2005, 22:03
Location: France or NewZealand
Lexia Available: Yes
My Cars: -
1997 Citroen Xantia V6 (France)
1999 Citroen XM V6 ES9 (France)
2011 Peugeot 308 CC THP 155 (NZ)
1975 Jaguar XJ-S pre-HE (NZ)
x 825

Re: misdirected links

Post by xantia_v6 »

I could not reproduce the problem yet.

If you still have the problem with that link, can you try reloading the page where you appear not to be logged-in to see if that fixes it?

Can you give a link to the actual post with the link that has the problem?
User avatar
mickthemaverick
Donor 2024
Posts: 13520
Joined: 11 May 2019, 17:56
Location: Hertford
My Cars: 70+ former cars (list available) including 11 Citroens, 3 Renaults
Current cars: 2004 Subaru Legacy 2.5 SEn, 1994 Mazda MX3
x 6010

Re: misdirected links

Post by mickthemaverick »

viewtopic.php?p=618682#p618682
This is the link address for Neil's post with the link to the pickled egg jukebox in it
However it is working now, so that one may have to go on the FNF hook.!! Thanks for looking Mike.
I used to be indecisive, now I'm not so sure!
I used to ride on two wheels, but now I need all four!
Post Reply