Search Results for 'wordpress'
-
AuthorSearch Results
-
July 31, 2017 at 3:06 pm #267309
In 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.
July 21, 2017 at 4:13 pm #267132In reply to: Issue With YITH Frontend Manager Plugin
Henry Wright
ModeratorOr you can try to access to some page in WordPress admin area (e.g.: with an ajax call) ?
BuddyPress doesn’t do this by default. Considering you can’t reproduce, I expect the client is using custom code that’s causing the problem (either in their functions.php file, bp-custom.php file or in an activated plugin). Check those 3 locations on your client’s site for anything strange.
July 21, 2017 at 1:37 pm #267129In reply to: Can´t upload avatars and proflie covers on ios
magland
ParticipantJust to add something further I think this is specifically an issue with Safari. Just tried chrome on my iphone and it works ok. Several other people reporting the problem on the iphone and they are also using Safari.
However, the default WordPress media uploader does work in Safari.
July 21, 2017 at 12:08 pm #267127In reply to: Issue With YITH Frontend Manager Plugin
Andrea Grillo
ParticipantHi,
no I’m not. I think….I have an option to prevent Shop Manager view WordPress backend, probably you use some backend action ? Or you can try to access to some page in WordPress admin area (e.g.: with an ajax call) ?
Let me know.
thanks for your help.Have a nice day
AndreaJuly 19, 2017 at 8:24 am #267099Hugo64
ParticipantHi @johnriggs78,
Thank you for your answer.
Let me precise my message: If I install the 2.8. version and above, the install will be done, and the main site will run, but not the subsites with Error 500.
This is also the case with only buddypress activated in my wordpress, which shows it is a problem of Buddypress plugin.
Best,Hugo
July 18, 2017 at 2:32 pm #267083In reply to: Creating a group by activity post
brucelewis55
ParticipantHI, we have worked on some add ons in buddypress.
July 16, 2017 at 7:26 pm #267057thelovebridges
ParticipantWordPress 4.8
BuddyPress 2.8.2July 15, 2017 at 8:26 am #267030In reply to: Fatal error
Hugo Ashmore
ParticipantThis has been opened as a trac ticket:
https://buddypress.trac.wordpress.org/ticket/7570
@jaeyholic can you provide the details requested there, thanks.July 13, 2017 at 8:35 pm #267000In reply to: Notifications
Henry Wright
ModeratorI’m not sure there is something available. Try searching through the list of plugins at wordpress.org
July 13, 2017 at 3:27 pm #266994Yanur Islam Piash
ParticipantI figured out the problem was not with Buddypress. This article provides a solution
July 12, 2017 at 4:12 pm #266968In reply to: Change Cover Image upload form is missing
r-a-y
KeymasterWordPress is on 4.8, not 4.9 unless you are using the development branch.
Can you try switching your theme to see if that fixes your issue? Also could be caused by a plugin conflict. You can also check your browser’s JS console to see what pops up.
July 12, 2017 at 11:19 am #266961In reply to: Cropping profile image broken
enacta2
ParticipantSo I tried to post this last night:
Please try to supply answers to the following questions.
1. Which version of WordPress are you running?
4.82. Did you install WordPress as a directory or subdomain install?
Directory3. If a directory install, is it in root or in a subdirectory?
Root4. Did you upgrade from a previous version of WordPress? If so, from which version?
Upgrade, but upgrading isn’t linked to this issue5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
Yes6. Which version of BP are you running?
2.8.27. Did you upgraded from a previous version of BP? If so, from which version?
No8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
Yes, many. But they don’t seem to be linked to this issue9. Are you using the standard WordPress theme or customized theme?
Customized theme10. Which theme do you use ?
WeChange by Curly Themes11. Have you modified the core files in any way?
Yes. Functions.php for WYSIWYG editor for bbPress12. Do you have any custom functions in bp-custom.php?
No13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
2.6-rc-3 because I have PHP 7.1.6 running14. Please provide a list of any errors in your server’s log files.
There are no errors15. Which company provides your hosting?
SiteGround16. Is your server running Windows, or if Linux; Apache, nginx or something else?
nginixJuly 12, 2017 at 9:47 am #266959In reply to: Buddypress on Multisite issue
Christian Wach
ParticipantBy default BuddyPress operates across sites in a multisite/multinetwork context. You’ll need to look at one of these plugins depending on your requirements:
July 9, 2017 at 8:15 pm #266918In reply to: Share option for buddypress activity and group posts
Sanket Parmar
ParticipantHi @rafiamudasar,
You can try wordpress.org/plugins/bp-activity-share/, this plugin shares activity locally like FB does.
Let me know if it helps you 🙂
July 8, 2017 at 4:25 pm #266902jamesdoherty1708
ParticipantHi, thanks for getting back to me so quickly @henrywright,
sorry if this is a really dumb question, but do i need to be using ftp to do that?
right now i’m editing through my child theme’s function.php section in the wordpress.org theme editor.I’ve tried making a members-loop.php section in my child theme to edit the do_action( ‘bp_directory_members_item’ ); but it doesnt seem to be updating on to the site,
Thanks again, James. -
AuthorSearch Results