Please don’t modify any core files. What you are asking can be done in your template files. What template are you using? Please post a link to your forum so we can show you the proper place to modify this. If you look at other bbPress sites, the pagination does not look like yours. The way that looks is a theme function, not a core function.
Ipstenu: I still have the same problem. I’ve checked if KEY strings matched, and they do.
WP KEY:
define('AUTH_KEY', 'this is my key');
bbPress KEY:
define('BB_AUTH_KEY', 'this is my key');
I’ve tried th change “BB_AUTH_KEY” (bbPress KEY) to “AUTH_KEY”, but it still doesn’t work…
Looks like the forum ate your code but to display the forum name when you only have the id, you can use the built in bbpress functions
echo get_forum_name($result->forum_id);
or
echo "Posted by $result->topic_poster_name in ".get_forum_name($result->forum_id);
or
echo "Posted by <a href='".bb_get_profile_link($result->topic_poster)."'>$result->topic_poster_name</a>
in <a href='".get_forum_link($result->forum_id);."'>".get_forum_name($result->forum_id)."</a>";
The only time I saw mrc2407’s error was when my KEY strings weren’t actually matched up. After I dumped all cookies and repasted from WP into BB, it magically started working.
also, I got this far… just not sure how to get the forum name, since only the forum ID is listed in this table… not sure how I pull the otehr table and combine the two.
echo "
<li><a>topic_id."'>".$result->topic_title."</a>Posted by: ".$result->topic_poster_name.".</li>
";
man, this is so great. I am using this now instead of rss and i like it so much more!!!
would you be willing to show how we would add
“Posted by $user in $forum.”
under the list of topics?
I believe there is a plugin that does this by polling the DB. Not sure if it is on the plugins site here or over at https://wordpress.org/extend/plugins but it is called something like “bbPress Latest Discussions” or something like that.
Turns out the Manage -> Recount didn’t solve the issue.
I did a clean install of BBpress integrated with WordPress and reproduced the problem. I failed to reproduce the problem the first time since I only had two users.
Try this on a clean install-
0. Use keymaster account to write a two posts under two topics.
1. Create user #2.
2. Login user #1 and create two posts under same two topics written by user #1.
3. Using wordpress admin delete user #2.
4. Create user #3 and log in as user #3.
5. Display topics.
6. Note that the keymaster account is ‘inactive’. This is a result of the SQL request for the account level failing.
martenk: Yes, I do, but in my case the users database is blog_users (I hope it won’t mind)
As for linking to the forum from the blog like as if it was a page it’s just a matter of installing this plugin: http://txfx.net/code/wordpress/page-links-to/
Works great.
mrc2407: Do you have both bbpress and wp installed in the same database and sharing the user table? (wp_users)
Was a ticket ever created for this? The problem still exists in alpha 6 on Windows servers. I couldn’t find a ticket so I’ll probably just create a new one
I have bbPress 0.9.0.4 up and running and have heavily modified a theme to change the front page, and forum pages. Here is my hierarchy:
Front Page – displays only the top level forums (Parent), but also display sub forums descriptions (Group), then the sub forums of each group (Child) are listed and linked. Looks really cool and is exactly what we need for a project I am working on. I have modified the forum.php to check what type of forum it is (Parent, Group, Child) and load the correct file.
Now, I would like to have a “Hot Topics” page where any item set as “sticky to the top” will list just like they would normally list on the standard home page. Is there a way to set bbpress to load a non-standard file, so like /bbpress/hot-topics.php, which is actually the original forum.php
Hope that hasn’t confused anyone. I have looked around at all the bbPress code to find a hook, action or filter for this, but can’t seem to find it. Thanks.
Hi!
I use bbPress-alpha-6 and WP2.7 with the “bbPress Integration” plugin. I’ve configured both plugin and bbPress in order to get a full integration, but I can’t be connected in both sites at the same time. I tried modifying bb-config.php file and copying the wp-config.php LOGGED_IN_KEY and AUTH_KEY strings to bb-config.php, and then I could be connected in both sites, but I couldn’t go to the bbPress’ admin.
Any idea? Maybe I’ll get a full integration if I use Backpress, as suggested ganzua?
Of course things will break when you use the alpha (which you failed to mention).
I’ve updated it to 0.0.2 to deal with the mess in bbPress 1.0
Im installing bbpress, the newest alpha, and integrating it with wordpress 2.7
After installation (goes smoothly) i go to the main page, and it says
You must specify a table prefix in your bb-config.php file.
When i go into my config file, i see the prefix defined as bb_….
What am i doing wrong?
Thanks!
I’m of the ‘better safe than sorry’ variety of nerd.
By ‘changing your password’ I mean all of ’em.
your ftp password
your cpanel password (if they’re not the same)
your email password (ditto)
your SQL db password to that DB
your WordPress/bbPress password
anything else you use on this site
Yeah, pain in the ass. But again, safer vs sorrier. This all could be one colossal typo of yours that you forgot, or what have you. But if you’re worried it was a hack, then you do what needs doing to stop it cold turkey.
I ran into the same problem.
When you enable integration, there are a couple of rows that are created in the bbp_topicsmeta table, including wp_siteurl, wp_home, and wp_table_prefix.
After deleting these rows, I was able to log back into my bbPress forum.
You will have to excuse my ignorance but I have no idea what that means.
I just use normal ftp to edit the site, I am guessing sftp is secure ftp but would that really matter as I am only uploading files with it…once they are live is when they get hacked is that not right?
Clear text passwords?
You mean on the database? I just use whatever default settings bbpress operates with.
Sorry for all of the questions, I am investigating this on my own as well so I dont nag you guys too much.
Also not sure what ssh is.
Also, in general, bbPress, WordPress, most modern forums and modern blogging platforms use a database to store the data for the site. There are files on the filesystem as well, but in addition to those, there is almost always data stored in a database. In anything other than a simple static site (and with systems that use flat files rather than a database for data storage) you’ll find that there is almost always a database involved.
You’ll see on this page that there are some flat file systems, no database required, but most forums and content management systems and blogging platforms use a database back-end for storage:
http://en.wikipedia.org/wiki/Comparison_of_content_management_systems
If you’re doing this for a client, I think you should get some assistance to make sure it goes well.
The database lives on a host that the client is (probably) paying for right now, maybe his web host. They probably have a control panel and in there some sort of tool for managing a database. Depending on the tool, there should be a way to export or dump the database. Once you have that file saved locally on your computer, you can go about using a similar tool on your host, in reverse though, for import instead of export. That takes care of the database.
Then you need to grab all the bbPress files off their web host, and transfer those to your web host.
If you’re not changing domain names, just hosting, then you need only worry about DNS, not modifying any of the settings for the site (other than database connection details: those will certainly be different on your server.)
Also, in general, don’t forget about any email addresses they might have created at the old web host. You’ll need to recreate those on your server. That’s got nothing to do with bbPress, but I almost always forget to do that, and then remember it later.
Good luck.
To me, this would be the single most important bbPress feature imaginable. Facebook, not OpenID.
not sure if this is the right place for this question.
My client needs to have his bbpress forums moved from one server to mine. I am unfamiliar with bbpress (for now). Can I simply download all the files from the current host and upload to the new? Providing that the new has adequate server requirements?