how to make an anchor link to some post below in the same thread?

humanwoman

Old Alpha
Joined
Nov 13, 2008
Posts
824
.. in this bloody editor?
I need something like
HTML:
<a href="#5"...>
where 5 is the number of the post

to scroll the page down or open the post on a different page, but NOT to open it in a new window
 
Last edited:
You can copy the link from where it says permalink on each post, up at the top left. I'm not sure that's really what you want to do though.
 
You can copy the link from where it says permalink on each post, up at the top left. I'm not sure that's really what you want to do though.


Well, no.

That creates exactly the prob, OP wants to avoid: opening a new register card resp. new window. :dunno:

Has something to do with the fact that pseudo code (BB Code) is used in the editor. The [URL] tag will be automatically parsed and replaced by HTML code using a <target=_blank> tag.

You’ll have to find a work-around... Not sure if that’s possible as long as HTML code is not directly enabled for forum editing.

EDIT: Prolly no-go. Anyway, you shouldn’t be able to manipulate forum coding, for safety reasons. What OP wants, isn’t provided as an option. Just have to live with it...
 
Last edited:
Well, no.

That creates exactly the prob, OP wants to avoid: opening a new register card resp. new window. :dunno:

Has something to do with the fact that pseudo code (BB Code) is used in the editor. The [URL] tag will be automatically parsed and replaced by HTML code using a <target=_blank> tag.

You’ll have to find a work-around... Not sure if that’s possible as long as HTML code is not directly enabled for forum editing.

EDIT: Prolly no-go. Anyway, you shouldn’t be able to manipulate forum coding, for safety reasons. What OP wants, isn’t provided as an option. Just have to live with it...

yes, that's exactly the prob, having all links open with target=_blank is not convenient at all
 
.. in this bloody editor?
I need something like
HTML:
<a href="#5"...>
where 5 is the number of the post

to scroll the page down or open the post on a different page, but NOT to open it in a new window

Quite easy. Copy the "permalink" from the post you want to link to, pick the post-number and make it a post-tag:

E.g.:

your post has the permalink "https://www.planetcalypsoforum.com/forums/general-discussion/195326-how-make-anchor-link-some-post-below-same-thread.html#post2529260"

"post2529260" points to the post number 2529260. Therefore, type

[URL="http://www.planetcalypsoforum.com/forum/index.php?posts/2529260/"]my super link[/URL]

which looks like this: my super link

or

[URL]http://www.planetcalypsoforum.com/forum/index.php?posts/2529260/[/URL]

which looks like this: http://www.planetcalypsoforum.com/forum/index.php?posts/2529260/

Is it it accessible from the reply-editor? No. Why not? Don't ask me.

Under no circumstances use links that include the page number as that one is different for users (i.e. my page #2 is probably not your page #2 if we have a different number of posts per page).

BTW, it's pretty much the same for threads. From the example above

[URL="http://www.planetcalypsoforum.com/forum/index.php?threads/195326/"]my super thread[/URL]

and

[URL]http://www.planetcalypsoforum.com/forum/index.php?threads/195326/[/URL]
 
Endermigne's completely right.

If you need to see an example, check my Tier-up Recipes thread. I'm using that {post} link in the directory, just like you are asking about. Just hit the "quote" button for the 1st post, and you can see the code in the reply. (Just don't accidentally reply ;))
 
Endermigne's completely right.

awesome :) +rep

Well, thanks :)

However, I think I forgot something as some may wonder how I managed to make my post appear as it does. In order to make the forum-code show up rather than have it interpreted, it's called noparse:

[noparse][b]that would be bold[/b][/noparse]

Whow! How did I make that appear as it does???

Well, put them there twice:

[noparse][noparse][b]that would be bold[/b][/noparse][/noparse]

And how did I make that appear as it does???

:rolleyes:

Note:
There's actually a thread here on EF about the vBulletin code. However, I only found it once waaaay back in time...

EDIT: Hah, found it!!! It's at the very bottom of the page with the reply-editor in the "Posting Rules"-box where it says "BB code". The link is

https://www.planetcalypsoforum.com/forums/misc.php?do=bbcode

Lots of interesting stuff there :cool:
 
Back
Top