Post tag

Obsolete, fixed, and incorrect bug requests and problems. Browse here before posting a new topic, to avoid duplicates.
Locked
User avatar
Zachrulez
Zachrulez
Jack of All Trades
User avatar
User avatar
Zachrulez
Jack of All Trades
Jack of All Trades
Posts: 8550
Joined: December 5, 2008
Location: Minnesota

Post tag

Post Post #0 (ISO) » Thu Jun 12, 2014 3:26 am

Post by Zachrulez »

I'm also asking about this in an MD thread and it seems like a really dumb question but I'm really struggling with it.

How do you edit in a post tag that actually links to the post you want to link to? Everytime I do it, it changes the post number to the opening post.
User avatar
chamber
chamber
Cases are scummy
User avatar
User avatar
chamber
Cases are scummy
Cases are scummy
Posts: 10703
Joined: November 20, 2005

Post Post #1 (ISO) » Thu Jun 12, 2014 3:54 am

Post by chamber »

In post 119, chamber wrote:You can make links to specific posts using the

Code: Select all

[post]
tag.





Code: Select all

[post=117][/post]
[post=117]This is an example[/post]
[post]117[/post]
Taking a break from the site.
User avatar
Zachrulez
Zachrulez
Jack of All Trades
User avatar
User avatar
Zachrulez
Jack of All Trades
Jack of All Trades
Posts: 8550
Joined: December 5, 2008
Location: Minnesota

Post Post #2 (ISO) » Thu Jun 12, 2014 4:15 am

Post by Zachrulez »

Yeah, I actually got it to work.

It's actually very picky with the formatting. You apparently can't clump it together with other tags on the same line for some reason.
User avatar
chamber
chamber
Cases are scummy
User avatar
User avatar
chamber
Cases are scummy
Cases are scummy
Posts: 10703
Joined: November 20, 2005

Post Post #3 (ISO) » Thu Jun 12, 2014 5:29 am

Post by chamber »

In post 2, Zachrulez wrote:Yeah, I actually got it to work.

It's actually very picky with the formatting. You apparently can't clump it together with other tags on the same line for some reason.
As the person that added the tag, that seems unlikely to me. If you show me an example of whats failing I'll figure out why.
Taking a break from the site.
User avatar
Zachrulez
Zachrulez
Jack of All Trades
User avatar
User avatar
Zachrulez
Jack of All Trades
Jack of All Trades
Posts: 8550
Joined: December 5, 2008
Location: Minnesota

Post Post #4 (ISO) » Fri Jun 13, 2014 5:38 am

Post by Zachrulez »

In post 3, chamber wrote:
In post 2, Zachrulez wrote:Yeah, I actually got it to work.

It's actually very picky with the formatting. You apparently can't clump it together with other tags on the same line for some reason.
As the person that added the tag, that seems unlikely to me. If you show me an example of whats failing I'll figure out why.
Now that I fixed it, I'm not sure how tricky it will be to go through the process of reproducing it. I'll try to recreate what I did.

Edit: Got it. Made a test post in reply with the relevant code. Also made a 2nd reply with a 2nd issue I didn't previously mention. (What I'm doing is copying the link address from post 4, and then erasing it down to the post ID.)
Last edited by Zachrulez on Fri Jun 13, 2014 5:55 am, edited 3 times in total.
User avatar
Zachrulez
Zachrulez
Jack of All Trades
User avatar
User avatar
Zachrulez
Jack of All Trades
Jack of All Trades
Posts: 8550
Joined: December 5, 2008
Location: Minnesota

Post Post #5 (ISO) » Fri Jun 13, 2014 5:48 am

Post by Zachrulez »

Test post:

I think I got the problem to reproduce with the code in it's current form. I try to edit the post ID of my previous post in this thread, (Post #4) and it changes the ID to that of post 0 instead.

Last edited by Zachrulez on Fri Jun 13, 2014 5:51 am, edited 2 times in total.
User avatar
Zachrulez
Zachrulez
Jack of All Trades
User avatar
User avatar
Zachrulez
Jack of All Trades
Jack of All Trades
Posts: 8550
Joined: December 5, 2008
Location: Minnesota

Post Post #6 (ISO) » Fri Jun 13, 2014 5:50 am

Post by Zachrulez »

And a separate thing I found. When you put the # before the post ID when entering it in, it breaks the post tag, even though the code puts it in when you enter everything after the # anyway.

Test post:

