Search Results for 'buddypress'
-
AuthorSearch Results
-
December 8, 2015 at 11:07 pm #247552
In reply to: Notification emails after import
reedy
ParticipantOK, just so we’re on the same page I’ll give the URIs as I respond.
Having looked into my notifications feed here:
/members/member-name/notifications/
I see that notifications were indeed coming in in ‘batches’, too.
For example:
All refer to pre-import mentions.
HOWEVER, no notifications for pre-import activity appear there from the time I ran the below mySQL query yesterday:
UPDATE bp_notifications SET is_new=0 WHERE is_new=1
So that seems to have had some effect (yet emails continued to go out).
As for activity entries being created, if I go to:
/members/member-name/activity/
… it contains all activity from the start of time (post-import and pre-import activity).
bbpress told me this is a buddypress issue since buddypress generates the @mention email notifications.
A couple of hours ago I added this to my functions.php file:
//buddypress stop mention emails // remove_action( 'bp_activity_sent_mention_email', 'bp_activity_at_message_notification', 10, 5 ); //End buddypress stop mention emails //
Hopefully that will stop new emails from going out. Not the ideal solution, though as it also blocks mentions for anything post-import, too (I believe).
December 8, 2015 at 10:51 pm #247551In reply to: Notification emails after import
shanebp
ModeratorBecause emails are being sent, a lot of notifications were created too, correct?
Are the notifications being created in ‘batches’ ala the emails?
And were any activity entries created?afaik – BuddyPress only handles @ mentions in the context of activity, hence:
add_filter( 'bp_activity_do_mentions', '__return_false' );
If true, then bbPress is parsing @ mentions in forum posts and creating BP notifications which result in emails being sent.
I don’t have a solution – just trying to outline the sequence.
Very curious to know why, given that the email server queue isn’t massive, there seems to be a throttle on the process.Have you tried asking bbPress about this?
You may need to open a ticket to get a useful response. If you do, please share it here.December 8, 2015 at 10:31 pm #247549In reply to: Notification emails after import
Henry Wright
ModeratorI very much doubt my install has been compromised. In fact, searching through the buddypress support forum it seems this is an issue that crops up after imports
That suggests your import script is the issue. Which script are you using?
December 8, 2015 at 8:05 pm #247546In reply to: Notification emails after import
reedy
ParticipantI very much doubt my install has been compromised. In fact, searching through the buddypress support forum it seems this is an issue that crops up after imports – so I believe there is probably something in the core code doing this.
A couple of examples:
https://buddypress.org/support/topic/post-migration-constant-user-email-notifications-for-mentions/ @zane
https://buddypress.org/support/topic/mass-notifications-of-old-mentions/ @halo-diehard
Disabling my mail server is not a practical solution. For now I will just have to block all email notifications for mentions until (hopefully) a solution is found.
Pssst @netweb – are you still around?
December 8, 2015 at 5:53 pm #247540mcpeanut
ParticipantAfter thinking about it this is probs not the way to do it anyhows huh henry? buddypress doesn’t even register custom post types does it? you can tell i haven’t bothered for a few months on the buddypress side of things I need to give my head a shake, been awake too long lol, been so busy with server admin and css recently, a case of too much at once.
So any ideas how I would get this plugin ‘Scripts To Footer’ to work on the buddypress members pages and groups pages?
See the plugin I am using works flawlessly on ever other page of my website so I dont really want to stop using the plugin just because it cannot be used on single profile and single groups pages, I just need to find a way to make this plugin also move the javascript to the footer on these pages too and all will be good, its been a while since ive come back to this after a break, I really don’t want to undo everything and then hunt the files down and make them load in the footer manually.
December 8, 2015 at 5:52 pm #247538In reply to: Notification emails after import
Henry Wright
ModeratorIf 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?
December 8, 2015 at 5:21 pm #247534In reply to: Notification emails after import
reedy
ParticipantI deactivated all other plugins and code snippets in functions.php (none of which are related to buddypress) and users are still getting spammed with these emails. How on earth can I stop this from happening? I am getting so many complaints I just don’t know how to handle this.
Maybe I just need to comment out the notification emails and just remove the functionality entirely? This is driving me (and thousands of people) crazy.
Furthermore, I am concerned that I’m going to get into trouble under the UK’s anti-spam laws.
December 8, 2015 at 5:03 pm #247533mcpeanut
ParticipantTalking about JavaScript @henrywright, without going off topic or meaning to hijack this thread I have a question for you that you may be able to help me with that’s driving me nuts, you know how we spoke ages ago about combining js scripts etc? well I have a problem on my members pages that is frustrating me, I have all my js files combined how I need them to be and working great on every single page of the website and have all js moved to the bottom instead of being at the top with the use of a plugin.
Now the problem I have is on a users member/profile pages, on these pages 2 of my js files remain at the top which is causing me problems with another plugin I use on these pages, the plugins all work fine but makes the pages briefly flash when switching tabs, i have narrowed it down to these js files loading in the head that are causing the problem. The plugin I use to move the js to the bottom only supports pages and posts and not custom post types (so it works fine on the activity/members/groups main pages but not in the individual groups or personal members pages), now I have got the code to add the custom post types so that it can move the js to the bottom on the members profile pages but I am not sure what custom post types these pages use?
The code I need to use is below, but what custom post type should I add for the buddypress personal members pages to be included any ideas?
function stf_add_cpt_support( $post_types ) { $post_types[] = 'project'; return $post_types; } add_filter( 'scripts_to_footer_post_types', 'stf_add_cpt_support' );
sorry @rosyteddy but i only brought it up as henry mentioned JS 🙂
December 8, 2015 at 2:40 pm #247522In reply to: Change password strength requirement
FliP0x
ParticipantBefore I installed buddypress, users could register just fine. I also disabled the default generated password and let users choose their own passwords at registration.
However, I cannot find that option anymore. If users can only create insanely strong passwords, I’d rather have it back to the automatically generated passwords, but I can’t find that option anymore.EDIT: When I deactivate BuddyPress, I get my old registration back, that works.
I would like the option to keep buddypress, but also keep my old registration.December 8, 2015 at 2:32 pm #247521In reply to: Notification emails after import
Henry Wright
Moderatorif there is a queue still, it’s in your application’s database/code somewhere
BuddyPress doesn’t queue up emails in this way. You should deactivate all custom code you’re running, that includes any import scripts or custom libraries, plugins, code snippets in functions.php or bp-custom.php and then check again if mail is being sent out.
December 7, 2015 at 11:53 pm #247501In reply to: PM username autocomplete without friend module
shanebp
ModeratorAdd this to your bp-custom.php file:
define( 'BP_MESSAGES_AUTOCOMPLETE_ALL', true );
December 7, 2015 at 6:41 pm #247497In reply to: Custom Avatar Upload Page
operapreneur
ParticipantStill looking for any direction or examples where I can create a separate page (outside of the BP member registration or member profile) where members can upload and crop there avatar using the new BP_Attachment_Avatar introduced in 2.3.
The most help/up-to-date info seems to stem from this post.
@imath Would you be able to point me in the right direction? What is restricting the avatar from being uploaded on a page outside of the member profile?Thanks!
December 7, 2015 at 11:30 am #247488Topic: Buddypress ignoring smtp mailing
in forum How-to & Troubleshootingdavbot
Participantbuddypress registration emails are ignoring my smtp mail plugin
wordpress emails go out fine using php and smtp
test emails from the plugin go out fine using smtp
buddypress emails do nothing, they dont even hit the track delivery function in my hosts cpanel where the smtp test emails and wordpress emails do.
from the actions/results here, this is a buddypress issue, I am curious if anyone has ever encountered buddypress being “stuck” with registration emails and if there is a possible fix out there?
December 7, 2015 at 2:56 am #247485Henry Wright
ModeratorBuddyPress now includes PHP 7 in its tests so sites running PHP 7 should be covered:
Ref: https://twitter.com/JJJ/status/673520650624061441
Regarding taking advantage of PHP 7 features, the plugin won’t do that. Any feature introduced after PHP 5.2 won’t be in BuddyPress yet because 5.2 is the minimum requirement to run WordPress.
December 7, 2015 at 12:49 am #247482In reply to: Save Button Not Showing?
@mercime
Participant>> there is not Save Setting button to allow me to save the changes
@beginner3 You mentioned in your original post that you already “have tried to deactivate delete and reinstall plugin”, so at this point we need you to provide more information about your installation to help you troubleshoot https://buddypress.org/support/topic/when-asking-for-support-2/December 6, 2015 at 9:00 pm #247463In reply to: I don’t understand the template files
Joshua Blevins
ParticipantCreating 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.
December 6, 2015 at 2:40 pm #247457In reply to: Buddypress and IPV6
Paul Wong-Gibbs
Keymasterwp_bb_posts
is bbPress 1, *not* BuddyPress. 🙂I don’t know if there’s anyone interesting in working on that old versions of bbPress any more. If you haven’t already, I’d suggest posting on https://bbpress.trac.wordpress.org/ so that at least the issue is logged.
December 6, 2015 at 11:41 am #247453In reply to: I don’t understand the template files
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.
December 5, 2015 at 1:03 pm #247441In reply to: Save Button Not Showing?
@mercime
ParticipantI have published blank Register and Activate page on my site but I keep getting the error message?
@beginner3 If you have enabled registration again, then go wp-admin menu Settings > BuddyPress and click on the “Pages” tab, and in the Registration and Activate section, choose the blank pages you created and associate each with respective functions per
December 5, 2015 at 9:03 am #247434In reply to: I don’t understand the template files
Lovemonk
ParticipantI 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.
December 5, 2015 at 8:59 am #247433In reply to: I don’t understand the template files
Joshua Blevins
ParticipantI guess I didn’t have the answer. Can someone seriously help me out? There are no notes on this anywhere on google and I don’t see it on the site or on github. I’m about to give up on buddypress.
December 5, 2015 at 3:50 am #247428In reply to: I don’t understand the template files
Joshua Blevins
ParticipantI 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.
December 5, 2015 at 3:21 am #247427In reply to: I don’t understand the template files
Joshua Blevins
ParticipantSo 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?
December 4, 2015 at 10:55 pm #247426In reply to: Error Activate|Register
shanebp
ModeratorClosed – Please do not create duplicate topics.
Link to your existing thread:
https://buddypress.org/support/topic/save-button-not-showing/December 4, 2015 at 10:51 pm #247424In reply to: Change Message Email Subject
shanebp
ModeratorThere is no such filter hook as
messages_notification_new_message
.There is an email_subject filter hook:
$email_subject = apply_filters( 'messages_notification_new_message_subject', $email_subject, $sender_name, $ud );
But as you can see, the variables passed do not include the message subject.So, I don’t see a way to do what you want.
There is an enhancement ticket in the works
https://buddypress.trac.wordpress.org/ticket/6460
It might expose the fields you need.You aren’t alone in asking for a different filtering system:
https://buddypress.trac.wordpress.org/ticket/6460 -
AuthorSearch Results