Comment Identifier

This is the right place to report general bugs, make suggestions or ask for help.
Post Reply
User avatar
WineMan
Posts: 107
Joined: Tue Sep 01, 2020 5:03 pm

Comment Identifier

Post by WineMan » Wed Jun 14, 2023 7:06 pm

I'm helping a friend set up his blog which is also a flat file based system and I am having a problem figuring out what the comment identifier is. If I could figure out what the identifier is for flatpress, perhaps I can then figure out what it is on my friend's system. The url for the posted article is like this: https://domain/blogsystem/post/all-my-notes-organizer if that helps anyone.

User avatar
Arvid
FlatPress Coder
Posts: 576
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: Comment Identifier

Post by Arvid » Mon Jun 19, 2023 5:34 pm

Hi,

could it simply be the unique ID of a comment?
For example, take a look at this FlatPress post: https://www.flatpress.org/2022/01/29/cu ... 220-130321 - with the trailing "#comment220220-130321" you will be taken directly to the requested comment when the page loads.

All the best,
Arvid

User avatar
WineMan
Posts: 107
Joined: Tue Sep 01, 2020 5:03 pm

Re: Comment Identifier

Post by WineMan » Mon Jun 19, 2023 7:18 pm

Thanks for your response Arvid. Yes, that is what I'm looking for, the unique ID of a specific article that will identify which article the comment will be written for. Unfortunately, the link I used in my original post to this forum is the link that is displayed after you click on the article title and it is possible I am not seeing the unique ID.

User avatar
Arvid
FlatPress Coder
Posts: 576
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: Comment Identifier

Post by Arvid » Sat Jul 01, 2023 12:30 pm

It's super easy to display it :)

Add the

Code: Select all

{$id}
variable somewhere to your fp-interface/sharedtpls/entryadminctrls.tpl - once logged in, you can see the ID of each entry.

Let me know if that helps :)
All the best,
Arvid

User avatar
WineMan
Posts: 107
Joined: Tue Sep 01, 2020 5:03 pm

Re: Comment Identifier

Post by WineMan » Sat Jul 01, 2023 1:16 pm

Thank you Arvid, I can now see the id of the article. Hopefully I will be able to take that information and apply it to HMTLy for my friend.

UPDATE: Unfortunately I still can't figure out how to get it to work, so it looks like he will have to use the Disqus comments system.

User avatar
Arvid
FlatPress Coder
Posts: 576
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: Comment Identifier

Post by Arvid » Sun Dec 31, 2023 1:28 pm

Doesn't HTMLy have some kind of support forum? They might be a better help in this case ;)

User avatar
WineMan
Posts: 107
Joined: Tue Sep 01, 2020 5:03 pm

Re: Comment Identifier

Post by WineMan » Sun Dec 31, 2023 3:49 pm

Hashover comment system works with HTMLy out of the box so this post can be eliminated.

User avatar
Arvid
FlatPress Coder
Posts: 576
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: Comment Identifier

Post by Arvid » Sun Dec 31, 2023 6:08 pm

No need to eliminate ;)
Glad you found a solution! :)

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 22 guests