@Markus Pezold
Thanks but this is not exactly what I’m looking for.
I do NOT want Anonymous posting.
What I simply want to do is display the HTML textarea field to either create a post or reply to an existing post to non-logged in users.
Then, once that user clicks submit – it then asks them to either login or create an account.
I don’t believe this is driven by bbPress but it’s a demostration of what I’m talking about.
http://www.streeteasy.com/nyc/talk
Notice how at the bottom of the page, you can “Start New Discussion”, then once you submit the form – it prompts you to login.
Hello People,
I would anticipate in advance for my bad English sorry.
I have bbPresss 0.9.0.5 and want to upgrade to 1.0-rc-3 make.
I have read the upgrading instructions.
If I call the bb-admin/upgrade.php, the following error message appears:
ERROR: Could not establish a database connection
If I have a new installation of bbPress 0.9.0.5 and then upgrade it works, just not at the present, what can this be?
Thanks, guys!! I will try those out!
I just updated this site. Now using WPMU 2.7.1, bbPress 1.0 RC3 and BuddyPress 1.0.1. I have cookie problems, but apart from that, everything works great.
There are many things to tweak, but those are small details …
http://ryuuko.cl – main site
http://foros.ryuuko.cl – forums
Found the difference: The user for whom only the login name is shown indeed does not have a bbpress display name, but a buddy press display name. I’m not exactly sure why one display name got transported over to bbpress and the other did not, but I guess that is not a topic for this forum.
I’m still searching for a way to get the login name for users with a set display name, though…
First attempt at providing Wowhead item links. Please post any bugs or weirdness. This requires BBPress 1.0 RC 3+ and PHP 5+ . It has no cache, so may not be suited to ultra-high volume forums.
<?php
/*
Plugin Name: Simple Wowhead Item Links
Plugin Description: Adds item sudo-html to create links to Wowhead.
Author: Tim Howgego
Author URI: http://timhowgego.com/
Version: 0.1.rc
*/
/*
Requirements:
* PHP 5 or above.
* BBPress 1.0 RC3 or above.
Install:
* Copy the file to the "my-plugins" directory.
* Active the plugin within the Admin interface.
Customising:
* Default language is English. For other languages, edit $lang (in bb_wowhead_item_search) below.
* Default will color items which are uncommon or rarer. To change this edit $commonest_color (in bb_wowhead_item_search) below.
Using:
* Users must enter the following "sudo-HTML" code within their posts: <item>Name</item> - where name is the correct name of the item to be linked to.
* Wowhead is queried each time a new link is posted. Once the link is created, it is stored as a complete link within the post. A cache should not be required given the amount of traffic on most forums.
* If Wowhead is unavailable (often due to maintenance), or some other error occurs, the link created will simply point to a Wowhead search for the item.
Thanks Drexle for some ideas.
*/
function bb_wowhead_item_search( $find ) {
// Edit Options:
$lang = 'www'; // Language: www (english), de, fr, es, ru.
$commonest_color = 2; // Only color item qualities of this number or higher. 0 colors all items. 2 does not color white and grey items. 101 (or "high") colors nothing.
// Stop Editing
$f = trim ( $find );
$s = 'http://'.$lang.'.wowhead.com/?item='.esc_attr( str_replace(' ', '+', strtolower( $f ) ) ).'&xml';
if ( function_exists("curl_init") ) {
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $s );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_CONNECTTIMEOUT, 3 );
$output = curl_exec( $ch );
curl_close( $ch );
} else {
$h = fopen( $s, "r" );
while ( !feof( $h ) ) $output .= fread( $h, 8192 );
fclose( $h );
}
if ( $output and function_exists("simplexml_load_string") ) {
$xml = simplexml_load_string( $output );
$link = $xml->item->link;
$name = $xml->item->name;
if ( $link and $name ) {
$quality = $xml->item->quality[id];
$class = ( $quality and ( $quality >= $commonest_color ) ) ? ' class="q'.esc_attr( $quality ).'"' : ' class="nocolor"';
$result = '<a href="'.esc_attr( $link ).'" title="Wowhead - '.esc_attr( $name ).'."'.$class.'>'.esc_html( $name ).'</a>';
}
}
if ( $result ) return $result;
else return '<a href="http://'.$lang.'.wowhead.com/?search='.esc_attr( $f ).'" title="Wowhead - '.esc_attr( $f ).'.">'.esc_html( $f ).'</a>';
}
function bb_wowhead_item_link( $text ) {
$text = preg_replace('|(<item>)(.*?)(</item>)|e', "bb_wowhead_item_search('\2')", $text);
return $text;
}
function bb_wowhead_item_tags( $tags ) {
$tags['item'] = array();
$tags['a'] = array( 'href' => array(), 'title' => array(), 'class' => array(), 'rel' => array() );
return $tags;
}
function bb_wowhead_item_header() {
echo '<script language="JavaScript" type="text/javascript" src="http://static.wowhead.com/widgets/power.js"></script>'."n";
}
add_filter( 'bb_allowed_tags', 'bb_wowhead_item_tags' );
add_filter( 'pre_post', 'bb_wowhead_item_link' );
add_action( 'bb_head', 'bb_wowhead_item_header' ); // Comment this line out if the Wowhead javascript file already exists in the header
?>
I wrote up a quick outline of the screencast that may be helpful:
http://1isa2isb.com/wordpress-and-bbpress-integration
I found that I would forget some of the non-intuitive steps but not want to re-watch the whole screencast.
Anonymous UserInactive
Hi …
for the stable 0.95 release there is a plugin to allow anonymous user to post:
https://bbpress.org/plugins/topic/bb-anonymous-posting
I use this plugin in combination with:
https://bbpress.org/plugins/topic/human-test
But in my test environment the plugin don’t work with the bbPress 1.0 Release Candidate.
This allows anonymous posting:
https://bbpress.org/plugins/topic/bb-anonymous-posting/
This allows you to add Name/email/website fields:
https://bbpress.org/plugins/topic/post-meta/
But it’s really tricky stuff to add post-level meta info to version .9, so this may not be a stable combo of plugins. It should get a lot easier to have post-level meta information in 1.0…
Hello!
I am getting started with bbpress and have searched Google and the bbpress forums for an answer to this to no avail – Can I let anybody, even people who aren’t logged-in, post to my bbpress forum? If so, how can I set this up?
Thanks!
bbpress 0.9.0.5 and phpbb 3.0.5 at localhost:
when i click on “converting users data”
i have:
SQL ERROR [ mysqli ]
Data too long for column ‘user_url’ at row 1 [1406]
to small? how to fix and convers users data properly?
updated: fixed!
ALTER TABLE bb_users CHANGE user_url user_url VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL
What version bbPress are you using? The 404.php was a recent addition, I think.
Okay.. Figured out the first part of the problem. It was an issue with bbPress Live. Now doing some stuff to make sure it’s not something I’ve done.. Hopefully it’s not the plugin.
I think it’s just the plugin.. Going to consider this resolved for now. If for some reason it’s not the plugin, I’ll unmark it resolved.
Ah ok. We’re using a dedicated server…
This post reported that MT grid uses NFS, which supposedly isn’t good for bbPress?
https://bbpress.org/forums/topic/mysql_connect-cant-connect-through-socket
I used MT grid for a long time and had a lot of problems. But it could’ve been their growing pains, which I hear they’ve grown past. We’ve had a great experience with their dedicated servers, although it’s a totally different setup.
That topic also mentioned a tweak that the user made just for the 1.0 alpha on the MT grid – dunno if that would help at all, but thought I’d share the link anyway.
I’m not really familiar with deep integration, so I don’t have any insight beyond just looking for similar errors reported on the forums.
That error has only come up twice that I can see:
http://www.google.com/search?q=Premature+end+of+script+headers+site%3ABbpress.org
The first user didn’t report the fix, although a few other users in that same thread reported alternate approaches that resolved the issue for them.
The second user mentioned a conflict with a plugin.
When I moved to a new host (Media Temple), I also upgraded to RC1. I skipped RC2 and I’m currently running RC3.
Ever since I switched, I have had three occasions in which bbPress informed me that I needed to upgrade the database. I get this message when I go to the admin panel. Fist I notice that certain plugins aren’t activated (which were activated previously), and so I go to the admin panel and get the upgrade massage.
Here are the upgrade messages:
Beginning upgrade…
Tags copied to taxonomy tables: bb_upgrade_1080
Display names populated: bb_upgrade_1090
Index forum_stickies dropped: bb_upgrade_1100
>>> Done
Is this a problem with my host? A bbPress bug? Hacking? Could it be related to my recount problem (see my previous post for info)?
Thanks in advance…
RC3 works flawlessly on integration with WP2.8 on all my sites now. Great work Sam! As for images, I could never use them unless using both allow images and bbcode lite in combination (bbcode buttons helps here). I just tested it with RC3 and that combo still works just fine 
peace~
Did you try removing Page links for bbPress (1.0.4)? It’s included in the 1.0 series, so you shouldn’t need it.
1. Yup, there’s something similar in bbPress! Both versions are listed here:
https://bbpress.org/forums/topic/bbpress-faster-than-wordpress#post-20920
2. This plugin should do the trick:
https://bbpress.org/plugins/topic/edit-history/
3. That’s a tough one! I don’t know how to do it. Are you going to be changing X a lot? If not, maybe it’s a pain but you could hardwire X into the template…
Hi!
I´m new to bbPress and try to create a theme that suites to my wp-theme. It´s based on the blank theme by refueled. At the moment i have 3 little questions:
1) I´d like to show the amount of db-queries and the duration of loading the page in my footer. In WP i can add this information by adding a code like this <?php echo $wpdb->num_queries; ?> Queries, <?php timer_stop(1); ?> Seconds. Is there something similar in bbPress?
2) Is there a way to display a text if a post was edited by a user? Something like “this post was last edited on X at X?
3) The last point: In the backend i can define how long a post is editable. Is it possible to display this value somewhere above the textarea when writing a post? I´d like to add a short notice like “You can edit your post for X minutes after saving it.” The X-value should change if i change it in the backend.
That´s it for now…
I hope someone can help me.
Thanks in advance!
infected
• No more images… bbpress just eats the code. allow images plugin installed, and activated.
This, however, is still true. Has anyone else encountered this trouble?
Trying to determine if it’s a plugin in need of update, or if it’s an error on my part, or an actual issue in RC3
Yep, I’m having the same issues since RC2, see this topic (starting bottom page 1):
https://bbpress.org/forums/topic/final-release-candidate-10-rc-2-is-available
Just edit the post.php file in your active template – it probably looks something like this:
https://trac.bbpress.org/browser/trunk/bb-templates/kakumei/post.php
Remove the line that prints the role of the user:
<?php post_author_title_link(); ?>
Make sure to backup your templates before you edit them. Good luck!
This page on bbshowcase links to various translations, including one for French:
http://bbshowcase.org/forums/topic/bbpress-translation-internationalization-into-local-languages
It looks like you can download the version you are looking for here:
http://svn.automattic.com/bbpress-i18n/fr_FR/tags/