Jump to content

Equivalent of act=findpost&pid=X


TSP

Recommended Posts

What is the equivalent of this now? It seems I can't get ?do=findComment&comment=X to work. 

In fact a link like topic/416166-34-features-missing-in-40/?do=findComment&comment=2557393 doesn't seem to work in the instance where a post has been moved to another topic either, which I thought it was meant to do. 

Is this a bug?

Link to comment
Share on other sites

What is the equivalent of this now? It seems I can't get ?do=findComment&comment=X to work. 

In fact a link like topic/416166-34-features-missing-in-40/?do=findComment&comment=2557393 doesn't seem to work in the instance where a post has been moved to another topic either, which I thought it was meant to do. 

Is this a bug?

http://community.invisionpower.com/topic/416386-equivalent-of-actfindpostpidx/?do=findComment&comment=2558513

you mean this little chunk? (it links to OP) ; i guess i am confused by your question. it seems you already have the new goto?

Link to comment
Share on other sites

http://community.invisionpower.com/topic/416386-equivalent-of-actfindpostpidx/?do=findComment&comment=2558513

you mean this little chunk? (it links to OP) ; i guess i am confused by your question. it seems you already have the new goto?

In my intended use case I don't know the topic id. I also know of plenty of posts with the old act=findpost&pid= in it that I would like to ensure is redirected. 

Link to comment
Share on other sites

http://community.invisionpower.com/topic/416386-equivalent-of-actfindpostpidx/?do=findComment&comment=2558513

you mean this little chunk? (it links to OP) ; i guess i am confused by your question. it seems you already have the new goto?

If you move the post to anonther thread (or split the post to a new thread) the URL does not work anymore. Thats sad because it is the world wide share URL.

Link to comment
Share on other sites

  • 2 weeks later...

There is none unless you also know the topic ID then you can do:

https://community.invisionpower.com/topic/416386-ANYTHINGHERE/?do=findComment&comment=2562614 

 

Maybe the more important question. Why do you need the old format to work? Did something not get converted correctly in your upgrade? I had to write scripts to fix some of my links and rewrite them into the format above. But now that's completed I don't "need" the old format.

 

Link to comment
Share on other sites

There is none unless you also know the topic ID then you can do:

https://community.invisionpower.com/topic/416386-ANYTHINGHERE/?do=findComment&comment=2562614 

 

Maybe the more important question. Why do you need the old format to work? Did something not get converted correctly in your upgrade? I had to write scripts to fix some of my links and rewrite them into the format above. But now that's completed I don't "need" the old format.

 

And what do you do if the parent thread of the post change? Without the thread id the post link would be working forever. With the thread id it is not really a shareable permlink... :(

Link to comment
Share on other sites

What is the equivalent of this now? It seems I can't get ?do=findComment&comment=X to work. 

In fact a link like topic/416166-34-features-missing-in-40/?do=findComment&comment=2557393 doesn't seem to work in the instance where a post has been moved to another topic either, which I thought it was meant to do. 

Is this a bug?

Just realised that the topic ID is also not necessary here. See: https://community.invisionpower.com/topic/000-something/?do=findComment&comment=2565193

You will be redirected to the post ID. So you don't have to worry about topic ID or title, which makes things weird.

Link to comment
Share on other sites

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...