Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Retrieving forum ID from post ID


_ck_
Participant

@_ck_

You can do it with a custom query.

Something like

$forum_id=$bbdb->get_var("SELECT forum_id FROM $bbdb->posts WHERE post_id=$post_id LIMIT 1");

where $post_id is your post id.

This will generate an extra query per page but for just editing that would be fine.

Skip to toolbar