Also, please note! If you’re running WordPress version 2.1 alphaX, or now it’s in Beta state, and you have the bbPress Integration plugin going on it..
find this line:
require_once( ABSPATH . WPINC . ‘/registration-functions.php’ );
change it to this:
require_once( ABSPATH . WPINC . ‘/registration.php’ );
(The devs renamed the file in the includes/ directory for 2.1)
This is probably the main cause of these errors.. Also, we’d better make sure of any other bbPress plugins using that first call to the /registration-functions.php file.. and change accordingly..
This is for 2.1 alphaX, and now 2.1-betaX users only!!
spencerp
Why not run an absolute path?
require_once(/var/www/html/mysite_function.php);
Does that work?
If it is root bbPress folder, you could use what is in config.php
require_once( BBPATH . 'mysite_function.php' );
Should be pretty easy……?
Trent
On my site, I have a file of general purpose functions in the site root called “mysite_functions.php.” I have WordPress installed in /wordpress, and bbPress installed in /wordpress/bbpress. I have altered wp_setcookie() and wp_clearcookie() in a WordPress plugin. In those two functions, I use require_once('../mysite_functions.php');
, and then the function call. It works fine.
The problem comes in the bbPress plugins. I have a plugin overriding bb_login() and bb_logout(). In each of those functions I use the exact same code to call mysite_functions.php, but I get “failed to open stream: No such file or directory in [file path] [line number]”
In either case, the functions are unchanged with the exception of appending:
require_once("../mysite_functions.php");
call_my_function();
Alrighty, just to be a dumbarse, I’d love to use this plugin but I’ve NO idea how to do the “Upgrade the installation of bbPress to the latest version from the code repository” bit.
I’ve recently migrated from phpBB over to BBpress, with all my posts and topics thankfully intact… but I’ve some forums I need to hide.
Is there no way to hide forums based on the user level at all?
For me, as well as Trent because we are WP and BB integrated.. for some reason in the USERS section of the WP-ADMIN panel, for the user’s email addy, it displays “1” as well..
Any thoughts on this? Any possible way to fix this.. or will the fix that you provide above work, Trent? Meaning, once we’d do that fix you gave above, the user’s email addy will then show in the WP-ADMIN => USERS email addy box…
Either way though, this CORE HACK would have to be applied after each bbPress upgrade though!.. (Unless of course, there were no changes to that file between releases).. I’ve been getting the SVN commits lately, and I think it was one that was “changed”.. so.. please keep this mind too!
spencerp
arden, here’s what’s in the config file:
$bb->domain = 'http://navfm.org';
$bb->path = '/bbpress/'
Is that what you mean?
since I use the function bb_get_option('uri')
to build the link, I have no clue why it would be showing up as /forums instead of /bbpress for you. I assume it’s correct in your config.php file?
Make it simple for now until Ardenfrost can answer! Change that line to:
<li class="view"><a href="http://navfm.org/bbpress/mlist.php">Member List</a></li>
Just add in your actual URL (hardcode it!)
Trent
I would go to front-page.php and check that the code you entered for the link is /bbpress/mlist.php and not /forum/mlist.php because you would of had to enter the link yourself.
Trent
eeek. me again. I have bbpress installed in a folder called ‘bbpress’ (not ‘forum’) in my root directory. (Site is here: http://navfm.org/bbpress) The members link shows up fine in the Views list, but takes me to this error:
“The requested URL /forums/mlist.php was not found on this server.”
I do have pretty permalinks enabled, if that matters. I tried to find where it calls the /forums directory in the plugin files but don’t know what I’m looking for exactly.
How difficult or different is it to update the bbPress version [from .72 to .73] if I’ve got it embedded/integrated with in WP [2.04] and not lose the 200+ members info logins etc…?
tia
Updates:
– Added choice either to completely hide private forums or show them with private prefix
– Added selectable prefix text, default set to ‘private’
– Removed redundant forum_access_update_option
– Created Common Submit for all options
Ref:
http://bbpress.org/forums/topic/385
http://bbpress.org/forums/topic/385?replies=25#post-2808
Download:
http://www.adityanaik.com/projects/plugins/bb-private-forums/
You uploaded the files to the right place! bbPress will try and see if a file is located in those 2 directories before defaulting back to the bb-templates/ directory!
As for the link to thte member list page, most people have been adding that in their ‘views’ section of front-page.php. Copy front-page.php from /bb-templates/, edit the file to include the link, re-upload into my-templates/
That way, if it doesn’t work (the way you edited it), you can delete front-page.php from my-templates and bbPress will use the original again in bb-templates! Nice eh!
Trent
On my server I have a subdirectory called “forums” and the my- folders went into that directory. That’s the same directory I unzipped the bbpress files to. Other folders in that directory are bb-admin, bb-cache, bb-images, etc…
I put my link in the file front-page.php in my-templates (it’s initial home is bb-templates, you have to copy it over into my-templates and change it). I just stuck it under the “Views” section (you can see the result on http://www.rayd.org/forums/ but you have to login) or you can do what Spencer did and put it in your header so the link can be seen on every page (you can see that on http://spencerp.net/forums/ and you don’t even have to login). The only thing about putting it in the header is you need to surround it with div tags and using css to place it.
Hi – I downloaded v.73c of this plugin and have a couple of questions about directories and where to put the link.
1. I created a my-plugins and a my-templates directory in the root of my bbpress directory, and uploaded the files as directed in the README file. Is that correct, or do those new my- directories go someplace else?
2. Into which file would I insert the link to the member list?
Thanks for your patience with this bbpress newb.
This is just something a lot easyer to do. It requires just a small plugin, I’ll make one for this, ok? 
The posts since last visit plugin is getting a bit more complicated then I thought. I’m doing it as plugin for my onlinelist plugin, cause I think doing this database driven is better … so you can view the posts since your last visit anywhere.
If you want to see how it looks like at the moment, go to
http://la-school.com/bbpress/ (Test / test) … not sure if you can really try it
i’ve already eMailed the UTW author (i hope she notices), perhaps we’ll get a future version of UTW that “realizes” and integrates the bbpress tags as well? (hopes…)
I know this post is a little over do, but I will quote Matt:
“bbPress can power a forum with hundreds of thousands of posts with just a fraction of the load as WordPress.” – Matt
Trent
I would get your host to up the memory in php.ini to accomodate the script. How big is your phpbb2 database? I moved over a forum that was 1600 entries without too much hassle….(needed 16 megs in php.ini though)
Trent
I’m getting an ‘out of memory error’ as so:
Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 5803 bytes) in /home/pith/domains/pithrecords.com/public_html/phpbb2bbpress.php on line 910
… is it just that my server sux?
Welcome Maguire as the newest (and maybe youngest) member of the bbPress community!
BLOG: http://www.maguireadams.ca
FORUM: http://www.maguireadams.ca/forum/
Take it easy on him OK….he is only 2….
Trent
I’d also like to see #4 implemented into bbPress, but I think we’ll have to at least get the “Forum Categories” plugin out first, then it might be a little easier for the subforums deal..
For #5, I thought I seen a post about this some where, where “they” were using the WP editor, with bbPress.. I could be wrong though..
All the other numbered requests sound good to me as well..
We’ll just have to see what comes out next lol..
[Mentally visualizes Josh, and the other plugin author’s rubbing their hands together.. and getting busy.. hahaha.. ]
spencerp
Mbyte has released 0.4! Check out the information on his download page:
bbPress Post 0.4 Download Page
The main plugin page located here
Trent