Thank you! Works perfectly!
Thank you! Works perfectly!
The bbPress development (a.k.a. trunk) version allows you to choose what that link should link to (profile or website). But as you’re using 1.0.2, you can change <?php post_author_link(); ?> to:
<a href="<?php echo esc_attr( get_user_profile_link( get_post_author_id( $post_id ) ) ); ?>"><?php post_author( get_post_id() ); ?></a>
That should probably work…
The bbPress development (a.k.a. trunk) version allows you to choose what that link should link to (profile or website). But as you’re using 1.0.2, you can change <?php post_author_link(); ?> to:
<a href="<?php echo esc_attr( get_user_profile_link( get_post_author_id( $post_id ) ) ); ?>"><?php post_author( get_post_id() ); ?></a>
That should probably work…
At the moment, this code <?php post_author_link(); ?> links to the url that users type in, I have some linked to BP profile, some linked to their personal websites.
Is there a way to replace this code to link to their bbpress profile?
p.s. this is the link beneath user avatar.
I was going to wait until JJJ said go – as I assumed there would be a fair few updates in the next couple of days.
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.