Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to make my forum categories collapsable?

Published on February 12th, 2011 by Crynix

Okay so my forum is androidtalk.us and I was to have a large amount of categories (one for each phone and each phone will have sub-categories), but I have noticed that a large amount of sub-categories does not play nice with the user’s scrolling experience with bbPress. Is there some sort of plugin that I could install to make it so all my sub-categories are collapsed and they can expand them to their own will?

PS: Is there a way to do this with the default theme?

Lost all of my sticky posts

Published on February 12th, 2011 by ChadTheDJ

Can anyone check my code and see what I am doing wrong?

Front-Page.php:

<?php bb_get_header(); ?>

<?php if ( $forums ) : ?>

<div id=”discussions”>

<?php if ( bb_forums() ) : ?>

<h2><?php _e(‘Minecraft: The Server Review Forums’); ?></h2>

<table id=”forumlist”>

<tr>

<th style=”text-align: left !important;”><?php _e(‘Categories’); ?></th>

<th><?php _e(‘Last Poster’); ?></th>

<th><?php _e(‘Freshness’); ?></th>

<th><?php _e(‘Topics’); ?></th>

<th><?php _e(‘Posts’); ?></th>

<th><?php _e(‘Views’); ?></th>

</tr>

<?php while ( bb_forum() ) : ?>

<?php if (bb_get_forum_is_category()) : ?>

<tr<?php bb_forum_class(‘bb-category’); ?>>

<td colspan=”6″><?php bb_forum_pad( ‘<div class=”nest”>’ ); ?>“><?php forum_name(); ?><?php forum_description( array( ‘before’ => ‘<small> – ‘, ‘after’ => ‘</small>’ ) ); ?><?php bb_forum_pad( ‘</div>’ ); ?></td>

</tr>

<?php continue; endif; ?>

<tr<?php bb_forum_class(); ?>>

<td><?php bb_forum_pad( ‘<div class=”nest”>’ ); ?>“><?php forum_name(); ?><?php forum_description( array( ‘before’ => ‘<small> – ‘, ‘after’ => ‘</small>’ ) ); ?><?php bb_forum_pad( ‘</div>’ ); ?></td>

<td class=”num” width=”15%”>“><?php forum_last_poster(); ?></td>

<td class=”num” width=”10%”><?php topic_time(); ?></td>

<td class=”num” width=”10%”><?php forum_topics(); ?></td>

<td class=”num” width=”10%”><?php forum_posts(); ?></td>

<td class=”num” width=”10%”><?php echo bb_number_format_i18n($GLOBALS->views); ?></td>

</tr>

<?php endwhile; ?>

</table>

<?php if ( $topics || $super_stickies ) : ?>

<h2><?php _e(‘Latest Discussions’); ?></h2>

<table id=”latest”>

<tr>

<th style=”text-align: left !important;”><?php _e(‘Topic’); ?> — <?php new_topic(); ?></th>

<th><?php _e(‘Author’); ?></th>

<th><?php _e(‘Last Poster’); ?></th>

<th><?php _e(‘Freshness’); ?></th>

<th><?php _e(‘Posts’); ?></th>

<th><?php _e(‘Views’); ?></th>

</tr>

<?php if ( $super_stickies ) : foreach ( $super_stickies as $topic ) : ?>

<tr<?php topic_class(); ?>>

<td><?php _e(‘Sticky:’); ?> <big>“><?php topic_title(); ?></big></td>

<td class=”num” width=”15%”>“><?php topic_author() ?></th>

<td class=”num” width=”15%”>“><?php topic_last_poster(); ?></td>

<td class=”num” width=”10%”><?php topic_time(); ?></td>

<td class=”num” width=”10%”><?php topic_posts(); ?></td>

<td class=”num” width=”10%”><?php show_view_count(); ?></td>

</tr>

<?php endforeach; endif; ?>

<?php if ( $topics ) : foreach ( $topics as $topic ) : ?>

<tr<?php topic_class(); ?>>

<td>“><?php topic_title(); ?></td>

<td class=”num” width=”15%”>“><?php topic_author() ?></th>

<td class=”num” width=”15%”>“><?php topic_last_poster(); ?></td>

<td class=”num” width=”10%”><?php topic_time(); ?></td>

<td class=”num” width=”10%”><?php topic_posts(); ?></td>

