If I remember right, the ID's were part of the url before I switched to using Pretty URLs. How do I find the Board/Topic/Post ID's now that I'm using Pretty URLs?
If you have direct access to the database you can execute a query to find the post ID.
It's definitely in the URL though, so there's no need to run a query in this scenario. Better to pull it using $_GET or $_REQUEST.
Furthermore, I'll see if Yoshi has time to swing by.
According to the OP the MOD has removed the post id from the URL. That is why I suggested executing a database query to obtain the post ID.
Hi sixty6falcon!
The IDs were indeed part of the URL. Take a look at the URLs here.
I'll probably prepare an edit for you in a moment.
Hmm, you're right, but there has to be a variable in $context, or Display.php that contains the topic id, still no need for a query.
Yeah, already have it done for the Board IDs.
Sorry for drafting over our GTalk session with edits lol
Haha no problem
Okay seems this is quite a bit harder then I thought it was... I'll post something later this week, or even tomorrow.
Hey, thanks a ton guys. I appreciate the quick responses and apologize for slowness of mine. I've got a couple boards that are fed by an rss feed, so it's not necessarily a discussion board, just something to keep my users informed of what's happening with the hobby. So now, I need to find the ID's so I can keep those boards/topics from showing up in my recent topics/posts.
Try looking at the links under admin manage boards and hover over the links should be an id in those.
Quote from: vbgamer45 on May 01, 2012, 02:26:56 PM
Try looking at the links under admin manage boards and hover over the links should be an id in those.
Are you referring to the Modify Boards section? If I hover over the boards in there, it shows them with with the SEF URLs. No IDs showing.
I think vbgamer means hovering over the "Modify" link at that section.
Aha! That was it! Hovering over the Modify link, does give a Board ID. Thanks guys.
Glad to help.
Hello
Quote from: sixty6falcon on May 01, 2012, 02:49:59 PM
Aha! That was it! Hovering over the Modify link, does give a Board ID. Thanks guys.
what about finding the topic id? I am trying to merge a couple of topics and need this. I have to go to phpmyadmin then? thanks in advance.
You shouldn't need the topic id to be able to merge topics. From one topic, select merge, then you should be able to select the board - and get a list of topics to merge to in that board... (I do this frequently)
Sorry, but I had to revive this topic because this issue is kind of serious for my forum that uses Fanfics System v1.1 (writers need their topic ID to add it to their fanfic submission).
I don't want to give up on the Pretty URLs mod, though, because it helps keeping the forum usable and shareable.
Hope there will be updates or advice about this matter.
Thanks!
LuanaS, please create your own topic on this matter. Aside from that pretty URLs does not help with usability, only readability, and even then it's not worth it to sacrifice the stability of your forum for that.