Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 16,826 through 16,850 (of 69,016 total)
  • Author
    Search Results
  • #182267

    In reply to: General cohesiveness

    bitpath
    Participant

    I think it mostly comes down to a few well placed links where you get all those “nothing matches that filter” message so people can find what would go there and fill those empty filter results. This site is so much more user friendly than the default buddypress install it seems, so it must be able to do this somehow. Maybe it just take a lot more work after installing to make it similar to this. Mostly it’s the dead end links I’m worried about. Most people don’t understand getting a lot of “nothing matches that filter” error messages with no direction on how to add groups, forums, friends, topics, etc.

    #182262
    Henry Wright
    Moderator

    I’m guessing I’ll have to use a hook of some kind to accomplish this

    You’re right. But the hook would be supplied by the Amen plugin. You could start by asking the plugin’s support if one is available. I’m guessing here but it will probably be called something like after_submit_prayer_request.

    Then you’d build your own function which you can ‘hook’ on to the ‘after_submit_prayer_request’ hook (don’t forget I’m guessing at the hook name).

    Your function would simply add an item to the BP activity stream and will look something like this:

    function add_prayer_request_to_stream() {
        bp_activity_add( $args )
    }
    add_action( 'add_prayer_request_to_stream', 'actual_hook_name' );

    Note: This won’t work until you have the actual hook name and have supplied the $args as an array that describes the activity item you’re creating.

    See here for more info on the bp_activity_add() function

    bp_activity_add()

    #182260
    cagintx
    Participant

    Did you ever resolve this? I’ve just activated BP in wordpress site using the weaver II them and am having a similar issue. Everything seems to work but I never see an avatar and continually get this error message: Notice: Undefined property: BP_Groups_Group::$avatar_thumb in /homepages/24/d463872728/htdocs/APP/wp-content/plugins/buddypress/bp-groups/bp-groups-template.php on line 526. I’ve looked at the code and it’s not obvious to me what this means.

    shanebp
    Moderator
    #182248
    r-a-y
    Keymaster

    @krazy-kat – Thanks for catching this bug.

    A workaround in the meantime is to turn on the “Activity Streams” component.

    To do this, login to the WP admin dashboard and navigate to “Settings > BuddyPress”. Check “Activity Streams” and save.

    We’ll fix this bug up for v2.0.1.

    #182246
    Henry Wright
    Moderator

    Take a look at this article from the BP Codex on the Template Hierarchy:

    Template Hierarchy

    To summarise, you’d create a folder called /buddypress/ in your theme’s directory. Then a subfolder called ‘members’. Then a file called ‘index-register.php’. You should end up with:

    /buddypress/members/index-register.php

    Your register page’s code will go in that file and any customisations you make will take effect.

    #182245
    shanebp
    Moderator

    Please see the ticket that r-a-y referenced.

    You can patch the file using the changeset:
    https://buddypress.trac.wordpress.org/changeset/8305

    Or wait for the release of BP.2.0.1

    #182237

    In reply to: Page Hierarchy Pain

    Mathieu Viet
    Moderator

    Hi @localiseorg

    Socialise (sitewide activity assigned to this)
    – Members (members directory assigned to this)
    – Groups (groups directory assigned to this)
    – Forums (bbPress forum root assigned to this)

    Have you tried using a wp_nav_menu instead ?

    I think, if i was in your situation, i’d make a wp_nav_menu with your different pages.. It could be “home”, “blog”, “socialise” for instance. And from the wp_nav_menu WordPress UI, i’d attach the Members/Groups and forums as submenus of Socialise.

    Then concerning the Socialise title that is “Sitewide Activity”, i’ll begin to edit the activity page changing the title from Activity to Socialise and use a little code like the following:

    function change_activity_directory_title() {
    	buddypress()->activity->directory_title = buddypress()->pages->activity->title;
    }
    add_action( 'bp_activity_setup_globals', 'change_activity_directory_title' );
    Mathieu Viet
    Moderator

    hi @xyhavoc

    Personally, i don’t really like this method “hardcoding the type into the template“. I’ve made a gist using another method, tested it and it’s restricting the activity type the way you want even in case of a new activity post.

    By default, this will restrict for all activity loops.
    But See the commented parts if you want this behavior to only happen in user’s profile, or in group’s home or in directory..).

    I don’t know if you use the bp-custom.php file, if not, i recommend you to do so, so that this will happen whatever the activated theme is.

    Here’s the link to the gist:
    https://gist.github.com/imath/5c7e4db74513ca4b30b8

    #182230
    modemlooper
    Moderator

    try upping your server memory

    Blank Pages

    #182228
    critta10
    Participant

    I went through all the files and deleted out the “&” sign as the fatal error called for and then when finished this popped up:

    Warning: Creating default object from empty value in /home4/unione/public_html/wp-content/plugins/invite-anyone/by-email/by-email.php on line 51

    Warning: Creating default object from empty value in /home4/unione/public_html/wp-content/plugins/buddypress/bp-core.php on line 101

    Warning: Creating default object from empty value in /home4/unione/public_html/wp-content/plugins/buddypress/bp-core.php on line 114

    Warning: Creating default object from empty value in /home4/unione/public_html/wp-content/plugins/buddypress/bp-core.php on line 160

    Warning: Creating default object from empty value in /home4/unione/public_html/wp-content/plugins/buddypress/bp-core.php on line 177

    Warning: Creating default object from empty value in /home4/unione/public_html/wp-content/plugins/buddypress/bp-activity.php on line 79

    Warning: Creating default object from empty value in /home4/unione/public_html/wp-content/plugins/buddypress/bp-blogs.php on line 69

    Warning: Creating default object from empty value in /home4/unione/public_html/wp-content/plugins/buddypress/bp-forums.php on line 20

    Warning: Creating default object from empty value in /home4/unione/public_html/wp-content/plugins/buddypress/bp-friends.php on line 39

    Warning: Creating default object from empty value in /home4/unione/public_html/wp-content/plugins/buddypress/bp-groups.php on line 75

    Warning: Creating default object from empty value in /home4/unione/public_html/wp-content/plugins/buddypress/bp-messages.php on line 72

    Warning: Creating default object from empty value in /home4/unione/public_html/wp-content/plugins/buddypress/bp-xprofile.php on line 105

    Warning: Creating default object from empty value in /home4/unione/public_html/wp-content/plugins/buddypress/bp-core/bp-core-settings.php on line 10

    Warning: Creating default object from empty value in /home4/unione/public_html/wp-content/plugins/buddypress/bp-activity.php on line 980

    Warning: Creating default object from empty value in /home4/unione/public_html/wp-content/plugins/buddypress/bp-activity.php on line 980

    Warning: Creating default object from empty value in /home4/unione/public_html/wp-content/plugins/buddypress/bp-activity.php on line 980

    Warning: Creating default object from empty value in /home4/unione/public_html/wp-content/plugins/buddypress/bp-activity.php on line 980

    Warning: Creating default object from empty value in /home4/unione/public_html/wp-content/plugins/buddypress/bp-activity.php on line 980

    Warning: Cannot modify header information – headers already sent by (output started at /home4/unione/public_html/wp-content/plugins/invite-anyone/by-email/by-email.php:51) in /home4/unione/public_html/wp-includes/pluggable.php on line 876

    Recommendations?

    #182226
    localiseorg
    Participant
    #182225
    localiseorg
    Participant

    Found some useful stuff here, but some of it is commercial :/ WangGuard in particular implements “report” links, but not sure to what extent (looks like it’s limited to activity stream?)

    10 Proven Ways To Stop BuddyPress Spam

    #182222
    djsteveo
    Participant

    @naijaping – thanks for taking the time to look into / test that other abuse plugin and providing some feedback. Sounds like some good ideas working in there! (and good luck with your bp theme, if it’s not based on bootstrap, I’d love to test it out! (the bootstrap based bp themes all fail when used in combination with rtmedia’s bp-media in my experience)


    @localiseorg
    – thank you for mentioning this one! It does look like that plugin was made for the exact kind of thing that we are talking about here! Looks like it is old outdated code though, since it’s in the wp depository, I assume someone could fork it and fix it up to work with current wp / bp.. or at least look at the code to see if there is anything in there that would help a new plugin do more.

    Now I am scratching my head as to why I did not stumble across that one in all by google searches, wordpress.org searches, and buddypress.org searches. Hmmm. The name is very similar to another bp plugin I used ages ago that set up moderation for all new members, not allowing them to post certain things until they were manually approved – that one was awesome for a while, but then started to break with newer bp versions.

    Anyhow, it looks like this kind of thing has been attempted, but there is nothing that is compatible with current versions (completely it seems).

    and yeah “there’s no way an admin can go round reading everything on a busy site” – is driving me crazy now that my buddypress site has started to get busy on a daily basis.

    xyhavoc
    Participant

    @imath

    No that template file has been edited. I’ll give you an example of what I mean:

    -activity-loop.php I have added the filter “&action=activity_update” so that the stream only shows user’s activity posts, as per the codex (https://codex.buddypress.org/developer/loops-reference/the-activity-stream-loop/).

    -I Pull up the activity feed on the web site, everything looks A-OK, the filters are working as they should.

    -Then I post a new activity update, when Buddypress adds the new activity via javascript, the filter is removed and the user can now scroll and see activities not listed in the activity-loop.php filter.

    Basically the filter isn’t working consistently. I’ve never had this problem with BP 1.8 or 1.9.

    I’m also having other problems where deleting an activity, the activity slides up to disappear, and then it comes back again. Upon refresh the activity is now gone.

    #182212

    In reply to: Start Up Problems

    angussharman
    Participant

    Hi thanks for the reply. Yeah i did try without the compatibility pack, but there were a number of links that didn;t work, i couldn’t get the sidebar to show, and there was more work to do with styling.

    I’ve now resolved the problem with the profile settings, following the info in this link https://buddypress.trac.wordpress.org/changeset/8292

    so now its just the second issue. I’ve deactivating all plugins and reverting to a standard wordpress theme, but no joy. I see someone had a similar issue, but it was never followed up. https://buddypress.trac.wordpress.org/ticket/5320

    Any ideas would be much appreciated

    #182206
    critta10
    Participant

    Thanks did that and now I am getting this fatal error:
    Fatal error: Call-time pass-by-reference has been removed in /home4/unione/public_html/wp-content/plugins/buddypress/bp-core/bp-core-classes.php on line 228

    Line 228 says “$paged_users = BP_Core_User::get_user_extras( &$paged_users, $user_ids, $type );”

    And suggests?

    Once I am able to log in I will upgrade through the versions like you suggest.

    #182204
    shanebp
    Moderator

    That is an old version of BP.

    You could try changing the apply_filters to
    return apply_filters( 'bp_core_get_users', BP_Core_User::get_users( $type, $per_page, $page, $user_id, $include, $search_terms, $populate_extras ), $params );

    That might get you past the fatal error.
    You should update BP, but you cannot jump all the way to BP 2.0.
    You’ll have to step up thru each version.
    You can get older versions here:
    https://wordpress.org/plugins/buddypress/developers/

    #182195
    Picss3o
    Participant

    Hi imath thank you for the quick reply.

    It is a WordPress theme and I think you have identified my mistake, which was a dumb one I am ashamed to say.

    I thought I had used option 2) placing a folder called buddypress inside the child theme

    but I copied the instruction to follow the full directory structure so I have

    wordpress-theme/buddypress/bptemplates/bplegacy/buddypress/activity/index

    I will change to

    wordpress-theme/buddypress/activity/index

    #182194
    Mathieu Viet
    Moderator

    Hi,

    Make sure to leave the base group profile fields available for all users

    Then explore in this direction :

    /* Profile display */
    function excluding_group_id_depending_on_user_role( $args = array() ) {
    	if ( user_can( bp_dispayed_user_id(), 'capability_to_check' ) {
    		$args['exclude_groups'] = "2,3,4"; //Comma-separated list of profile field group IDs to exclude
    	}
    	return $args;
    }
    add_filter( 'has_profile', 'excluding_group_id_depending_on_user_role', 10, 1 );

    /* profile editing */
    It will be a bit more complex as you’ll need to filter ‘xprofile_filter_profile_group_tabs’ and use a pattern to exclude the tabs you don’t want the role to edit.

    Finally to restrict group creation, i’ve shared a code on the BuddyPress fr community :
    http://bp-fr.net/agora/sujet/restreindre-la-creation-des-groupes-a-des-roles-wp/

    #182193
    Mathieu Viet
    Moderator

    Hi,

    In the BuddyPress settings, you can deactivate the activity comment feature for blog/forum posts
    see https://codex.buddypress.org/getting-started/configure-components/#settings-buddypress-settings

    There’s a setting called “Blog & forum comments”, simply make sure it’s not checked.

    Mathieu Viet
    Moderator

    How did you force the status to be ‘&action=activity_update’ ?

    Because if you’ve edited a template that is within the /plugins/buddypress folder, then upgrading the plugin removed the things you eventually edited..

    #182190
    Mathieu Viet
    Moderator

    Hi,

    I can see your signup page : http://galleryhop.com/sign-up/

    When the user is already logged in, he doesn’t need to signup again, so BuddyPress is redirecting the user. It’s the correct behavior. Try to log out and then you’ll be able to access to the signup page.

    About the component activation issue, you need to have the submit button “Save Settings” to update your active components

    Screenshot component screen

    If you don’t see the button, there’s a trouble with your config, are you using an admin theme ?

    #182189

    In reply to: Start Up Problems

    Mathieu Viet
    Moderator

    Hi,

    compatibility pack == https://wordpress.org/support/plugin/bp-template-pack ?

    If so, have you tried without this plugin as since BuddyPress 1.7, there’s now a theme compatibility feature included in core that makes BuddyPress loads its template in a nice way with most WordPress themes ?

    #182188
    Mathieu Viet
    Moderator

    Hi,

    I have made a child theme

    Is it a BP-Default child theme (1) or a WordPress theme child theme (2) ?

    (1) put the templates at root level of your theme ex: bp-default-child/activity/index.php etc..
    (2) use a specific folder to put your template (community or buddypress) ex: twentytwelve-child/buddypress/activity/index.php etc..

    You can find interesting documentation in BuddyPress codex: for example about (2) https://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/

Viewing 25 results - 16,826 through 16,850 (of 69,016 total)
Skip to toolbar