Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Add custom metadata to forum topics for sorting purposes

@menelik-seth

Member

Struggling to figure out a way to get a topic’s post_id. I have to approaches I’m considering.

1. Return the latest post’s id (somehow) and then increment it +1 for the object id (to match the new post)
2. Find a way to get the newest post id…

Since the post_id is autoincrement, something tells me it’s not meant to be accessed directly. Is there a round-about way of getting it?

Bleh, so frustrating. I know the answer is in front of me somewhere. I’m just not l337 enough to see it yet.

Skip to toolbar