Search Results for 'buddypress'
-
AuthorSearch Results
-
May 30, 2018 at 11:23 am #273768
In reply to: Big problem with activity embeds
harry74
ParticipantI am reposting the same with the code parts fixed (I hope)
Wordpress Version: 4.9.6
Buddypress version: 3.0.0Hello,
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
May 30, 2018 at 5:01 am #273762In reply to: Buddypress activity plus pludin issues
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.
May 29, 2018 at 5:44 pm #273751In reply to: Buddypress activity plus pludin issues
Jonas
ParticipantI 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');May 29, 2018 at 5:33 pm #273749In reply to: Buddypress activity plus pludin issues
Varun Dubey
ParticipantI am able to replicate the issue, You can report here once
https://wordpress.org/support/topic/problem-with-new-buddypress-template/May 29, 2018 at 5:02 pm #273746In reply to: Required Profile Field _ Terms Of Service
Varun Dubey
Participant@dannydlb You can try these patches https://buddypress.trac.wordpress.org/ticket/7845
May 29, 2018 at 10:09 am #273730In reply to: Buddypress activity plus pludin issues
Dr md shahriar kabir
ParticipantBuddypress activity plus not active with groups in my web.
May 29, 2018 at 8:17 am #273725In 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.phpYou 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.May 28, 2018 at 7:37 pm #273714In reply to: Create edit profile form or page
Varun Dubey
ParticipantYou 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.phpMay 28, 2018 at 7:32 pm #273713In reply to: Activation Emails are not being sent
filipponeri20
ParticipantThanks 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’ optionSTEP 3
all now works. I have been testing it with dummy users. I hope the whole explanation helps.
RegardsMay 28, 2018 at 7:07 pm #273711Varun Dubey
ParticipantMay 28, 2018 at 7:05 pm #273710In reply to: version 3.0 problems
Varun Dubey
Participant@geertbaven check following thread once
May 28, 2018 at 6:54 pm #273705Varun Dubey
ParticipantHi @filehippofree,
As a Quick fix, You can replace line 91 at following path
buddypress/bp-members/screens/register.phpif ( 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 ] ); }May 28, 2018 at 1:11 pm #273695In reply to: bp-nouveau vs bp-legacy
Paul Wong-Gibbs
KeymasterImagine 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.
May 28, 2018 at 12:36 pm #273692In reply to: bp-nouveau vs bp-legacy
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 overridesSo in this way my theme can continue working with both packs…
May 28, 2018 at 12:25 pm #273690In reply to: Activation Emails are not being sent
smilingdeep
ParticipantDid you try deactivating BuddyPress?
If you need my assistance. Download Anydesk first and reply here. I’ll have a look at your configuration.May 28, 2018 at 11:43 am #273688In reply to: Buddypress activity plus pludin issues
Dr md shahriar kabir
Participantthanks @vapvarun, after deactivate of buddypress activity reaction plugin. its work. Buddypress activity plus work propery. thanks a lot.
May 28, 2018 at 8:59 am #273686filehippofree
ParticipantI 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.
filehippoThanks!
May 28, 2018 at 5:23 am #273681In reply to: Buddypress on local server (using MAMP) MAC
ethanpui
ParticipantIt didn’t seem to work..
Everything I click on except for the home link will result in the errorDoes BuddyPress work in a localhost server?
May 28, 2018 at 1:02 am #273678In reply to: Activation email not sending, but others do.
redtreetech
ParticipantFound this link on another forum
https://buddypress.trac.wordpress.org/attachment/ticket/7869/7869.01.patch
in
Can someone PLEASE share a copy of the default activation emails?
And it appears to have worked.
May 28, 2018 at 12:49 am #273677In reply to: Looking for Zip Archive
Allen Montgomery
ParticipantThanks 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.
May 28, 2018 at 12:41 am #273676In reply to: Activation Emails are not being sent
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.
May 28, 2018 at 12:39 am #273675In reply to: Activation email not sending, but others do.
redtreetech
ParticipantOh, forgot to mention, I have tried Tools-> Buddypress-> Reset Email several times, also did not work.
May 27, 2018 at 9:31 pm #273671blenderitalia
ParticipantI solved,
I point out that in this link the solution is wrong …. missing a “{”
https://buddypress.trac.wordpress.org/ticket/7845#ticketthe 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 ] );
}May 27, 2018 at 7:27 pm #273663Varun Dubey
ParticipantHi @blenderitalia you can check following ticket https://buddypress.trac.wordpress.org/ticket/7845#ticket
May 27, 2018 at 7:26 pm #273662Varun Dubey
Participant -
AuthorSearch Results