Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 18,576 through 18,600 (of 94,540 total)
  • Author
    Search Results
  • #242860
    andypanoreo
    Participant

    I need to clear/uncheck a check box when the “user role” of a user is change (in this case from Author to Subscriber). When the user role is changed, I was able to hide the field using the PlugIn “BuddyPress Conditional Field Groups”. The problem is that the search engine in my site still sees that check-box field because is still checked.

    I’m not a programer, but I assume that the logic could go like this:

    If User role = Subscriber
    Then checkbox(Comunity College).uncheck
    End if

    Thank you!

    #242858
    nkeatign
    Participant

    No — so basically I have a site with say 5000 Posts from a bunch of different authors.

    Ive added Buddypress to the site and we only have/need our profile pages to show the users posts, this is working fine for anytime an author publishes a new post, because an activity record is created.

    However, the old posts (published prior to buddypress being installed) do not show because there are no activity records, correct?

    How do I create activity records for all the old posts, so the user has a complete profile?

    #242855
    shanebp
    Moderator

    The recommended method is to turn off other plugins and / or switch to a standard theme like WP 2015.
    Due to permalinks aspect, I suspect another plugin.

    If that doesn’t narrow it down, you can submit a bug ticket here.
    But you should provide better instructions on how to duplicate the issue.
    This is unclear: “To break the site navigate to the profile and page to another page/set of users and the page does an ajax call to load the view”

    Paul Bearne
    Participant

    wp 4.2.4
    bp 2.3.2.1

    I am seeing problems on a when BuddyPress is active we keep getting pages that start to return as 404’s

    After a lot of debugging we can reproduce in demand

    You need more than 20 users so the profile page is pages

    To break the site navigate to the profile and page to another page/set of users and the page does an ajax call to load the view

    now try to a normal wp page and it will 404

    if you turn off JS / ajax so that pages reloads with query string ?upage=2 it does n’t break

    you can fix the site by loading the permalinks in the admin

    it seems that the permalinks change

    Looking at the permalinks they change when it is broken

    Working version ( the part of the array that changes )

     ["([0-9]{4})/?$"]=>
      string(26) "index.php?year=$matches[1]"
      [".?.+?/attachment/([^/]+)/?$"]=>
      string(32) "index.php?attachment=$matches[1]"
      [".?.+?/attachment/([^/]+)/trackback/?$"]=>
      string(37) "index.php?attachment=$matches[1]&tb=1"
      [".?.+?/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$"]=>
      string(49) "index.php?attachment=$matches[1]&feed=$matches[2]"
      [".?.+?/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$"]=>
      string(49) "index.php?attachment=$matches[1]&feed=$matches[2]"
      [".?.+?/attachment/([^/]+)/comment-page-([0-9]{1,})/?$"]=>
      string(50) "index.php?attachment=$matches[1]&cpage=$matches[2]"
      ["(.?.+?)/trackback/?$"]=>
      string(35) "index.php?pagename=$matches[1]&tb=1"
      ["(.?.+?)/feed/(feed|rdf|rss|rss2|atom)/?$"]=>
      string(47) "index.php?pagename=$matches[1]&feed=$matches[2]"
      ["(.?.+?)/(feed|rdf|rss|rss2|atom)/?$"]=>
      string(47) "index.php?pagename=$matches[1]&feed=$matches[2]"
      ["(.?.+?)/page/?([0-9]{1,})/?$"]=>
      string(48) "index.php?pagename=$matches[1]&paged=$matches[2]"
      ["(.?.+?)/comment-page-([0-9]{1,})/?$"]=>
      string(48) "index.php?pagename=$matches[1]&cpage=$matches[2]"
      ["(.?.+?)(/[0-9]+)?/?$"]=>
      string(47) "index.php?pagename=$matches[1]&page=$matches[2]"
      ["[^/]+/attachment/([^/]+)/?$"]=>
      string(32) "index.php?attachment=$matches[1]"
      ["[^/]+/attachment/([^/]+)/trackback/?$"]=>
      string(37) "index.php?attachment=$matches[1]&tb=1"
      ["[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$"]=>
      string(49) "index.php?attachment=$matches[1]&feed=$matches[2]"
      ["[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$"]=>
      string(49) "index.php?attachment=$matches[1]&feed=$matches[2]"
      ["[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$"]=>
      string(50) "index.php?attachment=$matches[1]&cpage=$matches[2]"
      ["([^/]+)/trackback/?$"]=>
      string(31) "index.php?name=$matches[1]&tb=1"
      ["([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$"]=>
      string(43) "index.php?name=$matches[1]&feed=$matches[2]"
      ["([^/]+)/(feed|rdf|rss|rss2|atom)/?$"]=>
      string(43) "index.php?name=$matches[1]&feed=$matches[2]"
      ["([^/]+)/page/?([0-9]{1,})/?$"]=>
      string(44) "index.php?name=$matches[1]&paged=$matches[2]"
      ["([^/]+)/comment-page-([0-9]{1,})/?$"]=>
      string(44) "index.php?name=$matches[1]&cpage=$matches[2]"
      ["([^/]+)(/[0-9]+)?/?$"]=>
      string(43) "index.php?name=$matches[1]&page=$matches[2]"
      ["[^/]+/([^/]+)/?$"]=>
      string(32) "index.php?attachment=$matches[1]"
      ["[^/]+/([^/]+)/trackback/?$"]=>
      string(37) "index.php?attachment=$matches[1]&tb=1"
      ["[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$"]=>
      string(49) "index.php?attachment=$matches[1]&feed=$matches[2]"
      ["[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$"]=>
      string(49) "index.php?attachment=$matches[1]&feed=$matches[2]"
      ["[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$"]=>
      string(50) "index.php?attachment=$matches[1]&cpage=$matches[2]"
    
    

    Broken. the content block after the first rule is now at the bottom (added space to show where rules where moved)

    
    
     ["([0-9]{4})/?$"]=>
      string(26) "index.php?year=$matches[1]"
    
    
    
    
    
    
    
      ["[^/]+/attachment/([^/]+)/?$"]=>
      string(32) "index.php?attachment=$matches[1]"
      ["[^/]+/attachment/([^/]+)/trackback/?$"]=>
      string(37) "index.php?attachment=$matches[1]&tb=1"
      ["[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$"]=>
      string(49) "index.php?attachment=$matches[1]&feed=$matches[2]"
      ["[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$"]=>
      string(49) "index.php?attachment=$matches[1]&feed=$matches[2]"
      ["[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$"]=>
      string(50) "index.php?attachment=$matches[1]&cpage=$matches[2]"
      ["([^/]+)/trackback/?$"]=>
      string(31) "index.php?name=$matches[1]&tb=1"
      ["([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$"]=>
      string(43) "index.php?name=$matches[1]&feed=$matches[2]"
      ["([^/]+)/(feed|rdf|rss|rss2|atom)/?$"]=>
      string(43) "index.php?name=$matches[1]&feed=$matches[2]"
      ["([^/]+)/page/?([0-9]{1,})/?$"]=>
      string(44) "index.php?name=$matches[1]&paged=$matches[2]"
      ["([^/]+)/comment-page-([0-9]{1,})/?$"]=>
      string(44) "index.php?name=$matches[1]&cpage=$matches[2]"
      ["([^/]+)(/[0-9]+)?/?$"]=>
      string(43) "index.php?name=$matches[1]&page=$matches[2]"
      ["[^/]+/([^/]+)/?$"]=>
      string(32) "index.php?attachment=$matches[1]"
      ["[^/]+/([^/]+)/trackback/?$"]=>
      string(37) "index.php?attachment=$matches[1]&tb=1"
      ["[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$"]=>
      string(49) "index.php?attachment=$matches[1]&feed=$matches[2]"
      ["[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$"]=>
      string(49) "index.php?attachment=$matches[1]&feed=$matches[2]"
      ["[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$"]=>
      string(50) "index.php?attachment=$matches[1]&cpage=$matches[2]"
      [".?.+?/attachment/([^/]+)/?$"]=>
      string(32) "index.php?attachment=$matches[1]"
      [".?.+?/attachment/([^/]+)/trackback/?$"]=>
      string(37) "index.php?attachment=$matches[1]&tb=1"
      [".?.+?/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$"]=>
      string(49) "index.php?attachment=$matches[1]&feed=$matches[2]"
      [".?.+?/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$"]=>
      string(49) "index.php?attachment=$matches[1]&feed=$matches[2]"
      [".?.+?/attachment/([^/]+)/comment-page-([0-9]{1,})/?$"]=>
      string(50) "index.php?attachment=$matches[1]&cpage=$matches[2]"
      ["(.?.+?)/trackback/?$"]=>
      string(35) "index.php?pagename=$matches[1]&tb=1"
      ["(.?.+?)/feed/(feed|rdf|rss|rss2|atom)/?$"]=>
      string(47) "index.php?pagename=$matches[1]&feed=$matches[2]"
      ["(.?.+?)/(feed|rdf|rss|rss2|atom)/?$"]=>
      string(47) "index.php?pagename=$matches[1]&feed=$matches[2]"
      ["(.?.+?)/page/?([0-9]{1,})/?$"]=>
      string(48) "index.php?pagename=$matches[1]&paged=$matches[2]"
      ["(.?.+?)/comment-page-([0-9]{1,})/?$"]=>
      string(48) "index.php?pagename=$matches[1]&cpage=$matches[2]"
      ["(.?.+?)(/[0-9]+)?/?$"]=>
      string(47) "index.php?pagename=$matches[1]&page=$matches[2]"
    }
    

    why is an ajax call changing the permalinks

    Yes we do have lot of other plugins running so it could well be other code

    Any Thoughts on fixing / debugging?

    Paul

    chrisbenge
    Participant

    Hi,

    I’ve created a series of profile field groups for different user types. There is one for a rider (Base), event organizer and finally a business user.

    Currently im using the ‘BuddyPress Conditional Field Groups’ plugin to hide and show the event organizer and business groups based on the user but the Rider(Base) panel is there for all 3 user types.

    Is there anyway to to hide the base panel based on the user either through coding or through the above plugin. Alternatively is there another plugin we could use?

    #242851
    shanebp
    Moderator

    For 400 groups, write a function.

    Some old info, might still work:
    https://buddypress.org/support/topic/resolved-programmatically-creating-a-group/

    #242850
    shanebp
    Moderator

    So you want to filter activity items based on geo-data.
    Have you looked at https://codex.buddypress.org/?s=activity+loop
    Specifically re bp_parse_args and custom filters.

    But first, how would you assign geo-data to an activity item?
    There is an activity_meta table you should be able to use for storage via bp_activity_update_meta()

    #242849
    tom
    Participant

    A quick, but probably no so simple question: Has anyone ever tried to batch create group pages in BuddyPress and also populate them with descriptive metadata from a csv file or similar?

    My intention is to create about 400 groups for a project, each with a group name, and some fixed descriptive information relating to the group to sit in custom fields. I don’t have any need to automatically assign members to a group, just descriptive info about the group itself, privacy settings, forum enabled etc. I also have geo data for the location of each group so might look into whether I can incorporate this as well using something like GEO my WP.

    Ive looked around for plugins without success, and at the moment I’m trying to decide over whether to just do this all manually, or spend time on writing a script…

    Any help or suggestions much appreciated.

    Tom

    #242846
    GeekDimm
    Participant

    Hi Guys

    I am totally new to Buddypress but am loving every moment of it. I am in the process of planning for a website which will be an aviation social networks of sorts which will have the groups acting as a business directory. For now the site will serve only in my country, which is where my question comes in…

    When selecting either a city or a province. The activity stream should only contain the posts/listings etc relevant to that city or province.

    Many thanks in advance.

    Kasparas
    Participant

    I’m looking for feature to allow non-registered visitors post in acivity.

    Assigning non-registered visitors post to one user would be also ok. After hours of research i found this post https://buddypress.org/support/topic/allowing-non-registered-users-to-post-to-activity-stream/ wich would be perfect for me but it doesn’t work in new version of BP as this post is old.

    Maybe someone can help with modifying this code ?

    Any suggestios ?

    Big thanks for any answers.

    #242837
    chevalhack
    Participant

    Hello everybody,

    I wish you’re doing the summer great !

    There is my problem : When a user change is email in the setting page, he’ll not receive the validation mail in the old adress. (I tried to search in the support page but i didn’t find a post about that). I’m using a plugin to send mail with SMTP (POSTMAN SMTP) and the validation mail when register works.

    So i don’t understand why it doesn’t work for the email changing ?

    Thanks for your help 🙂

    There is the function in bp-setting-action.php used for that (nothing wrong second me):

    		if ( !empty( $_POST['email'] ) ) {
    
    			// What is missing from the profile page vs signup -
    			// let's double check the goodies
    			$user_email     = sanitize_email( esc_html( trim( $_POST['email'] ) ) );
    			$old_user_email = $bp->displayed_user->userdata->user_email;
    
    			// User is changing email address
    			if ( $old_user_email != $user_email ) {
    
    				// Run some tests on the email address
    				$email_checks = bp_core_validate_email_address( $user_email );
    
    				if ( true !== $email_checks ) {
    					if ( isset( $email_checks['invalid'] ) ) {
    						$email_error = 'invalid';
    					}
    
    					if ( isset( $email_checks['domain_banned'] ) || isset( $email_checks['domain_not_allowed'] ) ) {
    						$email_error = 'blocked';
    					}
    
    					if ( isset( $email_checks['in_use'] ) ) {
    						$email_error = 'taken';
    					}
    				}
    
    				// Store a hash to enable email validation
    				if ( false === $email_error ) {
    					$hash = wp_hash( $_POST['email'] );
    
    					$pending_email = array(
    						'hash'     => $hash,
    						'newemail' => $user_email,
    					);
    
    					bp_update_user_meta( bp_displayed_user_id(), 'pending_email_change', $pending_email );
    
    					$email_text = sprintf(
    						__( 'Dear %1$s,
    
    You recently changed the email address associated with your account on %2$s.
    If this is correct, please click on the following link to complete the change:
    %3$s
    
    You can safely ignore and delete this email if you do not want to take this action or if you have received this email in error.
    
    This email has been sent to %4$s.
    
    Regards,
    %5$s
    %6$s', 'buddypress' ),
    						bp_core_get_user_displayname( bp_displayed_user_id() ),
    						bp_get_site_name(),
    						esc_url( bp_displayed_user_domain() . bp_get_settings_slug() . '/?verify_email_change=' . $hash ),
    						$user_email,
    						bp_get_site_name(),
    						bp_get_root_domain()
    					);
    
    					/**
    					 * Filter the email text sent when a user changes emails.
    					 *
    					 * @since BuddyPress (2.1.0)
    					 *
    					 * @param string  $email_text     Text of the email.
    					 * @param string  $new_user_email New user email that the
    					 *                                current user has changed to.
    					 * @param string  $old_user_email Existing email address
    					 *                                for the current user.
    					 * @param WP_User $update_user    Userdata object for the current user.
    					 */
    					$content = apply_filters( 'bp_new_user_email_content', $email_text, $user_email, $old_user_email, $update_user );
    
    					// Send the verification email
    					wp_mail( $user_email, sprintf( __( '[%s] Verify your new email address', 'buddypress' ), wp_specialchars_decode( bp_get_site_name() ) ), $content );
    
    					// We mark that the change has taken place so as to ensure a
    					// success message, even though verification is still required
    					$_POST['email'] = $update_user->user_email;
    					$email_changed = true;
    				}
    
    			// No change
    			} else {
    				$email_error = false;
    			}
    
    		// Email address cannot be empty
    		} else {
    			$email_error = 'empty';
    		}
    #242836
    djsteveb
    Participant

    @nasongo – so you just upload it – then go to your dashboard and it’s blank?
    Are you saying that you did not even get to the dashboard and activate / enable buddypress?
    OR do you mean you uploaded it, then went into the dashboard -> plugins and clicked activate (buddypress)?

    If you just upload BP and your dashboard is broken – something REALLY strange is going on..
    If you mean that you activate it and it goes blank – then I would suggest deactivating your other plugins first – and switch to default 2014 theme (or similar) – THEN activate BP.. run through it’s initial setup stuff – THEN look into which other plugins / themes you want to try..

    #242833
    djsteveb
    Participant

    When you “upload and extract buddypress,” – are you putting it domainroot(wordpressinstallroot)/wp-content/plugins/ folder?

    #242832
    cityfox
    Participant

    Thanks for the reply. I’m a newbie. I don’t understand what you mean. I put the code with php tags in the groups-loop-file but it doesn’t work correctly. The website shows this:

    array(2) { ["members"]=> array(0) { } ["count"]=> string(1) "0" }

    In the meantime I got another idea: I put the Group Members Loop in the text editor of a wordpress page. I thought if that works I can put the code into a shortcode (with plugin My Shortcodes) and make shortcodes for each group. But the loop doesn’t get the group members. On the website there is the message “This group has no members”. Then I put the group ID into the loop like that:

    bp_group_has_members('group_id=1')

    But still it doesn’t work. I’m lost…

    #242829
    Nomi
    Participant

    Thanks for reply. I am trying to make my theme buddy press compatible. I am adding only one file which is buddypress/buddypress.php.
    I have checked css buttons are not hidden. If I remove buddypress.php from my theme it displays buttons.

    I am using simple loop in buddypress.php is that ok?

    	<?php while ( have_posts() ) : the_post(); ?>
            <?php the_content(); ?>
           <?php endwhile; // end of the loop. ?>
    #242827
    @mercime
    Participant

    @naumanahmed19 Do provide us with more information so we can help you troubleshoot. What theme are you using? Have you checked if it is just a styling issue? What plugins are activated in your site? Have you checked whether deactivating plugins except BuddyPress resolves the issue?

    #242826
    djsteveb
    Participant

    I am a total noob with this stuff – a quick look with my limited tools and understanding of all things that make this stuff work…

    I THINK your rule here:

    .buddypress ul li {
        background: transparent none repeat scroll 0% 0%;
        padding: 0px;
    }

    Is over-writing the rule here:

    .main-nav li {
        white-space: nowrap;
        float: left;
        font: 12px "OpenSansBold";
        text-transform: uppercase;
        padding: 7px 20px 11px 0px;
        letter-spacing: -1px;
        text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.3);
    }

    Which is what is being used on your home page.

    I think if you find the padding 0px on the .buddypress ul li line and change it to padding: 7px 20px 11px 0px; — that will fix your top nav current issue – now will that adversely affect some other ul li / menu or list somewhere (like a widget or something) – I don’t know.

    I am guessing that someone smarter then me can craft a rule that would work better and more specific.. something like
    .buddypress main-nav ul li

    padding: 7px 20px 11px 0px;
    }

    I have no idea if that would work – my understanding of css is like level 1 and bp is like level 1/2 – lol

    I also THINK that you have a weird triple css / child theme thing going on – again I don’t know, but looking at your css code rules in the firefox inspector, it looks like your pages are loading the exact same css file three times?

    I made a similar mistake with my first child theme – copying the whole shebang into a new child theme folder.. actually what you want is a relatively blank new folder and a relatively blank style.css that only includes rules you are going to overwrite / change from the parent theme.

    I don’t have access to your files or know the exact setup and may even be wrong in my understanding of what the firefox property inspector is showing – but you may want to look into why every rule appears to load the exact same three times and overwrites itself twice..

    hope this helps – not sure any of this is right..

    #242824
    zhangleji
    Participant

    Hi everyone, I installed a wordpress theme then installed buddypress. Now BP pages are not displaying properly: the menu items are next to each other with no space at all. I know this maybe because the BP pages didn’t load the theme css file but I don’t know how to fix this. I’m using a child theme for my wordpress theme.

    My website is http://www.seeyou.us/bookings, thank you in advance! You can see the problem when you click Message or Register menu.

    #242823
    Nomi
    Participant

    Hi,

    It seems there is still a bug in groups requests. If I create a buddypress.php in my theme every thing works but group request buttons (Accept/Reject) does not visible.

    Can you please check it.

    Thanks

    @mercime
    Participant

    @jrunfitpro What djsteveb said. Best place to ask is at the theme author’s forums. Saw their page with list of incompatible themes and plugins. BuddyPress has not been included in that list though no one has answered the question of one who asked if anyone has made it work with BP.

    #242819
    djsteveb
    Participant

    there are several wp plugins that can redirect a user upon login to specific pages.
    I can’t put more than two links in a reply without getting moderation held / akistmet spammed.

    not sure if / how this works – seen it – never played with it:
    https://wordpress.org/plugins/bp-my-home/

    might also take a peek if these can updated / adapted..
    https://wordpress.org/plugins/bp-profile-widgets/

    BuddyPress Cover
    Content Aware Sidebars

    several others – now do any of these work with the current version of wp / bp ? I don’t know.
    Do they work with the default theme and then cause issues if a different theme was used? don’t know.

    Do they cause conflicts with other plugins? have not tested.

    jrunfitpro
    Participant

    Hi BuddyPress Community,

    Anyone use Optimize Press 2 as a theme and their live editor pages. The pages look great, but there’s a disconnect with comments and the BuddyPress Activity Stream. This is unfortunate, because all my lessons are on these page templates.

    Anyone know a work around for this?

    Thanks,

    Justin

    #242814
    jrunfitpro
    Participant

    Okay, so after some more testing, I’ve realized that Disqus does not work here (although it overwrites WP comments when on) and my theme is Optimize Press. Traditional blog posts and pages show in the activity stream when WP comments are used. However, for the better looking page templates, the comments do not show (these are built with their live editor).

    Any thoughts on how to make this type of page work with BuddyPress and the Activity Stream?

    #242811
    romax100
    Participant

    Hello, I am trying to take BuddyPress nav menu with all the tabs like activity, profile, friends etc, and display it inside a widget on my right sidebar called theme my login.

    I found a php file of TML widget and inserted <?php bp_nav_menu(); ?> inside the code. It works like a charm, but only when I am in the mywebsite.com/members/%userid%/ directory. As soon as I click away to the homepage, or forums page, the menu loses a couple items and all of the links transform to http://activity/ format etc.

    I inspected the element with in browser tools. The menu that is being called when I navigate away from the profile page is the same one, and the only thing that randomly changes is the list of menu items and their links.
    Ii assume that bp-nav-menu is set to display only in the profile page. is that true, and how can I change it?

    Thanks

Viewing 25 results - 18,576 through 18,600 (of 94,540 total)
Skip to toolbar