creating new bp forums shortcodes – guidance/help reqd on getting forum_id’s.
I have a standard wp (3.3.1) + bp (1.5.4) using std/integrated (bbpress) group forums and am creating a site with separate wp pages for specific topics/countries (i call them ‘portal’ pages). within each portal page i wish to show a list of forum topics from corresponding topic/country ‘groups’ (and their associated forums) and am intending to use the bp_forums_get_forum_topics() function as the basis.
my main question is:
how can i obtain/see the forum_id’s to use in the call to bp_forums_get_forum_topics?
there seems no way to determine them from the back-end or front end admin and i can’t for the life of me locate any function that will return them, given for example a forum title (eg: ‘Africa’).
on a more general note – can anyone point me to some decent example code around the use of integrated forums functions? (again, the only stuff i can find easily is for example related to forums-loop.php, which doesn’t help me in this case, since i am operating distinctly outside of the bp loop).
any help, advice or pointers very much appreciated, i just need a bit of a kick start here.
(ps. temporarily, i tried installing bbpress plugin as separate/site-wide forums – which is great from the back-end with all the intuitive admin functions i required, including forum_id’s, BUT, of course, this is entirely separate from the internal integrated version used by groups, thus doesn’t help me here.
suggestion to developers: if standalone/site-wide bbpress admin worked against integrated group forums and threads – that would be just perfect, and so much easier to use and administer – any way to make that work?)
You must be logged in to reply to this topic.