Search Results for 'code'
-
AuthorSearch Results
-
November 13, 2010 at 11:46 pm #97546
In reply to: XMLRPC and a Poster's IP address.
master5o1
ParticipantJust 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");November 13, 2010 at 11:46 pm #102646In reply to: XMLRPC and a Poster's IP address.
master5o1
ParticipantJust 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");November 13, 2010 at 11:23 pm #97545In reply to: XMLRPC and a Poster's IP address.
master5o1
ParticipantSweet. 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?
November 13, 2010 at 11:23 pm #102645In reply to: XMLRPC and a Poster's IP address.
master5o1
ParticipantSweet. 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?
November 13, 2010 at 4:37 pm #36136Topic: Add variable to link
in forum InstallationMathiasB
MemberIs 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=truestays until you close your browser…Maybe bad explained…
November 13, 2010 at 2:31 pm #97509In reply to: bbpress add a " to links
mr_pelle
ParticipantTry zaerl Editor instead, I’ve never had problems with that.
November 13, 2010 at 2:31 pm #102609In reply to: bbpress add a " to links
mr_pelle
ParticipantTry zaerl Editor instead, I’ve never had problems with that.
November 13, 2010 at 10:50 am #97496mr_pelle
ParticipantSomething like this:
<?php if ( bb_is_front() ) : ?>
<meta name="description" content="bla bla bla" />
<?php endif; ?>November 13, 2010 at 10:50 am #102596mr_pelle
ParticipantSomething like this:
<?php if ( bb_is_front() ) : ?>
<meta name="description" content="bla bla bla" />
<?php endif; ?>November 13, 2010 at 9:28 am #36134Topic: bbpress add a " to links
in forum Troubleshootingjabre
MemberMaybe someone can help me here.
Everytime I post a Link in my BBPress-Forum. It adds a ” to the Link.
For Example:
is transformed to
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
November 12, 2010 at 3:07 pm #97494mr_pelle
ParticipantDoes anyone how to insert meta description only on the home page?
Just check if
bb_is_front().
November 12, 2010 at 3:07 pm #102594mr_pelle
ParticipantDoes anyone how to insert meta description only on the home page?
Just check if
bb_is_front().
November 12, 2010 at 1:46 pm #97148In reply to: Justin Tadlock's Forum Plugin for WP
citizenkeith
ParticipantThanks for the update, and thanks to Justin for contributing code.
A side note: I still don’t understand why healthy debate is considered “drama.”
November 12, 2010 at 1:46 pm #102248In reply to: Justin Tadlock's Forum Plugin for WP
citizenkeith
ParticipantThanks for the update, and thanks to Justin for contributing code.
A side note: I still don’t understand why healthy debate is considered “drama.”
November 12, 2010 at 11:41 am #97440brucini
Memberahh 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
November 12, 2010 at 11:41 am #102540brucini
Memberahh 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
November 12, 2010 at 7:32 am #94579In reply to: bbPress 2.0 – Updates
John James Jacoby
Keymaster@Willabee – Would love to see what you come up with.
November 12, 2010 at 5:47 am #94578In reply to: bbPress 2.0 – Updates
Willabee
Member@ 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.
November 12, 2010 at 1:37 am #94577In reply to: bbPress 2.0 – Updates
Mark McWilliams
MemberI 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
November 11, 2010 at 8:25 pm #97413Ashish Kumar (Ashfame)
Participantif 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
November 11, 2010 at 8:25 pm #102513Ashish Kumar (Ashfame)
Participantif 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
November 11, 2010 at 8:24 pm #97412Ashish Kumar (Ashfame)
Participantcookie problem, clear all cookies.
try another browser for instance, that will work
November 11, 2010 at 8:24 pm #102512Ashish Kumar (Ashfame)
Participantcookie problem, clear all cookies.
try another browser for instance, that will work
November 11, 2010 at 8:00 pm #96439In reply to: author link – force link to bbpress profile?
DKB
ParticipantIs there such thing too for
<?php post_author_title_link(); ?>to link the title of the author to his profile rather than the website?November 11, 2010 at 8:00 pm #101539In reply to: author link – force link to bbpress profile?
DKB
ParticipantIs there such thing too for
<?php post_author_title_link(); ?>to link the title of the author to his profile rather than the website? -
AuthorSearch Results