Search Results for 'code'
-
Search Results
-
Hi everyone. I have spent a whole lot of time building a website with this great bbpress forum, and suddently i found out that there is no “close for reply’s” options for the users who makes topics.
The forum contains both discussion and also a section, where the topics not shall have reply’s.
Is it possible to make such a function? Merry christmas everyone

Regards, Daniel
Topic: Appearance submenu
When I use bbp_get_forum_title to pull the forum title for display on the front page of my website, it pulls the topic title instead.
The idea is to display the forum title like categories are displayed in wordpress.
To do this I’m using breadcrumbs, so my code looks like..
<?php $show_sep = false; ?>
<?php if ( 'forum' == bbp_get_forum_post_type() ) : ?>
<?php
$breadcrumbs = '<a href="' . bbp_get_forum_permalink( $parent->ID ) . '">' . bbp_get_forum_title( $parent->ID ) . '</a>';
if ( $breadcrumbs ) :
?>
<span class="cat-links">
<?php printf( __( '<span class="%1$s">Posted in</span> %2$s ' ),'', $breadcrumbs);
$show_sep = true; ?>
</span>
<?php endif; // End if $breadcrumbs ?>It’s not working, it’s displaying the topic title instead. In fact I went through several variations of this, several of them not using breadcrumbs, but every time I would use bbp_get_forum_title, or bbp_get_topic_forum_title, and I just couldn’t get it to work.
I’m wondering if there is something wrong with my code, or if anyone knows any other reason why bbp_get_forum_title would display the topic title instead.
I really just started learning all this stuff recently, so I could really use a hint or two..
Thanks for any help anyone can offer.
I want to be able to make a forum for every blog post and use it in staed of the blog commenting system which is weirdly lacking for a blog-software system.
There is a plugin that automatically makes a topic in a specific forum – but I need it to make a new forum.
Of course I can alwaysuse a shortcode and make a new forum and include it in the blog post. But perhaps there is an automatized way, easier way.
Why and what is the benefit of this ? Comments tend to be very unfocused and not very constructive. If you have to make a specific topic you have to focus and be more reflected when writing …
Also I believe that John James Jacoby has thought about this ….
Anyone who could and would do this ?
Thanks, Jacob