Forum Replies Created
-
In reply to: Add custom tab to profile page
ok, I’ve spent several annoying hours trying to work out how to do this, and failed miserably!!
I expect the answer is just a few brief lines of code, and linked to the way bbpress handles both templates and wp-rewrite, but can’t fathom it out in the files
Sorry, but I am having to give up !
In reply to: Add custom tab to profile pageArguing with those trying to help you is probably not the best way forward.
How to do a link is easily googled, but I’ve put one in here that you can add to the template
<li> <span class="vcard bbp-user-profile-link"> <a class="url fn n" href="www.mysite.com/read-this" title="read this">Read this</a> </span> </li>
In reply to: Add custom tab to profile pagethat depends.
Can you outline exactly what you are aiming for eg I want a picture of fred to appear when they click a link saying ‘fred’
In reply to: Add custom tab to profile page@deeve007 – it’s doable, but you’ll need to do some coding.
The key file you want is
wp-content/plugins/bbpress/templates/default/bbpress/user-details.php
so
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %your-theme-name% is the name of your theme
find
wp-content/plugins/bbpress/templates/default/bbpress/user-details.php
Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/user-details.phpbbPress will now use this template instead of the original
and you can amend thisyou’ll see the tabs in this file.
Do come back with what you are trying to do if you need further help
In reply to: Deactivated plugin, broke my blogNo problem – glad you’re fixed !
In reply to: Installed bbPress can’t find forum on WordPress siteless shouty with the title, and a little bit of patience would be great !
bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
You may need to juggle a bit, but my Private Groups plugin filters forums for specific groups
so a user belongs to a group or groups
Forums belong to a group or groupsusers can see forums of the same group or groups.
https://wordpress.org/plugins/bbp-private-groups/
Post a topic on that plugins support desk if you need coding help
In reply to: Adding New Role Mess The Sitesorry the code is/was untested.
Try this with a correction
function add_custom_role( $bbp_roles ) { $bbp_roles['my_custom_role1'] = array( 'name' => 'vip', 'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() ) // the same capabilities as participants ); return $bbp_roles; } add_filter( 'bbp_get_dynamic_roles', 'add_custom_role', 1 );
In reply to: Adding New Role Mess The Siteif tyoun just want a role called VIP with participant capabilities, then undo whatever you did above, and then put this in your functions file
function add_custom_role( $bbp_roles ) { $bbp_roles[''my_custom_role1'] = array( 'name' => 'vip', 'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() ) // the same capabilities as participants ); return $bbp_roles; } add_filter( 'bbp_get_dynamic_roles', 'add_custom_role', 1 );
In reply to: Single Login for Member Area & BB forumBbpress uses the wordpress login, so they will have single signon.
In reply to: installed bbpress on my site and cannot find itbbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
In reply to: installed bbpress on my site and cannot find ityou should have forums, topics and replies in the dashboard.
If not come back
It works fine on my test and live sites !
In reply to: Hard Question: when we will see 2.6 out?rant is fine – I am just a user of the software expressing an opinion 🙂
In reply to: getting post or reply authorbbp_get_topic_author_id( $topic_id )
bbp_get_reply_author_id()
In reply to: Multiple Levels of Security?If you use
https://wordpress.org/plugins/bbp-private-groups/
you can set up groups and have different access levels
In reply to: Participants cannot see topics in private forumsnot really sure that if you don’t want to use my widgets I can help further. By all mean put up a post suggesting improvements though
In reply to: Participants cannot see topics in private forumsok.
I am the author of the private groups plugin, which I wrote to get over the limitations of bbpress. I have no relationship to bbpress, and can only work with what bbpress gives me, hence we end up with something that is ‘public’ and then using a plugin to make it private.
…so those Activities are showing up in widgets and shortcode locations and archives as public information
In the private groups plugin there are shortcodes and widgets that work with my plugin to hide stuff, go into
Dashboard>settings>bbp private groups
and look at the ‘widget warning’ and ‘shortcode warning’ tabs you will see the replacements.
In reply to: add Welcome User to menu?no problem !
In reply to: After bbpress activation all pages go missingGreat – thanks for posting back !
In reply to: add Welcome User to menu?ok, without having time to do all the work, I’ve quickly edited this bit of code – it may need debugging, but should get you there with some playing
add_filter( 'wp_nav_menu_items', 'rew_edit_profile', 10,2 ); function rew_edit_profile ($menu, $args) { global $bsp_login ; if (!is_user_logged_in()) return $menu; //if primary set and not primary then return if ($args->theme_location !== 'primary' ) { return $menu ; } else $current_user = wp_get_current_user(); $user=$current_user->user_nicename ; $user_slug = get_option( '_bbp_user_slug' ) ; if (get_option( '_bbp_include_root' ) == true ) { $forum_slug = get_option( '_bbp_root_slug' ) ; $slug = $forum_slug.'/'.$user_slug.'/' ; } else { $slug=$user_slug . '/' ; } //set link to welcome xxx $edit_profile= 'Welcome!'. esc_html( $current_user->user_firstname ) ; //get url $url = get_site_url(); $profilelink = '<li> <a href="'. $url .'/' .$slug. $user . '/edit">'.$edit_profile.'</a></li>'; $menu = $menu . $profilelink; return apply_filters( 'rew_edit_profile', $menu ); }
In reply to: add Welcome User to menu?So are you trying to get it to say logout, or are you trying to get it to say ‘welcome’…
In reply to: Hard Question: when we will see 2.6 out?seems to be too hard a question !
For whatever reasons 2.6 doesn’t seem to be progressing, and no-one seems able to tell us why. JJJ seems to have disappeared from the authors of bbpress.
I think you can have two attitudes to this.
1. That bbpress id dead, and going no-where
2. that bbpress is mature, and that there are lots of plugins out there which add the functionality that you need, built on a stable solid base.Given FB, Twitter, Instagram, pinterest etc. it is easy to see forums as yesterday’s technology, but the content in the list above seems to be transient, with no sorting, logic or permanence. Read and forget.
With forums you get logic, easy to read threads, and search capability – so I think forums still have their place.
So if you are like me, you have bbpress, but also have several other plugins (including my own published ones) that give my forums the functionality they need.
so go into wordpress plugins and search for both bbp and bbpress to see what is available.
In reply to: add Welcome User to menu?without knowing what that looks like – I suspect you won’t get a response
Can you post a link to a screenshot of what the issue is?
In reply to: change color to a forumthis depends on what you mean by ‘change color’ – can you post a link to your site and say what part you would like to be what color