I would perhaps wait, the proposed and committed patch was re-written by a later one reverting the change due to other issues arising from first.
For reference the green line is the addition or changed line and the red the removed or original version:
https://buddypress.trac.wordpress.org/changeset/6724
@supernaturalbrews they’re working on it https://buddypress.trac.wordpress.org/ticket/4771 you can apply patch noted there in the meantime.
Revisiting this thread with a new issue!
My function has been working well, except I’ve recently discovered a small flaw: if an administrator deletes a user, then the user receives an email informing him or her that his activity has been removed for each and every thing he or she has ever posted! For a prolific user, that could be hundreds or thousands of emails. Not good!
This is by virtue of the user-delete process — it appears as though BuddyPress deletes each activity individually, and then WordPress deletes the user account.
For reference, my function is:
`function pa_send_notification_email( $args ) {
// If current user deletes his/her own activity, do nothing
// otherwise construct and send email
if ($args[‘user_id’] != bp_loggedin_user_id()) {
$ud = get_userdata($args[‘user_id’]);
$to = $ud->user_email;
// Build the message
if (($to) && ($to != ”)) {
$subject = ‘Your post has been removed’;
$message = ‘A moderator has removed your post. If you want to know why, please forward this message to the moderation team.
‘;
$message .= ‘Removed content:
‘;
global $wpdb;
$message .= wpautop( $wpdb->get_var( $wpdb->prepare( “SELECT content FROM “.$wpdb->prefix.”bp_activity WHERE id = %d;”, $args[‘id’] ) ) );
$message .= ”;
//Send email
wp_mail($to, $subject, $message, ‘content-type: text/html’ );
}
}
}
add_action( ‘bp_before_activity_delete’, ‘pa_send_notification_email’);`
So what I think I need is an extra check in my function, to make sure we are not about to delete the user. I’ve thought about a secondary function to hook into the `delete_user` action to set a global variable, and then checking for this variable in my `pa_send_notification_email()` function.
But I am not sure how to go about this. Does anyone have any thoughts?
@bphelp You’re welcome. Are you referring to this Simplify theme? https://wordpress.org/extend/themes/simplify If so, might I suggest posting at theme author’s support forum at https://wordpress.org/support/theme/simplify and ask if he/she could take the time to resolve it so that more people may be able use the theme with BuddyPress.
@supernaturalbrews BP 1.7 beta 1 does work with all themes unless the theme author rewrites the templating system to his/her proprietary method.
Having said that, I just checked out and installed https://wordpress.org/extend/themes/triton-lite in test installation and it’s aligned and working out beautifully. It’s definitely not what you have in your site right now.
I suspect that at one time or another, you used the BP Template Pack plugin and had transferred BP template folders during the Appearance > BP Compatibility process. Make a backup of your theme folder in server, then in Appearance > Themes, delete the whole folder and install a clean download of the Triton Lite theme.
@monray67 Please post your support question at plugin author’s forum at https://wordpress.org/support/plugin/buddypress-sliding-login-panel Check out the threads for possible solutions offered by other users there.
1. spam messages!
I really like this plugin for managing spam registrations and comments:
https://wordpress.org/extend/plugins/stop-spammer-registrations-plugin/
Signing up for an Akismet key will also help with spam comments, as would requiring someone to create an account and login before doing so (in Settings: Discussion).
2. am using bp on my 3rd blog. somehow users can not delete theirβs account.
You can enable this in: Settings: BuddyPress: Settings (tab): Allow registered members to delete their own accounts
@djpaul not sure if i am high jacking this thread but can you please confirm, in my group forums when i click on subscribe or add to favorite i get redirected to the groups page when i use the buddypress theme. When i use canvas woo theme or any other themeforest theme i get 404 error for the same action.
I expect to stay on the forum thread even after i click subscribe or add to favorite ….is this a bug in 1.7 and yes i see the same behavior of redirecting to groups page in 1.6.4 too. I am using latest version of bbpress and wordpress
@pixelscode If you want a Multisite installation, you need to create a network – https://codex.wordpress.org/Create_A_Network
Please make sure you’ve got your multisite installation working first before you install BuddyPress – https://codex.buddypress.org/user/before-installing/
If you have any issues with your multisite install, resolve it first at https://wordpress.org/support/forum/multisite
Right, short of employing a NASA scientist or digging up Einstein and Sir Isaac Newton and merging both of their DNA strands into a super gene and cloning that and waiting 18 years for them to mature into one of the greatest minds ever developed – how on god’s earth do I do this???
π
There doesn’t seem to be a simple clear way of doing this. I’m not a developer, I am a front-end designer. I can write html/css, and I can wireframe the hell out of an application, but putting that into practice with some elements of WordPress are sending me around the twist.
I’m not angry or irate I just think it would benefit the planet if there was some kind of clear method on how do do this. Step by step instructions.
Explain it to me like I am not of this blue planet.
If this can work for me, the ripple effect will be felt all over the world, and we can all relax, smoke a pipe, enjoy some salty pork and smile. π
Still having problems with this.
i made a new wordpress site to try get it going, but same issues.
to note, im using wamp and my rewrite module is on and working.
1. changed permalinks to day and name.
2. i install buddy press with default settings
[IMG]http://i.imgur.com/d0rBOL7.png[/IMG]
[IMG]http://i.imgur.com/viU2G03.png[/IMG]
3. installation run to the end with no problem
4. view the page and all the pages break
-changing the permalinks to default or using custom to add index.php fixes those pages
but buddy presses features wont work then.
[IMG]http://i.imgur.com/8zH9Vi7.png[/IMG]
the normal navigation menu works (default or custom permalinks)
[IMG]http://i.imgur.com/ko6p2sa.png[/IMG]
everything from the drop down menu does not.
[IMG]http://i.imgur.com/rJn1IwT.png[/IMG]
[IMG]http://i.imgur.com/l6bP3vS.png[/IMG]
looked at the codex for help on permalinks but im just not understanding it or just cannot get it working.
Anonymous User 7600456Inactive
Hooray! I worked it out in the end.
Here is how I did it:
1, If you don’t already have one create a blank page in ‘/wp-content/plugins’ called bp-custom.php (see this page for more info)
2, Paste this code into bp-custom.php: http://pastebin.com/Sk56iQQU
For reference these are the pages that helped me work it out:
https://buddypress.trac.wordpress.org/ticket/4784
https://buddypress.trac.wordpress.org/ticket/4106
https://codex.buddypress.org/developer/customizing/bp-custom-php/
Edit: I can’t get the ‘code’ tags to work. I have put it in a pastebin. Mods feel free to edit this to work and delete this note and the link to pastebin.
I have the same problem on the same setup and have conducted the same test.
Here’s a link to a ticket about this
https://buddypress.trac.wordpress.org/ticket/4801
I thought it was a problem with W3TC as this has had some instabilities over the last few releases, but not so.
I suspect that the cause of this is also the cause of Activity stream updates not working on my site.
Pretty frustrating!
Can’t help but wonder if this has something to do with the ajax hardening introduced in 1.6.4 as mentioned in the release announcement
https://buddypress.org/support/topic/buddypress-1-6-4-released/
Am sooo looking forward to 1.7 π
Cheers
Mort3n
I know how to install buddypress, Ijust need help on finding out what happen to my forums and all the topics that was there. All of a sudden I get that error that I mention. I did reinstalled both buddypress and wordpress, but that did not fix the problem.
It was 1.6.4 and updated within WordPress, not FTP.
@akgt plugins are tagged “buddypress” and/or “bbpress” in WP plugins repo. Just watch out for the compatibility of the plugins with WP/BP/bbP versions
BuddyPress – https://wordpress.org/extend/plugins/search.php?q=buddypress
bbPress – https://wordpress.org/extend/plugins/search.php?q=bbPress
Hi Miguel,
The problem is google is still looking for the old urls.
When moving a site from one platform to another, the best practice is to use 301 redirect for the old urls(if possible).
Since you have changed the platform to WordPress, I will suggest submitting the google sitemap(there exists some plugin for creating sitemap), that should atleast help in indexing the pages.
I don’t have much experience with SEO, so I hope someone with better understanding of seo guides you here π
Dear BuddyPress,
Thanks for the GREAT plugin. I installed it from Trunk on 2/12/2103.
I’ve been playing with it and have decided i need to downgrade because i am beginning to get some traffic on my site. So i have 4 questions:
1. To what version should i downgrade? 1.7Beta, 1.6.4?
2. I am pretty new to WordPress although I have been a software developer for a long time. How do i do a downgrade of this plugin?
3. Do I have to delete dependent plugins like buddypress-docs?
4. Are there database implications?
Hi Brajesh,
the site site is in http://obidosaeroclube.com.
I’ve received in my GWT a bunch of 404 errors with that link structure.
This airfield site was previously made in another platform diferent from WordPress and with another domain. Once that the new site got ready I’ve asked the previous site webmaster to make a redirection from the old domain to the new and delete the old site. So he did it.
After reading you, I guess the redirection made by the old site webmaster is causing this.
I don’t find another fix for this than block at robots.txt – Disallow: /terms.asp?
What do you think ?
Thanks in advance
The url does not seem to be a valid url from WordPress.
WordPress does not uses mDate in query string.
btw, have you changed your permalink to look like .asp files?
for some reason my forums directory not showing up
i get this error(Sorry, there were no forum topics found.) i have lots of groups on my site and all of them are open not private, Also when i try to create a new topic I get There was an error when creating the topic, I did a fresh clean of buddypress and wordpress. It does it for all my sites.
Version:WordPress 3.5.1. – BuddyPress 1.6.4
Website: http://gossipmoms.info
Multisite
Hi, I have promoted a member as admin of the group.The promoted admin can delete the activity, but not able to delete the activity reply inside the group.
I have disabled every plugin and re-installed the buddypress 1.6.4 and using wordpress 3.5.1, using default buddypress theme.
How can i solve this issue, is that a core buddypress bug!! Any suggestion would be very helpful.
Thank you.
I hear what your saying but as I indicated above Yoast wants support to go through the WordPress site and nobody there has responded. https://yoast.com/contact/
Also the more and more I am looking at how Joomla has advanced over the past two years and especially http://www.jomsocial.com/ there does not even seem to even a tad of comparison in features or technology. Even the responsive themes are dynamite in contrast. I must admit Joomla two years ago was week in the theme, seo and plugin and core updates updating from within admin. Clearly these guys have been hard at work. Not the case anymore.
Joomla plugins where always much higher end in terms of features and functionality. One of the reasons I can over to WordPress was I liked the ease of SEO, themes were better at the time, and also I liked having the ability upgrade things from within the admin as apposed to FTP. Not the case now.
I am still evaluating but from what I am seeing on the early look its probably going to be complete change over to Joomla with Jomsocial.