Search Results for 'wordpress'
-
AuthorSearch Results
-
August 9, 2017 at 11:11 pm #267462
In reply to: Profile & Group Crop Avatar Issue
r-a-y
KeymasterCannot duplicate this.
You might have a javascript conflict.
Try disabling all plugins except BuddyPress and try again. If it works, then it’s a plugin conflict somewhere. If you’re running a custom theme that has purported BuddyPress support, also switch to a default WordPress theme.
August 9, 2017 at 4:04 pm #267452r-a-y
KeymasterWhat is the “latest buddypress version” for you?
If you were using v2.9.0, then the patch I linked to should apply cleanly. There should be no changes between your copy of
/bp-core/bp-core-avatars.phpand v2.9’s/bp-core/bp-core-avatars.php.If your version is v2.9.0, then I would recommend re-installing BuddyPress from the wordpress.org plugins repository.
August 9, 2017 at 11:26 am #267445vgvidscom
ParticipantHi,
I’m running latest buddypress version and WordPress version: 4.8.1
August 8, 2017 at 12:13 pm #267430In reply to: shortcode [bbp-topic-index]
abernreiter
Participant
August 8, 2017 at 7:46 am #267428vgvidscom
ParticipantDear R-a-Y,
Thank you for the quick reply.
I don’t understand the first part of your reply. If I follow the link you’ve provided, I see I have to add the following code:
https://buddypress.trac.wordpress.org/attachment/ticket/7578/7578.01.patch
I have to add this code in: wp-content/plugins/buddypress/bp-core/bp-core-avatars.php.
However, the link you’ve provided with the code that I have to place between the lines 1402 and 1403, does not match with what I see when searching for that spot in bp-core-avatars.php. See the following image to see what I mean:
The second part of your question: pasting the following code in functions.php:
// Replace BP’s avatar override filter at a higher priority:
remove_filter( ‘get_avatar_url’, ‘bp_core_get_avatar_data_url_filter’, 10 );
add_filter( ‘get_avatar_url’, ‘bp_core_get_avatar_data_url_filter’, 99, 3 );–> seems not to do the trick. I pasted the code in my child theme functions.php
The other option: pasting it in wp-content/plugins/bp-custom.php I was not able to do, because I cannot find bp-custom.php. Not in plugins, and also not in the Buddypress plugin folder. What do you mean with this or where can I find it?
Hopefully you can help me out, thanks.
August 7, 2017 at 5:33 pm #267416In reply to: Users cant create groups
eyedraw
Participantdifferent problem, but was told to post here:
When I try to create a group, I get to an error page (unlike you, I see the button). I figured there might be a problem with the link (It links to /groups/create).
I though it might be a problem with my permalinks, so I tried to update them, but nothing happens. Also, creation of new emails, for example, work without problems.
I installed the plugin as usual through the wordpress plugin directory. Im running buddyPress 2.9.0 and Worpress 4.8.1August 7, 2017 at 1:21 pm #267410In reply to: how to install buddy press for php website
Henry Wright
ModeratorThis is more of a WordPress question than something specific to BuddyPress. Try asking here https://wordpress.org/support/
August 6, 2017 at 4:39 am #267404In reply to: All WP comments displaying on BP pages
Oliver de la Rosa
ParticipantHi! This evening I had the same problem about comments in BuddyPress. It took me a couple of hours to find the solution, but was in part thanks to this forum that I could do it. I wrote a post joining all the solutions that I found and applied together. I hope that you considerate this usefull, the post is this: Cómo evitar que se muestren todos los comentarios de WordPress en las páginas de BuddyPress. Thank you for this amazing forum.
¡Hola! Esta tarde tuve este mismo problema acerca de los comentarios en BuddyPress. Me llevó algunas horas dar con la solución, pero en parte gracias a este foro pude hacerlo. Escribí un artículo recopilando todas las soluciones que encontré y fuí aplicando. Espero que les sirva, el artículo es este: Cómo evitar que se muestren todos los comentarios de WordPress en las páginas de BuddyPress. Gracias por este maravilloso foro.
August 3, 2017 at 6:15 pm #267374In reply to: Buddypress avatars are blurry for post authors
r-a-y
KeymasterThanks for the report.
If you are able to, can you see if the following will fix your problem?
https://buddypress.trac.wordpress.org/attachment/ticket/7578/7578.01.patchAugust 2, 2017 at 3:45 pm #267352In reply to: Latest Stable Version
Henry Wright
Moderator2.9 is the latest stable version. You can download here: https://wordpress.org/plugins/buddypress/
August 2, 2017 at 3:44 pm #267351In reply to: Latest Stable Version
Henry Wright
Moderator2.9 is the latest stable version. You can download here: https://wordpress.org/plugins/buddypress/
August 1, 2017 at 8:28 pm #267337In reply to: 2.9 Group description turncoated
r-a-y
KeymasterI’ve added a potential fix for this here:
https://buddypress.trac.wordpress.org/attachment/ticket/7577/7577.01.patchLet me know when you’ve had a chance to test.
August 1, 2017 at 7:57 pm #267336In reply to: 2.9 Group description turncoated
r-a-y
KeymasterThanks for the report. I’ve created a ticket here to track its progress:
https://buddypress.trac.wordpress.org/ticket/7577August 1, 2017 at 6:11 pm #267331In reply to: 2.9 Group description turncoated
Joost abrahams
Participant1. Which version of WordPress are you running?
4.8
2. Did you install WordPress as a directory or subdomain install?
directory
3. If a directory install, is it in root or in a subdirectory?
root
4. Did you upgrade from a previous version of WordPress? If so, from which version?
No
5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
Yes
6. Which version of BP are you running?
2.9
7. Did you upgraded from a previous version of BP? If so, from which version?
2.8.2
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
Ban Hammer: 2.6
bbPress: 2.6-rc-3
BP Blog Author Profile Link: 2.8.1
BP Idea Stream: 1.0.1
BP XProfile WordPress User Sync: 0.6.4
BuddyDrive: 2.1.1
BuddyPress: 2.9.0
BuddyPress Docs: 1.9.4
BuddyPress Edit Activity: 1.0.8
BuddyPress Groups Extras: 3.6.9.1
Co-Authors Plus: 3.2.2
Jetpack by WordPress.com: 5.1
JetPack Non-Admin Removal: 3.0
Login Site Icon: 1.0
Mantablog bp register text: 0.1
Mantablog bp remove rss: 0.1
Mantablog Custom Profile: 0.1
Mantablog meta desc homepage: 0.1
MediaPress: 1.1.6
Registration Honeypot: 1.1.0-alpha-1
SEO – Remove H1: 1.0.2
TablePress: 1.8
TinyMCE Advanced: 4.6.3
WP Idea Stream: 2.4.0
WP Revisions Control: 1.2.1
WP Sitemap Page: 1.69. Are you using the standard WordPress theme or customized theme?
standard WordPress theme
10. Which theme do you use ?
Generatepress
11. Have you modified the core files in any way?
No
12. Do you have any custom functions in bp-custom.php?
No
13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
2.6rc3
14. Please provide a list of any errors in your server’s log files.
15. Which company provides your hosting?
16. Is your server running Windows, or if Linux; Apache, nginx or something else?
Linux; Apache
July 31, 2017 at 3:06 pm #267309In reply to: Help! Some members can’t upload avatars
shanebp
ModeratorYou could replace this:
($_SERVER['PHP_SELF'] != '/wp-admin/admin-ajax.php')With this:
! wp_doing_ajax()July 29, 2017 at 3:57 pm #267288In reply to: How To Get Plaintext Multiline Field?
margarit0
ParticipantI am using the plugin “TinyMCE Advanced” for wordpress pots, maybe it makes the error, but I need it for wordpress posts.
July 28, 2017 at 6:04 pm #267248r-a-y
KeymasterThis has been filed as a bug, but was too late to make v2.9:
https://buddypress.trac.wordpress.org/ticket/7569There is a patch attached with a fix if you want to fix this temporarily.
July 27, 2017 at 10:25 pm #267239In reply to: Get activity item title – best option
Henry Wright
ModeratorI just don’t know what impact this will have on overal performance when I go wish in other tables for content.
It depends. WordPress and BuddyPress do a great job when it comes to optimising queries but there are things that will cause a big site to simply fall over (the meta_value column isn’t indexed for example so meta querying could be problematic).
July 27, 2017 at 1:37 pm #267233In reply to: Is there a way to completely disable registering?
shanebp
ModeratorYou can turn off registration.
Head over to Settings » General page in your WordPress admin area. Scroll down to the ‘Membership’ section and uncheck the box next to ‘Anyone can register’ option.July 27, 2017 at 8:49 am #267230In reply to: Get activity item title – best option
Henry Wright
Moderatorget_post()will get a WordPress post from the wp_posts table. This is different to a BuddyPress activity item which is stored in the wp_bp_activity table.July 26, 2017 at 11:58 am #267221In reply to: Allow Underscores in Username
livingflame
ParticipantTry with this:
function tubs_sanitize_user($username, $raw_username, $strict) { $new_username = strip_tags($raw_username); // Kill octets $new_username = preg_replace('|%([a-fA-F0-9][a-fA-F0-9])|', '', $new_username); $new_username = preg_replace('/&.?;/', '', $new_username); // Kill entities // If strict, reduce to ASCII for max portability. if ( $strict ) $new_username = preg_replace('|[^a-z0-9 _.\-@+]|i', '', $new_username); return $new_username; } add_filter( 'sanitize_user', 'tubs_sanitize_user', 10, 3);Or try with this:
// Force Strong Username function strong_username() { global $bp; if ( !empty( $_POST['signup_username'] ) ) if ( !valid_username( $_POST['signup_username'] ) ){ $bp->signup->errors['signup_username'] = __( 'Your username is not strong enough. Use uppercase, lowercase, numbers and special chars like - _', 'bp-strong-username-password', 'buddypress' ); } } add_action( 'bp_signup_validate', 'strong_username'); function valid_username($candidate) { $r1='/[A-Z]/'; //Uppercase $r2='/[a-z]/'; //lowercase $r3='/[0-9]/'; //numbers $r4='/[-_]/'; //Special chars, underscore... if(preg_match_all($r1,$candidate, $o)<1) return FALSE; if(preg_match_all($r2,$candidate, $o)<1) return FALSE; if(preg_match_all($r3,$candidate, $o)<1) return FALSE; if(preg_match_all($r4,$candidate, $o)<1) return FALSE; if(strlen($candidate)<6) return FALSE; return TRUE; }July 25, 2017 at 6:58 pm #267211In reply to: Help with this code
Henry Wright
Moderatoris_user_logged_in()is a WordPress function. It’ll returntrueif the user is authenticated andfalseif not.bp_loggedin_user_id()will return the ID of the BuddyPress member currently logged in.The two functions are different.
July 25, 2017 at 3:33 pm #267208In reply to: jQuery-cookie upgrade to js-cookie
r-a-y
KeymasterAlready reported.
July 24, 2017 at 12:14 am #267170antelam
Participant<form action=”” name=”signup_form” id=”signup_form” class=”standard-form”
when I remove the class standard-form in the inspect element/console/DOM Explorer of IEI can then add text to the fields.
I was also able to submit the FORM successfully.Im not sure how to solve though as I am not a PHP developer and I don’t know how to navigate wordpress files since I am new to wordpress.
Please help THanks.
July 21, 2017 at 9:24 pm #267144In reply to: Conditional redirect for non-logged in users
Henry Wright
ModeratorIs https://www.example.com/example/ a WordPress page? If it is you can target it with
if ( is_page( 'example' ) ) { // Do something. }Also, I just added the code below and I can still access the members directory when not logged in
Where did you add the snippet? The code should work.
-
AuthorSearch Results

