Search Results for 'bbpress'
-
Search Results
-
Hi,
I am building a custom bbpress template and on the front page I want to list out the forums and then have 5 topics displayed under each forum.
So far I have listed the forums and some topics but have strange amounts of posts
under each topic.
All froums have over 20 topics but under the first forum (on home page) it only shows 3 topics, 2nd forum shows 13 topics, another shows none and so on.
anyone have a solution to this?
Thanks
I am trying to install bbpress and I have gotten to the point where I have created a bb-config.php file and uploaded it. Now when I go to usehistory.net/bbpress instead of installation instructions I get the text of the php file. Can anyone tell me why this might be happening. Thank you.
Hi,
Does any of you the current “trunk”version of bbPress? Since the last version of 9 days (mdawaffe) shows my forum a PHP Warning: “Invalid argument supplied for foreach (@ 2718)”- caused by the file functions.bb-users.php. It seems as if the function expects an array, but not get!?
A Google search for the error message brings up only my own forum.
Has anyone found this problem, too? My forum url: http://www.mysteria3000.de
I use the trunk version of bbPress with the Beta 2 of WordPress 3.1.
Perhaps the reason is a change in handling users in WordPress?
I am grateful for solutions.

Greetings
Markus Pezold
black-forever
Topic: Auto Log Off?
Does BBpress automatically log user off after a certain time? If so how long is the time limit? And can I change it?
Topic: bb_new_user ?
Hey,
As I’ve just started a new project that will in in bbPress which I havent worked with I really need some help with this command.
What im trying to do is to RTX-connect bbPress.
Using this use
`
<?php
// Below is a very simple PHP 5 script that implements the RPX token URL processing.
// The code below assumes you have the CURL HTTP fetching library.
global $bb_current_user, $bbdb;
$rpxApiKey = ‘XXXXX’;
if(isset($_POST)) {
/* STEP 1: Extract token POST parameter */
$token = $_POST;
/* STEP 2: Use the token to make the auth_info API call */
$post_data = array(‘token’ => $_POST,
‘apiKey’ => $rpxApiKey,
‘format’ => ‘json’);
$curl = curl_init();
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_URL, ‘https://rpxnow.com/api/v2/auth_info’);
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_POSTFIELDS, $post_data);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
$raw_json = curl_exec($curl);
curl_close($curl);
/* STEP 3: Parse the JSON auth_info response */
$auth_info = json_decode($raw_json, true);
if ($auth_info == ‘ok’) {
/* STEP 3 Continued: Extract the ‘identifier’ from the response */
$profile = $auth_info;
$identifier = $profile;
if (isset($profile)) {
echo $photo_url = $profile;
}
if (isset($profile)) {
$name = $profile;
}
if (isset($profile)) {
$email = $profile;
}
if ($email || $name ) { bb_new_user(“$name”, “$email”,””,0); echo “grattis $name du har registerat ett konto med $email”; } ยด
The problem im getting is that it doesnt create any new user and im not even getting an error msg.
Can someone help me get through this problem.
Later on ill make it work just like openID does, so you dont have to login, but this is it for now. Also as the request is pretty high on facebook connect ill make this a plugin as soon as its ready.