Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 6,576 through 6,600 (of 32,562 total)
  • Author
    Search Results
  • #247570
    reedy
    Participant

    I installed WP Crontrol and saw nothing out of the ordinary:

    ws_plugin__s2member_auto_eot_system__schedule
    _cron_zencache_cleanup
    bp_activity_akismet_delete_old_metadata
    wp_maybe_auto_update
    wp_version_check
    wp_update_plugins
    wp_update_themes
    akismet_scheduled_delete
    wp_scheduled_delete
    wp_scheduled_auto_draft_delete

    Earlier today I added the following to my functions.php file:

    add_filter( 'bp_activity_do_mentions', '__return_false' );

    No @mention emails were generated since then. As soon as I commented that code out, within 5-10 minutes thirteen @mention email notifications went out – all with links to content that is years old (pre-import).

    I’ve therefore put the filter back into functions.php and can only assume I’ll have to do without the @mention functionality of buddypress.

    I appreciate everyone’s help up to this point.

    #247558
    hotconductor
    Participant

    are you saying I should try to apply that on class-bp-messages-message.php

    Never touch core files.
    Place the code in your theme/functions.php.

    #247538
    Henry Wright
    Moderator

    If you’re running vanilla WordPress, with BuddyPress as the only plugin installed and you’re sure you have no custom code in place, it may mean your install has been compromised. You should check to be sure this isn’t the case.

    Just a thought, have you tried using a standard theme such as Twenty Fifteen?

    #247501
    shanebp
    Moderator

    Add this to your bp-custom.php file:

    define( 'BP_MESSAGES_AUTOCOMPLETE_ALL', true );

    #247500
    Henry Wright
    Moderator

    Try setting BP_MESSAGES_AUTOCOMPLETE_ALL to false. For example, add this to either your theme’s functions.php or your bp-custom.php file:

    define( 'BP_MESSAGES_AUTOCOMPLETE_ALL', false );

    Please note I haven’t tested.

    #247483

    In reply to: hide bp toolbar

    Stacy (non coder)
    Participant

    Preferred not to hack each site’s theme or the bp plugin.

    https://wordpress.org/plugins/admin-bar-disabler/

    Removes the bp section as well. Can set by role or capability

    #247463
    Joshua Blevins
    Participant

    Creating a child theme is not necessary. I figured out that if you create template files using the //Template Name you can go to the pages that BuddyPress makes and assign template pages to those pages. So you can create a file named activity.php and make it a template file and add the activity loop inside of that file. Once you have assigned that template to the Activity page in the WordPress dashboard you can then go to the BuddyPress settings and make sure that your Activity page is set up under the Activity drop down and save changes and it will work. I didn’t want to add unnecesary steps to making a single theme that did everything I needed. I will work on compiling a tutorial series on how to work with BuddyPress and then contribute it to the codex. Thank you for the response. Also if you look at the code in the BuddyPress plugin on the codebase you will see that bp-legacy is completely deprecated. There is compatibility code to not break old themes, but it is not the best way to do things.

    #247453
    Hugo Ashmore
    Participant

    @jblevins1991 You need to explain exactly what you have attempted so that we may understand where things are going wrong, so you need to show exact steps and directories and files created / copied over.

    Assuming you have setup WP and BP correctly and have a vanilla instance of BP running under a theme of your choice then:

    You create a dir or folder in your themes root e.g /buddypress/ if you want to modify the main activity screen then create /buddypress/activity/ and copy index.php from the plugins bp-legacy dir to this new directory, add some text somewhere in that file so you can see if BP is using that file rather than the version located in bp-legacy.

    In our guide the salient issue of what templates and where is covered in this paragraph:

    Therefore, you can modify any bp theme compatibility template by copying it over from:

    /bp-templates/bp-legacy/buddypress/

    To:

    /my-theme/community/ or /my-theme/buddypress/

    N.B. Inside the subfolder ‘community’ you must preserve the path structure/folders that exist in the BP original /buddypress/ folder so /activity/ must be created to hold index.php or any of the other activity templates.

    If you are using a WP theme or theme that is subject to updates you must create a child theme of that theme and do all work in that, this avoids you losing any changes in a theme – guides for creating WP child themes are available on the WP codex.

    #247436
    Joshua Blevins
    Participant

    I just figured that out. I have the activity folder added to the twentyfifteen theme. I am trying to modify the file, but it really doesn’t look like it should. I am logged in and I dont see any activity nor do i see the message Sorry, there was no activity found, Please try a different folder.

    I am so confused and frustrated. I am pretty competent with wordpress as well as php, and i don’t feel like this should be so difficult.

    #247434
    Lovemonk
    Participant

    I believe any files you want to edit from within your theme must follow the complete folder structure as viewed within the Buddypress plugin. Not just lumped into a single Buddypress folder.

    #247428
    Joshua Blevins
    Participant

    I found the answer myself. BuddyPress uses specific folders for the default pages (Activity, Groups, Forums, etc.) located at wp-content/plugins/bp-templates/bp-legacy/buddypress. In each folder found here are the corresponding default templates. These can be added to a folder you create in your theme. The folder you add to your theme must be named community or buddypress.

    #247427
    Joshua Blevins
    Participant

    So I found this page, which says I can make a directory named buddypress or community. However, it doesn’t say the name of any of the files I can override. What files can I override and what do they do?

    #247406
    peter-hamilton
    Participant

    I am going to try a similar, but different theme with the new BBPress/Buddypress plugins, now using older version from earlier this year.

    Just to play around with the code, not doing it for much more then laughs at the moment.

    #247400
    balmainboy
    Participant

    I’m using the 7.2 theme. I’ve tested it on Twenty Fifteen and it displays again in basic format. When logged in as a new member there is a join now button at least, but the styling is still very plain compared to the documentation screenshot – no avatars or colour – as per my previous screenshot of my site.

    The page is also called titled ‘Groups’ rather than ‘Groups directory’ – but i’m sure i could always change the name in WP settings.

    I’ve also got a problem with Activation emails but i’ll need to create a new thread for that.

    #247350
    Henry Wright
    Moderator

    Are you sure that’s the Twenty Fourteen theme? I see this:

    Profile

    #247348
    Henry Wright
    Moderator

    Which theme are you using? Try Twenty Fifteen to see if it looks like the documentation screenshot.

    #247327
    bob123451
    Participant

    Figured it out!:)
    Went into the File Manager on my Website Hosting.
    Located the file: /SocialNetwork/wp-content/themes/woffice/framework-customizations/extensions/woffice-birthdays

    Once I did that I renamed it, it seems to be working fine now!

    #247326
    bob123451
    Participant

    Thanks for the reply Ray..

    Yes I am using the WOffice theme!

    I get this code under the Birthday plugin:

    Fatal error: Call to undefined function xprofile_get_field_data() in /home/dtente5/public_html/SocialNetwork/wp-content/themes/woffice/framework-customizations/extensions/woffice-birthdays/class-fw-extension-woffice-birthdays.php on line 31

    Any ideas?

    #247325
    r-a-y
    Keymaster

    Are you using the WOffice theme and their Birthday extension?

    If so, see:
    https://buddypress.org/support/topic/fatal-error-call-to-undefined-method-stdclasssave/

    #247299
    Henry Wright
    Moderator

    The default sort order is ‘active’ members first. To easily change that, you can make use of bp_after_has_members_parse_args. For example, try adding this to your theme’s functions.php file:

    function my_custom_member_list_sort( $ret ) {
        $ret['type'] = 'alphabetical';
        return $ret;
    }
    add_filter( 'bp_after_has_members_parse_args', 'my_custom_member_list_sort' );
    

    Note, this will sort all member lists you have anywhere on your site, not just the one at example.com/members.

    #247273
    jimme595
    Participant

    So i’ve had some success trying to change the profile links with this code:

    function _bp_core_get_user_domain($domain) {
    	$url = get_home_url();
    	$user_id = bp_get_member_user_id();
    	if (empty($user_id)) {
    		$user_id = bp_get_activity_user_id();
    	}
    	if (empty($user_id)) {
    		//$user_id = bp_displayed_user_id();
    	}
    	$user_info = get_userdata($user_id);
    	$link = $user_info->display_name;
    	$domain = '' . $url . '/profiles/' . $link . '';
    	return $domain;
        }
    add_filter('bp_core_get_user_domain', '_bp_core_get_user_domain', 10, 4);
    apply_filters( 'bp_get_activity_user_link', '_bp_core_get_user_domain', 15, 1);

    This seems to work on every profile link except the one in the activity header section. This link is being changed but just to /profiles/. The display name is not being added to the end… so looking at my code this means i’m not retrieving the user id in the activity. Strangely enough though the user avatar next to the post has the correct link applied to it with the above filter! Any ideas?

    My other option is to use the buddypress member profile location but replace it with my profile templates. I tried to implement this by creaing a members/single/home.php in my wordpress custom theme folder… but the profile loads inside another page, i get a page within a page type effect with the username above the inner page… not sure what is going on there? If anyone can help with either of these solutions i’d really appreciate it!

    James

    #247253
    dwsowash
    Participant

    I have the exact same problem. Too much white space.

    Newest wordpress Newest Buddypress using 2014 theme.

    #247250
    Pagliocco
    Participant

    So it looks like i found a fix but dont know root cause

    Ended up deactivating all plugins

    Updated the theme which DID have an update

    Reactivated all plugins one by one

    Reinstalled BP

    So far no issues at this point – did have to copy the old css file over to the new theme folder but that seemed insignifigant.

    #247244
    Raul25r
    Participant

    If it appears that the problem comes with the latest update (sahifa). When changing theme fails me. Thank you

    #247243
    r-a-y
    Keymaster

    When you click inside the textarea box, the textarea should expand and show the submit button.

    Does that work?

    If not, it might be related to the Sahira theme. Since Sahira is a premium theme, we do not have access to it. What happens when you switch to one of the WordPress Twenty themes?

    Do you have the BuddyPress Activity Privacy plugin activated? If so, read this:
    https://buddypress.org/support/topic/buddypress-2-4-0-and-buddypress-activity-privacy/#post-246630

Viewing 25 results - 6,576 through 6,600 (of 32,562 total)
Skip to toolbar