RolePlay onLine RPoL Logo

, welcome to RPoL Development

03:41, 27th April 2024 (GMT+0)

Linking to a Specific Post.

Posted by LonePaladin
LonePaladin
member, 414 posts
Creator of HeroForge
Wed 5 Mar 2014
at 05:43
  • msg #1

Linking to a Specific Post

In one of the games I'm running, I'm creating a reference thread that has a lot of information crammed into it. After the intro, each post has everything about a specific topic; the next post after that has all the details about the next topic, and so on.

I would like to change the initial post so it works sort of like a hyperlinked table of contents. Each subject is listed, and I would like to make each of these a link to that specific post in that thread.

Now, I know I can create a link to a thread by posting something like:
http://rpol.net/display.cgi?gi=XXXXX&ti=X
where 'gi' is the game's ID number, and 'ti' is the thread number.

Is there something I can add to the end of this that will make the link jump to a specific post within that thread?
LoreGuard
member, 509 posts
Wed 5 Mar 2014
at 05:51
  • msg #2

Re: Linking to a Specific Post

You can add #PostNumber to the end of the URL... but you have to keep in mind if you get over one page full of posts in the reference thread, that the page it is on may change, and that will throw your link off.

An example follows:
link to a message in this forum
LonePaladin
member, 415 posts
Creator of HeroForge
Wed 5 Mar 2014
at 05:55
  • msg #3

Re: Linking to a Specific Post

Sorry?

Let's say I follow your example and make a link with this:
http://rpol.net/display.cgi?gi=XXXXX&ti=X#24

Wouldn't that lead to post #24, regardless of which page it's on?
bigbadron
moderator, 14209 posts
He's big, he's bad,
but mostly he's Ron.
Wed 5 Mar 2014
at 07:23

Re: Linking to a Specific Post

No, it wouldn't.  See this thread for why: link to a message in another game

In order to make it work in a thread with multiple pages, you need to use the "All" link at the top of the thread to display the whole thread, then make a link to that, adding the message number to the end.

So more like this:

http://rpol.net/display.cgi?gi=XXX&ti=166&date=1393248923&msgpage=&show=all#24
LonePaladin
member, 416 posts
Creator of HeroForge
Wed 5 Mar 2014
at 07:37
  • msg #5

Re: Linking to a Specific Post

Okay, now I get it.

What I'm looking for is this, then:
http://rpol.net/display.cgi?gi=XXXXX&ti=X&show=all#24

Thanks!
CamelCase
member, 5 posts
Fri 7 Mar 2014
at 17:54
  • msg #6

Re: Linking to a Specific Post

Wow, I'd wondered how to do this early on before I started looking in these threads. This is really helpful (and should be added to the help page).
Lancebreaker
member, 90 posts
Fri 7 Mar 2014
at 17:58
  • msg #7

Re: Linking to a Specific Post

In reply to CamelCase (msg # 6):

+1
Brygun
member, 1938 posts
RPG since 1982
Author, Developer
Sun 9 Mar 2014
at 03:35
  • msg #8

Re: Linking to a Specific Post

hey didn't know had to "&show=all" before the #
Sign In