<td class=”num” width=”10%”><?php show_view_count(); ?></td>

</tr>

<?php endforeach; endif; ?>

</table>

<?php bb_latest_topics_pages( array( ‘before’ => ‘<div class=”nav”>’, ‘after’ => ‘</div>’ ) ); ?>

<?php endif; // $topics or $super_stickies ?>

<div id=”hottags” role=”main”>

<h2><?php _e(‘Hot Tags’); ?></h2>

<p class=”frontpageheatmap”><?php bb_tag_heat_map(); ?></p>

</div>

<?php endif; // bb_forums() ?>

<?php if ( bb_is_user_logged_in() ) : ?>

<div id=”viewdiv”>

<h2><?php _e(‘Views’); ?></h2>

<ul id=”views”>

<?php foreach ( bb_get_views() as $the_view => $title ) : ?>

<li class=”view”>“><?php view_name( $the_view ); ?>

<?php endforeach; ?>

</div>

<?php endif; // bb_is_user_logged_in() ?>

<div id=”viewdiv”>

<h2><?php _e(‘Members Online’); ?></h2>

<ul id=”views”>

<li class=”view”>Online now: <?php do_action(‘members_online_now’,”); ?>

<li class=”view”>Online today: <?php do_action(‘members_online_today’,”); ?>

</div>

</div>

<?php else : // $forums ?>

<div class=”bbcrumb”>“><?php bb_option(‘name’); ?> » <?php _e(‘Add New Topic’); ?></div>

<?php post_form(); endif; // $forums ?>

<?php bb_get_footer(); ?>

forum.php

<?php bb_get_header(); ?>

<div class=”bbcrumb”>“><?php bb_option(‘name’); ?><?php bb_forum_bread_crumb(); ?></div>

<?php if ( $topics || $stickies ) : ?>

<table id=”latest”>

<tr>

<th><?php _e(‘Topic’); ?> — <?php new_topic(); ?></th>

<th><?php _e(‘Posts’); ?></th>

<th><?php _e(‘Views’); ?></th>

<th><?php _e(‘Last Poster’); ?></th>

<th><?php _e(‘Freshness’); ?></th>

</tr>

<?php if ( $super_stickies ) : foreach ( $super_stickies as $topic ) : ?>

<tr<?php topic_class(); ?>>

<td><?php _e(‘Sticky:’); ?> <big>“><?php topic_title(); ?></big></td>

<td class=”num”><?php topic_posts(); ?></td>

<td class=”num”><?php show_view_count(); ?></td>

<td class=”num”><?php topic_last_poster(); ?></td>

<td class=”num”><small><?php topic_time(); ?></small></td>

</tr>

<?php endforeach; endif; ?>

<?php if ( $topics ) : foreach ( $topics as $topic ) : ?>

<tr<?php topic_class(); ?>>

<td>“><?php topic_title(); ?></td>

<td class=”num”><?php topic_posts(); ?></td>

<td class=”num”><?php show_view_count(); ?></td>

<td class=”num”><?php topic_last_poster(); ?></td>

<td class=”num”><small><?php topic_time(); ?></small></td>

</tr>

<?php endforeach; endif; ?>

</table>

<p class=”rss-link”>” class=”rss-link”><?php _e(‘<abbr title=”Really Simple Syndication”>RSS</abbr> feed for this forum’); ?></p>

<?php forum_pages( array( ‘before’ => ‘<div class=”nav”>’, ‘after’ => ‘</div>’ ) ); ?>

<?php endif; ?>

<?php if ( bb_forums( $forum_id ) ) : ?>

<h2><?php _e(‘Subforums’); ?></h2>

<table id=”forumlist”>

<tr>

<th><?php _e(‘Main Theme’); ?></th>

<th><?php _e(‘Topics’); ?></th>

<th><?php _e(‘Posts’); ?></th>

</tr>

<?php while ( bb_forum() ) : ?>

<?php if (bb_get_forum_is_category()) : ?>

<tr<?php bb_forum_class(‘bb-category’); ?>>

<td colspan=”3″><?php bb_forum_pad( ‘<div class=”nest”>’ ); ?>“><?php forum_name(); ?><?php forum_description( array( ‘before’ => ‘<small> – ‘, ‘after’ => ‘</small>’ ) ); ?><?php bb_forum_pad( ‘</div>’ ); ?></td>

