Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 25,676 through 25,700 (of 94,559 total)
  • Author
    Search Results
  • chuckingit
    Participant

    Hi – i’m not certain if this is a BuddyPress issue and/or related to other WP Multisite networks within networks issue and/or issue with WP Multi Network plugin and/or should be reported in https://buddypress.trac.wordpress.org/newticket and/or ..??.. but here i go …

    after i upgraded my WP Multisite Network to WP 3.9 i started seeing daily php fatal log errors (see below example) …

    my site is a Multisite Network with one sub network via the WP Multi Network plugin … thus only two networks … network a = mothership root network and network b = secondary sub network where BuddyPress was activated on this b network but not yet activated on the a network …

    the number 16 in error logs corresponds to sub site id on the b network where BuddyPress was activated …

    neither a or b network had an admin account and this seems to be the problem in that BuddyPress, at least in sub networks created, needs this admin account to be present …

    background fyi – i had installed my WP Multisite Network and created new Super User and deleted the admin account based on various security threads i read about hardening thus thought my new super user account was cool …

    turns out that when i created network b as my new super user admin renamed, the network was created but on that new network my super user status was delegated to subscriber status thus no admin options …

    my only work out was to create a new admin user via phpMyAdmin and insert new admin user but i digress …

    once i had a new admin user then the error messages seemed to stop …

    had read something about BuddyPress issue of “Stop user accounts logging in that have not been activated yet (user_status = 2).” at this url ->
    https://buddypress.trac.wordpress.org/attachment/ticket/4676/

    and suspect the admin account having never been activated being issue ..??..

    any pointers that can be shared are greatly appreciated … cordially, chuck scott

    ===========================
    Example of errors in logs
    ===========================

    
    [24-Apr-2014 04:55:00 UTC] WordPress database error Table 'mysite_wp01main.wp01_16_signups' doesn't exist for query SELECT * FROM wp01_16_signups WHERE active = 0 AND user_login = 'admin' ORDER BY signup_id DESC LIMIT 0, 1 made by wp_signon, wp_authenticate, apply_filters('authenticate'), call_user_func_array, bp_core_signup_disable_inactive, BP_Signup::get
    [24-Apr-2014 09:25:20 UTC] WordPress database error Table 'mysite_wp01main.wp01_16_signups' doesn't exist for query SELECT * FROM wp01_16_signups WHERE active = 0 AND user_login = 'admin' ORDER BY signup_id DESC LIMIT 0, 1 made by wp_signon, wp_authenticate, apply_filters('authenticate'), call_user_func_array, bp_core_signup_disable_inactive, BP_Signup::get
    [24-Apr-2014 15:32:19 UTC] WordPress database error Table 'mysite_wp01main.wp01_16_signups' doesn't exist for query SELECT * FROM wp01_16_signups WHERE active = 0 AND user_login = 'admin' ORDER BY signup_id DESC LIMIT 0, 1 made by wp_signon, wp_authenticate, apply_filters('authenticate'), call_user_func_array, bp_core_signup_disable_inactive, BP_Signup::get
    

    – fin –

    #182104
    Amid Dadgar
    Participant

    I have a page that will display a random member using this code:

    <?php  if ( bp_has_members( 'type=random&max=1' ) ) : ?> <br>
    <?php while ( bp_members() ) : bp_the_member(); ?> <br>
    <?php if ( bp_get_user_has_avatar()  && $bp_count_members =1) : ?> <br>
    <a href=&quot;<?php bp_member_permalink() ?>&quot;><p style=&quot;text-align:center;&quot;><?php bp_member_name(); ?></p></a><?php bp_member_avatar('type=full&width=425&height=625') ?></a><?php endif; ?> <br>
    <br>
    <?php endwhile; ?><br>
    <?php endif; ?>

    so now I’m looking for a way to let the other members to rate this user and finally I want to print out the top-rated user at the same page, I’m looking for your suggestions, I know html and css and learning PHP to but I’m not so well on PHP! BTW I want to learn that through this kind of projects.
    I use the latest version of WP and BP.
    Regards
    Amid

    #182098
    dolliv
    Participant

    You can still find the member-header file in the buddypress folder: bp-templates/bp-legacy/buddypress/members/single.

    dice2dice
    Participant

    @henrywright thanks for your response.

    I only just discovered it right now.

    It was my hosting company 1and1 that caused the problem and it was because they had been hacked.

    In response to this they cut off the option for anyone to log in to any WordPress/BuddyPress site they hosted for two full weeks.

    Václav Greif
    Participant

    Hi, I’m starting to build a community site, where will be two types of users – standard (ie. visitors) and pro (ie. companies offering their services) users. This is my first BuddyPress project, so I would need some help.

    The pro users should of course have different profile than the regular users, and there should be 3 subscription levels for the pro users.

    What is the best approach to differentiate between the standard and pro users? Should I let the pro users register as regular users and let them ‘upgrade’ their profile later? Or is there a way to let the user choose his account type at the registration? Should I hack the user profile for the pro users somehow, or is it better to create custom post type ProUsers to hold their specific profile info?

    Thanks for hints how to approach this

    r-a-y
    Keymaster

    Thanks for the report, @klogen2.

    I’ve duplicated the bug and have opened a ticket with a suggested fix:
    https://buddypress.trac.wordpress.org/ticket/5595

    We’ll have this addressed for v2.0.1.

    godavid33
    Participant

    I was incorrect, it’s not a bug. The solution (thanks to @r-a-y) is this:

    
    $act_item = bp_activity_get_specific( array(
        'display_comments' => true,
        'activity_ids' => ACTIVITY_COMMENT_ID
    ) );
    

    Closed trac ticket can be viewed here https://buddypress.trac.wordpress.org/ticket/5592#comment:4

    shanebp
    Moderator

    untested, goes in bp-custom.php

    
    function oc_filter_ajax_querystring( $querystring = '', $object = '' ) {
    
    	if( $object != 'group_members' )
    		return $querystring;
    
    	$querystring['exclude'] = '1'; // change '1' to your user_id
    
    	return $querystring;
    
    }
    add_filter( 'bp_ajax_querystring', 'oc_filter_ajax_querystring', 20, 2 );
    

    More info:

    Add custom filters to loops and enjoy them within your plugin

    #182079

    In reply to: Problems with 2.0

    r-a-y
    Keymaster
    yoshimitsu1234
    Participant

    I am using GD bbpress attachments plugin.
    Have a look at these images
    with buddypress disabled
    with buddypress enabled
    After enabling buddypress icon of pdf attachment is gone and look is also different. How do i make the icon appear again?

    manukleart
    Participant

    It means, no wordpress register and no buddypress register.
    It means free navigation

    Wordpress register deactivation is not a mistake,
    But …. anybody knows how to deactivate Buddypress Register?
    it would be possible to make friends, groups, posts, etc in a full interactive way without a registration?

    thanks
    manukleart*

    #182070
    billzy
    Participant

    Hi @suysal @mileskimberley & @macpresss

    We have accomplished a similar task, and what a pain in the ass of a task it was…. We made it so that it’s not possible to see all members posts, you must first be friends with them. We also made ours so that you would only see the feed of groups if you joined the group as well, just like fb and all other mainstream networks, it just makes sense to do it this way, more personalised feed, less junk. Its a detailed code of a few hundred lines that we include in our functions.php file.

    We paid for the solution to be custom developed via external teams because it was slightly outside of our inhouse development skillset… If you want to chip in for the code I am more than happy to send it to you. If I coded this myself and it costed me nothing to create I would just paste the code here but it’s not the case in this scenario.

    Alternatively (and our preferred option), if Buddypress core developers want to build it into BP and create a setting for it in the core plugin backend to allow this option then I am happy to send it to them for free so that we don’t need to support this custom piece of code through the upgrades (which we have been supporting this custom code for a year now). I know this setting/option is not for everyone using BP but there are many out there who would love this feature included and it could be as simple as a checkbox in the backend saying should users only see friends activity, maybe a second one as well should users only see groups activity they have previously joined. We haven’t built such a setting because we use this by default.

    Anyways feel free to drop me a line here or at info@fem-productions.com

    Cheers

    seamtv
    Participant

    I’m trying to create topics via a unique form and with php. I was successful in passing arguments to the bbp_insert_topic function to create the topic, link it to its post_parent, and include important bbpress metadata. Unfortunately, this is a bbPress call, so while the topic shows up alright in the correct buddypress Group forum, it doesn’t trigger any of the activity stream updates and other buddypress-related goodies.

    Is there a buddypress function that I can use, which will create the new post and trigger all the buddypress-related actions and functions? Perhaps, one that will include a function that is equivalent to bbp_insert_topic but comes with all the buddypress goodness?

    I’ve come across mentions of bbp_new_topic but it seems to require these variables: $topic_id, $forum_id, $anonymous_data, $topic_author. Because it asks for a topic_id, this suggests the topic needs to be created first by another function. I’m a little confused about its use, plus I don’t know what the $anonymous_data would be, either.

    Anyways, I would be grateful for someone’s help. I’m so close to the finish line!

    Thanks in advance!

    #182057
    Quint
    Participant
    The Doctor
    Participant

    Hi!

    I’m trying to modify the buddypress plugin into a portfolio for members, and I’m stuck at getting the bio to turn up where the “active right now” is located.

    I’m trying to use this code snippet:

    <?php if ( bp_get_profile_field_data( 'field=User Bio' ) ) : ?>
        <div class="user-bio"><?php bp_profile_field_data( 'field=User Bio' );?></div>

    but I really don’t know where to put it in the buddypress plugin (.php files).

    Any help is greatly appreciated!

    Biswadip
    Participant

    Thank you that was very helpful.

    How do I submit a query from the members search form to bring up the appropriate listing in the manner mentioned above? At the moment I can only search for members when the search form submits to the members directory. What I want to do is that when a user submits a search query from a search form on this page:

    http://website/custom-page/

    the results from the query:

    http://website/members/?s=term-searched-for

    are displayed on the same custom page hosting the search form:

    http://website/custom-page/

    I have tried setting the search form action attribute like so:

    form action = ""

    but this creates the query:

    http://website/custom-page/?s=term-searched-for&members_search_submit=Search

    and the result is a 404 page not found.

    I have been reading in some places eg:
    here and here that buddypress redirects search queries so I need to override that redirection and I have attempted doing so without much success.

    My search form looks like this:

    	<div id="members-dir-search" class="dir-search bp-index-search" role="search">
                <?php //bp_custom_directory_members_search_form(); 
                $default_search_value = bp_get_search_default_text( 'members' );
                $search_value = !empty( $_REQUEST['s'] ) ? stripslashes( $_REQUEST['s'] ) : $default_search_value; ?>
    
                    <form action="" method="get" id="search-members-form">
                        <label><input type="text" name="s" id="members_search" placeholder="<?php echo esc_attr( $search_value ) ?>" /></label>
                        <input type="submit" id="members_search_submit" name="members_search_submit" value="<?php _e( 'Search', 'buddypress' ) ?>" />
                    </form>
    
    	</div>

    I check to see if the form has been submitted:

    <?php if(isset($_REQUEST ['members_search_submit'])){ ?>

    and then, following @Slave UA’s suggestion, I have copied and pasted the code from the “members-loop.php” file to my page template and I then changed

    bp_has_members( bp_ajax_querystring( 'members' )

    to

    bp_has_members(array('search_terms' => $search_term))

    If I hardcode the search term then it works but it does not seem to accept the search term submitted through the search form.

    Any help greatly appreciated.

    #182047
    Henry Wright
    Moderator

    There’s a function you can use to do that called bp_activity_add(). See here for the usage:

    bp_activity_add()

    #182046
    bhekzin
    Participant

    Hello everyone. This is my first time on the forum. I’m more of a server config and admin guy but i also develop sites with WordPress as i find it extremely easy. My current project is a community site. Installed Buddypress and some plugins that will give users a splendid experience. Configured an ad server (revive ad server). Created zones, uploaded banners and all ads are rotating on their respective zones on the site. Got stuck on rotating ads on SimplePress forums but got this, and that was quickly fixed. Only one problem. I cant find a way of inserting ad code on the Buddypress activity stream. I spent hours searching but all the stuff i got does not work or worked on previous versions of buddypress. Please help

    #182039
    dzweb
    Participant

    Try this, it worked for me!

    function custom_setup_nav() {
    global $bp;

    bp_core_new_nav_item( array(
    ‘name’ => __( ‘About’, ‘buddypress’ ),
    ‘slug’ => ‘about’,
    ‘position’ => 30,
    show_for_displayed_user’ => true,
    ‘default_subnav_slug’ => ‘about’,
    ‘item_css_id’ => ‘about’
    ) );
    }

    bp_core_new_subnav_item(
    array( ‘name’ => __( ‘About’, ‘buddypress’ ),
    ‘slug’ => ‘about’,
    ‘parent_url’ => $bp->loggedin_user->domain . ‘about’,
    ‘screen_function’ => ‘about’,
    ‘parent_slug’ => ‘about’,
    ‘position’ => 10,
    ‘item_css_id’ => ‘about’
    )
    );

    add_action( ‘bp_setup_nav’, ‘custom_setup_nav’ );

    function about_page() {
    add_action( ‘bp_template_content’, ‘about_content’ );
    bp_core_load_template( apply_filters( ‘bp_core_template_plugin’, ‘members/single/about’ ) );
    }

    function about_content(){
    //Put your content here!
    }

    SK
    Participant

    In these buddypress.org forums, in order to create a new topic, one has to hover on the buddypress.org icon to see the new topic creation link. This is terrible usability. New topic should be a big fat button that sits on the top of the page and is always visible.

    #182035
    SK
    Participant

    How does BuddyPress decide on the pagination of lists:
    How many items to show on a members list page, or on a groups list page?

    #182034

    In reply to: 2.1 top features

    SK
    Participant
    #182031
    r-a-y
    Keymaster

    Hope is probably using a theme that is a bp-default derivative.

    This is a bug that was addressed in #5549:
    https://buddypress.trac.wordpress.org/ticket/5549

    It will be fixed in v2.0.1, but @amalsh can manually apply the following changeset in the meantime:
    https://buddypress.trac.wordpress.org/changeset/8292

    lowco2525
    Participant

    Hello, I am having a critical and urgent issue with my WordPress site. I have s2member working fine with bbpress, but now with buddypress, any user can see posts and topics in restricted forums in two locations:
    1) Activity stream
    2) Members -> Clicking on a member that has posted in a restricted forum -> Forums -> Clicking on a topic they have started in a restricted forum -> They can see the entire post

    -I have the latest version of everything
    -I have tried the “repair” functions for s2member, Bbpress, and buddypress.

    Please help!
    My website is: http://www.streamersquare.com

    #182021
    jerryskate
    Participant

    Ok, a bit better 🙂 Still having my profilename outside the classes, but got all the old ones back.

    <body jerryclass="activity bp-user my-activity my-account just-me buddypress bbp-user-page single singular bbpress page page-id-5 page-template-default logged-in admin-bar no-customize-support bp-wall adminbar-enable not-responsive this-is-a-member-profile member-profile-of-" class=" customize-support" data-twttr-rendered="true">

Viewing 25 results - 25,676 through 25,700 (of 94,559 total)
Skip to toolbar