Skip to:
Content
Pages
Categories
Search
Top
Bottom

Logout error when bbPress plugin is active

Published on August 14th, 2011 by soggybiscuit

Hi

I have a logout issue which shows an error when I logout of the admin area. The error is:

Not Found

The requested URL /forum/forum/wp-admin/edit.php was not found on this server.

The WordPress installation is at /forum on the domain and bbpress seems to have added another /forum to the url. If I take that out of the url, it logs out as it should.

If I deactivate the plugin (it’s the only plugin in the WP install) it logs out as it should.

Could anyone throw any light on what might be happening please and how to fix it?

Thanks

Replace "sticky" and "locked" text with images?

Published on August 14th, 2011 by nmsakura

Is there a way to replace the “sticky” and “locked” text in front of subjects with images?

Any help would be great!

Localization: Phrases for empty categories and forums not fully translatable

Published on August 13th, 2011 by svedman

I brought this issue up a while back, but it’s still present in 2.0-rc-2.

In bbpress.pot, the original strings are:

This forum contains %1$s and %2$s.

This category contains %1$s and %2$s.

With bbPress 2.0-rc-2 fully translated, these phrases seem to use hard-coded English for the words topic/topics and reply/replies.

Translated to Norwegian, the finished phrases will thus be:

Dette forumet inneholder 0 topics og 0 replies.

Denne kategorien inneholder 0 topics og 0 replies.

When they should be:

Dette forumet inneholder 0 tråder og 0 svar.

Denne kategorien inneholder 0 tråder og 0 svar.

Theme won't support a Child Theme.. now what?

Published on August 13th, 2011 by tnwinn

Hi, I am using a custom theme, which I am not the author of. I have, however, made quite a few changes to the css of my current theme. In order to try and fully integrate the bbpress plugin, I tried to set up a child theme (according to JJJ instructions), but it seems that my current theme just doesn’t support one. My question is, where do I go from here?

The other interesting thing is that I changed from a standalone bbpress to the plugin, and imported all of our topics, post, etc. just fine. What also appeared, surprisingly, was the custom edits we had made to our standalone bbpress forum. Can someone tell me how/where it is pulling these codes/styles from?

Thanks in advance!!

gogo-gringo.com

gogo-gringo.com/forum

Overwriting core functions

Published on August 13th, 2011 by

Ok I am trying to integrate bbpress here http://fanart.tv/forums/ and have a couple of questions.

I have my installation set up as such:

2.0 plugin installed

wp-content/themes/fanart/

wp-content/themes/fanart-child/

All the forum specific stuff is in the child theme.

I want to change the freshness link to be something like > topic title – 2 hours ago by kode.

My issue is that loop-forums.php uses bbp_forum_freshness_link, which in turn calls the function bbp_get_forum_freshness_link, both of which are in the core plugin, so if I edit either of these, when I upgrade the plugin my changes will dissapear, what do I need to do to overwrite it, or is there a better way to deal with it?

My second question is how would I get the amount of forums / topics / posts etc?

Currently in my header I have.

$bbforums = $wpdb->get_row(“SELECT COUNT(ID) as forum_count FROM wp_posts WHERE post_type = ‘forum’ AND post_status = ‘publish'”);

$bbtopics = $wpdb->get_row(“SELECT COUNT(ID) as topic_count FROM wp_posts WHERE post_type = ‘topic’ AND post_status = ‘publish'”);

$bbreplies = $wpdb->get_row(“SELECT COUNT(ID) as reply_count FROM wp_posts WHERE post_type = ‘reply’ AND post_status = ‘publish'”);

<h2>Forums <span class=”info-text pop”><?php echo $bbforums->forum_count.” forum(s) / “.$bbtopics->topic_count.” topic(s) / “.$bbreplies->reply_count.” post(s)”; ?></span></h2>

But this is bringing back 5 forums (correct, I have 5 public forums and 1 private forum), 7 topics (incorrect, 2 of those are from the private forum, so I guess I need to left join the forum as well), 15 posts (this is the one that is confusing me, it should be 19, or 22 if it was bringing back the private ones) My ip has changed on my home address so I can’t bring up phpmyadmin to check until my host responds, so if anyone has any ideas in the mean time, please let me know.

Cannot install at pair networks

Published on August 13th, 2011 by mrwolfy

I get the following (code on the bottom) errors before installation. I can get the setup going, but the final install, after step 3 fails. I get the following message:

“The database failed to install. You may need to replace bbPress with a fresh copy and start again.”

error code:

Deprecated: Assigning the return value of new by reference is deprecated in /usr/www/users/zensmart/comicbookusers/forum/bb-admin/includes/class.bb-install.php on line 1283

Deprecated: Assigning the return value of new by reference is deprecated in /usr/www/users/zensmart/comicbookusers/forum/bb-includes/functions.bb-l10n.php on line 484

Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/zensmart/comicbookusers/forum/bb-admin/includes/class.bb-install.php:1283) in /usr/www/users/zensmart/comicbookusers/forum/bb-admin/includes/class.bb-install.php on line 393

Deprecated: Assigning the return value of new by reference is deprecated in /usr/www/users/zensmart/comicbookusers/forum/bb-includes/backpress/pomo/mo.php on line 171

Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/zensmart/comicbookusers/forum/bb-admin/includes/class.bb-install.php:1283) in /usr/www/users/zensmart/comicbookusers/forum/bb-admin/includes/class.bb-install.php on line 393

Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/zensmart/comicbookusers/forum/bb-admin/includes/class.bb-install.php:1283) in /usr/www/users/zensmart/comicbookusers/forum/bb-includes/functions.bb-core.php on line 1136

