Search Results for 'code'
-
Search Results
-
I wonder if anyone can help please. I have run an update to a WordPress site (created by someone else) that had bbpress integrated. I didn’t upgrade BBpress. Before the WP upgrade, the forum was working fine. However since the wordpress upgrade (from 2.9.2 to 3.1) we are having the following problems:
1) I cannot access the bbpress admin panel
2) The Forum is showing posts and topics but the reply form is missing (only the heading shows)
3) I cant see any way of creating posts, topics or threads so I presume something else is missing…
I had to rewrite the WordPress theme files as the original custom theme had been so badly coded / core hacked etc. I haven’t touched the custom bbpress theme so thought it would be something to do with that. So first thing I did was disable it and enabled the default bbpress theme (through phpmyadmin) but have exactly the same set of problems – which to me rules out a theme issue.
Anybody have any ideas where to start? Sorry I am not sure of bbpress version. Where do I find that?
Topic: Integration issues
Hi all,
I’m sure this has been covered a few times, but here goes.
Cookies obviously aren’t working, because I’m getting booted out of wp-admin when logged into bbpress and visa versa.
Have installed the bbPress integration plugin with settings in wp-admin like so:
bbPress URL: http://website.com/forum/
Your Plugins URL: http//website.com/forum/bb-admin/plugins.php
Wordpress type: WordPress
Added this code to the very bottom of wp-config.php
define( ‘COOKIEPATH’, ‘/’ );
In bb-admin, I’ve got:
Wordpress address: http://website.com
Blog address: http://website.com
WordPress “auth” cookie salt: (auth_salt wasn’t present in the wp admin page, anyway I took the code from wp-config.php)
WordPress “secure auth” cookie salt: (as above)
WordPress “logged in” cookie salt: (as above)
Manually entered codes so the following match
AUTH_KEY / BB_AUTH_KEY
SECURE_AUTH_KEY / BB_SECURE_AUTH_KEY
LOGGED_IN_KEY / BB_LOGGED_IN_KEY
And that’s where I’m at. Can someone tell me what I’m missing?
I’m not going to worry about database sharing right now – is that advisable? Or is it highly recommended?
Also what should I have the wordpress roles set to for each one of these?
WordPress Administrator
WordPress Editor
WordPress Author
WordPress Contributor
WordPress Subscriber
Thanks for the help!
There is a security bulletin being circulated this week about a “path disclosure” bug in bbPress 1.0.3 – it actually affects all versions.
It’s not a super-serious security bug in itself but it can be used to gain leverage.
Basically someone can discover the real path your files are in by causing a PHP error by trying to access a template file directly, where there is an error in the template because bbPress is not loaded at that time.
Here is a simple workaround for users on Apache (vast majority of users).
Make a file called
.htaccess(note the dot at the start)in it, put this line
php_flag display_errors offThen upload that file to
bb-templatesandmy-templatesThe reason why we don’t put that in the master
.htaccessfile for all of bbPress is because you may need to see any regular errors in the future. However for the template subdirectories, there is no need because those files are never (supposed to be) loaded directly by the browser.Hi there!
I’m an italian user, so sorry for my bad english.
I’m a WordPress’ user since some years and I love it!
I have found bbpress searching an alternative forum for my site (actually I use phpBB).
Testing bbpress and wordpress integration I have a problem with the login…
If I login/logout in bbpress, automatically login/logout in wordpress works, but not the reverse…
If I login in WordPress, I’m not logged in in bbpress…
I have tested it in local with this configuration:
Wordpress folder: /wordpress
BBpress folder: /forum
in wp-config.php:
define(‘AUTH_KEY’, ‘<I;b3RJ:>Fu6.?*uJhfh UUBWA)MRP+.t}q,3dunpj+a!He329#;i,^:Aj~|7tDB’);
define(‘SECURE_AUTH_KEY’, ‘ytd&KN0gfMto{0>i0U7:9]R*%tc5gt/B89wVabirZUNASo1Xw
@)F63Nofs7#[7′);define(‘LOGGED_IN_KEY’, ‘lS!u]1
H=nf=+-/@t.p+15OrfWljzI8&e&-.hs|HE?rH9@&[{t`/1Z0AEl22/~{‘);define(‘NONCE_KEY’, ‘){P:2X}-s[v7PSqS)^%AL<&u)_Qpg,7AtSeN-x:}/SHr–RYq-G hG:8vM9dB8|L’);
define(‘AUTH_SALT’, ‘u2L_v<Prb:`Zr. 9UmDmbkc4d=L[C6NV}(nj<7[%]q|debm4sA,O9f]Y%,(&A7)3’);
define(‘SECURE_AUTH_SALT’, ‘#x9M#;SAy*nnW4QY{; 9l^s1:4Q]glup}NN]/9gX1W2va1{ 2QG7TiE};)rsZj12’);
define(‘LOGGED_IN_SALT’, ‘|2vq/Z6S53Z>*U^2(&kVc`F{d:7QGu[|J(@WJU<uKx:SXA+zx?<.qkM=#-m_V9F.’);
define(‘NONCE_SALT’, ‘<3sR0o>)<!sElq(|DW=s:FqL|XJ_Venp4Flp&K*|FGF(*klrdZ6&7W;uo>lz)7TK’);
in bb-config.php:
define(‘BB_AUTH_KEY’, ‘<I;b3RJ:>Fu6.?*uJhfh UUBWA)MRP+.t}q,3dunpj+a!He329#;i,^:Aj~|7tDB’);
define(‘BB_SECURE_AUTH_KEY’, ‘ytd&KN0gfMto{0>i0U7:9]R*%tc5gt/B89wVabirZUNASo1Xw
@)F63Nofs7#[7′);define(‘BB_LOGGED_IN_KEY’, ‘lS!u]1
H=nf=+-/@t.p+15OrfWljzI8&e&-.hs|HE?rH9@&[{t`/1Z0AEl22/~{‘);define(‘BB_NONCE_KEY’, ‘){P:2X}-s[v7PSqS)^%AL<&u)_Qpg,7AtSeN-x:}/SHr–RYq-G hG:8vM9dB8|L’);
define(‘BB_AUTH_SALT’, ‘u2L_v<Prb:`Zr. 9UmDmbkc4d=L[C6NV}(nj<7[%]q|debm4sA,O9f]Y%,(&A7)3’);
define(‘BB_SECURE_AUTH_SALT’, ‘#x9M#;SAy*nnW4QY{; 9l^s1:4Q]glup}NN]/9gX1W2va1{ 2QG7TiE};)rsZj12’);
define(‘BB_LOGGED_IN_SALT’, ‘|2vq/Z6S53Z>*U^2(&kVc`F{d:7QGu[|J(@WJU<uKx:SXA+zx?<.qkM=#-m_V9F.’);
define(‘BB_NONCE_SALT’, ‘<3sR0o>)<!sElq(|DW=s:FqL|XJ_Venp4Flp&K*|FGF(*klrdZ6&7W;uo>lz)7TK’);
Please, help me!
In the current bbP Plugin there is a limited set of tags allowed:
You may use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b>
<blockquote cite=""> <cite
<del datetime=""> <em> <i> <q cite=""> <strike> <strong>I’d really like to include at least one or two more tags, but I can’t for the life of me find where the list of tags is actually defined. I found functions that request them, like bbp_get_allowed_tags() but can’t find where the list itself is.
Anyone know the answer to this mystery?
Thanks!
Jonathan