Skip to:
Content
Pages
Categories
Search
Top
Bottom

problem with installation

Published on November 30th, 2009 by radovanx

When I installed bbpress I am trying login in to administration but its imposible with this code

Deprecated: Assigning the return value of new by reference is deprecated in C:xampplitehtdocsbbpressbb-settings.php on line 186

Deprecated: Assigning the return value of new by reference is deprecated in C:xampplitehtdocsbbpressbb-includesbackpressfunctions.wp-object-cache.php on line 108

Deprecated: Assigning the return value of new by reference is deprecated in C:xampplitehtdocsbbpressbb-includesbackpresspomomo.php on line 171

Deprecated: Assigning the return value of new by reference is deprecated in C:xampplitehtdocsbbpressbb-includesfunctions.bb-l10n.php on line 484

Deprecated: Assigning the return value of new by reference is deprecated in C:xampplitehtdocsbbpressbb-includesbackpressclass.wp-taxonomy.php on line 581

Warning: Cannot modify header information – headers already sent by (output started at C:xampplitehtdocsbbpressbb-settings.php:186) in C:xampplitehtdocsbbpressbb-includesbackpressclass.wp-auth.php on line 273

Warning: Cannot modify header information – headers already sent by (output started at C:xampplitehtdocsbbpressbb-settings.php:186) in C:xampplitehtdocsbbpressbb-includesbackpressclass.wp-auth.php on line 273

Warning: Cannot modify header information – headers already sent by (output started at C:xampplitehtdocsbbpressbb-settings.php:186) in C:xampplitehtdocsbbpressbb-includesbackpressclass.wp-auth.php on line 273

Warning: Cannot modify header information – headers already sent by (output started at C:xampplitehtdocsbbpressbb-settings.php:186) in C:xampplitehtdocsbbpressbb-includesbackpressclass.wp-auth.php on line 273

Warning: Cannot modify header information – headers already sent by (output started at C:xampplitehtdocsbbpressbb-settings.php:186) in C:xampplitehtdocsbbpressbb-includesbackpressclass.wp-auth.php on line 273

Warning: Cannot modify header information – headers already sent by (output started at C:xampplitehtdocsbbpressbb-settings.php:186) in C:xampplitehtdocsbbpressbb-includesfunctions.bb-pluggable.php on line 232

Integration

Published on November 30th, 2009 by Macmenddotcom

I have integrated my test forum with wordpress. Both have seperate databases and are on the same host server but bbpress is in a sub-directory, Wp is in the root. WordPress has 4 members bbpress has 300, afterwords bbpress has only 4 members, why is that, it seems like instead of integration wordpress details have overwritten bbpress…any one able to help

bbShowcase shut down?

Published on November 30th, 2009 by Steven Hodson

I just tried to drop by bbShowcase and found this waiting for anyone visiting


The bbPress Showcase has been discontinued.

The removal of Sam Bauers and the halting of bbpress.org 2.0

was a clear and final sign that there is no interest in allowing

bbPress to become a mature, robust program and community.

By now bbPress 1.5 could have been in alpha but instead

bbPress development has been deliberately stagnated,

which should be a very alarming warning to everyone.

In addition, bbShowcase had only six donations in 2009,

which indicated to me there was no interest in my work.

My code will remain on bbpress.org as open source GPL

for those that wish to use it, however I caution you to

consider bbPress’s lack of leadership before continuing to use it.


BUG: Previous link on frontpage pagination doesn't work

Published on November 30th, 2009 by

I’m running bbPress 1.0.2.

I’m having problems with the “PREVIOUS” link when using the “bb_latest_topics_pages” function.

I have the following code on my frontpage.php


<?php endforeach; endif; // $topics ?>

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

div>’ ) ); ?>


It display paged frontpage topic links (1, 2, 3, Next) but whenever I’m on a page other than the frontpage … for example, Page 2, both the Previous and Page 1 link points to the current page and not the previous page.

Too long "Latest Discussions" List

Published on November 29th, 2009 by Kunstbanause

Hi there good people,

my bbPress forum has a bunch of Latest Discussions but I dint want them all to be shown on the Main Page. Currently there are 15 shown. I’d rather have 3 or 5. Is there a way to do so?

Best regards

-Ben

rss.php patch

Published on November 29th, 2009 by

Hey there, just had an issue with the “favorites” RSS and wanted to share my solution in case anyone else was having the same problem. Maybe it was just a Firefox thing, but the favorites URL (e.g., rss.php?profile=1) was interpreted as “unformatted XML”–there was an error message and the entire markup was displayed. I eventually discovered this was caused by an <a> tag inside the channel’s <link> tag. By changing the “bb_get_profile_link” call to a “get_user_profile_link” call in rss.php I got the URL without the tag, and the feed was interpreted correctly.

Incidentally, I also noticed a couple other things about the script that seemed a bit off–