Facebook like plugin not css validator compatible

Published on August 13th, 2011 by sureshdrim

Hi Guys,

I am using facebook Like plugin on my forum. Its working perfect but when I validate my website pages with http://validator.w3.org it gives lot of css errors with facebook like button markup.

Isn’t there any version of this like button which is css validator compatible? I am validating my website because I want to make it search engine friendly.

Any advice in this regard will be highly appreciated.

Help a new member

Published on August 13th, 2011 by spaghetti

How come I cannot start a new topic here at bbpress? Can someone help me with this? Tons of thanks :)

Can't go to next page

Published on August 13th, 2011 by Mike1233

when i click on link to apge 2 i became a error “site not found”. i try anything what i can but i find no way to go to page 2.

have anybody an idea or have the same problem?

Force WP Registration

Published on August 12th, 2011 by peaceharbor

I heard I can place my WP registration URL in this code below, overwriting the old code, to reroute my forum users to register on my WP site instead of using bbPress registration. My forum and site are already linked. Everything is good to go other than this minor issue. Can anyone help/advise? Thanks…

<form class=”login” method=”post” action=”<?php bb_uri( ‘bb-login.php’, null, BB_URI_CONTEXT_FORM_ACTION + BB_URI_CONTEXT_BB_USER_FORMS ); ?>”>

<div class=”loginformtop”>

<div class=”usernamelogin”>

<label>

<input value=”<?php _e(‘Username’); ?>” onfocus=”if(this.value=='<?php _e(‘Username’); ?>’){this.value=”;}” onblur=”if(this.value==”){this.value='<?php _e(‘Username’); ?>’;}” name=”user_login” type=”text” id=”quick_user_login” size=”13″ maxlength=”40″ value=”<?php if (!is_bool($user_login)) echo $user_login; ?>” tabindex=”1″ />

</label>

</div>

<div class=”passwordlogin”>

<label>

<input value=”<?php _e(‘Password’); ?>” onfocus=”if(this.value=='<?php _e(‘Password’); ?>’){this.value=”;}” onblur=”if(this.value==”){this.value='<?php _e(‘Password’); ?>’;}” name=”password” type=”password” id=”quick_password” size=”13″ maxlength=”40″ tabindex=”2″ />

</label>

<label class=”rememberme”>

<?php _e(‘Remember me’); ?>

<input name=”remember” type=”checkbox” id=”quick_remember” value=”1″ tabindex=”3″<?php echo $remember_checked; ?> />

</label>

</div>

<input name=”re” type=”hidden” value=”<?php echo $re; ?>” />

<?php wp_referer_field(); ?>

<input type=”submit” name=”Submit” class=”submit” value=”<?php echo esc_attr__( ‘Log in »’ ); ?>” tabindex=”4″ />

<p class=”loginmeta”>

<?php

printf(

__( ‘Registerlost password?‘ ),

bb_get_uri( ‘register.php’, null, BB_URI_CONTEXT_A_HREF + BB_URI_CONTEXT_BB_USER_FORMS ),

bb_get_uri( ‘bb-login.php’, null, BB_URI_CONTEXT_FORM_ACTION + BB_URI_CONTEXT_BB_USER_FORMS )

);

?>

</p>

</div>

</form>

Skip to toolbar