This site requires JavaScript, please enable it in your browser!
Greenfoot back
Nosson1459
Nosson1459 wrote ...

2017/1/16

Other

Nosson1459 Nosson1459

2017/1/16

#
Introduction (this introduction is only necessary if you're NOT "davmac", the discussion is not for davmac to answer because he already said that he doesn't know the answer): The reason that I'm making this whole discussion is because that is what davmac (Davin McCall) who is a "Member of the Greenfoot development team." told me to do when I asked him this question elsewhere for the third time. Question: How do I make a link to a discussion that will go to a specific certain post of my choice and not just to the top of the discussion page? The discussion that I created right before this I wanted to make a link to the sixth post in a discussion but I didn't know how so I had to give directions for starting from the top of the page to my post in the link. When I asked this question to davmac he said that he didn't know there was such a thing so I showed him a place where someone else did it, so he told me to create a discussion.
danpost danpost

2017/1/16

#
You will need to know two pieces of information to create a link like that -- the page number in that discussion thread where that post is located and the number of the post itself. You piece the link together as follows: The string "http://www.greenfoot.org/topics/" (without the quotes); followed by the topics number (identification number given to that particular thread, which you can get just by going to that thread; followed by a forward slash; followed by one less than the page number multiplied by 15 (number of post on previous pages); followed by a hash tag; followed by the string "post_"; followed by the identification number assigned to that specific post. The id of the post can be found by searching the html source for that particular post (it will be found just before the text of that post). If it is currently the last post in the discussion, you can go to the Discuss page and select that specific post in that thread directly. The link to the sixth post of the discussion thread you are referring to is: http://www.greenfoot.org/topics/57853/0#post_111767
Nosson1459 Nosson1459

2017/1/16

#
danpost wrote...
followed by one less than the page number multiplied by 15 (number of post on previous pages);
So for a cahllenge the sixth page in a discussion at your last post it will be: http://www.greenfoot.org/topics/57843/75#post_111934
danpost wrote...
followed by the identification number assigned to that specific post.
I'm supposed to right-click on my mouse and press "Inspect" (Ctrl+Shift+I) then look there? So a link right to your post in this discussion would be http://www.greenfoot.org/topics/57939/0#post_112155. Thanks for the (complicated) help.
Nosson1459 Nosson1459

2017/1/16

#
When you showed me your Scrolller class code you gave me a link that brought me to the middle of your post about where the lines I was supposed to be looking at were. How did you know the numbers for a certain line of a post?
danpost danpost

2017/1/16

#
Nosson1459 wrote...
When you showed me your Scrolller class code you gave me a link that brought me to the middle of your post about where the lines I was supposed to be looking at were. How did you know the numbers for a certain line of a post?
The best one can do is to the top of a selected posting. You cannot select a specific line within a post. If you question this further, please provide the link given (you can 'quote' a post to view, copy and paste a link given within it).
davmac davmac

2017/1/17

#
The reason that I'm making this whole discussion is because that is what davmac (Davin McCall) who is a "Member of the Greenfoot development team." told me to do when I asked him this question elsewhere for the third time.
Perhaps it's not deliberate but the tone you use here is somewhat passive-aggressive. You don't need to quote "Member of the Greenfoot development team"; I am a member of the Greenfoot development team. There is no need to include my real name in the discussion, either. I don't believe it's correct that you asked me this question three times (and if you did, it must have been in unrelated discussions, and I don't understand why you would address the question to me personally in any case), nor is it correct that I said I didn't know the answer. Most recently you asked instead how to link to a comment on a scenario (and I replied that I believe this is not possible). Hopefully you will be pleased to know that we have just added a small link next to each discussion post (it appears as '#') so that you can more easily obtain the URL for a particular post (for instance in most browsers you can right-click the link and choose "copy link location" or similar).
Nosson1459 Nosson1459

2017/1/20

#
danpost wrote...
If you question this further, please provide the link given (you can 'quote' a post to view, copy and paste a link given within it).
Your post was:
danpost wrote...
The Scroller class code can be found here . In your code, 'actors' is a List object and there is no 'setLocation' method for a List object. See lines 131 through 135 of the class referenced here.
with the link being: "http://www.greenfoot.org/topics/57567/0#post_110289". I just tried the link and saw that it goes to the top of the post but you told me the lines in the post to look at so I got mixed up.
davmac wrote...
The reason that I'm making this whole discussion is because that is what davmac (Davin McCall) who is a "Member of the Greenfoot development team." told me to do when I asked him this question elsewhere for the third time.
Perhaps it's not deliberate but the tone you use here is somewhat passive-aggressive. You don't need to quote "Member of the Greenfoot development team"; I am a member of the Greenfoot development team. There is no need to include my real name in the discussion, either.
The question that I was asking I thought was a very side-topic question so it will might look strange to start a whole discussion for it. Since YOU told me to start a discussion for it specially I did, but with the introduction so it's noticeable why I'm doing it. When I asked it to you I asked it as a side question at the bottom of a post. Sorry if it sounded/looked "passive-aggressive".
I don't believe it's correct that you asked me this question three times (and if you did, it must have been in unrelated discussions, and I don't understand why you would address the question to me personally in any case), nor is it correct that I said I didn't know the answer. Most recently you asked instead how to link to a comment on a scenario (and I replied that I believe this is not possible).
I asked it three times because I saw that you didn't realize the question so I asked it again until it happened three times I decided to mention the number it was that I was asking. I explained above why it was specifically in unrelated discussions as a side-question. It wasn't addressed to you just the discussions that I was in at the time were with you and you are familiar with the website so I figured no harm in asking.
davmac wrote...
If this is addressed to me, I'm sorry but I haven't seen your previous questions regarding this. Once again, please open a new topic. However, I don't believe there is any way currently to link to a particular comment on a scenario.
The use of the words "comment" and "scenario" were a mistake as mentioned in the scenario that this came from "Some small improvements to Greenfoot.org" I also mentioned there that I THINK that I used the words "post" and "discussion" more than "comment" and "scenario", but if you count and see that I'm wrong then it was (still) all a mistake.
Hopefully you will be pleased to know that we have just added a small link next to each discussion post (it appears as '#') so that you can more easily obtain the URL for a particular post (for instance in most browsers you can right-click the link and choose "copy link location" or similar).
Thanks. It makes things easier. In old discussions NOW there is no "quote" anymore on the posts. I noticed that the '|' is still there (now you added the '#') so it looks like " # | " with nothing after it. In the same place that you omit the "quote" you should probably also omit the '|', but that's just my opinion.
davmac davmac

2017/1/20

#
I thought was a very side-topic question so it will might look strange to start a whole discussion for it.
I personally think it is much better to start a new topic if you want to ask something that is not directly related to the existing topic (not strange at all). In the case of the topic for the site changes, I want other people to be able to read the whole topic discussion and quickly get a feel for what has actually been changed, rather than having to also read discussions about how to link to posts, for example, and other issues with the site that may or may not be resolved in the short term.
Nosson1459 Nosson1459

2017/1/20

#
davmac wrote...
I personally think it is much better to...
We had different opinions, but when you told me to start a new topic, I did so now everything's fine.
You need to login to post a reply.