Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 7,476 through 7,500 (of 22,650 total)
  • Author
    Search Results
  • #184902
    r-a-y
    Keymaster

    I’m guessing you have an older plugin that you want to support with the newer theme compatibility standard.

    Since you’re referencing bp_core_load_template( 'activity/index' ) in your example, I’m guessing you are trying to add theme compat for a new slug in the activity directory (eg. example.com/activity/new-slug/)? If so, you’ll want to copy the following code, rename the class and change a few things, so it is applicable to your plugin:
    https://buddypress.trac.wordpress.org/browser/tags/2.0.1/bp-activity/bp-activity-screens.php#L301

    Then you would load up your new class with the bp_core_load_template() call.

    if ( class_exists( 'BP_Theme_Compat' ) ) {
         new BP_Activity_WHATEVER_YOUR_CLASS_IS_CALLED_Theme_Compat;
    }
    bp_core_load_template( 'activity/index' );
    #184877
    lorns
    Participant

    @mercime as mentioned in my original post I’m running locally using MAMP. I’ve done 3 clean installs first deleting then redownloading & installing both WordPress & BuddyPress.

    Totally stumped & frustrated.

    #184863
    @mercime
    Participant
    #184861
    @mercime
    Participant

    that I’m using the BuddyPress default theme


    @lorns
    Change to the Twenty Fourteen theme.
    Strange that you could see and activate to the BP Default theme in a new installation http://bpdevel.wordpress.com/2013/11/13/the-future-of-the-bp-default-theme/

    But if I act as a new user, I cannot register using the BuddyPress register page.

    Please make sure that you’re logged out first before going to the register page. If you were logged out, do give steps or more information to replicate the issue.

    notpoppy
    Participant

    @netweb

    if you look in the wp_groups_groupmeta table at your group ID 26 and that 127650 value does NOT match the bbPress forum ID you expect it should match.

    OK having checked the forum IDs in BBPress the value for this group should be 127650. When I check that in wp_groups_groupmeta I find the same value next to group 26, which is correct. I had a look through all the forum_ids in wp_groups_groupmeta and they all seem to be correct.

    Also did you try updating via the ‘Group Forums’ Edit Screen UI?

    Sorry I don’t know what the ‘Group Forums’ Edit Screen UI is. In the WordPress admin pages I have menus for Groups (/wp-admin/admin.php?page=bp-groups), Forums (/wp-admin/edit.php?post_type=forum), Tools>Forums (/wp-admin/tools.php?page=bbp-repair) and Settings>Forums (/wp-admin/options-general.php?page=bbpress), but I can’t see anything for ‘Group Forums’.

    However I do note that on the forums page although the ‘Edit’ button shows the correct forums_id values for each forum, the ‘View’ button shows an incorrect link for the problematic forum.

    @mercime
    Participant

    @giorgosnl Next time, please start a new topic as moderators could miss your post.

    But when I click on upload image it redirects to my profile and will change admins image??

    When I checked the issue you posted, the avatar was correctly changed in user’s profile but the update did redirect after completion to the Site Admin’s profile page. The issue was also posted at https://buddypress.trac.wordpress.org/ticket/5580 and fix is slated for BP 2.1.

    If your issue is not resolved with the patch after changing to one of WP Default themes and deactivating all plugins except BP to exclude conflicts, please feel free to create a new trac ticket using your WP username and password to log in.

    shanebp
    Moderator

    You’ll probably get a better answer using the support forum for that plugin.

    My guess would be that you are hooking too early and the remove_action calls fire before those add_actions exist.
    Maybe try a hook other than ‘plugins_loaded’.
    Have you tried ‘bp_include’.

    #184803
    shanebp
    Moderator

    Filters have to return something.
    You’re only returning if a condition is met.
    So no buttons will appear.

    And you aren’t passing the $arg, so you can’t return it.

    Try:

    function hideAddFriend($button){
    	$caps = get_user_meta(bp_get_member_user_id(), 'wp_capabilities', true);
    	$roles = array_keys((array)$caps);
    	// Hide friendship buttons
    	if(in_array("inactive", $roles)){
    		return '';
    	}
            return $button;	
    }
    add_filter( 'bp_get_add_friend_button', 'hideAddFriend');

    also – are you sure that your get_user_meta approach to retrieving ‘inactive’ is working?

    #184770
    Abidemi
    Participant

    The way I achieve this is by using wordpress blank avatar and css.
    In wordpress dashboard Settings -> Discussion, change default avatar to Blank.
    In your css file add this (after uploading the image you want to use ->

    .avatar {background:url(image/custom_avatar.png) 0 0px no-repeat!important;background-size:100%, 100%!important;}

    #184677
    jeremiahward
    Participant

    @mercime

    Thanks for that clarification. All of my other modifications have been done through CSS and saved to the stylesheet of my WordPress child theme.

    Anyway, the second questions still stands, when I downloaded the file the lines must be different as there are a bunch of blank lines and line 9 is <head>. Can you specify what I should be removing?

    #184655
    dainismichel
    Participant

    i think this setting is on the options-reading.php page in WordPress 2.0.1 and is now called:

    Search Engine Visibility 	
    Search Engine Visibility Discourage search engines from indexing this site
    It is up to search engines to honor this request.
    

    …not 100% sure though…

    #184642
    @mercime
    Participant

    Should the child theme be under themes or templates?


    @jeremiahward
    I assumed that you created a child theme of your theme so that whatever modifications you make won’t be overridden when you upgrade your theme. As noted in WP codex, the child theme should be in the same folder as your parent theme is, i.e., wp-content/themes/your-child-theme-folder. Thus, if you go the child theme route, that index.php file mentioned above would go into wp-content/themes/your-child-theme-folder/buddypress/activity/index.php – so should the other BP files you modified

    #184626
    Jrzwv
    Participant

    Thanks for the quick response sir. God bless you. Sir you did not respond to the issue that is solely related to buddypress:

    my all member count showing 1322 and Viewing member 1 to 20 (of 1,325 active member). I have just 14 users, please how do i correct this?

    i have used buddypress repair tool which did not fix it. Sir Please help.

    wordpress version: 3.9.1
    buddypress version 2.0.1
    http://seenloud.com//members/seenloud/

    #184625
    onesheep
    Participant

    So this plugin seems to do the trick.

    https://wordpress.org/plugins/private-community-for-bp-lite/

    #184619
    dainismichel
    Participant

    i am still having this problem and have updated to the latest versions of buddypress and wordpress…

    karlajw
    Participant

    Hi @mercime, thanks for the suggestions.

    I finally had a chance to create a test site where I could deactivate and re-activate everything without worry.

    Turns out it’s the NextGen Gallery plugin that is not playing nice with BuddyPress
    https://wordpress.org/support/topic/does-not-work-with-buddypress?replies=7#post-5743296

    No fix for it yet. I will just have to keep NextGen Gallery deactivated until there’s a fix or replace it entirely.

    Karla

    #184611
    @mercime
    Participant
    #184609
    @mercime
    Participant

    @jeremiahward copy over https://buddypress.trac.wordpress.org/browser/tags/2.0.1/bp-templates/bp-legacy/buddypress/activity/index.php to your child theme folder following directory structure of your-theme/buddypress/activity/index.php and remove lines 7 through 11

    #184599
    mixtapela
    Participant

    @3rdEyeGuam I posted that fix last week in this thread.. Unfortunately, the styling code didn’t fix my alignment or functionality of the meta buttons. Buttons such as “Delete” “report user” and “Share” are still showing up vertically until I click on “Load more”.

    Theme support has suggested a complete fresh install of the database and wordpress even after I did a clean install of the theme.

    #184589
    @mercime
    Participant

    @avfregeau go to Pages > All Pages, click to edit the Register page. When the register page panel opens up, choose the one column template which the theme you’re using seems to have per theme tags https://wordpress.org/themes/fruitful

    @mercime
    Participant

    @dainismichel Please make sure that any commercial theme you purchase is compatible with the latest version of BP. If it claims it is compatible with latest BP version, then they should fix the issue/s you have encountered.

    Re child theme of the BP Default Theme: if you find that after adding
    add_filter( 'bp_do_register_theme_directory', '__return_true' ); to your theme’s functions.php file that there are still issues, please post a ticket with all relevant information at https://buddypress.trac.wordpress.org/newticket by logging in with your WP username and password

    BuddyPress is compatible with nearly all WP themes which do not replace the_title and the_content with their own proprietary/framework tags.

    #184584
    @mercime
    Participant

    @canadadre Please do confirm with woo first about compatibility with BP. As for Genesis themes, they have https://wordpress.org/plugins/genesis-connect-for-buddypress/ but it’s always best to confirm with them first


    @henrywright
    🙂

    dainismichel
    Participant

    for one site, i just used bp-default directly because i figured it would always be there and would always work.

    but i did find this:

    If you are already using bp-default, either directly or as a parent theme, don’t worry.

    at the link you recommended…

    right now, i am less interested in making buddypress look and feel the way i want it to — than in just using wordpress community software that actually works.

    with BuddyPress, over the years, i noticed that the best strategy is just to leave it alone and not try to do anything with it, because then it’s just going to break in unforseen ways — and not even “configuration,” but just implementation can and will be riddled with errors and problems and headaches.

    so, for one site, yes, i used a child theme, but for the site in question, i didn’t. i just figured some form of “buddypress default” would always be there — and it would always work.

    if “it” changed, i would just configure it — but i would not need to dig around and search for errors and fix things and ask at the forum and have peoples’ emotions flare just cuz i am interested in having the software work — etc.

    i also figured it would be a theme buddypress would always maintain and upgrade — and improve. for example, have you ever seen the activity stream in twentytwelve? while there may be classier activity streams around — for 2012 — it was easily one of the nicest looking activity streams available. so — i figured buddypress would notice that — and just continuously improve whatever the “buddypress default” theme was…

    i “might” make a child theme now — but i have now looked around at some commercial themes — so maybe i’ll buy one of those.

    really — it is about immediate functionality and convenience. it needs to work, first and foremost, and it needs to “look good” as well (but it needs to actually work — first).

    anyway — what this development at BuddyPress did — is it sent me searching for a commercial theme to upgrade to. not sure if that was the intended result, but it’s what it did in my case.

    best and blessings and thanks for all the work you do, let us know if you ever plan on releasing a kind of “default theme” in the future ok?

    sincerely,
    dainis

    #184564
    elihub
    Participant

    I did the same research as @kansas3d – multiselect only saves the last of multiple fields on the xprofile edit screen. I am running BP 2.0.1 (WP 2.9.1), and have confirmed that rolling back to BP 1.9 (not BP 2.0) fixes the issue. I disabled all plugins and experienced the same problem in my custom theme (built on Bones, not TwentyFourteen-derived).

    Converting multiselect to checkboxes allows for multiple value saving, but is not optimal. I have tracked down some similar tickets (#2176 from BP 1.2 and there’s another somewhere…)

    Update – it appears there is an open ticket (#5672) related to this:
    https://buddypress.trac.wordpress.org/ticket/5672

    #184554
    kamillamonkey
    Participant

    @noizeburger i have followed all the instructions. I don’t get any errors. My problem is the User Role doesn’t change upon new registration. It wont change it from the DEFAULT ROLE set in WordPress/Settings/General/New User Default Role [Author]. Any Suggestions?

Viewing 25 results - 7,476 through 7,500 (of 22,650 total)
Skip to toolbar