Jump to content

How do I determine the link to a blog comment


jerdge

Recommended Posts

How do I determine the link to a blog comment? (Not an entry, but a comment to an entry.)

Assuming it is possible at all and apologies if this has been already answered (I searched with no results). Thanks for your help.

Link to comment
Share on other sites

[quote name='jerdge' timestamp='1303290051' post='2694489']
How do I determine the link to a blog comment? (Not an entry, but a comment to an entry.)

Assuming it is possible at all and apologies if this has been already answered (I searched with no results). Thanks for your help.
[/quote]
It's possible, but requires a bit of work to do. Look for something like this in the page source (usually Ctrl-U in a browser opens it):
[code]<a name="comment24139"></a>
<div class='comment clearfix row1 ' id='comment_id_24139'>

<div class='post_wrap'>

<img src='http://forums.cybernations.net/uploads/profile/photo-thumb-7859.jpg' width='50' height='50' class='photo' />

<h4>

<a href="http://forums.cybernations.net/index.php?showuser=7859">xoindotnler</a>&nbsp;<a href='http://forums.cybernations.net/index.php?showuser=7859&amp;f=' class='__user __id7859' title='View Profile'><img src='http://forums.cybernations.net/public/style_images/clean/user_popup.png' alt='' /></a>[/code]
What you're interested in is the second line. In this case, the blog entry is:
[code]http://forums.cybernations.net/index.php?app=blog&module=display&section=blog&blogid=93&showentry=2933[/code]
Modify it by adding the appropriate comment ID at the end:
[code]http://forums.cybernations.net/index.php?app=blog&module=display&section=blog&blogid=93&showentry=2933&#comment_id_24139[/code]

Link to comment
Share on other sites

I might have committed some mistake but that doesn't work for me.

I worked out something like:
[code]http://forums.cybernations.net/index.php?app=blog&module=display&section=blog&blogid=93&showentry=2933&_gocomments=1&st=1[/code]
which [url="http://forums.cybernations.net/index.php?app=blog&module=display&section=blog&blogid=93&showentry=2933&_gocomments=1&st=1"]links[/url] to the desired comment starting at it rather than scrolling down to it (In that specific case it "cuts out" the first comment of "page 1" and it adds the first of "page 2"). It's kind of confusing.

Edited by jerdge
Link to comment
Share on other sites

[quote name='jerdge' timestamp='1303291972' post='2694498']
I might have committed some mistake but that doesn't work for me.

I worked out something like:
[code]http://forums.cybernations.net/index.php?app=blog&module=display&section=blog&blogid=93&showentry=2933&_gocomments=1&st=1[/code]
which [url="http://forums.cybernations.net/index.php?app=blog&module=display&section=blog&blogid=93&showentry=2933&_gocomments=1&st=1"]links[/url] to the desired comment starting at it rather than scrolling down to it (In that specific case it "cuts out" the first comment of "page 1" and it adds the first of "page 2"). It's kind of confusing.
[/quote]
So you wanted the RV comment then? The link for that is:
[code]http://forums.cybernations.net/index.php?app=blog&module=display&section=blog&blogid=93&showentry=2933&#comment_id_24140[/code]
You don't want the gocomments or st parts (in this case, if it was on the second page you'd want &st=2), just copy the comment_id portion, add "&#" at the end of the URL which ends with "&showentry=#", then past "comment_id=#".

Link to comment
Share on other sites

[quote name='Locke' timestamp='1303331522' post='2694837']So you wanted the RV comment then?[/quote]
I actually copied the numbers from your example! :) (Or I think I did?)
While I am on numbers, you don't need the page source if you copy the "reply" or "report" link for the comment and you work from that.


[quote name='Locke' timestamp='1303331522' post='2694837']The link for that is:
[code]http://forums.cybernations.net/index.php?app=blog&module=display&section=blog&blogid=93&showentry=2933&#comment_id_24140[/code]
You don't want the gocomments or st parts (in this case, if it was on the second page you'd want &st=2), just copy the comment_id portion, add "&#" at the end of the URL which ends with "&showentry=#", then past "comment_id=#".[/quote]
If it is on the second page you have to add &st=20 (20 not 2), like in:
[code]http://forums.cybernations.net/index.php?app=blog&module=display&section=blog&blogid=93&showentry=2933&st=20&#comment_id_24174[/code]
Other than that, your suggestion works like a charm. Many thanks!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...