1) There are a number of calls to “die()” if the feed turns out to be empty–seems like either an empty feed or an error page would be preferable to this silent failure.

2) The “bb_send_304()” call doesn’t take into account that the feed itself may have changed recently, e.g. threads added to a “favorites” list won’t show up until activity on one of the threads causes the feed to be refreshed. (Which is not totally illogical, but it can be confusing for the user to add a favorite, refresh the feed, and still not see the newly-added thread.)

I thought about working up a patch to address these issues, but decided to post this first–maybe the script’s working exactly as intended and I’m just not understanding it correctly.

How to set your own custom default avatar, when users have no gravatar

Published on November 29th, 2009 by

I am sharing this, just in case it may help someone else looking to implement this feature. There is a great plugin that does this, bbAvatars, but it was interfering with other functions I wanted to implement, so I had to find a workaround (bbPress 1.0.2).

With the premise that I really don’t like to edit core files, because you have to remember to edit them each time you upgrade, this time I had no choice, as any avatar plugin I tried did not work out for my purposes. There are a few simple steps you can use to set your own custom avatar, when users have not set a gravatar account.

1 – I have noticed that the “blank” choice in the settings is the only one that refers to an internal image, so you just want the code to point to your own custom image, rather than “blank.gif” (which may be also used for other calls, so I wanted to leave that one alone and not replace it with another custom blank).

In “bb-includes”, look for the file “functions.bb-pluggable.php”, and edit around line 895, where it says

case 'blank':
$default = bb_get_uri( 'bb-admin/images/blank.gif', null, BB_URI_CONTEXT_IMG_SRC );

and change blank.gif with your image, default.jpg or any other name.

2 – Upload your custom image in bb-admin/images (if you store it somewhere else, change the path in the code above accordingly).

3 – In your Admin Dashboard –> Settings –> Discussions, set the choice to “blank”.

Voila!!!!

To change the avatar size from the bbpress default size, in post.php of your templates, look for

<?php post_author_avatar_link(); ?>

and add the number of pixels inside (), for example:

<?php post_author_avatar_link(80); ?>

Hope this helps!

Plugin stats are here!

Published on November 29th, 2009 by Ben L.

Of course, you need to use a greasemonkey script, but it’s better than nothing.

It’s funny how all the information was available and the page still hasn’t been officially put up.

Well, I'm doing SOMETHING wrong, I can tell you that much

Published on November 29th, 2009 by yaysloths

So the background is this: I’m creating a website that is basically just one single forum, and it’s important that it be as private as possible. I understand that it’s impossible to guarantee security for pretty much anything online, and I’m not talking about huge matters of national security or anything; it’s just an online extension of a support group I’m part of, and it would be easier to talk about some of the difficult things we’re talking about if it we felt relatively secure that it was just us reading it.

And I’m being extra-difficult by trying to make the “front page” actually be the forum page – seeing as how there’s only one, it seemed silly to click through two screens to get to the content. I followed chrishajers’ ninja code here and it’s awesome.

Then I tried to find the Force Login plugin but got a 404 when I tried to download it. So I tried the Hidden Forums plugin and chased my own tail for a few hours trying to get it to work. Couldn’t do it, gave up, found this version of Force Login, installed it, all good! (Well, except for there not being an option to register, only log in, but I can deal with that later.)

Then I got paranoid and figured I’d try adding Hidden Forums again (JUST TO BE SAFE DON’T YOU KNOW) and I found this. Neat! Changed that line of code, and everything was great when I logged in as admin/keymaster. It was great when I logged in as a test member who had access to the forum. Then I tried to log in as a test member who did NOT have access to the forum, and it threw Foxfire into a redirect loop and timed out. I couldn’t get the login page back at all, so I manually deleted the Hidden Forums plugin from my server & I could get back in.

It makes perfect sense that bbpress wouldn’t really know what to do when it’s simultaneously told “don’t show any hidden forums!” and “there’s only one forum and it’s hidden!” So I’m wondering what the best way is to proceed…if I just have Force Login working (as well as Approve User Registration), is Hidden Forums overkill? Or is Hidden Forums a stronger plugin, and I should lose Force Login? Or does it make sense to try to get them both to work?

And as far as other security measures go, I’ve got this going on in the header:

<META NAME="ROBOTS" CONTENT="NONE">

<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">

<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">

…and a robots.txt with this:

User-agent: *

Disallow: /

Am I missing anything? Many thanks for your help, and even more for your patience.

plugins in my-plugins not installing

Published on November 29th, 2009 by Steven Hodson

While I am going through this process of converting SMF to bbPress I am trying to install some plugins but have run up against a problem. For single file plugins there is no problem they can be activated. The problem comes when trying to activate a plugin in its own folder ie:

/my-plugins/

—-/some-plugin/

The same applies as well to the base bb-plugin folder.

Any suggestions on how to fix this would be greatly appreciated.

I should note that this is an install running on a Win Server with all the PHP/MySQL goodies installed.

Skip to toolbar