Hello everyone 
It’s not directly related to bbPress script, but somewhere around it. What do you think about making something like Weblog Tools Collection, but for bbPress? You know – the newest themes and plugins for bbPress, tips, tricks etc?
I was also thinking about something like: http://wordpress.org/extend/ideas/ – so people could submit their ideas for new plugins etc. And something like http://wordpress.org/extend/themes/ – even if I would like to submit some themes for bbPress, I don’t have a site to do this
.
What do you think?
Thanks so much for the reply.
What I get at http://www.addiva.net is fine and what I expect. What I get at http://www.addiva.net/blog/home is the same and, once we get our htaccess file set up, will be what you get when you type in http://www.addiva.net. What we can no longer call up is the first page of the blog, the one that displays one or more recent posts, you know, the index for the actual blog section.
I don’t know of any way to call it up in the control panel to check on what the permalink is supposed to be. What’s the default address for the blog’s main page supposed to be? Isn’t it supposed to be http://www.addiva.net/blog/index.php? If I type that in I just get the main page of the site. .
As I said before, it was all working fine until I made an initial attempt to integrate our new bbpress installation with wordperss, didn’t get it to work and tried to backtrack what I’d done to try again another day. I’m trying to figure out what files might have been affected during this process.
Have you tried disabling the plugin to see if the problem persists?
Do you actually have a table called bb_users in the forums database, or are you using the wp_users table and an integrated installation?
Also, I see that plugin says compatible up to 0.8.3. If you’re using the latest 0.9.0.2, you might want to post your issue on that plugin page or try to contact the plugin author.
https://bbpress.org/plugins/topic/moderator-new-post-notification/
Or maybe read through the comments on that plugin page and see how others resolved the same problem.
http://www.finalwebsites.com/forums/topic/bbpress-plugin-mod-new-post-notify-db-error-w-wordpress-integrat#post-811
Posted a year ago and no action!
*I* just found it here.
Not sure who if ever anyone else will see this – but what a job those people did on that chart!
Cheers!
Himagain
Would I be able to use the pretty URLs with this somehow? Or maybe exclude the entire directory of /bbpress/ from wordpress’s URL thing?
Using WMPU btw
I get the following error when posting to my forums.
bbPress database error: [Table ‘forums.bb_users’ doesn’t exist]
SELECT um.meta_value AS role FROM bb_users AS u, bb_usermeta AS um WHERE u.ID = um.user_id AND um.meta_key = ‘bb_capabilities’ AND u.user_status = 0 AND u.ID = 1
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/bbpress/bb-plugins/moderator-new-post-notification/moderator_notification.php on line 40
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/bbpress/bb-plugins/moderator-new-post-notification/moderator_notification.php on line 40
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/bbpress/bb-plugins/moderator-new-post-notification/moderator_notification.php on line 40
Warning: Cannot modify header information – headers already sent by (output started at /home/bbpress/bb-includes/db-mysql.php:130) in /home/bbpress/bb-includes/pluggable.php on line 228
Any ideas?
Gio
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.