Search Results for 'code'
-
Search Results
-
i’ve upgraded wp from 2.7.1 to 2.8, checked all the key for the cookie and
AUTH_KEY in wp-config is the same of BB_AUTH_KEY in bb-config, the same for SECURE_AUTH_KEY – BB_SECURE_AUTH_KEY,
LOGGED_IN_KEY – BB_LOGGED_IN_KEY, NONCE_KEY – BB_NONCE_KEY.
i’ve installed and activated the plugin bbPress Integration 1.0-rc-2 configured with the url of bbpress (http://www.site.com/forums/) saved the option, copy/past in wp-config.php for the “code” in the box which is:
define(‘COOKIEHASH’, ‘e99db1aecc456188d6dc1ccc37528ff8’);
define(‘COOKIE_DOMAIN’, ‘.www.site.com’);
define(‘SITECOOKIEPATH’, ‘/wp-admin’);
define(‘COOKIEPATH’, ‘/’);
i’m able to login in bbpress side, and i see the cookie wordpress_e99db1aecc456188d6dc1ccc37528ff8 for /forums/bb-admin, /forums/bb-plugins, /forums/my-plugins, /wp-admin, /wp-content/plugins and /.
i’ve other 2 cookies bb-user-settings-1 and bb-user-settings-time-1 for /forums/bb-admin.
when i try to go in wp-admin i’m slogged from wp and 2 new cookies appear, wordpress_test_cookie.
when i try to login in WP side i’m redirected to the login page every time.
if i remove the code generated by the Sam’s plugin i can login but i’m logged out from bbpress…
how resolve this problem? thanks for the help.
Hi all,
In “bbPress 9.0.5” I used a custom function to display author avatar outside the topic.php, I try the same function on bbPress 1.0 rc 2 and no longer works, can you help me?
Custom function:
function topic_author_avatar( $size = '50', $default = '', $post_id = 0 ) {
if ( ! bb_get_option('avatars_show') )
return false;
$author_id = get_topic_author();
if ( $link = get_user_link( $author_id ) ) {
echo '<a href="' . attribute_escape( $link ) . '">' . bb_get_avatar( $author_id, $size, $default ) . '</a>';
} else {
echo bb_get_avatar( $author_id, $size, $default );
}
}