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.
Something like this:
<?php if ( bb_is_front() ) : ?>
<meta name="description" content="bla bla bla" />
<?php endif; ?>
Something like this:
<?php if ( bb_is_front() ) : ?>
<meta name="description" content="bla bla bla" />
<?php endif; ?>
Maybe someone can help me here.
Everytime I post a Link in my BBPress-Forum. It adds a ” to the Link.
For Example:
BBpress
is transformed to
BBpress
I use a TinyMCE-Plugin, which I wrote on my own. But if I use Editor-Plugins from BBPress Plugin Repository (Wysiwyg CKEditor for Example), the same thing happens.
Any Ideas?
BBPress 1.0.2 on Apache
Jan
Does anyone how to insert meta description only on the home page?
Just check if bb_is_front().
Does anyone how to insert meta description only on the home page?
Just check if bb_is_front().
Thanks for the update, and thanks to Justin for contributing code.
A side note: I still don’t understand why healthy debate is considered “drama.”
Thanks for the update, and thanks to Justin for contributing code.
A side note: I still don’t understand why healthy debate is considered “drama.”
ahh thanks for no particular reason
turns out it was some rogue html in topic-tags.php that started the issue after hot tags code was added
case closed
ahh thanks for no particular reason
turns out it was some rogue html in topic-tags.php that started the issue after hot tags code was added
case closed
@Willabee – Would love to see what you come up with.
@ Rich
Not at the moment and the deadline is still far away. But the plugin already works like a charm and since its in the early development stage, I can tweak it anyway I want it.
I wanted to throw this link out to you all, it’s the Justin Tadlock’s Forum Plugin For WP thread where Justin chimed in on a few things about what he’s done, and where he’d like to see bbPress (Plugin) go and whatnot! 
The only other thing I want to say right now is that I read on IRC that JJJ will have an official demo site up and running on bbPress.org very soon, where I’m hpoing we can join/login to and try and break stuff, so it’ll obviously run the latest development copy?
The adove (^^) is just so JJJ doesn’t forget about it!
LOL
if that doesn’t work then, you need to change the roles of affected accounts from an admin account.
in case you don’t have an admin account, you can get it by – http://blog.ashfame.com/2009/09/fix-lost-admin-access-bbpress/
let me know if its what you are looking for
if that doesn’t work then, you need to change the roles of affected accounts from an admin account.
in case you don’t have an admin account, you can get it by – http://blog.ashfame.com/2009/09/fix-lost-admin-access-bbpress/
let me know if its what you are looking for
cookie problem, clear all cookies.
try another browser for instance, that will work
cookie problem, clear all cookies.
try another browser for instance, that will work
Is there such thing too for <?php post_author_title_link(); ?> to link the title of the author to his profile rather than the website?
Is there such thing too for <?php post_author_title_link(); ?> to link the title of the author to his profile rather than the website?
Bumping this, because moar people need to see it