Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 5,851 through 5,875 (of 31,072 total)
  • Author
    Search Results
  • #240551

    In reply to: Beginner’s Problem

    @mercime
    Participant

    @sebastianpierre BuddyPress is compatible with nearly all WordPress themes out of the box. I am assuming that you’re on the latest WordPress and BuddyPress verions. Change theme to either Twenty Fifteen or Twenty Fourteen, check if all the BP pages are showing up as expected. If it is, then double-check that you have the_title and the_content template tags in your custom theme’s page.php file.

    bp-template-pack files in my root folder

    Just to be clear, if you’re referring to this plugin https://github.com/boonebgorges/bp-template-pack then I suggest that you deactivate it and remove the folder/files you moved to your theme folder. If you’re referring to the bp-legacy files then I suggest that you resolve the issue of BP pages showing up in your theme first before doing any kind of customization.

    #240550
    danbp
    Participant

    Which theme do you use ?
    Can you test youre install with Twenty Fifteen theme and see if anything is translated ?
    Are the terms not translated on front-end, or also in back-end ?

    FYI, the spanish translation for BP is only completed to 96%, but activity is translated. To ensure you have the most recent copy, download the spanish .mo file from here and install it in wp-content/languages/plugins/buddypress-es_ES.mo

    shaquana_folks
    Participant

    @mjurkowski

    Oh okay, so since it’s working from your end, maybe you can help me. Any suggestions on what I can do or should do to get it to work on my end? I’m still running into the same issue of the users not being created, even while I’m still on the Twenty Fifteen theme with only the BuddyPress plug in (now at the 2.3.1 version), the bbPress plug in (now at the 2.5.7 version) and the W3 Total Cache (still at the 0.9.4.1 version) activated. Also, I went and checked the back end again from my hosting plan provider (as well as talked to a representative of my hosting plan service over the phone) and he noticed that there was actually a lot of errors listed for my sites link. The only thing is that the representative said all the other errors listed have been resolved because he doesn’t see any other error messages on those that are listed in the error log. The only one he still sees on there (and I just realized this as well) was this message:

    PHP Warning: strstr(): Empty needle in /hermes/bosweb26d/b246/ipg.sjfgraphixcom/myloopnetwork/wp-content/plugins/buddypress/bp-core/bp-core-filters.php on line 781

    Could this be the reason why the registration page is still not working? Because I never did any changes to that bp-core-filters.php file, I’ve only been working on the post pages and customizing my website theme that I wanted to use from before (which was the Magnus WordPress Theme). But as I was saying before, even though I’m still currently on the Twenty Fifteen theme, I’m still having issues. Please let me know what else I need to do to resolve this. My hosting plan server is iPage (which uses NGINX), running a 5.0 PHP version. I hope this additional information helps out.

    #240505
    patrix87
    Participant

    I made some “progress”

    I found this and I can agree that it is still true.
    https://buddypress.trac.wordpress.org/ticket/5971
    Filtering is inconsistent and sometime happens twice.

    I think this should be something to look into somewhat soon.

    Anyway here is the minimum you have to do to turn off html filtering.

    BUT it makes you website a lot more vulnerable to attacks and errors so use it at your own risk.

    Add this code to your child theme function.php

    
    //Unfilter xprofile *risky*
    
    remove_filter( 'bp_get_the_profile_field_value',           'xprofile_filter_kses', 1 );
    remove_filter( 'bp_get_the_profile_field_edit_value',      'wp_filter_kses',       1 );
    remove_filter( 'xprofile_get_field_data',                  'wp_filter_kses', 1 );
    remove_filter( 'bp_xprofile_set_field_data_pre_validate',  'xprofile_filter_pre_validate_value_by_field_type', 10, 3 );
    remove_filter( 'xprofile_data_value_before_save',          'xprofile_sanitize_data_value_before_save', 1, 4 );
    
    
    shaquana_folks
    Participant

    Hello @henrywright, was just trying to reach you for a follow up as to why my registration page is still not working, because I’m still running into the same issue of the users not being created, even while I’m still on the Twenty Fifteen theme with only the BuddyPress plug in (now at the 2.3.1 version) and the W3 Total Cache (still at the 0.9.4.1 version) activated. Also, I went and checked the backend from my hosting plan provider (as well as talked to a representative of my hosting plan service) and noticed that there was a lot of errors listed for my sites, including the myloopnetwork.com link). The representative I spoke to said that all the other errors listed have been resolved because he said he doesn’t see any other error messages on those that are listed in the error log. The only one he said he still sees on there (and I just realized this as well) was this message:

    PHP Warning: strstr(): Empty needle in /hermes/bosweb26d/b246/ipg.sjfgraphixcom/myloopnetwork/wp-content/plugins/buddypress/bp-core/bp-core-filters.php on line 781

    Could this be the reason why the registration page is still not working? Because I never did any changes to that bp-core-filters.php file, I’ve only been working on the post pages and customizing my website theme. Please let me know what else I need to do to resolve this. My hosting plan server is iPage (which uses NGINX), running a 5.0 PHP version. I hope this additional information helps out.

    #240473
    Alvin341965
    Participant

    Hi Andreas, this question is solved but i use the KLEO theme.
    solution that worked for me

    thank you for your reply.

    #240472
    pandreas
    Participant

    @Alvin341965, Could you please tell me which theme you are using?

    Thank you!

    Andreas

    #240467
    sylkitt
    Participant

    Update: I just tested again and I receive email notifications with Kleo activated as well. So it’s not a theme problem but a Buddypress one. Can you give me instructions on how to solve it? Thank you!

    #240464
    American2020
    Participant

    Thanks Danbp

    I saw the code, but is there a way to call it from the sidebar.php of my theme?

    Something like “bp_login();” or something like that?

    Maybe looking at the code I should figure that out myself, but I’m not sure.

    #240459
    atsouf
    Participant

    Hello and thanks for the fast reply.

    1st I have a lot of custom code but nothing that interferes with admin-ajax.php

    2nd My plugins (please dont panic)

    Agreeable
    bbpress
    bbpress – custom kses allowed tags
    bbpress -enable tinymce visual tab
    bbpress moderation
    buddypress
    buddypress captcha
    Contact form 7
    easysocial icons
    events manager
    GB bbpress tools
    google analytics by yoast
    Gzip ninja speed compression
    Loco translate
    Speakout! email petitions
    Tinymce advanced
    Wordpress SEO
    WP bakery visual composer
    WP super cache
    YOP Poll

    3d theme: fraction from orange themes (i already contacted their support and i am waiting for their reply)

    #240457
    Henry Wright
    Moderator

    Hi @sylkitt

    The support forum of the Kleo theme told me it is not a theme problem but a Buddypress one.

    Possibly, but let us be sure. Can you activate TwentyFifteen and test again?

    #240449
    shanebp
    Moderator

    You’ll need to write some conditionals based on knowing the current language.

    And need to customize a template overload of this file:
    bp-templates\bp-legacy\buddypress\groups\groups-loop.php

    See function bp_has_groups in bp-groups\bp-groups-template.php for info about the include / exclude group ids parameters re the group loop.

    #240445
    Henry Wright
    Moderator

    admin-ajax.php is known for being clunky, but not 10-second-wait clunky. Which plugins are you running? Which theme? And also do you have any custom code in place that calls admin-ajax.php?

    #240410
    danbp
    Participant

    Can you test with another theme ? Also are you using some cutom template for profiles, or a plugin or a custom function ?

    See if you have this in your template:
    <h2 class="user-nicename">@<?php bp_displayed_user_mentionname(); ?></h2>

    The original is in bp-templates/bp-legacy/buddypress/members/single/members-header.php

    Maybe your theme or custom work is using something other than bp_displayed_user_mentionname();

    #240397
    Holmey1
    Participant

    Hi Shane,

    Thanks for getting back to me and I apologise for being vague.

    The problem is that thumbnails are not working for the members profile image and images uploaded via RT media are not clickabke to bring up a light box, with me having this problem since I installed the SSL certificate on the domain.

    I’ve tried switching the theme, (still the same), deactivating all the plugins, (still the same), with me recollecting one of the SSL plugins that I tried having a tick box saying “Disable non SSL thunbnail images – May break some themes, with me remembering trying that to try and get the green triangle and it breaking the site completely, leaving me to have to delete the plugin folder via File Manager to get the site working again. I’ve tried finding that plugin in the WP reposotry where I originally got it from so that I can try unticking this option, (my thinking that when the box was ticked and option saved it overwrote some code somewhere that deleting the plugin at file level hasn’t changed back), but I can’t find it anywhere 🙁

    Does that help more?

    I’d post a link, but it’s only a problem for members that are logged in so you wouldn’t see anything

    Highest regards,

    Holmey

    #240353
    Henry Wright
    Moderator

    I put it into my code file and also into functions.php but always empty.

    I think this indicates there is something weird going on. My advice is to remove all custom code, disable all plugins and revert back to TwentyFifteen theme. Then try again. If it works then, we can be sure you have something on your install that’s conflicting. The task is then to find out what.

    #240330
    Henry Wright
    Moderator

    Just put @shanebp’s code in your theme’s functions.php file.

    #240329
    Henry Wright
    Moderator

    @patrykos360

    But now I can delete this form NAME from the registration area?

    I have no idea because I don’t know the theme you’re using. The best thing to do is contact the theme author because they will be able to see the theme’s markup/code and advise you how to do it.

    #240326
    shanebp
    Moderator

    It’s probably something in your theme.

    Confirm by switching to one of the WP themes, like 2013.

    #240317
    Teratoma
    Participant

    Again, I did not create a user called “admin”. The page/url I linked to above was generated by BuddyPress for the user called “Antrodius”, which happens to be the WP admin. I have every setting possible set to display the name as such. If you look at my members page ( http://www.rickey-rat.com/member-grid/) , you can see that even BP acknowledges the username, but instead of using that username in the profile and its URL (like all other users), it shows this user as Admin.

    I’m not so concerned about the url as I am about the name displaying at the top. Is there a way to edit the template in my child-theme – I might be able to figure out how to pull the correct username, since it displays properly in some places.

    r-a-y
    Keymaster

    Add the following to wp-content/plugins/bp-custom.php or your theme’s functions.php:

    add_filter( 'bp_is_messages_star_active', '__return_false' );

    #240287
    colabsadmin
    Participant

    +1 with BP 2.3.1. My 2.2+ sites do not have this issue. I’ve enabled the WP 2015 theme and deactivated all plugins except BP.

    #240285
    xprt007
    Participant

    Hi

    Thank you for responding.
    I tried a few other themes including twentythirteen & Mesocolumn – no difference.
    Then today I disabled all plugins except buddypress & bbforum.

    Observation:
    #1. The mentioned links worked.
    #2. I then first activated a number of security plugins + Hyper cache plugin. Problem back, of page not found, until I deactivated Hyper cache.

    This was solved by reading this article => http://www.buddyboss.com/buddypress-speed-and-performance/ & doing this:

    By default this plugin will cache all of your site’s pages, including your BuddyPress-specific content like activity posts and forum posts. This is not good, as your BuddyPress content is constantly updated and needs to remain fresh. To fix it add the following lines into “URI to reject” in the “Filters” settings panel of Hyper Cache:

    /forums/
    /groups/
    /members/
    /activity/
    /blogs/
    /messages/
    /register/
    /activate/

    … I think current plugin terminology is “Exact URIs to bypass” & “(Starting with) URIs to bypass”, which I did and clearing the cache.

    #3. As I continued activating, I discovered the used https://wordpress.org/plugins/404-to-start/ also causes if I try to go to my profile page or for example /members/user-x/, etc to re-direct to site front page, with no error.

    I have to look into this later. The other plugins I had tried before caused some issues, so I was happy with this re-direct plugin.

    Will report back, at least if I get a response from author or get a plugin not causing issues, someone could recommend one ;).

    Thank you & regards.

    #240279
    Henry Wright
    Moderator

    @patrykos360 you should contact the theme author as the problem is likely to be theme related. If the theme is purposefully BuddyPress-compatible, then perhaps the author will release a fix?

    Dono12
    Participant

    Yes it is related to “Messages > Starred”. There is nothing wrong with the new feature. It’s this function that I found online that’s causing a conflict.

    /* ——————————Start BP Post in profile code for function——————– */
    function importSomething(){
    return include_once ‘bp-custom.php’;
    }
    add_action( ‘bp_setup_nav’, ‘buddyboss_child_bp_nav_adder’ );
    add_action( ‘bp_template_content’, ‘profile_buddyboss_child_loop’ );
    bp_core_load_template( apply_filters( ‘bp_core_template_plugin’, ‘members/single/plugins’ ) );

    function buddyboss_child_bp_nav_adder() {
    global $bp;
    $post_count = count_user_posts_by_type( $bp->displayed_user->id );
    bp_core_new_nav_item(
    array(
    ‘name’ => sprintf( __( ‘Posts <span>%d</span>’, ‘my-poems’ ), $post_count ),
    ‘slug’ => ‘Articles’,
    ‘position’ => 250,
    ‘show_for_displayed_user’ => true,
    ‘screen_function’ => ‘buddyboss_child_list’,
    ‘item_css_id’ => ‘articles’,
    ‘default_subnav_slug’ => ‘public’
    ));
    }
    function buddyboss_child_list() {
    add_action( ‘bp_template_content’, ‘profile_buddyboss_child_loop’ );
    bp_core_load_template( apply_filters( ‘bp_core_template_plugin’, ‘members/single/plugins’ ) );
    }
    /*——- This is end of the code for above function ———*/
    function profile_buddyboss_child_loop() {
    $myposts = get_posts( array(
    ‘posts_per_page’ => -1,
    ‘author’ => bp_displayed_user_id(),
    ‘post_type’ => ‘post’
    ));
    if( ! empty($myposts) ) {
    foreach($myposts as $post) {
    setup_postdata( $post );
    if (has_post_thumbnail( $post->ID ) ):
    $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), ‘sidebar-smallthumbnew’ );
    else :
    $image[0] = “…/wp-content/themes/Starkers-Child-2/images/vidimage.jpg”;
    endif;
    echo ‘<li class=”sidebar mostpop post-‘ . $post->ID . ‘”><div id=”postimage”>ID) . ‘”></div><div id=”postinfo”>ID) . ‘”>’ . get_the_title($post->ID) . ‘</div>‘;
    }
    echo ‘‘;
    wp_reset_postdata();
    } else { ?>
    <div class=”info” id=”message”>
    <p><?php bp_displayed_user_fullname(); ?> has No posts.</p>
    </div>
    <?php }
    }
    /* This is end of the code for above function */
    remove_filter(‘bp_setup_nav’,”);
    function count_user_posts_by_type( $userid, $post_type = ‘post’ ) {
    global $wpdb;
    $where = get_posts_by_author_sql( $post_type, true, $userid, true);
    $count = $wpdb->get_var( “SELECT COUNT(*) FROM $wpdb->posts $where” );
    return apply_filters( ‘get_usernumposts’, $count, $userid );
    }
    /* ——————————This is end of the code for post in profile above function——————– */

    It adds a new button on the user activity page and when the Message-Starred button is clicked it takes the user the lists of post page that the above function creates. How can I stop that fro happening. I really want to keep the starred message function and I don’t want to lose the lists of WordPress post in the user Activity page.

Viewing 25 results - 5,851 through 5,875 (of 31,072 total)
Skip to toolbar