I have a deep integration with wordpress and up until today it has been working fine but then all of a sudden i cannot log into bbpress and i cannot log out properly.
I am logged out of wordpress but the link still says logout on the bbpress forums. I have cleared all cookies to see if this was the issue but no joy.
If i sign in as a subscriber then i am not able to see any forms to add a new topic or edit my profile.
if i sign in as an admin i can add new topics and edit my profile
any ideas?
We’re seeing a similar problem to that described here:
Login redirection prevents access to Admin area
in which the redirection after login doesn’t work correctly. Our installation is at:
https://www.example.org/forums/
which is the exact value of the “bbPress address (URL)” setting on the general settings page.
On the index page, wp_referer_field() returns “/forums/index.php”. This is embedded in the login form, and passed to bb-login.php.
bb-login.php calls bb_get_uri(), passing it that value. bb_get_uri() then appends that value to the value of bb_get_option(‘uri’), which returns the full URL above.
The upshot is that bb-login.php tries to redirect to https://www.example.org/forums/forums/index.php, which is obviously incorrect. So it looks as though either:
a) there’s a bug in bb_get_uri(); it should iterate through each directory in the bb_get_option(‘uri’) path in reverse order, and compare them with each directory in $resource, eliminating duplicates.
b) login-form.php shouldn’t call wp_referer_field()
– Bobby
Just to keep you people updated, this is the progress so far:
- Topic & Post Counts – This works fine, except for displaying post counts in forums, jjj said that he’s working on a patch which would be ready by Sunday.
- Voice Counts – Check #1330, has patch
- Rough Template – Done, except for front-end posting
- Admin area clean-up – This is pretty fine
- User’s Profiles, Posts, Favorites – Todo
If you’re interested in development, then you can checkout a copy of the plugin, test out patches or create tickets for bugs/enhancements etc.
What do you mean by lite wp? Plagin for wordpress integration or blog plugin for bbpress? There is bb-blog plugin but it needs some more work to become complete solution.
https://bbpress.org/forums/topic/bbblog-20-plugin
What do you mean by lite wp? Plagin for wordpress integration or blog plugin for bbpress? There is bb-blog plugin but it needs some more work to become complete solution.
https://bbpress.org/forums/topic/bbblog-20-plugin
I find all this SCN TRAC TRUNK all a bit gibberish and well beyond what I need to know.
I find the version control of bbPress also confusing and always thought that the most stable version was on the main download page.
The “bug” being discussed is not a show stopper (there are more irritating things) but it is fairly obvious in the code what is breaking this.
Two things in functions.bb-template.php
The use of <fieldset> and <div> inside the form – comment them out in bb_get_topic_move_dropdown() and add the lines
$r .= bb_get_topic_delete_link($args);
$r .= bb_get_topic_close_link($args);
$r .= bb_get_topic_sticky_link($args);
after the initial <form> line.
commenting out the original lines in the bb_topic_admin() as
// ‘delete’ => bb_get_topic_delete_link($args),
// ‘close’ => bb_get_topic_close_link($args),
// ‘sticky’ => bb_get_topic_sticky_link($args),
This is by no means an elegant solution but it appears to work.
I’m sure something more elegant could have been done in css.
I’ve been watching the action unfold on the trac… and in my spare time I also like to watch paint dry. But no, it’s great to see stuff happening.
Indeed it is.
About avatars, bbPress uses bb_get_avatar().
Indeed it is.
About avatars, bbPress uses bb_get_avatar().
novuscory, bbPress is NOT a WordPress plugin, you should move its directory to yoursite.com/bbpress/
novuscory, bbPress is NOT a WordPress plugin, you should move its directory to yoursite.com/bbpress/
good news, thanks for the update.
That’s your WordPress install taking over. Does the folder /forums/ exist, and does /forums/index.php exist?
Check your .htaccess files for both WordPress and bbPress.
That’s your WordPress install taking over. Does the folder /forums/ exist, and does /forums/index.php exist?
Check your .htaccess files for both WordPress and bbPress.
(at least that is my understanding)
Correct. Looking more like October 17 now, to be exact.
On Sunday at WordCamp NYC I’ll be presenting a 5 minute lightning session on the plugins progress so far. Worked on it a little today, and will be doing more until then to have something presentable.
Ok, so I installed bbpress tonight and it tells me everything is all set. Got the email confirmation, etc. Everytime I click on it I get a PAGE NOT FOUND.
I believe I had it right.
http://droidfaqs.com/forums is where it should be.
Sorry, I post this and I immediately find the solution here..
http://phpxref.ftwr.co.uk/bbpress/nav.html?_functions/index.html
I edited my code like this..
<button id = 'postformsub' type = 'submit' name = 'Submit' tabindex = '4'></button>
<?php bb_nonce_field( bb_is_topic() ? 'create-post_' . $topic->topic_id : 'create-topic' ); ?>
<input type="hidden" value="/forum/topic.php?id=<?php echo get_forum_id(); ?>" name="_wp_http_referer">
<input type="hidden" value="<?php echo get_forum_id(); ?>" name="topic_id">
And it seems to work now. If anyone is making their own forms then try this solution out for nonce.
Sorry, I post this and I immediately find the solution here..
http://phpxref.ftwr.co.uk/bbpress/nav.html?_functions/index.html
I edited my code like this..
<button id = 'postformsub' type = 'submit' name = 'Submit' tabindex = '4'></button>
<?php bb_nonce_field( bb_is_topic() ? 'create-post_' . $topic->topic_id : 'create-topic' ); ?>
<input type="hidden" value="/forum/topic.php?id=<?php echo get_forum_id(); ?>" name="_wp_http_referer">
<input type="hidden" value="<?php echo get_forum_id(); ?>" name="topic_id">
And it seems to work now. If anyone is making their own forms then try this solution out for nonce.
Hi,
I’ve some strange trouble with my bbpress forum (host with 000webhost) :
Sometimes, after posting something i’m not able to join it again. Can’t access to it even if i empty cache, cookie …
It go back normally few times after each times but it’s very very unpleasant…
2 forum with the same issue and pretty much same plugins
Allow Images
BBcode Buttons Toolbar
BBcode Lite
bbPM
bbPress Polls
bbPress signatures
bbPress Smilies
bbPress Suite de la Modération
bb Topic Views
BBVideo
Hidden Forums
Hidden Forums Tag Filter
Human Test for bbPress
Live Comment Preview
Post Count Plus – Dynamic.Titles & More!
Post Notification
Super Search
Terms of Service
Topic Icons
Unread Posts
Any ideas ?
Ps : my english is ugly so if something isn’t understandable say it please
Thanks! Clearly, bbPress is officially going to be a plugin for WordPress going forward (but as you note, the code is there to fork for those who still want a standalone version).
Thanks! Clearly, bbPress is officially going to be a plugin for WordPress going forward (but as you note, the code is there to fork for those who still want a standalone version).