Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 6,501 through 6,525 (of 68,948 total)
  • Author
    Search Results
  • #273768
    harry74
    Participant

    I am reposting the same with the code parts fixed (I hope)

    Wordpress Version: 4.9.6
    Buddypress version: 3.0.0

    Hello,

    I’ve been struggling for days with oEmbed, but I’m not a coder nor very experienced in WP so no luck yet. I want to be able to post on the activity stream from almost any source and generate a preview (same as on Facebook, Tumblr etc). First of all, even some major sites (Facebook, Flickr, Tumblr) from the WP whitelist do not generate a preview when posting a link in activity. A bug maybe? Also, Activity Plus and rtMedia are not solutions, because I tried them and both have problems. I should point out that I have multisite and BP Multi Network and have set BP_ENABLE_MULTIBLOG as true.

    Two very good plugins are Iframely and Embedly. The problem with the first is that there’s a limit of embeds in the free version and it doesn’t support as many sites as I need. Embedly does, but here’s the problem. When activated, there seems to be a conflict with some of the default embed providers of BP, like Vimeo and Youtube. A preview is still generated, but it is only a dead image of the video. You cannot click play or click on the title and open the video in a new tab. So the plugin becomes essentially useless (nobody could afford to have a social network where users can’t post YouTube videos). There’s a similar problem with Iframely (the YouTube video is OK but there’s a big blank area beneath it), but they have an option “Do not override default embed providers” that solves the problem. Unfortunately Embedly doesn’t have such an option. Does anyone know if I could force it somehow to do the same? (I have already contacted their support days ago but they never answered.)

    Then, I thought to remove YouTube from the oEmbed providers list with

    <?php wp_oembed_remove_provider( $format ) ?>

    hoping that this would eliminate the conflict, since Embedly alone would handle YouTube links. I’m not sure what I did it wrong, because at first I pasted this code as a test:

    <?php wp_oembed_remove_provider( 'http://wordpress.tv/*' ); ?>

    in the wp-includes/media.php file at the end and it returned syntax error, unexpected ‘<‘. Then I tried:

    wp_oembed_remove_provider( 'http://wordpress.tv/*' );

    No error this time, but nothing changed. I could still post a link from wordpress.tv and a preview was generated. Can someone explain how to do this correctly? And do you think that if I remove YouTube from the providers it will solve the issue?

    Finally, I found out about oEmbed Discovery. The documentation is not very clear, so I’m not even sure what exactly it is supposed to do if enabled. Does it allow content from any site to be embedded? Or does it have limitations too? And what does it mean “you can give unfiltered_html users (Administrators and Editors) the ability to embed”? If I used it, would I have to give every new user editor role so that they could post? Anyway, the thing is I installed the Enable oEmbed Discovery plugin, but absolutely nothing changed. I tried some test posts from various websites and only the link was posted as usual. Any idea what went wrong?

    I tried all the above with network activation, per site activation, network and per site together, everything… but to no avail. Any help will be greatly appreciated because this is a huge problem for my site. Sorry for the long post, at least I hope it might help others too with similar issues. Lastly, if anyone proposes a solution which includes some code, please mention where I should paste it (I do have a bp-custom.php file).

    Thanks in advance

    #273762
    Varun Dubey
    Participant

    @shahriar83 You have already created a thread with BP activity plus support, Explain to them how to replicate the issue.

    You can replicate the issue with Template Pack BuddyPress Nouveau after BP 3.0 install using WordPress Default theme “Twenty Seventeen” at singe group activity page.

    #273751
    Jonas
    Participant

    I had some issues with this earlier too, using the code supplied in this thread should clear up your issue.

    Here’s the code if you’re unable to click the link for some reason. You should put it in your bp-custom.php file.

    function toa_check_page_reqiurement_and_lie_to_buddypress ($is, $component) {
        global $bp;
        if ($is || "activity" !== $component) return $is;
        if ((defined('BP_GROUPS_SLUG') && bp_is_groups_component() && 'activity' == $bp->current_action)){
            return true;
        }
        return $is;
    }
    function toa_setup_activity_filter () {
        add_filter('bp_is_current_component', 'toa_check_page_reqiurement_and_lie_to_buddypress', 10, 2);
    }
    function toa_teardown_activity_filter () {
        remove_filter('bp_is_current_component', 'toa_check_page_reqiurement_and_lie_to_buddypress', 10);
    }
    add_action('bpfb_init', 'toa_setup_activity_filter');
    add_action('bpfb_add_cssjs_hooks', 'toa_teardown_activity_filter');
    #273749
    Varun Dubey
    Participant

    I am able to replicate the issue, You can report here once
    https://wordpress.org/support/topic/problem-with-new-buddypress-template/

    #273746
    Varun Dubey
    Participant
    #273730

    Buddypress activity plus not active with groups in my web.

    #273725

    In reply to: version 3.0 problems

    Varun Dubey
    Participant

    @geertbaven code might be written inside the template file of the theme
    theme-name/buddypress/groups/single/home.php

    You will need to remove bp_is_group_forum() code; you are not using forums that’s why it’s creating an issue.
    Inside the latest version above code is removed, in core discussion developers had talked about it to put it back.

    #273714
    Varun Dubey
    Participant

    You can override edit page template inside the child theme
    buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/edit.php
    at following path
    child-theme/buddypress/members/single/profile/edit.php

    #273713
    filipponeri20
    Participant

    Thanks a lot @sharebophar for your solution. I had to do a little of adjustment but it was right on the spot!

    PROBLEM:
    buddypress nouveau not sending activation email but buddypress nouveau sending correctly emails to user for notifications on manually activated users. So in my case the problem was ONLY that the validation email was not sent. I say ‘only’ from a technical perspective but from the user perspective was a VERY BIG issue. Again thanks @sharebophar for your solution
    Also note that I am not running a wordpress multisite.

    SOLVED:
    Here are the steps I have employed:

    STEP 1
    a) browse to “/bp-core/bp-core-functions.php” in buddypress plugin directory
    b) replace the code for ‘core-user-registration’ and ‘core-user-registration-with-blog’ with the following one

    	'core-user-registration' => array(
    			/* translators: do not remove {} brackets or translate its contents. */
    			'post_title'   => __( '[{{{site.name}}}] Activate your account', 'buddypress' ),
    			/* translators: do not remove {} brackets or translate its contents. */
    			'post_content' => __( "Thanks for registering!\n\nTo complete the activation of your account, go to the following link: <a href=\"{{{activate.url}}}\">{{{activate.url}}}</a>", 'buddypress' ),
    			/* translators: do not remove {} brackets or translate its contents. */
                            'post_excerpt' => __( "Thanks for registering!\n\nTo complete the activation of your account, go to the following link: {{{activate.url}}}", 'buddypress' ),
    		),
    		'core-user-registration-with-blog' => array(
    			/* translators: do not remove {} brackets or translate its contents. */
    			'post_title'   => __( '[{{{site.name}}}] Activate {{{user-site.url}}}', 'buddypress' ),
    			/* translators: do not remove {} brackets or translate its contents. */
    			'post_content' => __( "Thanks for registering!\n\nTo complete the activation of your account and site, go to the following link: <a href=\"{{{activate-site.url}}}\">{{{activate-site.url}}}</a>.\n\nAfter you activate, you can visit your site at <a href=\"{{{user-site.url}}}\">{{{user-site.url}}}</a>.", 'buddypress' ),
    			/* translators: do not remove {} brackets or translate its contents. */
    			'post_excerpt' => __( "Thanks for registering!\n\nTo complete the activation of your account and site, go to the following link: {{{activate-site.url}}}\n\nAfter you activate, you can visit your site at {{{user-site.url}}}.", 'buddypress' ),
    		),

    STEP 2

    a) go to wordpress dashboard, settings, buddypress
    b) select and run the ‘repair email’ option

    STEP 3

    all now works. I have been testing it with dummy users. I hope the whole explanation helps.
    Regards

    Varun Dubey
    Participant
    #273710

    In reply to: version 3.0 problems

    Varun Dubey
    Participant

    @geertbaven check following thread once

    Groups and forum issue

    Varun Dubey
    Participant

    Hi @filehippofree,

    As a Quick fix, You can replace line 91 at following path
    buddypress/bp-members/screens/register.php

    if ( isset( $_POST[ 'field_' . $field_id ] ) ) {
    						$_POST[ 'field_' . $field_id ] = trim( $_POST[ 'field_' . $field_id ] );
    					}

    with

    if ( isset( $_POST[ 'field_' . $field_id ] ) && !is_array( $_POST[ 'field_' . $field_id ] )) {
    						$_POST[ 'field_' . $field_id ] = trim( $_POST[ 'field_' . $field_id ] );
    					}
    #273695
    Paul Wong-Gibbs
    Keymaster

    Imagine a BuddyPress Template Pack as something analogous to a WordPress theme. You can’t have a child theme compatible with multiple parent themes.

    And you can’t have a template pack compatible with multiple themes. I don’t think there is anything in the template hierarchy – like the named folders that you suggest – that would let you do this. I suppose we could add something but I do not think this would be a good thing for the project at the moment.

    We have discussed a concept of multiple small template packs being active at the same time and we might want to support this sort of folder structure then. But not now.

    #273692
    Nahum
    Participant

    @djpaul but lets say we want the THEME to remain compatible with both? would it be possible to switch between the 2 template packs for a theme having a the override/buddypress folder in order to modify bp templates and still have the theme stay compatible.

    I can look for custom functions for each pack when i switch back and forth like so no? so that i can try to make them continue to work for each…

    if(class_exists('buddypress')) {
      
      if( bp_get_theme_package_id()  == 'nouveau') { 
      my custom nouveau actions, functions and stuff
      enequeue custom nouveu.css
      } else {
      my custom legacy actions, functions and stuff
      enequeue custom legacy.css
      }
    
    }

    How to do this with the theme overrides in the theme/child theme’s /buddypress folder?

    should this work?
    /bp-nouveau/buddypress/…template overrides
    /bp-legacy/buddypress/…template overrides

    So in this way my theme can continue working with both packs…

    #273690
    smilingdeep
    Participant

    Did you try deactivating BuddyPress?
    If you need my assistance. Download Anydesk first and reply here. I’ll have a look at your configuration.

    #273688

    thanks @vapvarun, after deactivate of buddypress activity reaction plugin. its work. Buddypress activity plus work propery. thanks a lot.

    filehippofree
    Participant

    I honestly don’t know of another plugin that does this. I took a look at that version today and it’s not only WordPress 3.0 that it needs to be updated for but some BuddyPress stuff as well.

    Anyone know of a solution to help out Max with this? I’d think this is something others would appreciate as well.
    filehippo

    Thanks!

    #273681
    ethanpui
    Participant

    It didn’t seem to work..
    Everything I click on except for the home link will result in the error

    Does BuddyPress work in a localhost server?

    #273678
    redtreetech
    Participant
    #273677
    Allen Montgomery
    Participant

    Thanks Varun. I actually needed to go back further than that, but I was able to figure it out. Why don’t they put an index in there? I had to type several version numbers before I got one that actually existed.

    In case you’re curious, I got all excited when I discovered BP Groups Hierarchy, until I realized it doesn’t work. Apparently, it did at one time, but it started developing problems with BuddyPress 5.0, and hasn’t been updated since.

    I was thinking of trying to fix it, but now I’m thinking it might be easier to just start from scratch. Instead of trying to make the groups hierarchical, I used the Pods plugin to build a tree, each node of which will have it’s own group.

    #273676
    smilingdeep
    Participant

    @sergiblac Can you tell/show me the following?

    1- Plugin Settings (if you are using any.
    2. Did you replace the red text with green text shown in the patch?

    3. Did you reset email settings in Dashboard>tools> BuddyPress settings.

    4. What errors did you get?

    Check these settings again and share details.

    #273675
    redtreetech
    Participant

    Oh, forgot to mention, I have tried Tools-> Buddypress-> Reset Email several times, also did not work.

    blenderitalia
    Participant

    I solved,
    I point out that in this link the solution is wrong …. missing a “{”
    https://buddypress.trac.wordpress.org/ticket/7845#ticket

    the correct solution is this and it works

    if ( isset( $_POST[ ‘field_’ . $field_id ] ) and !is_array( $_POST[ ‘field_’ . $field_id ] ) ) { // FIXED!!
    $_POST[ ‘field_’ . $field_id ] = trim( $_POST[ ‘field_’ . $field_id ] );
    }

    Varun Dubey
    Participant
    Varun Dubey
    Participant
Viewing 25 results - 6,501 through 6,525 (of 68,948 total)
Skip to toolbar