Forum Replies Created
-
Detective, thanks a lot!!!
It solved my problem ( wp 2.5.1, bbpress 0.9.0.2)
Bo Fiddlesticks, you should save code in
set-default-role.php
file, put it in bb-plugins and activate<?php
/*
Plugin Name: bbpress wpmu default role
Plugin URI: https://bbpress.org/forums/topic/yet-another-integration-bug-no-role-set-on-registration?replies=5
Description: Sets a default WPMU role for all new bbpress users.
Author: Detective
Author URI: http://www.ryuuko.cl/
*/
function wpbb_add_user_role_rk($user_id) {
$user = new WP_User($user_id);
$user->set_role(get_option('default_role'));
}
add_action( 'bb_new_user', 'wpbb_add_user_role_rk');
?>In reply to: WordPress integration: Logout problemMaybe it will be helpful for somebody:
if you have a problem with bbpress logout after “wp & bbpress integration” — delete cookies in your browser and try agan.
It works for me (wp 2.5.1, bbpress 0.9.0.2)
In reply to: don’t work ADD NEW» buttonYes, I did it.
I think my problem is how I try integrate blog and bbpress.
When I write in config.php (to allow bbpress use wp functions such as <?php get_header(); ?>):
if(file_exists("../wp-settings.php"))
{
//loads the functions and wp config
require_once "../wp-config.php";
require_once "../wp-settings.php";
}
buttons in bbpress — ADD NEW» and edit profile — don’t work
In reply to: Working as a Page in my theme.Agop,
Вы так говорите, потому что Вам обидно, что Вы не угадали с локализацией и не знаете ответа на вопрос. А мне обидно, что никто по делу ответить не может.
In reply to: Working as a Page in my theme.Agop,
Может мне кто-нибудь из англоязычных пользователей помог бы советом, а Вы тут со своей локализацией влезли! Да не в локализации дело, блин.
In reply to: Working as a Page in my theme.Agop,
Ну да… А «редактировать свой профиль» настроить не можете…
In reply to: Working as a Page in my theme.Agop,
дело не в тестовой эксплуатации, а в том, что нужно заставить bbpress пользоваться таблицей wp_users самого wordpress. Для программиста это не проблема должна быть…
In reply to: Working as a Page in my theme.Agop,
я переводила форум на русский сама непосредственно в файлах, поэтому — ну какая ему, bbpress, разница? А Вы, прежде чем анонсировать локализацию, сначала бы сами ее до ума довели.
I translated a forum on Russian itself directly in files. You announced russian localization but It does not work correctly.
I use my own theme for worpdress. Any body can help me about my problem?
In reply to: Working as a Page in my theme.Atsutane,
I follow your instructions “integrate wp with bbpress” and I do it!
But now I have problems with editing profile when I login in.
I press “edit profile” and it does not work! So I cannot change my password and my user info.
Can u help me?