Skip to:
Content
Pages
Categories
Search
Top
Bottom

My bbpress forum starting showing error , help me

Published on August 16th, 2010 by

I just shifted to new webhost recently and found that mybbpress forum is not working as it used to work before, I had also upgraded wordpress to 3.1. The bbpress forum version was 1…

I think something went wrong with the transfer to the new webhost

My bbpress forum and wordpress blog was integrated..

My wp blog – http://vlovers.com

My bbpress forum – http://vlovers.com/forum

Please see my error and hint me in required direction..

Thank you!

Sub Forums

Published on August 15th, 2010 by aspen102

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 —

bb_subscription_management

Published on August 14th, 2010 by Ashish Kumar (Ashfame)

I was making a custom plugin to make users subscribe to topics so I attached my function to hook bb_insert_topic but bb_subscription_management() doesn’t work here.

Its working under a different function hooked to register_user though.

Any ideas what could be wrong? And how can I actually debug it.

Timezone changing crashes BBpress / Not functioning?

Published on August 14th, 2010 by Kojichan

Fatal error: Uncaught exception ‘Exception’ with message ‘DateTimeZone::__construct() [datetimezone.–construct]: Unknown or bad timezone (UTC-7)’ in /home/neosmcn1/public_html/hsti/forum/bb-admin/options-general.php:180 Stack trace: #0 /home/neosmcn1/public_html/hsti/forum/bb-admin/options-general.php(180): DateTimeZone->__construct(‘UTC-7’) #1 {main} thrown in /home/neosmcn1/public_html/hsti/forum/bb-admin/options-general.php on line 180


Here’s a random question, does BBPress support timezone differences?

I see the option in the options-general.php in bb-admin, but, I’m beginning to wonder if it’s implemented yet. Doesn’t’ appear to be, yet. As I can change the time-zone willy-nilly, and the times listed below are not affected. (IE, I’m GMT-7, so I have selected Edmonton as the closets city to me. At the time of writing, it is 12:43p here, and my forum says it’s 6:43p. Mind you, it ALSO says that UTC ALSO is 6:43p. … whut??)

Moreover, the options drop-down seems to be populating false timezones toward the end, the UTCxxxx portions. UTC itself is fine under ETC, but under the “Manual offsets” there are a set of UTC-7, UTC+7, UTC-1, etc. However, in PHP, DateTimeZone does not recognize the UTC-xx or UTC+xx values. They are incorrect. Shouldn’t they be GMT-xxx or GMT+xxx?

I’ve tried looking in the code for some answers, (bb-includes/backpress/functions.core.php and bb-admin/options-general.php ) but neither of them seem to be shedding any light…

How to find the best bbpress theme that integrated seamlessly with WordPress the

Published on August 14th, 2010 by kasumo

Please advise about the web addresses of the best freee bbpress theme that integrated seamlessly with wordpress theme

many thanks

[multiple plugins] Moderation issues

Published on August 14th, 2010 by pastorbobsforum

Hello.

I want to start by thanking the following developers: _ck_, Nightgunner5, Yu-Jie Lin, Olaf Lederer and michelwppi; for their time and effort in bringing about some very useful plugins.

I have a few comments of my own, and in some cases, very important questions as well.

Even though I have very few genuine users on my forum – four to be more precise, I have decided to (try to) offer as good of a service as I can. I have had a couple of spam posts (5.88%), which Akismet handled impeccably so far.

Also, in the last few days I have had about 20-25 new users that only registered, and considering some of their email addresses, have no other intention but to spam. In this case, another useful plugin came to my rescue, Enhanced Registration, which appears to be doing the perfect job. In conjunction with this plugin, I am using New User Notification Email, so I am always notified whenever a new user registers and if in X hours he/she doesn’t login, then their username is removed and my database kept clean. A very good combination in my opinion.

Further on, a common plugin for moderation that I am also using is bbPress Moderation Suite, and I am sure that it would prove its worth when people will be more interested in what I have to say on my forum. Anyway, I think it’s missing a very useful feature, provided (luckily enough) by Moderate new members’ first posts. Now, I have no doubt that this last plugin is working fine with some people, but not with me. What I wanted was to be notified once at an email address of my own choice (other than admin_email), whenever a new member made his first post (or after two). After that, he/she would post unhindered.

So, I (think that I) have identified the section in the plugin that needs attention, where the post count is made:

if(!is_moderator($bb_current_user->ID)) {
$sql = "
SELECT COUNT(*)
FROM $bbdb->posts
WHERE poster_id = $bb_current_user->ID AND post_status = 0
";
$userpostcount = intval($bbdb->get_var($sql));
}

And where they are marked for moderation (as spam):

if($userpostcount <= POST_NUMBER_MODERATION) {
$sql2 = "
UPDATE $bbdb->posts
SET post_status = 2
WHERE poster_id = $bb_current_user->ID
";
$markedasspam = $bbdb->get_results($sql2);
}

Now, I wouldn’t know what or where to edit in order to have it do what I want, and that is why I would appreciate it if someone who does know it would assist me. No matter how many times my dummy user called “testing” makes a post, I always get a notification, at the default email address.

I only want to be notified of the first post because I am using xili New Post Notification (xnpn) for the rest of them, at a different email address. What I like about this plugin is that it gives me the possibility to assign an email address of my own choice. It’s true that I would get an email twice when an user would post for the first time (2 plugins), but I can live with that, since they are at different email addresses (the default and my choice).

Thank you,

Bob

How to install?

Published on August 14th, 2010 by dorae_monty

I use wordpress theme on bluehost domain. I am not sure where I should upload the bbpress folder into. I would like the forum to be one of the pages of the website.

Thank you in advance!

Link to wordpress from bbpress

Published on August 14th, 2010 by beles

You guessed right! A newbe:-) I figured out how to have a link from WP to bb. But not the other way round. Help. Using the Kakumei 1.0 theme.

uri override in bb-config.php locks url in general-settings

Published on August 13th, 2010 by extremejacob

I typed in the wrong url in general-settings and was unable to get back to change it.

I have been able to recover and get back into admin by inserting (in bb-config.php)

$bb->uri = ‘http://website.com/’;

However, now the url in general-settings can’t be changed (it shows a lock), presumably because of the hard override in bb-config.php.

I seem to be stuck in a catch-22. If I remove the override, I can’t change the admin/general-settings. If I don’t have the override, I can’t access the admin/general-settings.

Any ideas?

Can I change the url directly? I presume admin/general-settings writes the configuration to a file somewhere? Can I edit that manually instead?

All deleted posts becoming undeleted

Published on August 13th, 2010 by ph23man

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!

Skip to toolbar