Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 10,601 through 10,625 (of 73,985 total)
  • Author
    Search Results
  • #267145
    porcusheep
    Participant

    I got it working! Thank you so much for you help Henry.
    I ended up modifying the code I found in this post: https://buddypress.org/support/topic/hiding-groups-activity-members-list-to-non-members/

    Ran into some issues as bp_is_page( BP_MEMBERS_SLUG ) is no longer working, replaced it with your bp_is_members_directory()

    Then had to figure out why bp_is_page() doesn’t work, found it is replaced with is_page()

    After, some figuring out how to use is_page(), I got everything working with the code below:

    function nonreg_visitor_redirect() {
    	global $bp;
    
    	if (is_page('alchemist-top-250-companies') ) {
    	
    		if(!is_user_logged_in()) {
    			wp_redirect('/stillneedtosetupage' );
    		}
    		
    	}
    	
    	if (bp_is_members_directory() ) {
    	
    		if(!is_user_logged_in()) {
    			wp_redirect('/register' );
    		}
    	}
    }
    add_filter('get_header','nonreg_visitor_redirect',1);
    #267141
    Henry Wright
    Moderator

    The code should go in your bp-custom.php file.

    Ref https://codex.buddypress.org/themes/bp-custom-php/

    That looks like it would work for my members directory but what about doing this for a conditional redirect for a specific post page?

    Which post page are you referring to?

    #267132
    Henry Wright
    Moderator

    Or you can try to access to some page in WordPress admin area (e.g.: with an ajax call) ?

    BuddyPress doesn’t do this by default. Considering you can’t reproduce, I expect the client is using custom code that’s causing the problem (either in their functions.php file, bp-custom.php file or in an activated plugin). Check those 3 locations on your client’s site for anything strange.

    #267130
    bambidotexe
    Participant

    I found a workaround, I’am quite not completely satisfied but…

    First of all, disable members list on group:

    function change_access_group_nav_tabs() {
      if(bp_is_group()) {
        buddypress()->groups->nav->edit_nav( array( 'user_has_access' => false ), 'members', bp_current_item() );
      }
    }
    add_action( 'bp_actions', 'change_access_group_nav_tabs' );

    (btw, setting the value to true actually make the the nav items always here, but we still can’t access the group list on click)

    And then I simply add a custom BP Group Extension to make my own members list:

    class Group_Extension_List_Members extends BP_Group_Extension {
        /**
         * Here you can see more customization of the config options
         */
        function __construct() {
          $args = array(
              'slug' => 'members-list',
              'name' => 'Membres',
              'access' => array( 'anyone'),
              'show_tab' => array( 'anyone'),
              'nav_item_position' => 12,
              'screens' => array(
                  'create' => array(
                      'enabled' => false
                  ),
                  'edit' => array(
                        'enabled' => false
                  ),
              )
          );
          parent::init( $args );
        }
        function display( $group_id = NULL ) {
          //Remove user who do not belong to the group on members loop
          function filter_for_groups( $members_template_has_members, $members_template, $r ) {
            for ($i=sizeof($members_template->members)-1; $i >= 0 ; $i--) {
              $user_id = $members_template->members[$i]->id;
              if(!groups_is_user_member( $user_id, bp_get_group_id() )){
                $members_template->member_count = $members_template->member_count-1;
                array_splice($members_template->members, $i, 1);
              }
            }
            if ($members_template->member_count <= 0) {
              return '';
            } else {
              return $members_template_has_members;
            }
          };
          add_filter( 'bp_has_members', 'filter_for_groups', 10, 3 );
    
          require('/Your/theme/custom/members/loop/members-loop.php');
        }
    }
    bp_register_group_extension( 'Group_Extension_List_Members' );

    Hope it will help other in the future, And I’m still open to know the good way to proceed.

    magland
    Participant

    Hi,

    Profile covers and avatar uploads don’t appear to be working on ios devices.

    I’ve tested an old ipad and iphone 7.

    Clicking the ‘Select a file’ button simply does nothing.

    It works find on a desktop with chrome. Also works fine on my android phone.

    I’ve added this to my bp-custom.php

    if ( wp_is_mobile() ) {
    add_filter( ‘bp_avatar_is_front_edit’, ‘__return_false’ );
    }

    This gets it working using the old fallback interface for iphone with the added benefit of keeping the avatar UI in place for desktops.

    The above fix doesn’t help with cover images though.

    Is there another equivalent filter to disable the avatar UI but for cover images?

    Alternatively is there a better solution?

    The html for the button seems to be:

    <input id=”bp-browse-button” type=”button” value=”Select your File” class=”button” style=”position: relative; z-index: 1;”>

    Would it help to simply change this to type=”file”? Something like:

    <input type=”file” accept=”image/*” capture=”camera” />

    I’ve seen this article referenced:
    A good way to shape the future of BuddyPress Attachments is to take care of Avatars

    In that article it mentions camera enabled devices and I can see a screenshot where there is a camera tab. I don’t get this option on my mac with a webcam in either chrome or safari. Do I need to enable this or should it work?

    #267124
    emmanuel123
    Participant

    Hi.
    After I installed. When I log into the admin page. I get the message: “Fatal error: Call to undefined function dbDelta () in wp-content / plugins / BuddyPress / bp-core / admin / bp-core-admin-schema.php on line 159″

    How do I do to fix this?.
    We wish everyone help

    #267119
    _natty_
    Participant

    how can I add to the “groups” tabs on buddypress user’s menu the “add new” feature that is visible at mydomain.eu/groups/create/step/group-details/

    And I’m even a likkle bit confused because, the only 2 urls from the user’s tab are:
    mydomain.eu/members/userName/groups/
    mydomain.eu/members/userName/groups/invites/

    but where i can find all the groups and may request a membership invitation are links like:
    mydomain.eu/groups

    thanks for any help

    #267112
    hazephase
    Participant

    HI,

    I am planing on using React JS for a new theme. Does any one have any experience with this?

    #267111
    abhinav.kakku
    Participant

    Any possible way to disable filters on Buddypress streams of activity or groups or fiends. Like facebook i dont want any filters, and just display all results. Disable filter options from screen

    abhinav.kakku
    Participant

    i want to rename / reorder / remove items from buddypress profile page menu which includes Activity profile notification friends etc. I am running WPLMS theme

    #267103
    Andrea Grillo
    Participant

    Hi, I’m Andrea from yithemes.com and I need help about a very strange issue between buddypress and our YITH Frontend Manager for WooCommerce plugin.

    A customer of us has wrote:

    hi,
    i’m using buddypress social network in my site, when a vendor is logged in and goes to buddypress members page, it’s her woocommerce my-account page displayed.
    view that url for issue : http://recordit.co/aSy8SWtp31

    I have tried to replicate it in my local environment but without success. Anyone can help me ?
    Thanks
    Have a nice day

    Andrea

    #267101

    In reply to: Profile page not found

    wbcomdesigns
    Participant
    udarmo
    Participant

    Hi,
    I’m using BP 2.8.2, WP 4.8.
    My (temp) website is demo.vsenashi.com it’s in Russian.
    I’m not getting BP notification emails. Registration is half WP and half BP, so I get emails, but all other activity BP notifications (messages, comments and new activity) – nothing.
    I have already checked spam folder.
    I tried Check Email plugin – sends emails.
    I tried WP mail SMTP plugin – not working with SMTP, but working with PHP mail(). So I configured this option and still no email notifications.

    What can I try to do to solve the problem? I saw many topics about it, but most of them still not solved.

    Hugo64
    Participant

    Hi @johnriggs78,

    Thank you for your answer.

    Let me precise my message: If I install the 2.8. version and above, the install will be done, and the main site will run, but not the subsites with Error 500.
    This is also the case with only buddypress activated in my wordpress, which shows it is a problem of Buddypress plugin.
    Best,

    Hugo

    #267094

    In reply to: Notifications

    johnriggs78
    Participant

    Hi @lovechard,
    I’ve understood what your need is and would like to inform you that none such plugin exists.
    Its a complete custom code that someone will need to write. You can hire any developer for this need.

    One such plugin exists that notifies for group activities : BP Group Notifier

    Regards,
    John.

    #267092

    In reply to: Invalid Activation Key

    kcscience
    Participant

    I am having the same problem with my web site, and I have figured out why the problem happens, and why the problem is intermittent…

    Here is the problem: a user registers for a BuddyPress account, receives the activation email, follows the link in the activation email, and gets the “Invalid activation key” error. Yet, their account really *is* activated, and they can log in and use their account. A different user does exactly the same thing, and everything works great for them – they get the “Account Successfully Activated” page.

    *Some* users have this problem, most don’t. The ones that do? They seem to have “Blue Coat K-9 Web Protection” software installed on their computers. This is software that is generally installed by parents to keep children from viewing inappropriate content on the internet. When the user follows the “activation” link, K-9 (running on the user’s computer) sends the URL to Blue Coat’s servers, which hit the URL (causing the account activation to succeed). Blue Coat’s servers analyse the “account activation succeeded” response, decides that web page is “kid friendly”, and then tells the user’s computer that that URL is “safe”. The user’s browser is then allowed to hit the URL, but, since that BuddyPress account has already been activated (by Blue Coat’s servers), the user sees the “Invalid activation key” error message, because we tried to activate the BuddyPress account twice.

    Assuming that Blue Coat’s K-9 software is not the only “internet safety” software that acts in this way, it might be a good idea to change the BuddyPress “account activation” system to display an “activation succeeded” message when a user (or their “internet safety” software) tries to activate a BuddyPress account more than once.

    Here are more details, in case if anybody is interested…

    I instrumented my site’s “index.php” and my site’s “public_html\wp-content\plugins\buddypress\bp-templates\bp-legacy\buddypress\members\activate.php” with code that logs tons of stuff, including the IP address of the user. This led to the following discovery…

    When a non-K-9 user follows the “activation” link, “index.php” gets hit (from their computer’s IP address), which invokes the fore-mentioned “activate.php”, which activates the account and emits the “activation successful” web page, and all is well. One web request happened, as demonstrated by “$_SERVER[‘UNIQUE_ID’]”.

    When a K-9 user follows the “activation” URL, however, a MUCH different situation occurs, which involves four separate web requests. The first two requests come from an IP address that is registered to Blue Coat Systems / Symantec Corporation, the makers of the K-9 Internet Protection software. The second two requests come from the user’s computer…

    * Web request #1 – Blue Coat’s computer hits “index.php” with the activation URL’s ending slash missing.

    * Web request #2 – Blue Coat’s computer hits “index.php” again, with the correct activation URL this time. This invokes lots of PHP code (on my server), which eventually results in “activate.php” running and the account activation succeeding. The reply (the “account activation succeeded” web page) is delivered to Blue Coat’s servers, who analyses it and decide that the web page is “kid friendly”, so it tells K-9 (running on the user’s computer) that it’s OK to show that page.

    * Web request #3 – The user’s computer finally hits “index.php”, in order to activate the account.

    * Web request #4 – The user’s computer hits “index.php” again, with the registration key removed from the end of the URL this time. This invokes lots of misc PHP code, which eventually results in “activate.php” running and failing this time, because the activation has already happened (back in web request #2, which Blue Coat made, in order to determine if that web page is “kid friendly” or not).

    I have no idea why the user’s computer (in #3 and #4) make two requests instead of one. However, even if it made just one, it would still show the error message, because that’s the second time the BuddyPress account was activated.

    – kcscience

    zustudios
    Participant

    Wordpress 4.8
    Buddypress 2.8.2
    Theme Themify Ultra

    Is there a buddypress customization plugin?
    How do I customize buddypress templates with themify ultra? (profile,groups,etc)
    How do I hide certain users from the members list?
    How do I allow users to control privacy? (profile,albums,post)
    What are the most popular(most used) buddypress? (wordpress doesn’t work well with too many plugins.)
    Any step by step tutorials in english?(youtube) It’s easier to learn when I can see it.
    Why doesn’t Buddypress.org have an official youtube channel?

    prinxe.gupta
    Participant

    Hey guys,

    I need urgent help.
    So I installed buddyPress on a completely fresh install of wordpress on twenty sixteen theme.
    There are no other plugins present except buddypress.
    I have done a completely fresh install of wordpress just to make buddypress work but it didn’t.
    When I visit BP pages, I just get a blank page inside the theme.
    I am running locally on wamp and not able to figure out anything.
    Please help

    TIA

    #267086
    ruchika88
    Participant

    Hi John,

    Thanks for reverting I reactivated buddypress plugin but no luck. I am a first time user of Buddypress please help.

    Thanks
    Ruchika

    #267083
    brucelewis55
    Participant

    HI, we have worked on some add ons in buddypress.

    https://profiles.wordpress.org/wbcomdesigns#content-plugins

    #267082
    johnriggs78
    Participant

    Hello ruchika,

    I checked your Pages like- profile, Activity & Notification.
    At least you couldn’t Deactivate Buddypress plugin, Anyway When you will activate Buddypress Plugin All pages will be work.

    And if you Need Notification plugin you can download – BP Favorite Notification
    If you need another plugins you can also downlod from Plugin Shop, It’s totaly Free, So Go Head & Enjoy. If you need any help i will around.

    Regards
    John

    ruchika88
    Participant

    Hi, I am struggling to get a profile page as it shows 404 error. Also notification and other profile related pages show 404 error. Have deactivated all plugins to test if any code conflict but that also didn’t resolve the issue.

    Links to pages:Profile page
    Activity:profile activity
    Notification:notification

    All other pages related to profile that showup on right corner when the member is signed in show 404 error.

    wordpress version:4.8
    Buddypress version:2.8.2
    Also have installed bbpress:2.5.12
    Wordpress Theme: customizr child theme

    Please help and thanks in advance.

    Hugo64
    Participant

    Sorry I post this here because I had no answer in the section Installing BuddyPress

    Hello,

    I cannot upgrade my website to buddypress 2.8.0 or above versions because of code error 500 in the subsites. I had to downgrade it to 2.7.4…

    Wordpress 4.7.2.

    Buddypress 2.7.4.

    Main site is http://www.jugaralsquashenmadrid.com and subdirectories /madrid and /madridsur

    Thanks in advance for taking a look at it!

    Cheers

    Hugo

    #267074
    mmjr2000
    Participant

    Hello,
    I recently updated to the latest WordPress and just installed BuddyPress for the first time on this install.

    I did try reverting back to a theme like the: Twenty Twelve, etc!

    All BuddyPress pages seem to working like they should except when trying to view a profile. My admin profile has a space in the name and my other account has no spaces. So when I view or try to view my admin profile page it comes up with page not found, my other user account however works fine. Is this a bug with the current version of BuddyPress?

    Here is a link to our members page:
    http://site.ihearcu.com/members/ – Just visit this link and try to click on Mike M’s name which should return the page not found, then try mmjr2000 which then does work.
    Admin user is: Mike M – This account return page not found.
    Regular user is: mmjr2000 – This account works when viewing it’s profile.

    What would cause this issue?

    Thanks

    #267073
    Slava Abakumov
    Moderator

    #BuddyPress Newsletter #35 – BuddyPress 2.9.0 RC1, new theme and lots of plugins to consider

    Subscribe here: http://bpmail.ovirium.com/

Viewing 25 results - 10,601 through 10,625 (of 73,985 total)
Skip to toolbar