Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 19,726 through 19,750 (of 94,540 total)
  • Author
    Search Results
  • #238867
    shanebp
    Moderator

    Try this in your theme/functions.php or in bp-custom.php

    function klosurdo_unlink_fields( $field_value ) {
    
    	$no_link_fields = array( 'Photographer Bio' );
    
    	$bp_this_field_name = bp_get_the_profile_field_name();
    
    	if ( in_array( $bp_this_field_name, $no_link_fields ) )
    		$field_value = strip_tags( $field_value );
    
    	return $field_value;
    
    }
    add_filter( 'bp_get_the_profile_field_value', 'klosurdo_unlink_fields', 99, 1 );
    #238866
    Klosurdo
    Participant

    Hi,

    I like the idea of having certain fields link to other members with the same selection however, in one of the text fields buddypress seems to have arbitrary selected text to link that makes no sense (see screen capture). Why has it selected those sentences as links? Is there a way to remove that from happening without effecting the other dropdown and selection fields. This field should be pure text without arbitrary links.

    screenshot

    Thanks

    #238863
    danbp
    Participant
    #238836
    jasnmallory
    Participant

    Hi, I recently started my first WordPress site, on a new WP 4.2.2 install, and with BP 2.2.3.1 plugin installed, but I can’t find anything inside the plugin about the member type feature!?! I have read up on it, but nothing has let me know exactly what to do to get it on my dashboard, or to enable it in any way… Can someone please hold my hand on this? If I need to copy and paste code from here: https://codex.buddypress.org/developer/member-types/ I have no idea of where to do it? I’m ready to start populating profiles, but need the member type feature, and separate member type questions/fields in order for the site to function properly. Please help. My site is GigTrain.com – Thanks.

    #238835
    el_crespo
    Participant

    Hello (sorry for my English, I hope you can understand my problem).

    1) Did you install WordPress as a directory or subdomain install? Subdomain
    2) Did you upgrade from a previous version of WordPress? No
    3) Which version of BP are you running? 2.1.1
    4) Did you upgraded from a previous version of BP? No
    5) Do you have any plugins other than BuddyPress installed and activated? yes: WooCommerce, WP-PageNavi,The Events Calendar, NextGEN Gallery by Photocrati, myCRED, Another WordPress Classifieds Plugin (AWPCP).
    6) Are you using the standard WordPress theme or customized theme? customized.
    7) Have you modified the core files in any way? No
    8) Do you have any custom functions in bp-custom.php? No
    9) Is your server running Windows, or if Linux; Apache, nginx or something else? Linux, Apache

    My problem: I wanna visit the “admin” profile but if a slug post starts with “admin”, for example “admin-of-the-world-is-dead” I can’t visit the “admin” profile, always is showing to me the post.

    I hope you can help me with some ideas.

    πŸ™‚

    shanebp
    Moderator
    gato-gordo
    Participant

    Currently, I am supporting a Buddypress site that has the member-directory being sorted by last name, using this solution:

    
    function aps_bp_alphabetize_by_last_name( $bp_user_query) {
    	if ( 'alphabetical' == $bp_user_query->query_vars['type'] ){
    		$bp_user_query->uid_clauses['orderby'] = "ORDER BY substring_index(u.display_name, ' ', -1)";
    	}
    }

    You can see the result here:

    Member Directory

    That implementation has a couple of problems.

    (1) It doesn’t ignore special characters. I understand this is a MYSQL issue. Going to post-pone addressing it for the moment.

    (2) It doesn’t conventionally sort compound last names. I’d like to sort ‘de Rose’ under ‘D’ and ‘Savage Upper’ under ‘S’.

    To solve (2), I think I need to sort by wp_user_meta.last_name (or the corresponding xprofile field they have). I have tried both, and my implementations currently break bp_members_pagination_count() and bp_members_pagination_links(). Using the following code**, for example,

    
    function aps_bp_alphabetize_by_last_name( $bp_user_query) {
    	if ( 'alphabetical' == $bp_user_query->query_vars['type'] ){
        	$bp_user_query->uid_table = 'wp_usermeta';
        	$bp_user_query->uid_name = 'user_id';
        	$bp_user_query->uid_clauses['select'] = 
        		"SELECT u.{$bp_user_query-> uid_name} as id FROM {$bp_user_query->uid_table} u";
        	$bp_user_query->uid_clauses['where'] = "WHERE u.meta_key = 'last_name'";
        	$bp_user_query->uid_clauses['orderby'] = "ORDER BY u.meta_value";
    	}
    }
    

    generates this: http://printscholars.staging.wpengine.com/member-directory/

    ** This is meant to be provisional. It’s not, for example, taking into account the include and exclude in the query vars, which I will need to do.

    Any insight into what here is breaking those functions and other problems this approach might lead to?

    Using WP 4.2.2,Buddypress 2.2.3.1

    #238832

    In reply to: Groups issue

    Rene Streber
    Participant

    So back to buddypress forum πŸ˜‰

    First of, it is working again but I created a new page without a parent (first level) and allocated the group component to that new page.

    The old page was at a second level and as I told you, had the same issue to open the single groups with another theme.

    Now it is also working with new Boss Theme!

    Thanks for your quick support!

    danbp
    Participant

    it feels like β€œGroups” are one of the biggest draws to BuddyPress that makes it more social

    It’s one of the interrest of BuddyPress, indeed !

    Yes, you can remove status from the template. Search this forum, the’re many topics about this subject.

    You could remove this from groups/single/home.php – needs just a template overload.

    <div id="message" class="info">
    <p><?php bp_group_status_message(); ?></p>
    </div>
    fmckinnon
    Participant

    Dan,
    Thanks so much for your help. I’ve enlisted some people in our existing forums to signup in our staging area and poke around a few days and see what they think as well.

    The main aim of my site: to make it more inclusive to the members .. meaning, right now, we have thousands of people who read the articles but never engage. The only people we get added to our mailing list are forum members, so yes – one of main aims is to grow the mailing list and membership base.

    Time to manage? not a problem, we have lots of devoted forum members who are happy to volunteer as mods/admins.

    As you pointed out, we do have the global forum currently (via vBulletin) so initially, the “sitewide forums” would make the most sense. If we did that, I’m not sure we even need to bother with creating groups. But, on the surface, to me — it feels like “Groups” are one of the biggest draws to BuddyPress that makes it more social …

    When you say “you can remove this feature in some places” – can you elaborate? Can the status updates/comments inside of Groups be turned off, only allowing discussion via the group forum?

    #238824
    Lisa
    Participant

    To my great surprise Buddypress allows such weak passwords such as a single digit letter or number when changing the password from the front-end.

    There are several minimum password strength plugins for WordPress, but none seem to work with the frond-end of Buddypress.

    How can I enforce users to select passwords with a minimum of 8 digits, including a number?

    danbp
    Participant
    fmckinnon
    Participant

    Hey Dan,
    Yeah – I understand that – spent a lot of time reading, and have installed BuddyPress and bbPress on my staging domain.

    I’ve experimented around w/ the Groups features (including allowing a Group to have a forum, etc). At this point, I realize I’m getting into personal preference …so with that being understood, here’s my question:

    What’s the real point of Status Update/Activity Streams in the individual groups in BuddyPress if you are going to be also having forums via bbPress? It seemed and felt cluttered and redundant to me.

    Like I created a group called “Songwriters” and linked it to the “Songwriters” forum. But, members of the Group can post status updates in the Group, that don’t show up in the forum. And if a member of the group posts in the forum, it does show up in the “forum” section of the group, but doesn’t show up in the activity feed for the group.

    It almost feels like the two spaces are competing, I’m not sure I follow the rationale. Again, I realize it’s preference, but in your opinion, if you are going to utilize bbPress forums, is it best to just turn groups off?

    What I’m trying to prevent is having the “group” discussions having in two separate areas. I can see how you’d have some discussion happening in the forum, and then someone else may post a topic as a “status update” in the group, and start getting comments there.

    Does this make sense?

    caniwigirl
    Participant

    Good news everyone. My theme developers and I have solved this issue on the theme I am using!

    The first tricky hurdle was discovering a !important directive in the main.css of the theme for handling .hidden so I removed it to become .hidden{display:none;visibility:hidden} so styling in my child theme would work.

    In my child theme, I did an ‘inspect element’ to discover that the hidden groups were listed as:

    <li> class='odd hidden is-admin is-member">_</li>
    <li> class='even hidden is-admin is-member">_</li>

    So, I added the following code to my style.css in the child theme

    .odd.hidden.is-admin.is-member {
    display: block;
    visibility: visible;
    }
    
    .even.hidden.is-admin.is-member {
    display: block;
    visibility: visible;
    }

    This worked for admin, but not members of the groups who weren’t admins so… Logged in as one of those and using ‘inspect element’ I found that private groups were listed as:

    <li> class='odd hidden is-admin is-member">_</li>
    <li> class='even hidden is-admin is-member">_</li>

    Applying the same logic as above, I added the following code to my style.css

    .odd.hidden.is-member {
    display: block;
    visibility: visible;
    }
    
    .even.hidden.is-member {
    display: block;
    visibility: visible;
    }

    And now everything works πŸ™‚

    I don’t know if anyone at BuddyPress support can help tidy up my code, but it does the trick and I hope it helps you @bewitchingfiction @donalconlon @olay And thanks for your help @danbp

    danbp
    Participant

    Anything about this is explained here

    Installing Group and Sitewide Forums

    and also on bbpress site.

    #238799
    danbp
    Participant

    See in bbp forum settings and modify the group forum(parent) name.

    Installing Group and Sitewide Forums

    #238797
    shanebp
    Moderator

    As it says in that thread – to entry.php
    Specifically buddypress\bp-templates\bp-legacy\buddypress\activity\entry.php

    And of course create a template overload of that file.

    majecdad
    Participant

    I found a very helpful snippet that @danbp had posted for @saxisme — I wanted to take it to that next step as @saxisme had mentioned.

    I wanted to add that xprofile field data to what looks like the “Activity-Header” where currently it displays:

    Username posted an update (or)
    Username replied to the topic… etc…

    I would like to inject the xprofile field created by that snippet so the activity header displays like:

    Username – XPROFILE FIELD posted an update (or)
    Username – XPROFILE FIELD replied to the topic… (etc…)

    Which file should I look to add the <?php do_action( ‘showsaxisme’); ?> that @danbp so kindly shared to accomplish this?

    Thanks!

    danbp
    Participant

    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.

    #238790

    In reply to: Groups issue

    danbp
    Participant

    Apparently 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 be My groups <span>%s</span> or my 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. πŸ˜‰

    #238789
    danbp
    Participant
    #238788
    danbp
    Participant

    Additionaly you can use/be inspired by this:
    https://buddypress.org/support/topic/hide-admins-activities-from-all-activity-feeds-in-buddypress/#post-223433

    Successfully tested on BP 2.2.3.1 WP 4.2.2 Twenty Twelve

    #238787
    PinkishHue
    Participant

    I’ve been thinking of this a lot myself, in the way that Facebook or Gmail for example update their title tags. This is a great way of encouraging engagement in the site as people see the number even if their browser is minimised and they’re off working on something else.

    I haven’t tried to implement this myself yet but will have a try asap.

    I guess it’s a case of:

    adding a conditional in to the <title > tag in the themes header.php that says IF there are notifications then display the count. Then, have the page refresh periodically to update the count (or does buddypress do this already to update notifications? I’d have to check)

    So just need to find the code that generates the notifications count.

    Hopefully it’s that simple, but we’ll see πŸ™‚

    #238785

    In reply to: Groups issue

    Rene Streber
    Participant

    Hi,
    I deactivated all plugins,
    I checked all permalinks,
    activated the twenty four theme from wordpress instead of the Boss theme (language looked fine),
    activated buddypress (language looked fine, everything is correctly translated)

    activated the BOSS Theme (language is not 100% translated:
    examples: active, all groups, my groups, group has xx members, newly created etc. is not translated
    although we installed the newest german translation (mo/po in wp-content/languages/plugins)

    The same translation problem exists with sidewide activity as well as member directory (here all members, my friends in English)

    For groups (..community/gruppen; parent is community, template is default)
    For members (..community/mitglieder; parent is community, template is default)

    404 error if I try to open any group with wordpress or with the boss theme

    I did not run the last steps, because the issue is still present.

    Ps Every buddypress component has its own unique page

    Rene

    fmckinnon
    Participant

    Hope this is the correct forum to post this request. We are considering a major platform change for our website, TheWorshipCommunity.Com (http://www.theworshipcommunity.com) – I’ll refer to it as TWC in this post.

    TWC is built on two platforms:
    The blog/articles are based on WordPress.
    The forum is based on vBulletin, which is out of date, and needs major overhaul.

    I’m strongly considering BuddyPress and bbPress. bbPress is a no-brainer because we HAVE to keep the forums. That’s where the bulk of our community exists.

    So, my question is should we also use BuddyPress? I get a little confused on the difference between “Groups” in Buddypress and the forums … and “Group” forums.

    I know that the vBulletin importer works because we’ve already tried it. I guess my big question is when you use BuddyPress and bbPress together … are the user accounts shared? Meaning … once we import all of our thousands of users from vBulletin, is there user accounts now created for both bbPress and Buddypress .. or is it still treated like two separate accounts?

    I would be beyond grateful if someone who is experienced in both could look at our site and give some honest evaluation on if this combination would be right for our community.

    Thanks!
    Fred

Viewing 25 results - 19,726 through 19,750 (of 94,540 total)
Skip to toolbar