Spoiler:
Link[post=#p5946673]Intended to be a link to post #4[/post]
User avatar
Zachrulez
Zachrulez
Jack of All Trades
User avatar
User avatar
Zachrulez
Jack of All Trades
Jack of All Trades
Posts: 8550
Joined: December 5, 2008
Location: Minnesota

Post Post #7 (ISO) » Fri Jun 13, 2014 6:05 am

Post by Zachrulez »

The problem seems to be entering the p in. (It was a headache for me because it wasn't obvious what I was doing wrong.)

When you enter in #5946673 it works, but when you enter in p5946673 it changes the post ID to #5942873

I guess I'm copying and pasting the wrong part of the link to begin with, but it still seems strange to me. If I'm simply doing it wrong, you'd think the link wouldn't work at all.
User avatar
chamber
chamber
Cases are scummy
User avatar
User avatar
chamber
Cases are scummy
Cases are scummy
Posts: 10703
Joined: November 20, 2005

Post Post #8 (ISO) » Fri Jun 13, 2014 6:51 am

Post by chamber »

I wrote the tag and overloaded it to accept as many 'incorrect' uses as I could think of at the time. I didn't consider the p one, mostly because it's not really intended to be used with the # directly. It seems easier to use the URL tag if you are bothering to get the post ID anyway?
Taking a break from the site.
User avatar
Zachrulez
Zachrulez
Jack of All Trades
User avatar
User avatar
Zachrulez
Jack of All Trades
Jack of All Trades
Posts: 8550
Joined: December 5, 2008
Location: Minnesota

Post Post #9 (ISO) » Fri Jun 13, 2014 8:21 am

Post by Zachrulez »

In post 8, chamber wrote:I wrote the tag and overloaded it to accept as many 'incorrect' uses as I could think of at the time. I didn't consider the p one, mostly because it's not really intended to be used with the # directly. It seems easier to use the URL tag if you are bothering to get the post ID anyway?
Full context.

I was putting the code together for Thesp's vote counter and his example posts showed the links being marked with post tags. I didn't deviate from it because I wasn't sure if it would work unless I did it exactly how it was shown in the example. (Of course then I still made a bunch of easy to overlook mistakes anyway.)

That is literally the only reason I bothered with the post tag, and it's the first time I've attempted to use it.

In any other situation, I would have just used the url tag and not had a problem, because it works for me and why fix what isn't broken?
User avatar
BlueBloodedToffee
BlueBloodedToffee
Survivor
User avatar
User avatar
BlueBloodedToffee
Survivor
Survivor
Posts: 23692
Joined: April 10, 2014
Location: Liverpool, UK

Post Post #10 (ISO) » Mon Nov 03, 2014 5:40 am

Post by BlueBloodedToffee »

Alright, need to bump this.

I can't figure out how to change a hyperlink so that it says what I want.

For example, if I'm linking to a completed game, instead of it actually showing the URL address it says 'Newbie 1495' or whatever I want it to say.

I'm seriously bad with technology so please explain it in the simplest way possible. I don't understand the code things that are going on in this thread.
Meta this. Meta that. Meta Everything. Meta is not a good scum-hunting tool. PEOPLE CAN MANIPULATE THEIR META. Stop it. Stop. It. Now.
User avatar
SleepyKrew
SleepyKrew
he/him
Snark Attack
User avatar
User avatar
SleepyKrew
he/him
Snark Attack
Snark Attack
Posts: 15746
Joined: April 27, 2011
Pronoun: he/him
Location: quack

Post Post #11 (ISO) » Mon Nov 03, 2014 5:58 am

Post by SleepyKrew »

Code: Select all

[url=put the URL here]put the message here[/url]
To be clear: quack
User avatar
BlueBloodedToffee
BlueBloodedToffee
Survivor
User avatar
User avatar
BlueBloodedToffee
Survivor
Survivor
Posts: 23692
Joined: April 10, 2014
Location: Liverpool, UK

Post Post #12 (ISO) » Mon Nov 03, 2014 6:16 am

Post by BlueBloodedToffee »

Meta this. Meta that. Meta Everything. Meta is not a good scum-hunting tool. PEOPLE CAN MANIPULATE THEIR META. Stop it. Stop. It. Now.
User avatar
BlueBloodedToffee
BlueBloodedToffee
Survivor
User avatar
User avatar
BlueBloodedToffee
Survivor
Survivor
Posts: 23692
Joined: April 10, 2014
Location: Liverpool, UK

Post Post #13 (ISO) » Mon Nov 03, 2014 6:17 am

Post by BlueBloodedToffee »

Meta this. Meta that. Meta Everything. Meta is not a good scum-hunting tool. PEOPLE CAN MANIPULATE THEIR META. Stop it. Stop. It. Now.
User avatar
BlueBloodedToffee
BlueBloodedToffee
Survivor
User avatar
User avatar
BlueBloodedToffee
Survivor
Survivor
Posts: 23692
Joined: April 10, 2014
Location: Liverpool, UK

Post Post #14 (ISO) » Mon Nov 03, 2014 6:17 am

Post by BlueBloodedToffee »

Got it!

Thanks!
Meta this. Meta that. Meta Everything. Meta is not a good scum-hunting tool. PEOPLE CAN MANIPULATE THEIR META. Stop it. Stop. It. Now.
Locked

Return to “Solved Requests”