Forum Replies Created
-
See also this topic
https://buddypress.org/support/topic/number-of-topics-and-replies-in-profile/
In reply to: Adding xprofile data to the Activity StreamTry one the other existing action hook in entry.php. If they don’t fit to your need, you add the custom action where you need it.
Keep also in mind that all position are div, so depending your theme you have also to maipulate CSS to achieve your goal.
In reply to: How can I change the slug for forums?See in bbp forum settings and modify the group forum(parent) name.
hi @fmckinnon,
Should we also use BuddyPress?
bbPress is a separate WP forum plugin. You can use it on any WordPress install.
BuddyPress is a separate WP members community plugin. You can use on any WordPress install.
Confused by the difference between “Groups” in Buddypress and the forums … and “Group” forums.
BP groups are members activities grouped under a same hood: the group. So it’s a typical BP behave. A group is not a forum, even if group discussion can be followed with help of a minimalistic publishing tool, the what’s new ? form aka notice editor. A kind of wall discussion retrained to each group, without any usual forum tool.
If you use bbPress AND buddyPress, you have the ability to categorize the forum into groups. In other words, you can assign a forum to any group of your choice.
As you can read on Codex, you have the option for a global forum only, or group forums only or if you have time and many mods, group and global forums.
For the last question, you already know that vbulltetin can be imported. For the user i have no answer because i never used this, but one thing is sure, WP use only one user table, no matter the other used plugin.
BuddyPress “shows” users, but doesn’t manage them. bbPress “shows” topics, but doesn’t manage user. That’s WP stuff.
I don’t know if you should use BP and bbPress together simply in regards of these technical explanation. So far i already experimented with BP, they are many other points to take in consideration if you want to built a community site.
In reply to: Groups issueApparently the issue is clearly related to Boss theme, no ?
You have to ask on the theme support, support is included in the licence price and we haven’t free access, so it’s difficult to help you. Sorry.I suspect the theme to not use some very recent modification around localization. Since BP 2.0 many strings where enhanced with translators ready comments and somme other little details, like points or comas.
As example, my groups (x) is coded
My Groups <span>%s</span>in BP 2.2
As you say it’s not translated, this means that the original (theme) code is wrong.
Could beMy groups <span>%s</span>ormy groups <span>%</span>(lower case, missing ‘s’)…
Verify this for each string.
Compare the result between buddypress.pot and what you see in theme’s source.Other common issue example. Groups is not translated on My Profile sub nav menu.
Actually, BP use this in bp-activity/bp-activity-loader.php
'title' => _x( 'Groups', 'My Account Activity sub nav', 'buddypress' )Not so long in the past, it was
'title' => __( 'Groups', 'buddypress' )The important thing for gettext to work, is the difference between _x and __ !
Updating a theme or plugin to fetch those kind of details is a time consuming detail work. An the devil is in details… and custom themes use custom functions or complex template overloads.
But at least, you know where and what to control now. 😉
In reply to: How to change title bar on new notificationsas start point, see here: https://buddypress.org/members/danbp/
In reply to: Hide members from Member DirectoryAdditionaly you can use/be inspired by this:
https://buddypress.org/support/topic/hide-admins-activities-from-all-activity-feeds-in-buddypress/#post-223433Successfully tested on BP 2.2.3.1 WP 4.2.2 Twenty Twelve
In reply to: Holiday / other absences of usersHi @irenehofer,
see if you can adapt
https://wordpress.org/plugins/out-of-office/
or
https://wordpress.org/plugins/simple-intranet-directory/In reply to: Group avatar in activityhi @arzuman26,
try this (add to bp-custom or functions.php)
function remove_group_activity_avatar() { if ( bp_is_active( 'activity' ) || 'groups' == $object && bp_is_active( 'groups' ) ) { $avatar = false; } } add_filter( 'bp_get_activity_secondary_avatar', 'remove_group_activity_avatar' );No, you do it wrong. Read the codex links i provided.
buddypress-functions.php in the bp-templates\bp-legacy folder or profile-loop.php are not the right files.
I told you to put the snippet into bp-custom.php OR in your child-theme functions.php
Why do you hack core files ? They will be overwriten at next BP update… 👿
In reply to: [Resolved] Remove View Tab from Member Profile PageTry this (bp-custom.php or child-theme functions.php)
function lafa_remove_submenu_item() { global $bp; unset($bp->bp_options_nav['profile']['public']); } add_action('bp_setup_nav', 'lafa_remove_submenu_item', 201);hi @tiquality,
to show the user’s mail above the other user information, you can add the following snippet to bp-custom.php or child-theme’s functions.php
Assuming users gave a valid email at registration, we can output that address.
Avantage is that they haven’t to enter their mail a second time while completing their profile.So we just need to manually add this address to the template, using one of the action hook avaible in profile-loop.php
function tiquality_add_custom_field() { if ( bp_is_active( 'xprofile' ) ) : if ( is_user_logged_in() ) { ?> <div class="bp-widget <?php bp_the_profile_group_slug(); ?>"> <table class="profile-fields"> <tr class="my_mail"> <td class="label">Contact me</td> <td class="data"><a href="mailto:<?php bp_displayed_user_email(); ?>"><?php bp_displayed_user_email(); ?></a></td> </tr> </table> </div> <?php } endif; } add_action('bp_profile_field_buttons', 'tiquality_add_custom_field');If you prefer it on the profile header, use the action hook indicated by Brajesh
add_action('bp_member_header_actions', 'tiquality_add_custom_field');In reply to: Groups issueHallo @rene-streber,
First of, i would recommend that you revert to a basic WP install using 2014 or 2015 theme and the WP’s german language activated and all plugins deactivated.
If you have a local install, suggest you do your test on it instead of the prod site.
Once this is done, you activate BuddyPress. German language will automatically be uploaded to the right folder (wp-content/languages/plugins/buddypress-de_DE.mo)
The original translation is here. It is complete to 100%. (and also the official translation).
FYI deckerweb provides a translation for bp 1.9 & 1.9.1. Soseems to meit is outdated now.Check if anything is correctly übersetzt. Theoretish sollte es jetzt funktionnieren.
If ok, you activate the main theme. Recheck everything. If ok, reactivate your plugins one by one and check each step to isolate an issue, if ever.
If everything is correct again, you can handle the specifics for your homepage. But remind one thing: BuddyPress components use a page system which is only in for internal purpose. This means that you can’t apply a page model like for an usual WP page. And if you use a special template just for the homepage, you have to adjust it to work with BuddyPress.
Each activated BP component should have a page assigned. And this page must be unique and empty, whithout any template or model settings, just a title.
I see that you have some issue with page names in your menu. Button show community2 and the permalink contains community-4. Check this too, to get community only everywhere. And probably clear your trash as it may contain some duplicates from previous attempts.
Once this is cleaned, und mit klarer aussicht, simply resave your permalinks to reinitialize all links.
In reply to: Forums on Member Pagesbp_is_user_forums(), check if forums component is active.
https://buddypress.trac.wordpress.org/changeset/6484Which type of forum do you use ? Standalone or group, or both ?
In bbPress you have a folder called extend containing the BP specific templates. Should you use them depends the forum type.
If bbPress is standalone, the plugin is totally independant of BuddyPress in regards of templates at least.
In reply to: Button that links to the Private Message (compose)This works only in the member loop.
Not sure what you mean by a user standard page, but if you mean a normal WP page, see here first:or more simplier, see
https://wordpress.org/plugins/bp-profile-search/@fabwintle Hi Fabienne,
i’m pretty sure the plugin is working. So you probably do something wrong somewhere, perhaps with your theme or another plugin.
IMHO, a link formated like the one you indicate in your post is unusual. And a register page with over 45 javascript runing is… very unusual too. So i’m not surprised that you have some issues with a custom function.
Aside, i haven’t seen any description on that page, at least because i’m not logged in ?
Honestly, I encourage you to hire a dev to configure and optimize correctly your install. If you want to open it publicly in a mounth, it’s not tool late. Once you get memebrs, it will became difficult to repair.
In reply to: Dont show comments in Site-Wide ActivityDeactivate all plugins except BuddyPress and activate 2014 theme.
See if it works. Then reactivate one by one until you find a culprit.In reply to: Forums on Member Pagesmembers/single/index.phpdoesn’t exist. It’s members/index.phpelseif(bp_is_user_forums())is in members/single/home.phpbp_is_user_forumsfunction is in bp-core/bp-core-templates.php:1791Confused ? Or really lost ?
Anyway, your question is How can I serve my own template, and inside that template how do I query a members topics?. Right ?Guess you have to do some homework. See:
Other example, see here (you just have to change the post type probably: post vs. topic)
if you’re sure you strictly followed these instructions, enable wp_debug and see which kind of error you get when on the group front-end settings page.
Can you upload user avatars correctly ?
Can you upload pictures to Media Library ?And last but not least, give your theme name or the site url.
In reply to: How to add sidebar to single update/comment pageI can’t explain better as the Codex. You simply have to follow what’s explained here:
In reply to: Forums on Member Pagesit doesn’t reflect the topics this account has created.
It should normally !
When on a profile, the forum item leads to this user forum activity. Any type of forum: groups and global forum.Verify your settings. What you should get with defaut settings:
Forum link on profile:
your-site/members/username/forums/On a group forum
your-site/groups/group_name/forum/On the global forum
your-site/forums/forum/forum_name/ (forum_name is a page title you must create, on this page you add bbpress shortcodes to show up the global forum only).Group forum is the first forum you create (in admin) if you want group forums, and as forum attribute you assign “category” (see right column on create forum page).
Then you have to set this group forum as parent page for all group forums in forum settings.Better detailed here:
In reply to: All members link on Member ProfileYou can’t use that function for this contextual menu.
Use the action hook coming after bp_user_displayed_nav function:
bp_member_option_navto simply add html and your link.Try this (add to bp-custom.php or child theme functions.php)
function lh_custom_setup_nav() { if ( bp_is_active( 'xprofile' ) ) ?> <li><a href="<?php bp_members_directory_permalink(); ?>"><?php printf( __( 'All Members', 'buddypress' ) ); ?></a></li> <?php } add_action( 'bp_member_options_nav', 'lh_custom_setup_nav' );Apply CSS to li and a tags accordingly to your theme if necessary.
Reference file: bp-templates/bp-legacy/buddypress/members/single/home.php
In reply to: Auto Join Group when registeringDepends if you’re able to code. In this case, you could add a user check like
$user = get_user_by( 'email', 'user@example.com' );to this snippet, provided by @imath in replacement of the mentionned outdated plugin. An other one, bp auto group join, is also outdated.Caution: i just read through the snippet and it seems possible to me. But i can’t help you to achieve this.