I should point out that such changes in bb-config.php must be inserted ABOVE the line that says
/* Stop editing */
and not below it.
Also, you should go immediately into your config and change the path after that.
In fact you should probably change the path in the admin section FIRST and then rename the folder after it’s saved. bbPress will be disabled until you rename the folder but should spring back to life afterwards.
The menu I mean is under:
settings -> general
or http://your-website-name.com/your-forum-path/bb-admin/options-general.php
bbPress address (URL):
I’m interested in this too. Mostly I’m interested because my current forum that I’m converting from (phpbb) allows you to preview your post, and that feature will be sorely missed. Bring able to save a draft of it would fit right along side a preview, pretty much just like the way WordPress allows authors to save/preview drafts. Now, I’m not a php person in any way (although I wish I was) but I can see it could easily work to make a plug-in or mod that would allow you the option to save your post draft for later with a different post status and pull it or all your saved/unpublished drafts into a single page by pulling them based on the status and your user id. From there you could edit those posts and “publish” them by saving and changing the status code to so that bbPress “sees” it as a valid post rather than a “deleted” or “saved draft”.
I tinkered with this idea a little while ago but with my php knowledge limited to hacking peices here and there to suit my needs it’s just too much of a task. I can’t imagine it would be too complicated to implement. Let us know if this pans out Vili or anyone else who has an urge to work on something like this.
Never mind, figured it out. The functions were really easy to use. I ended up doing it like this:
$user = bb_login( @$_POST, @$_POST);
if(isset($user->ID)) {
echo(“loggedin=true”);
} else {
echo(“loggedin=false”);
}
I’m installing bbPress on a website that is mainly flashbased, and I need the users to be able to login via a form placed inside the frontpage.swf file. This is usually easy: all that’s necessary is a .php file that communicates with the flash, that basically looks like this:
if($_POST == $correct_username && $_POST == $correct_password){
echo(“loggedin=true”);
} else {
echo(“loggedin=false”);
}
Flash will then read the variable returned and work from there.
The issue is that I can’t figure out how to verify the data against the users table. I’ve studied bb-login.php and login.php, but I still can’t find the code that does the actual logging in – the code that checks the password against the encrypted one in the database, sets the cookie, etcetera.
Could someone point me in the right direction?
bbPress has similar functions to detect what page you are on, ie. is_front() is_forum() is_topic() is_view() etc.
do a search of the code for “function is_”
Drafts are for blogging systems.
I can’t imagine why a forum would need drafts.
However admin have the ability to edit deleted posts so you could create and delete a topic and then edit the post – then undelete it.
bbPress won’t show topics/posts that don’t have a status of zero so if you wrote a plugin for drafts you could just create topics/posts with a special status of like “7” until it was published.
I think I can transfer to phpBB. So there is a plugin to transfer from phpBB to BBpress? I’ll look for it.
If not, I’ll grab my database admin friend and see if he’ll help me.
(All moot till Yahoo gets mySQL working again; I can’t even access phpmyadmin.
)
Perhaps this plugin can help you out:
https://bbpress.org/plugins/topic/edit-history/
Not quite what you need, but comes close. Or a hide topic option so people can hide their topic untill they want to publish it. Don’t know if there is such a publish plugin around though
Has anyone considered working on a “save draft” feature for bbPress?
I haven’t seen this with any other forum software, but it would be quite handy with a forum like mine, where many posts take people hours to write. You also often end up writing those posts over a number of days, meaning that you have to save the draft somewhere else.
Saving the draft could happen either manually by pressing a “Save draft” button, and/or automatically like Gmail for instance does it. There should also be a way to delete old drafts. (In a perfect world, the system would automatically delete drafts older than X number of days.)
The draft feature could perhaps also be used to preview one’s message.
How difficult do you think it would be to implement a feature like this? I am not very familiar with writing plugins, so I’m not entirely sure if I can imagine the scope of a feature like this.
I originally thought that one could make use of the post_status field in the bb_posts table, but it seems that the field in question is of the tinyint(1) type, therefore only allowing for two settings: 0 (published) or 1 (deleted).
oops! Just spent ages upgrading my blog today to 2.6 which broke an afternoon’s work I spent a while back integrating with BB press 0.9. Thankfully the 1.0 Alpha release isn’t too far away
The problem is WordPress 2.6 re-used the existing cookie name but with a different format and calculation (and purpose). It was not the brightest design move on their part. Had they chosen a new cookie name, your idea would be valid.
At the rate Sam and MDA are working, I suspect there will be a stable enough bbPress 1.0 alpha by the end of this month (which will work with – actually require – WordPress 2.6).
A few other people have reported the profile bug. I will ask them to investigate.
842113Inactive
Sorry to be mildly off topic, but with regard to the cookie issue, is it not possible to create an interface cookie? Like a simple plugin that creates a cookie in WP 2.6 to interface with the BB cookie? Just as a quickfix?
(as an aside, I signed up with a wordpress.org account and I can login here at bbpress, but when i try to view my profile, I get an error at a bbpress page. This error also occurs when I view my profile from wordpress.org. I’m wondering if this is an integration bug as well)
Using the same database is fine and actually the easiest way. You must be using the same user table.
Follow the Integration 101 steps to make your cookies match.
Make sure you are not using wordpress 2.6 which is incompatible with the cookies from bbPress 0.9
Ok, i just fine this to show the WP Recent Post on BBpress https://bbpress.org/forums/topic/display-latest-post-from-wp
I’ll try it now. Hope it works for somebody else.
Still looking for how to get the Latest Discussions on all pages.
I’ve never done it myself but I believe you first have to put the translation es_ES.mo
file into bb-includes/languages
directory.
Then you go into bb-config.php` and change the BBLANG setting:
define('BBLANG', 'es_ES');
Here is more info:
http://www.degabriel.es/2008/04/24/traduccion-de-bbpress-09-al-castellano/
and the file:
http://www.degabriel.es/wp-content/uploads/2008/04/es_es.mo
Unfortunately by some oversight, there is no directly link to the search feature on the default bbPress 0.9 templates (this is fixed in the next version – perhaps too prominently given how weak the built-in search is in bbPress).
You can make a link to search.php yourself in the header.php or footer.php to have it on all pages.
<a href="<?php bb_option('uri'); ?>search.php">Search</a>
Or you can make a mini-form that passes the field “search”
<form action="<?php bb_option('uri'); ?>search.php" method="get">
<input name="search" id="search"></form>
Version 1.0 of bbPress will have built in support for display names like WordPress. By some weird design bbPress has no mechanism to delete users so you just set it inactive and make a new user for now.
843008Inactive
why, when i click in a profile link, ocurrs this error message:
User not found.
Back to bbPress support forums.
Can somebody help me with this??? I would like to show the latest discussions in a sidebar while I’m in a topic. Also I want to import my Recents Posts from WP to BBpress.
GOD bless, Thanks…
That’s what I call reverse integration and it definitely can be done but you are going to have to decide which user table you want to use – you cannot merge them. You’ll either have to use WordPress’s or bbPress. Then you can either rename the usertable or make very specific settings inside bb-config.php and wp-config.php to point to the new table.
Daft question time… I’ve recently built a site based on WordPress 2.6 and want to launch soon, so BBPress integration is out of the question for now. However, I don’t want to use another forum system in it’s place.
So… my question is, If I have a standalone BBPress installation now, is it easy to integrate it with my WordPress installation later on when BBPress gets upgraded or is it going to be a major hassle?
Thanks all!
I experimented a bit with setting up the wp/bbpress integration over the weekend. I can’t get back to it for the next few days but something’s gone awry I need to fix asap. I’m thinking I must have altered something in the wp configuration because since then when we try to access the wp main blog page, the home page we’ve set up comes up instead. I checked the wp-config.php against a previous version and there’s no difference there. Can anybody suggest any other files/settings I may have changed while going through the integration setup that could have an effect on wordpress like this?
dpeeples – I don’t think it matters. I put it right after the secret key line and it worked fine.
I just now got this working! The solution is posted at https://bbpress.org/forums/topic/dropping-multiviews-support#post-16050
Quite simply, turn 1and1 hosting has MultiViews on by default and it must be turned off in .htaccess with:
Options -MultiViews
Then add the /bb-admin/rewrite-rules.php mod_rewrite AFTER the Options -MultiViews.
That was too simple to take this long to resolve.
810039Inactive
In fact, I get an error of “username does not exist” and am troubled.
The upshot was the same even if I returned it to WordPress 2.5.1_ja.
When can keep inputting an arbitrary account name by installation of ‘bbpress’; database error “ bbPress database error:
I become・・・・
[Table ‘databasename.bb_posts’ doesn’t exist “, and installation cannot be completed.]
An installation procedure is bad or is that it is a bug of BBpress0.9.0.2 the problem of the server side?
I want to take a possible cause investigation and measures.
Thanking you in advance