09-10-2012, 11:31 PM | #1 |
Wizard
Posts: 1,065
Karma: 858115
Join Date: Jan 2011
Device: Kobo Clara, Kindle Paperwhite 10
|
URL to specific post using thread id and post# rather than post id?
Hi, I hope someone can answer this linking question. From a new post, I want to link to a post within an older thread, and know the thread id and that the specific post is #34 within the thread. But I don't know the post id because the thread is locked. What is the specific syntax for appending the #34?
(I know I've seen something like this somewhere before and can't track it down. The variations I've tried haven't worked.) Example, want link to post #34 within this thread: Code:
https://www.mobileread.com/forums/showthread.php?t=145808 |
09-11-2012, 12:19 AM | #2 |
Guru
Posts: 932
Karma: 15752887
Join Date: Mar 2011
Location: Norway
Device: Ipad, kindle paperwhite
|
The URL is https://www.mobileread.com/forums/sho...1&postcount=34
Just click the little post count number (#34) in the upper right corner In the URL you can find the post number, but this linking does not use the thread number. Edit:Eventually, if you want to use the thread number and know the page of the thread the post is on, you could use https://www.mobileread.com/forums/sho...essage_1697211 Note that the message count is the post number from the first URL, but that the linking would break if someone changes the behavior of mobileread to show more/less posts per page. The only reliable way is to use the first method Last edited by Iznogood; 09-11-2012 at 12:33 AM. |
09-11-2012, 12:46 AM | #3 | |
Wizard
Posts: 1,065
Karma: 858115
Join Date: Jan 2011
Device: Kobo Clara, Kindle Paperwhite 10
|
Quote:
Code:
https://www.mobileread.com/forums/showpost.php?p=1697211&postcount=34 |
|
09-11-2012, 01:09 AM | #4 |
Wizard
Posts: 1,065
Karma: 858115
Join Date: Jan 2011
Device: Kobo Clara, Kindle Paperwhite 10
|
And now it's unlocked too, thanks to dreams. And thank you again, norway.
Last edited by unboggling; 09-11-2012 at 03:16 AM. |
09-11-2012, 04:50 AM | #5 |
Storm Surge'n
Posts: 5,779
Karma: 8213195
Join Date: Nov 2008
Location: Lobster Capital
Device: S0ny PRS-300/350/505/700/T1
|
Once you know the internal post number you can also link directly to that post, within MobileRead, using the [Post] bb code.
Example: Have you seen [post=1697211]this[/post]? Have you seen this? |
09-11-2012, 04:56 AM | #6 | |
Linux User
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
Quote:
So you have to link to posts, not thread pages, if you want the links to work. Also consider that threads may be split or merged, posts moved, and only links that contain the post id itself will keep working then. |
|
09-11-2012, 08:25 AM | #7 | |
Guru
Posts: 932
Karma: 15752887
Join Date: Mar 2011
Location: Norway
Device: Ipad, kindle paperwhite
|
Quote:
So there is no way to link to a specific thread and post at the same time then? E.g., if I wanted to send a link to a colleague I would have to link to the thread itself, or to just one specific post? I ask because the link Code:
https://www.mobileread.com/forums/showthread.php?t=145808&page=3#post_message_1697211 |
|
09-11-2012, 08:58 AM | #8 |
Linux User
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
I think the solution posted by Wetdogeared above my earlier post seems to work fine.
https://www.mobileread.com/forums/sho...30#post2218330 I agree that those single post links are bad; a lot of posts are quite useless if shown without context. Maybe this forum could be changed to use the above post link style for the number links, so you can easily right click copy link paste elsewhere etc... |
09-11-2012, 08:58 AM | #9 |
frumious Bandersnatch
Posts: 7,531
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Click on the number at the top right corner of the post. Replace "showpost" with "showthread" in the address:
https://www.mobileread.com/forums/sho...1&postcount=34 |
09-11-2012, 09:00 AM | #10 | |
Linux User
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
Quote:
You really need the ?postid#postid style. ?postid to open the correct thread at the correct page that contains the post, #postid to make the browser actually scroll down to the post |
|
09-11-2012, 09:04 AM | #11 | |
Guru
Posts: 932
Karma: 15752887
Join Date: Mar 2011
Location: Norway
Device: Ipad, kindle paperwhite
|
Quote:
|
|
09-11-2012, 03:32 PM | #12 | |
Wizard
Posts: 1,065
Karma: 858115
Join Date: Jan 2011
Device: Kobo Clara, Kindle Paperwhite 10
|
Quote:
Code:
https://www.mobileread.com/forums/showthread.php?p=1697211#post1697211 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hybrid Wiki-Post: The way 1st post in each thread should be! | thatworkshop | Feedback | 12 | 07-07-2012 06:37 PM |
Linking to a specific post within a thread. | Stinger | Feedback | 20 | 05-31-2010 08:11 AM |