I need to add form on my forum front page to edit directly the topic title on it.
Now, i add this code :
#####################################################
<form name=”edit_topic” method=”post” action=””>
<label><?php _e(‘Topic:’); ?>
<input name=”topic” type=”text” id=”topic” size=”50″ maxlength=”80″ value=”<?php echo esc_attr( get_topic_title() ); ?>” />
</label>
<input type=”submit” name=”Submit” value=”<?php echo esc_attr__( ‘Edit Post »’ ); ?>” />
</form>
########################################################
but when i clic submit button nothing is happening …
http://img530.imageshack.us/img530/3108/frontpaged.png
zaerl: bbPress isn’t a WordPress plugin. It’s a standalone software.
Not yet anyway like driz states! Development is on-going right now, but the basic functions all work, and things are slowly starting to take shape!
Can you be more specific, please?
Anyhow, you cannot use that code without wrapping it in a <form />.
Can you be more specific, please?
Anyhow, you cannot use that code without wrapping it in a <form />.
Hi,
I need to change the topic title directly on the front-page.php
i add this code on that file but don’t work …
########################################################”
<p role=”main”>
<label><?php _e(‘Topic:’); ?>
<input name=”topic” type=”text” id=”topic” size=”50″ maxlength=”80″ value=”<?php echo esc_attr( get_topic_title() ); ?>” />
</label>
</p>
<?php endif; do_action( ‘edit_form_pre_post’ ); ?>
<p><label><?php _e(‘Post:’); ?>
<textarea name=”post_content” cols=”50″ rows=”8″ id=”post_content”><?php echo apply_filters(‘edit_text’, get_post_text() ); ?></textarea>
</label>
</p>
<p class=”submit”>
<input type=”submit” name=”Submit” value=”<?php echo esc_attr__( ‘Edit Post »’ ); ?>” />
<input type=”hidden” name=”post_id” value=”<?php post_id(); ?>” />
<input type=”hidden” name=”topic_id” value=”<?php topic_id(); ?>” />
</p>
<p><?php _e(‘Allowed markup:’); ?> <?php allowed_markup(); ?>.
<?php _e(‘Put code in between backticks.’); ?></p>
#######################################################################””
I’m on bbPress latest trunk, testing bbPM 1.0.1 and I’ve never had any problem at all.
I’m on bbPress latest trunk, testing bbPM 1.0.1 and I’ve never had any problem at all.
What you want to look at is $_GET;
If you place something like $_GET in the register page (or hook it in as a plugin) then you can add whatever code you need to for the mobile users.
What you want to look at is $_GET;
If you place something like $_GET in the register page (or hook it in as a plugin) then you can add whatever code you need to for the mobile users.
Oh don’t worry about it, I’ll see if we can get the thread locked!
Oh don’t worry about it, I’ll see if we can get the thread locked!
You’ve indentified a number of possible plugins that can help/prevent any SPAM on your forum Ramiuz. Yes I’d recommend you used Akismet because it’s designed to work on this kind of stuff, plus it’s owned by Automattic who make sure it integrates well with the likes of bbPress (and WordPress!) — If there is a problem with it, do the developers know about it?
My $0.02 anyway!
You’ve indentified a number of possible plugins that can help/prevent any SPAM on your forum Ramiuz. Yes I’d recommend you used Akismet because it’s designed to work on this kind of stuff, plus it’s owned by Automattic who make sure it integrates well with the likes of bbPress (and WordPress!) — If there is a problem with it, do the developers know about it?
My $0.02 anyway!
Yeah you’re best place to get support would be BuddyPress, while it’ll integrate with bbPress, I believe they do some cool stuff with code to make it possible, you’ll also get a much quicker response!
Yeah you’re best place to get support would be BuddyPress, while it’ll integrate with bbPress, I believe they do some cool stuff with code to make it possible, you’ll also get a much quicker response!
Hi people,
I’m running a (french) WP (3.0.1) site :
http://www.oreille-malade.com
There is a (not integrated) bbPress (1.02) forum :
http://www.oreille-malade.com/forum
I used to participate a lot in a forum dealing with same kind of topics (hearing issues) : http://www.sos-audition.org (phpbb)
Today one of the admin of SOS-audition.org told me they decided to close their forum in a near future. This is very sad as there is a lot of good informations on this forum. I don’t want it to disappear completely from the web !
These people don’t agree to let me import all their datas because they think it would not be “correct” for users but they are OK for me to import all topics I participated in. In other words, I am allowed to import SOME of their content.
I let more than 2000 posts on this forum those days so you can guess it would be a loooooong task for me to do it all manually.
But as they completely abandon the forum they don’t want to do anything to help me do this. So no way for me to get my hands on their phpbb database 
So here is my question :
is there a (quite simple) way to import this content and export it to :
1. either posts on WordPress
2. or topics on bbPress
Any help would be much appreciated !
Best regards
i had that problem in IE7 but didnt knew that the problem existed in IE8 im using win 7 and got to try your trick, anyways thanks for sharing 
http://www.reallyvegasphoto.com ‘Las vegas photographer’
Hi all. New bbpress user. Just for some background, I currently have a mediawiki and vanilla forums installed concurrently on the machine I wish to run bbpress on. OS X 10.6.5, php & mysql (both from darwinports) and the stock httpd Apple provides on the OS.
I receive an error after “installing” (re: unzip and move the files to the appropriate directory) bbpress and creating/editing bb-config.php
ERROR: Could not establish a database connection
I’m not much of a php developer since what I can only do is check for minimal syntax and rearrange html elements. Trying to debug the php to mysql is out of my scope. Can anybody offer insights as to what may be going on?
Cheers!
Just managed another way by patching bbPress’ xmlrpc.php and overwriting $_SERVER with the desired value.
// Poster IP
$_SERVER['REMOTE_ADDR'] = isset( $structure['poster_ip'] ) ? $structure['poster_ip'] : $_SERVER['REMOTE_ADDR'];
Then what I do on the bbPress Mobile side is send the data:
$params_array = new xmlrpcval(
array(
"title" => new xmlrpcval($title, "string"),
"text" => new xmlrpcval($text, "string"),
"forum_id" => new xmlrpcval($forum_id, "int"),
"tags" => new xmlrpcval($tags, "string"),
"poster_ip" => new xmlrpcval($_SERVER['REMOTE_ADDR'], "string")),
"struct");
Just managed another way by patching bbPress’ xmlrpc.php and overwriting $_SERVER with the desired value.
// Poster IP
$_SERVER['REMOTE_ADDR'] = isset( $structure['poster_ip'] ) ? $structure['poster_ip'] : $_SERVER['REMOTE_ADDR'];
Then what I do on the bbPress Mobile side is send the data:
$params_array = new xmlrpcval(
array(
"title" => new xmlrpcval($title, "string"),
"text" => new xmlrpcval($text, "string"),
"forum_id" => new xmlrpcval($forum_id, "int"),
"tags" => new xmlrpcval($tags, "string"),
"poster_ip" => new xmlrpcval($_SERVER['REMOTE_ADDR'], "string")),
"struct");
Sweet. In my plugin, I just made this:
if ( isset($_GET['poster_ip']) && !empty($_GET['poster_ip']) ) {
$bbdb->query( $bbdb->prepare( "UPDATE $bbdb->posts SET poster_ip = %s WHERE post_id = %d", $_GET['poster_ip'], $post_id ) );
}
And the .'&poster_ip='.$_SERVER['REMOTE_ADDR'] is in bbPress Mobile.
It would probably be better doing it a different way, can anyone suggest something?
Sweet. In my plugin, I just made this:
if ( isset($_GET['poster_ip']) && !empty($_GET['poster_ip']) ) {
$bbdb->query( $bbdb->prepare( "UPDATE $bbdb->posts SET poster_ip = %s WHERE post_id = %d", $_GET['poster_ip'], $post_id ) );
}
And the .'&poster_ip='.$_SERVER['REMOTE_ADDR'] is in bbPress Mobile.
It would probably be better doing it a different way, can anyone suggest something?
Is there a way to add a variable to the links?
I wanna make a mobile layout and it needs to be passed…
like: www.site.com/bbpress/register.php?mobile=true … if you go then to the next step,
the ?mobile=true stays until you close your browser…
Maybe bad explained…
Try zaerl Editor instead, I’ve never had problems with that.
Try zaerl Editor instead, I’ve never had problems with that.