Search Results for '"wordpress"'
-
Search Results
-
Topic: admin link not working
i’m new to all this wordpress stuff so forgive me if this is too hackish.
i installed wp2.6 and bbp1 alpha. they almost integrate. i had a problem getting the admin link to work when i had logged in via wordpress (no problem logging in via bbpress). on investigation i discovered wp login was setting cookies only for itself, whereas bbpress was setting cookies for itself and wordpress.
my solution tells wordpress to be as polite as bbpress:
insert the following into wp-config.php replacing {bbpath} with your bbpath:
define(‘BB_ADMIN_COOKIE_PATH’, ‘/{bbpath}/bb-admin/’);
define(‘BB_PLUGINS_COOKIE_PATH’, /{bbpath}/bb-plugins/’);
define(‘BB_MYPLUGINS_COOKIE_PATH’, ‘/{bbpath}/my-plugins/’);
open wp-includes/pluggable.php and find where the cookies are set – these lines:
setcookie($auth_cookie_name, $auth_cookie, $expire, PLUGINS_COOKIE_PATH, COOKIE_DOMAIN, $secure);
setcookie($auth_cookie_name, $auth_cookie, $expire, ADMIN_COOKIE_PATH, COOKIE_DOMAIN, $secure);
insert the following immediatley after:
setcookie($auth_cookie_name, $auth_cookie, $expire, BB_ADMIN_COOKIE_PATH, COOKIE_DOMAIN, $secure);
setcookie($auth_cookie_name, $auth_cookie, $expire, BB_PLUGINS_COOKIE_PATH, COOKIE_DOMAIN, $secure);
setcookie($auth_cookie_name, $auth_cookie, $expire, BB_MYPLUGINS_COOKIE_PATH, COOKIE_DOMAIN, $secure);
now wordpress will set the same cookies as bbpress thus allowing full access averywhere.
like i say, i’m fairly new to this so please correct me if i’m wrong or if this approach has security implications.
has anyone seen a complete solution for this issue? many hosts do not allow php mail() function because it doesn’t support smtp authentication
i’ve seen several posts about swiftmailer, phpmailer alternatives, but none offer a step by step instructions?
interested in modifying files only from the latest verion bbpress-0.9.0.2.zip
also, are any of these solutions integrated with wordpress? or when you use them you lose the bbpress user = wp user integration?
any kind of complete solution would be appreciated by many
Topic: Theme directory
Hello,
like the theme directory of wordpress.org, it is possible to have a theme directory in bbpress.org ?
Bye,
Fred