Search Results for 'buddypress'
-
AuthorSearch Results
-
August 1, 2017 at 8:28 pm #267337
In 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:39 pm #267333Topic: Change Group-Creation URL’s
in forum How-to & Troubleshootingtnrfx
ParticipantHi there,
We are currently working on a brand new website for our eSports community.
This requires some customizations to BuddyPress. We are currently renaming rverything related to BuddyPress ‘Groups’ to ‘Teams and ‘Members’ to ‘Players’.
Now this worked for almost everything, besides of the group creation URLs.
e.g. …/step/group-details/ -> …/step/team-details/Does anybody know how we can manage to fix the URL-Renaming issue?
Thank you very much for your help!
Best regards,
Timothy ‘TNRFX’ RossAugust 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
August 1, 2017 at 5:50 am #267321In reply to: Register Button Redirecting to Home Page
vecturn
ParticipantIf I don’t get a response I’m just giving up on Buddypress and moving over to the alternative Peepso
July 30, 2017 at 7:46 pm #267299In reply to: Help! Some members can’t upload avatars
scorpnetwork
ParticipantI now found this thread which seems to be the source of my problem.
https://buddypress.org/support/topic/only-administrator-can-change-avatar/Trying it out now. Sadly its closed and even sadder, there is no “solution”.
If this thread is correct, then the problem occurs because of a redirect that forbids “regular users” to enter WP Admin.
Does anybody have a solution for this?
July 29, 2017 at 12:29 pm #267286In reply to: How To Get Plaintext Multiline Field?
margarit0
ParticipantThank you very much.
I have installed the plugin from this link:
http://donmik.com/en/how-to-disable-richtext-editor-for-textarea-buddypress-field-type/then I can disabled the rich-text from the backend, but if I am conected like a user I can not see the change I am seeing a rich-text not a plain-text like when I am log in as the admin.
I have remove the cookies, but the problem persists.
I need to install also the plugin of this othe rlink?:
https://github.com/donmik/bp-xprofile-custom-textarea/releases/tag/0.1.1I only want plain text for buddypress user profiles.
Best regards
Margarita
July 29, 2017 at 11:54 am #267285In reply to: Get activity item title – best option
Shmoo
ParticipantNo I’m busy focussing on the bbPress items for starters, topics and replies as of now.
I have disabled all activity_items to the stream by default except topics and replies. I want to add more items but one at a time and controlled. A BuddyPress site can become overkill feature wise very fast because everything is so connected and relative with each other.
Topics and replies in the stream.
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 28, 2017 at 11:08 am #267244In reply to: Issue With YITH Frontend Manager Plugin
Andrea Grillo
ParticipantHi again,
this is the last answer from my customer:Hi Andrea,
i deactivate all my plugins except BuddyPress, WooCommerce, YITH Frontend Manager for WooCommerce Premium and YITH WooCommerce Multi Vendor Premium, and i remove my theme’s functions.php and bp-custom.php ( the buddypress file customisation ) but i have the same issue, the probleme disappears only when i deactivate YITH Frontend Manager for WooCommerce Premium.
Watch the video to understund.
i think it’s an ajax issue ,the problem occurs when i’m in buddypress page and I click on a button that requires ajax, only when i’m connected with vendro account.
http://recordit.co/ncfABt1ErP
in the 2nd video yith frontend manager is deactivatedhttp://recordit.co/97vyc8reeI
in the 3rd video it’s in my local environment with an other themeI hope this has helped you
have a good night
AhmedDo you have another idea ? I have tried to replicate the issue but without success, if you want I can send a copy of our plugins…probably you understand how replicate this issue.
Let me know.
ThanksHave a nice day
AGJuly 28, 2017 at 12:30 am #267240Eric Thomas Weber
ParticipantHi! I did follow the documentation. You’re right that those two pages work. Both of those pages use a certain template within the theme. That template uses a full-width page, without the sidebar and search bar that are on other pages. I’ve a few things to see what can remedy the matter:
1) Yes, I switched to a different template to test, and yes, on the 2016 template, BP works, so I don’t need to reinstall BP or get it working on its own. That part is working. I didn’t realize I’d have to reset all of my widgets and stuff. Fortunately, they weren’t deleted… Got those set up again.
2) I tried making all other relevant pages, creating pages for the stuff that BP uses, and setting each of those to use the template that works for Activity, Members, and Chapters. That didn’t work, though.
3) I tried creating a Custom CSS entry that uses the .buddypress class, telling it to use full-width for #primary. That made the page use full-width, but it didn’t make the functionality of BP work… Like on this page:
https://www.philosophersinamerica.com/chapters/create/step/group-details/Please help! I’ve reached out to my theme’s creator – and there’s no changing to a different theme. We’re super committed and it works really well for everything else, and he’s had no experience using BuddyPress. I need help! This is just the plugin I’ve been looking for to help my people create groups that they need to manage.
It seems to me that if we’re able to get some of the pages to work there’s GOT to be a way to get other relevant pages to use whatever that same setting is to work also. Any help would be hugely appreciated.
Best,Eric
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:44 pm #267234shanebp
ModeratorSome BP pages load as expected:
http://www.philosophersinamerica.com/activity/
http://www.philosophersinamerica.com/members/Did you follow the documentation?
To determine if the issue is related to your theme, try switching momentarily to a WP theme like 2016 and see if the issues persist.
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 5:33 pm #267209In reply to: Allow Underscores in Username
livingflame
ParticipantJuly 25, 2017 at 3:33 pm #267208In reply to: jQuery-cookie upgrade to js-cookie
r-a-y
KeymasterAlready reported.
July 23, 2017 at 6:54 pm #267165In reply to: Warning: Illegal string offset ‘slug’
Henry Wright
ModeratorWhat code do you have at line 102 in themes/buddyapp/lib/plugins/buddypress/navigation-icons.php?
July 23, 2017 at 10:07 am #267157In reply to: Change member URL on members directory page?
wzshop
ParticipantOk found that you can just create a child template for /buddypress/members/members-loop.php
July 21, 2017 at 10:35 pm #267145In reply to: Conditional redirect for non-logged in users
porcusheep
ParticipantI got it working! Thank you so much for you help Henry.
I ended up modifying the code I found in this post: https://buddypress.org/support/topic/hiding-groups-activity-members-list-to-non-members/Ran into some issues as bp_is_page( BP_MEMBERS_SLUG ) is no longer working, replaced it with your bp_is_members_directory()
Then had to figure out why bp_is_page() doesn’t work, found it is replaced with is_page()
After, some figuring out how to use is_page(), I got everything working with the code below:
function nonreg_visitor_redirect() { global $bp; if (is_page('alchemist-top-250-companies') ) { if(!is_user_logged_in()) { wp_redirect('/stillneedtosetupage' ); } } if (bp_is_members_directory() ) { if(!is_user_logged_in()) { wp_redirect('/register' ); } } } add_filter('get_header','nonreg_visitor_redirect',1);July 21, 2017 at 7:14 pm #267141In reply to: Conditional redirect for non-logged in users
Henry Wright
ModeratorThe code should go in your bp-custom.php file.
Ref https://codex.buddypress.org/themes/bp-custom-php/
That looks like it would work for my members directory but what about doing this for a conditional redirect for a specific post page?
Which post page are you referring to?
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:45 pm #267130In reply to: Show members list in private group
bambidotexe
ParticipantI found a workaround, I’am quite not completely satisfied but…
First of all, disable members list on group:
function change_access_group_nav_tabs() { if(bp_is_group()) { buddypress()->groups->nav->edit_nav( array( 'user_has_access' => false ), 'members', bp_current_item() ); } } add_action( 'bp_actions', 'change_access_group_nav_tabs' );(btw, setting the value to true actually make the the nav items always here, but we still can’t access the group list on click)
And then I simply add a custom BP Group Extension to make my own members list:
class Group_Extension_List_Members extends BP_Group_Extension { /** * Here you can see more customization of the config options */ function __construct() { $args = array( 'slug' => 'members-list', 'name' => 'Membres', 'access' => array( 'anyone'), 'show_tab' => array( 'anyone'), 'nav_item_position' => 12, 'screens' => array( 'create' => array( 'enabled' => false ), 'edit' => array( 'enabled' => false ), ) ); parent::init( $args ); } function display( $group_id = NULL ) { //Remove user who do not belong to the group on members loop function filter_for_groups( $members_template_has_members, $members_template, $r ) { for ($i=sizeof($members_template->members)-1; $i >= 0 ; $i--) { $user_id = $members_template->members[$i]->id; if(!groups_is_user_member( $user_id, bp_get_group_id() )){ $members_template->member_count = $members_template->member_count-1; array_splice($members_template->members, $i, 1); } } if ($members_template->member_count <= 0) { return ''; } else { return $members_template_has_members; } }; add_filter( 'bp_has_members', 'filter_for_groups', 10, 3 ); require('/Your/theme/custom/members/loop/members-loop.php'); } } bp_register_group_extension( 'Group_Extension_List_Members' );Hope it will help other in the future, And I’m still open to know the good way to proceed.
July 21, 2017 at 9:41 am #267124In reply to: Error Call to undefined function dbDelta ()
emmanuel123
ParticipantHi.
After I installed. When I log into the admin page. I get the message: “Fatal error: Call to undefined function dbDelta () in wp-content / plugins / BuddyPress / bp-core / admin / bp-core-admin-schema.php on line 159″How do I do to fix this?.
We wish everyone help -
AuthorSearch Results