Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 29,751 through 29,775 (of 94,565 total)
  • Author
    Search Results
  • #170209
    webheadcoder
    Participant

    I have a request to not depend on the ‘bp_xprofile_visibility_levels’ user meta setting in order to hide fields. Or simply add a hidden input explained in the workaround. Here is why:

    I developed a private membership site so naturally I wanted to disallow the ‘public’ visibility setting. I added something like:

    function myfunction($levels) {
        unset($levels['public']);
        return $levels;
    }
    add_filter( 'bp_xprofile_get_visibility_levels', 'myfunction');

    This caused a chain reaction to show all fields with an enforced visibility.

    I have a Mobile Phone field along with several others to be forced to be ‘adminsonly’. So there is no form input (radio buttons) to switch the visibility. BuddyPress checks _POST[‘field_123_visibility’] and if there is no post field, the default visibility is ‘public’. Then BuddyPress checks for the allowed visibilities. Since i took out ‘public’, ‘public’ is not an allowed visibility and does not save the users’ visibility preference (in bp_xprofile_visibility_levels) . Because the user does not have a visibility preference saved for this field it is not checked to be hidden (bp_xprofile_get_fields_by_visibility_levels()). Since it’s not even considered to be hidden, it shows. This is where I’d like a change to the code. I don’t think it’s right to skip a field if it is not in the user meta.

    I’m not expert at BuddyPress so maybe unsetting the ‘public’ visibility setting is a big no-no. It just seems very strange that unsetting the ‘public’ visibility can cause ‘adminsonly’ fields to show publicly.

    My workaround for this is to just add a hidden field so that the usermeta is saved. in members/single/profile/edit.php I added the following:
    <input type="hidden" name="field_<?php bp_the_profile_field_id();?>_visibility" value="adminsonly">

    #170206
    @mercime
    Participant

    but as soon as i turn it into a multi-site, new registrations via buddypress don’t work.

    @alimjivraj
    – Did you activate BuddyPress via Network Admin > Plugins activate BuddyPress?
    – Did you configure BuddyPress in a subsite instead of the main site?
    – What other plugins do you have activated? Did you check whether anyone of those plugins have conflict with BP registration?
    – What are your WP/BP versions?

    #170201
    alimjivraj
    Participant

    so i did a full uninstall, wiped ftp site clean, and then re-install. still doesn’t work.
    but i did find that it works when it’s a single site install, but as soon as i turn it into a multi-site, new registrations via buddypress don’t work.

    i’m desperate here…

    #170196
    gdelange
    Participant

    Hi, hope there will be somebody who can help me because i really cannot find what’s wrong.

    For some reason the only users that I can add to a group are users I created myself within the backend/dashboard of WordPress. But in case a user is created within the front end (using WooCommerce webshop) this user cannot be added to a group. What is the difference between these two users? At first I thought there was something wrong with WooCommerce, but I tested it on my test version of wordpress (different domain/installation, but same versions/set-up) and then there is no problem at all. Both users can be added to a group there, so it should work. So something else must be wrong, but what???

    I am using all the latest versions, since I just started to build this website (still under construction mode) so all installations are new. It did’t help to delete and reinstall Buddypress and BBpress.

    What to do now? Thank you for your help!!!

    Regards,
    Geert

    #170192
    hitkid
    Participant

    Hi guys,

    I’m trying to strip the activity hearder to just name of the topic/the group. I know the function in the entry.php <?php bp_activity_action(); ?>

    I’ve been reading how to pull this off in a really old thread, but it doesn’t seem to work. Can anyone help better explain this to me?

    http://buddypress.org/support/topic/trying-to-alter-layout-of-bp_activity_action/

    The main method I tried was

    function remove_activity_meta( $content ) {
    
    return '';
    
    }
    
    add_filter( 'bp_activity_permalink', 'remove_activity_meta' );
    
    add_filter( 'bp_activity_time_since', 'remove_activity_meta' );
    
    add_filter( 'bp_activity_delete_link', 'remove_activity_meta' );
    #170177
    Dianbuddy
    Participant

    Hi,
    I would like to be able to assign users to a group instead of having to send them to the Group page to request to be added. Is there a way to do that? I am on the most recent versions of WordPress, 3.6, Buddypress (don’t know) and bbpress. Installed yesterday. I am using a custom theme, but that seems to be working.
    Thanks
    Diane

    #170169
    shanebp
    Moderator
    #170165
    Unit9
    Participant

    Thanks so much for your reponses Shane!

    So is there a way to do this within my theme without messing with the core members list code? πŸ™‚

    #170164
    tchburn
    Participant

    My permalink structure is /%category%/%postname%/ – when I enable Forums in BP Groups any new post or attempt to view a forumfrom within a group causes a redirect loop.

    If I change the permalink to something else this issue goes away. Does anyone know how to fix it without changing my permalink structure?

    Wordpress 3.6
    buddypress 1.81
    bbpress 2.3.2

    yannlossouarn
    Participant

    Hello,

    I use WP3.6+BP1.8.1 at http://fablab-lannion.org.

    I would like to display the equivalent of the /members/LOGIN/activity page for logged-in users that access to the home page. I copied various templates from /buddypress/members/single/ (activity.php, home.php…) and created a shortcode function that makes the following call :

    include( locate_template( array( '/buddypress/members/single/home.php' ), false ) );

    The template is loaded but inside of it, calls to various functions like bp_get_displayed_user_nav() return nothing. It seems that $bp->displayed_user data (especially domain and userdata) are empty, which seems to be a possible cause. Is there something I could do to force BP to load appropriate data about the logged-in user in this context ?

    Best regards,
    Yann

    #170155
    BuddyBoss
    Participant

    The BuddyBoss theme is made specifically to be super super mobile, with a stylesheet just for BuddyPress and one just for bbPress, making all of that content responsive.

    Home

    #170152
    @mercime
    Participant
    #170148

    In reply to: Need Help

    @mercime
    Participant

    @mdg706 please do not offer to give admin account information in these forums. We won’t be responsible if someone hacks your site.

    – Did you go through this information before activating BP in your site? https://codex.buddypress.org/user/before-installing/
    – Have you asked tech support at your hosting provider if your current hosting plan can handle BuddyPress? Some would ask you to upgrade your hosting plan before you can activate BuddyPress.

    @mercime
    Participant

    @julianwagner if you want all your BuddyPress pages to be full-width, the simplest and only thing you have to do (save probably some minor CSS tweaks) is to create a new file named buddypress.php

    Then open up your theme full-width template then copy all code within. Paste the code into your buddypress.php file (remove Template: xxxxx) then upload buddypress.php to your theme’s folder in server.

    #170138
    shanebp
    Moderator

    You should be able to do a conditional based on the page slug, action or uri.
    But the user query might fire before that check can be run.
    Try a simple echo from a function on that hook, see where/when it appears.

    You could manipulate the members loop (stuff into array & resort)
    but that’s very inefficient unless you have less than 1000 users.
    And I’m not sure what effect it would have on pagination – I suspect not good.

    #170137

    Topic: Need Help

    in group forum Installing BuddyPress
    mdg706
    Participant

    Hello Everyone,

    I am new to WordPress and BuddyPress, I have installed both to hosted site in New Zealand (both the newest versions) I am stuck on get BuddyPress to work as a Social Network service. If someone could assist me in loading BuddyPress properly I can provide the admin information to login.

    Thanks

    Matthew

    julianwagner
    Participant

    Hey Hugo,

    yeah – my english isn’t the best one. So step by step.

    You’re right I mean the crated pages like ‘activity’, ‘members’ etc. I have two different page-tempaltes. The standard-template also known as page.php and and wide-page.php. WordPress suppots switching the themes for each crated Site and all BP connected Pages got wide-page.php but still loading page.php

    For the second thing: as provided since BP 1.7 there is no need for a theme migration – so buddypress loads the default theme “bp-legacy”. Also on twentytwelve the problem with the loader.gif exists.

    And yes, I didn’t posted a link because we saved the site with a htaccess at the moment.

    #170135
    Ben Hansen
    Participant

    i think i already did at least as far as i can anyway.

    #170133
    Steeven
    Participant

    @ubernaut. Thanks for your reply.

    Can you tell which functionality, you think will not be (directly) included?

    I will take a look at your links tomorrow. Thanks.

    #170131
    Ben Hansen
    Participant

    i would say yes although some of the functionality may need to be extended depending on the exact nature of these classes. here’s some additional buddypress stuff that may interest you:

    commonsinabox.org

    wordpress.org/plugins/buddypress-media

    #170128
    #170124
    drronsuarez
    Participant

    I have one site with the problem of missing avatars that first emerged when upgrading from BuddyPress 1.6.x to 1.7.x

    I tried migrating the content to a different installation of WordPress and BuddyPress latest versions (3.6 and 1.8.1) and I still have the problem.

    I tried turning off all my other plugins other than BuddyPress and I still have the problem.

    #170120
    Unit9
    Participant

    Thanks Shane! Would this modify the page for every listing? I only want to do this for one custom page. πŸ™‚

    Thanks!

    #170115
    shanebp
    Moderator

    It would be best to filter this at the query level.

    See do_action_ref_array( ‘bp_pre_user_query’, array( &$this ) );
    In function prepare_user_ids_query()
    In buddypress\bp-core\bp-core-classes.php

    #170113
    wildcatdigital
    Participant

    Having the same exact problem with the website field. Textbox fields also work perfectly fine for me.

    WP 3.6
    BuddyPress 1.8.1
    BuddyPress Xprofile Custom Fields Type 1.5.7.1

    All that shows up is “This field can be seen by: …”

    πŸ™

Viewing 25 results - 29,751 through 29,775 (of 94,565 total)
Skip to toolbar