Search Results for 'test'
-
Search Results
-
Topic: Sub Forums
Example:
Let’s say front-page.php lists 3 categories
Fruits
Veggies
Meats
If you were to click on Fruits; I’d like the next page to show the subforums of that parent excluding veggies, & meats forums. Any comments appreciated.
Basically, I want categories with sub-forums but in a format/structure that you would find in phpbb where subforums are cleanly kept on the next page. Why? Because showing everything in one location can get a bit messy. Especially with subforums.
I have searched through the bbpress forum for this and was able to get the following to work related to the front-page.php portion. Now I just need to get the 2nd page to show the children of the category. Currently it isn’t doing that.
*****front-page.php which works in only displaying the categories****************
<?php foreach( $forums as $forum ) : if( !$forum->forum_parent ) { ?>
<tr<?php alt_class(‘forum’); ?>>
<td>“><?php forum_name(); ?> <small><?php forum_description(); ?></small></td>
<td class=”num”><?php forum_topics(); ?></td>
<td class=”num”><?php forum_posts(); ?></td>
</tr>
<?php } endforeach; ?>
Now I would like the child accounts to show up in forum.php
Any suggestions? Or where I could look? Once you click on the parent forum it just takes you to that category forum.php page, with no children. i need the children to show up but only for that parent.
*****forum.php which I need to show the children*********************
<?php bb_get_header(); ?>
<?php if ( is_bb_profile() ) profile_menu(); ?>
<?php login_form(); ?>
<div id=”main”>
<div id=”forums”>
<h3 class=”bbcrumb”>“><?php bb_option(‘name’); ?> » <?php forum_name(); ?></h3>
<?php if ( $topics || $stickies ) : ?>
<table id=”latest”>
<tr>
<th><?php _e(‘Topic’); ?> — <?php new_topic(); ?></th>
<th><?php _e(‘Posts’); ?></th>
<th><?php _e(‘Last Poster’); ?></th>
<th><?php _e(‘Freshness’); ?></th>
</tr>
<?php if ( $stickies ) : foreach ( $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 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 topic_last_poster(); ?></td>
<td class=”num”><small><?php topic_time(); ?></small></td>
</tr>
<?php endforeach; endif; ?>
</table>
<p>“><?php _e(‘RSS feed for this forum’); ?></p>
<div class=”nav”>
<?php forum_pages(); ?>
</div>
<?php endif; ?>
<?php post_form(); ?>
</div>
</div>
<?php bb_get_footer(); ?>
</div>
******************************************************************************
Thank You —
I’ve had this very odd issue suddenly crop up. All deleted posts on my forum have automatically become undeleted. Basically the post_status field in the bb_posts table is getting reset to 0 for all posts.
I’m running bbpress 1.02 that’s deep integrated with WP Multisite 3.0.1 (with Buddpress 1.2.5.2). It’s deep integrated, but I run bbpress by itself, NOT as a component of Buddypress (in the groups component). The site’s been running for a year and I’ve never experienced this issue until now.
Is there any code in bbpress that could cause something like this? Reseting all posts?
My web host recently upgraded PHP from 5.2.13 to 5.2.14 very recently, could there be some kind of incompatibility?
Another side-effect of this is that it throws off paging on topics and cuts off newer posts in the topic. The number of pages shown for each post stays the same even though deleted posts are visible again so this essentially pushes newer posts back. Doing a recount doesn’t fix this.
I’m having a hard time finding the cause although I somehow reproduced the problem. I had thought a moderator had restored deleted posts so I was going back deleting some posts that had been undeleted. When I was all done, I did a full recount. A few minutes later I found that all the posts that I had just re-deleted were restored again! I tried deleting some more posts and doing some recounts haven’t been able to reproduce the problem again.
I’m running the following plugins:
– Ajaxed Quote 1.2
– Allow Images 0.8
– BBcode Lite 1.0.3
– bbPress Moderation Suite 0.1-rc2
– bbPress signatures 0.2.0
– bbPress Smilies 0.0.8
– bb Topic Views 1.6.4
– BBVideo 0.24
– BuddyBar in bbPress 1.0.4
– Forum Last Poster 0.0.5
– Hidden Forums 0.0.9
– Post Count Plus 1.1.11
I’ve been running these plugins for a long time. The most recent one was bbpress Moderation Suite but I tested it pretty extensively on a development site (mirror) without issue.
Any help is greatly appreciated!
Topic: bbPress plugin September 15?
I spotted this blogpost from WPMU.org in my RSS-feed today.
“bbPress 1.2 (the plugin) is said to be stable enough to start testing as soon as September 15 and the full release will most likely coincide with that of BuddyPress 1.3.”
http://wpmu.org/bbpress-forums-will-be-removed-from-buddypress-download-packgage/
Is there any chance that will happen?
Hi all,
i am following this: http://wpbbpthemes.org/integration/
with WP 3.0.1 (multi user) and the latest bbpress.
now at step 2.19 i can’t seem to login to the bbpress dashboard. mydomain.com/forum/bb-admin redirects to mydomain.com/forum/.
– i am already login in WP
– i have bbpress and WP in root
Any ideas/tips
If someone copy/pastes a paragraph of text that has wiki formatting into a post, I can no longer view the page with the post on it (gives me a 404 error), nor can I use post administration (also gives me a 404 error). The only way to resolve it is to delete the entire topic in topic administration (hopefully there weren’t any posts you liked in it!). The test text I used was very basic, it was text with just a header and body, nothing more and it still caused the issue. It also contained “quotes” but not the straight up and down kind, the slanted kind.
I’m not certain if this is a known bug, or just my installation acting funny, either way, I really don’t want people purposefully or accidentally forcing me to delete topics, so any feedback on this would be greatly appreciated.
Oh, and yes I can still post/edit normal text to my forum so no its not my server acting up entirely.
Can people register with WordPress?