</tr>

<?php continue; endif; ?>

<tr<?php bb_forum_class(); ?>>

<td><?php bb_forum_pad( ‘<div class=”nest”>’ ); ?>“><?php forum_name(); ?><?php forum_description( array( ‘before’ => ‘<small> – ‘, ‘after’ => ‘</small>’ ) ); ?><?php bb_forum_pad( ‘</div>’ ); ?></td>

<td class=”num”><?php forum_topics(); ?></td>

<td class=”num”><?php forum_posts(); ?></td>

</tr>

<?php endwhile; ?>

</table>

<?php endif; ?>

<?php post_form(); ?>

<?php bb_get_footer(); ?>

WordPress posts and bbpress forum

Published on February 12th, 2011 by silver163

Is there a plugin that would allow to integrate certain posts from WordPress and post them automatically in the forums as well?

Overriding Buddypress search with bbpress search?

Published on February 10th, 2011 by markduffy78

Hi,

I hope im on the correct forum? or plugin? :-) I’d like to add conditions to the bp_forum_topics() loop that only contain posts with certain keywords. Can anyone help me with this?

I’d like to create a custom plugin that overrides the current function bp_forum_topics() that does this. Im new to wordpress development so unsure about filters and tags. Right now it returns all topics (with the exception of loose search terms, newest, popular etc). I want to be able to return topics if the posts related to that topics contains specific search terms.

Im using this solution to get global unified search.

Creating The sitewide global/unified search Page for your Buddypress Theme

All that is remaining is to get it to search forums posts. At the moment all it does is search topics.

–Mark

Best hosting for WP + BBpress community

Published on February 10th, 2011 by becreative

Hi all,

I am currently building a closed community which will potentially get quite large (business portal kind of thing). I already have shared hosting with 123-reg.co.uk however the load times on the WP blog are a bit slow and can vary due to shared bandwidth so I’m looking to upgrade and am looking for some advice on the server specs I need to look for!

I’m currently looking at possibly of upgrading to the 123-reg.co.uk dedicated server (Ghz 2.13 Quad core, 2gb ram 320Hd and 10mb bandwidth (unlimited/ monitored traffic).

Does this sound like it has enough power to cope with an expanding community or will I need something with a bit more bit?

Any feedback would be much appreciated.

Cheers

Ben

Which is better, Domain registration through good register.

Published on February 10th, 2011 by MaskName

Which is better, Domain registration through good register, or Web Hosting Company?

Hi All,

I wanted to register a domain name, and have been doing some research on how to do so. I have a list of Domain Registrars, who are providing however I have also read that web hosting companies can also provide this service to you if you use them as your host. I’m just wondering if it would make sense to register my domain name first before shopping for a company or just sign up with a web hosting company and get the domain name from them?

Thanks for any advice!

Sort topics by date, posts etc

Published on February 10th, 2011 by Dannemannen

Hi!

Im trying to find a plugin or something that lets me sort different threads in a subforum, is there any solution to this in bbpress?

Add trailing slash to permalinks

Published on February 9th, 2011 by Dannemannen

Greetings,

Currently running bbpress version 1.0.2.

I wonder if anyone has a solution on how to add a trailing slash at the end of permalinks URLs in bbpress.

Today the structure of the links are:

mywebsite.com/forum/support

mywebsite.com/topic/mytopic

What should I add to the htaccess file in order to add the trailing slash?

Topics not showing

Published on February 9th, 2011 by mageguild

I have just finished installing BBpress. I have setup all the forums. When I post a topic anywhere, the title appears (including the latest reply info and when it was created), however the content of the topic is not showing anywhere.

I have looked over the entire database and I it looks like its not saving that content in the bb_topics table.

I have not yet touched any code yet, I was just installing it and seeing what this software was like.

My install is running on a database with multiple WordPress sites and I am using the wordpress intergration feature with my users.

I have checked over all the other tables in the database and the missing content is not randomly being saved in any of them.

Any information about this bug and how to fix it would be great.

Thanks

post_position() not work in bbpress on Trac

Published on February 9th, 2011 by jurasiks

each posts in topic gots id 0, so i can’t add my CSS to first post

latest bbpress from trac

1.0.2 works fine

upd1: downloaded few mins ago new svn… works… strange

Skip to toolbar