Setup login/register buttons for bbPress?
You can insert a shortcode on any WordPress page or use the bbPress ‘Login Widget’ in your sidebar. http://codex.bbpress.org/widgets/ http://codex.bbpress.org/shortcodes/
You can insert a shortcode on any WordPress page or use the bbPress ‘Login Widget’ in your sidebar. http://codex.bbpress.org/widgets/ http://codex.bbpress.org/shortcodes/
You can use the [bbp-single-topic id=$topic_id] shortcode to link to an individual topic that you create manually. http://codex.bbpress.org/shortcodes/ Or your other option is to wait for bbPress 2.6 that will include a feature that will allow you to replace WordPress post comments with bbPress topics. http://bbpress.trac.wordpress.org/ticket/2498
Oh well, when I started to read your question, I felt as if I’m reading a project description on Elance or Freelancer.com website! 😉 I’ve not used slack.com but my first impression after reading your question is that the implementation of final solution requires some coding beyond theme for bbpress. Not sure whether this sort … Read more
The get_avatar function is a pluggable function with it’s first parameter being either the user’s ID or email. You’re using get_avatar with get_the_author_meta(‘ID’) which should give you the ID of the current user within the Loop. From the Codex If used within The Loop, the user ID need not be specified, it defaults to current … Read more
Here is the snippet to reverse replies order for the single topic: add_filter(‘bbp_before_has_replies_parse_args’, ‘dev4press__change_replies_order’); function dev4press__change_replies_order($r) { $r[‘order’] = ‘DESC’; return $r; }
I found the solution of the problem, it goes like this: <td class=”bbp-reply-author”> <?php do_action( ‘bbp_theme_before_reply_author_details’ ); ?> <?php bbp_reply_author_link( array( ‘sep’ => ‘<br />’ ) ); ?> <!–Ranking –> <div class=”bbp-ranking”> <span class=”bbp-rank”><?php echo cp_module_ranks_getRank(bbp_get_reply_author_id()); ?></span><br /> <span class=”bbp-points”><?php echo ‘Reputação: ‘.cp_getPoints(bbp_get_reply_author_id()); ?></span> </div> <!–Ranking –> <?php do_action( ‘bbp_theme_after_reply_author_details’ ); ?> </td> in loop-single-reply.php
The easiest way would be to edit the form-user-edit.php template located in /templates/default/bbpress/ and remove the fields you do not want your users to be able to edit. Make sure that you don’t edit bbPress core files and copy the template to your themes /bbpress folder as outlined in the codex http://codex.bbpress.org/theme-compatibility/
bbPress has never included the number of times a topic was viewed in the core project, and as such the plugin currently does not either. The primary reason is this causes an extra hit to the DB to bump the value of topic views +1 on each page-load. This is something that could be built … Read more
scribu is correct. The code to do this does exist within the plugin, but that code is subject to change as the bbPress plugin continues to be developed. If you’re comfortable snooping through code and finding the functions to make this happen, we’re happy to fix any bugs you might find along the way. You … Read more
You can make the query like above using following code. <?php query_posts( array( ‘posts_per_page’ => 2, ‘meta_key’ => ‘_bbp_sticky_topics’, ‘post_type’=> ‘topic’, ‘order’ => ‘ASC’ ) ); if (have_posts()) : while (have_posts()) : the_post(); //do something endwhile; endif; ?> But i strongly recommend you not to alter main query using query_posts() and instead use WP_Query as … Read more