Search Results for 'buddypress'
-
AuthorSearch Results
-
February 20, 2016 at 8:52 am #250100
In reply to: Notes Empty
danbp
ParticipantHi,
i have several installs in french without any error at this level, so it’s difficult to tell you what’s going wrong for you.
If you have a local install, i would suggest
1) make a new test site and activate Twenty Thirteen or Fourteen. There should be only one user (you, as admin) at this stage. Once installed and workink, create a new user within admin, with subscriber status.
2) upload a new copy of BuddyPress and bbPress and add Bp Default Data plugin, with all data options enabled.
3) use WordPress in english for a first try. If ok, set it to french and re-testFebruary 20, 2016 at 12:20 am #250096In reply to: Notes Empty
aerostar1974
ParticipantHi,
I have enabled Options de Notifications (In Settings/Buddypress/Components, all is enabled, in Settings all is enabled except “Enable group creation for all users”)
I haven’t touch anything in bp-custom or theme-functions, and more, i have tried the web site with many differents Themes, and with no plugin exept buddypress, and always the same problem.
I have tried in english, and i have the same problem.
February 19, 2016 at 9:46 pm #250093In reply to: Hold Specific Member Types for Manual Activation
Andrew Tibbetts
ParticipantSolution:
There is an action to hook to inside
bp_core_activate_signup()that fires right after activating the account ( user clicked the link in the email ), so when the user hits/activatethis will fire and reset the user_status to3(1is spammer I guess ). Now to figure out the rest…Here is the code ( the second function disallows the user from logging in with custom message ):
add_action( 'bp_core_activated_user', 'custom_bp_core_activated_user' ); function custom_bp_core_activated_user( $user ) { if ( empty( $user ) ) { return false; } if ( is_array($user) ) { $user_id = $user['user_id']; } else { $user_id = $user; } $member_type = bp_get_member_type($user_id); if ( $member_type == 'member_type_to_manually_activate' ) { global $wpdb; $wpdb->query( $wpdb->prepare( "UPDATE $wpdb->users SET user_status = 3 WHERE ID = %d", $user_id ) ); } } add_filter( 'authenticate', 'custom_authenticate', 30 ); function custom_authenticate( $user ) { if ( is_wp_error( $user ) || empty( $user ) ) { return $user; } if ( 3 == $user->user_status ) { $member_type_name = bp_get_member_type($user->ID); $member_type = bp_get_member_type_object($member_type_name); return new WP_Error( 'invalid_username', __( '<strong>ERROR</strong>: All ' . $member_type->labels['name'] . ' accounts require manual confirmation from an admin. You might be contacted soon to verify your identity. You will recieve an email once your account is approved.', 'buddypress' ) ); } return $user; }February 19, 2016 at 7:15 pm #250085In reply to: Remove Cover Photo Option
shanebp
ModeratorThe images are not stored in the database.
They are stored in the uploads folder.
For a member with user_id = 1:
/wp-content/uploads/buddypress/members/1/cover-image/To remove the cover photo, use the ‘Delete My Cover Image’ button at the bottom of this screen:
.../members/designloud/profile/change-cover-image/If you don’t see that button, it may be an issue with your theme.
To confirm, try switching momentarily to a WP theme like 2013February 19, 2016 at 6:27 pm #250082In reply to: Add profile meta to activity item
shanebp
Moderator…this file just pulls in bp_activity_action
And that’s what you need to filter.
There are a couple of filters you can use.
Look atfunction bp_activity_action
in this filebuddypress\bp-activity\bp-activity-template.phpYou probably want to use the first filter.
Something like:function graeme_activity_action( $action, $activity, $r) { $action .= ' something added here'; // simple example return $action; } add_filter( 'bp_get_activity_action_pre_meta', 'graeme_activity_action', 1, 3 );February 19, 2016 at 5:20 pm #250078In reply to: BP Activity @mention display_name
danbp
ParticipantHi,
A good start point would be:
http://hookr.io/plugins/buddypress/#index=a&search=mentionUse case example:
https://buddypress.org/support/topic/display-mention-name-in-activity-comments-meta/#post-185137February 19, 2016 at 5:16 pm #250077In reply to: How to order activity stream by meta value?
danbp
ParticipantFebruary 19, 2016 at 5:15 pm #250076In reply to: Change Forum Font Colour
danbp
ParticipantUse your theme CSS file.
Ask on bbPress forum and read the documentation:
You may find similar explanation on BuddyPress codex.Other solution: https://wordpress.org/plugins/bbp-style-pack/
February 19, 2016 at 11:31 am #250031In reply to: Working with BuddPress Login(redirects to wp-admin)
alabius
ParticipantPlease i also want to do same. But in my case, i want to use BuddyPress Login instead of WP login, how can i do this.
February 19, 2016 at 12:25 am #250019youmin
ParticipantI think he is referring to roles based on member_type, not by wp capability (role).
As he mentioned above, his buddypress website having various roles, so he wants to display different profile field based on created role.If role is a (member_type) lyricist = profile field
If role is a (member_type) singer = profile fieldFebruary 18, 2016 at 10:20 pm #250017In reply to: wpdiscuz update edit the user template
selenii
ParticipantThat saide to me the wpdiscuz support.
Ok, this is not a regular post or page, this comes from BuddyPress template file. It sees they don’t use the regular <?php comments_template() ?> function in activity template file. The only way to turn on wpDiscuz on buddyPress activity page is editing activity template file and changing its comment function to WordPress Theme standard <?php comments_template() ?> function.
More info: https://codex.wordpress.org/Plugin_API/Filter_Reference/comments_template
February 18, 2016 at 9:05 pm #250012In reply to: wpdiscuz update edit the user template
shanebp
Moderatorwpdiscuz provides support for BuddyPress – not vice versa.
Please talk to them at:
https://wordpress.org/support/plugin/wpdiscuzFebruary 18, 2016 at 2:45 pm #249993Henry Wright
ModeratorAll of the core BuddyPress navigation functions are in bp-core/bp-core-buddybar.php. You can see the contents of that file here:
https://github.com/buddypress/BuddyPress/blob/master/src/bp-core/bp-core-buddybar.php
February 18, 2016 at 2:12 pm #249992ShMk
ParticipantWith
user_can()I can check for user capabilities but what BuddyPress template files or hooks I have to use to edit the user profile page? (I’m talking about the ‘website.tld/users/NAME_OF_THE_USER/profile/’ page)February 17, 2016 at 6:48 pm #249974In reply to: Option – This is a notice to all users
shanebp
ModeratorCreate a template overload of this file:
buddypress\bp-templates\bp-legacy\buddypress\members\single\messages\compose.phpAdjust the conditional that shows the checkbox so that the ‘trainer’ role is allowed.
February 17, 2016 at 4:21 pm #249968danbp
ParticipantHi,
read for a solution here:
https://buddypress.org/support/topic/add-tinymce-to-activity-post-form/#post-189713Note that there is only one “what’s new” form for BP activities (meaning site activities or profile activities or group activities use the same form).
To get it only for groups, simply add a conditionnal specific for “groups”(all) or “group”(by name).
Not tested with 2.4.3, but may work. 😉
modemlooper
ModeratorUnfortunately, VC is a third party plugin and this forum is for support of BuddyPress
February 17, 2016 at 1:53 am #249949In reply to: TRANSLATION ISSUES
modemlooper
Moderatorunfortunately this forum is for support with BuddyPress itself, when there are added plugins it can make it impossible for someone to test.
Did you read through translation docs? https://codex.buddypress.org/getting-started/customizing/buddypress-in-your-language/
February 17, 2016 at 1:46 am #249948In reply to: How To Add New Tab in Group Nev-menu?
modemlooper
ModeratorRead here https://buddypress.org/support/topic/creating-a-page-with-nav-tab-subnav-for-buddypress-profiles/
Also Google and search forums it’s been asked many times
February 17, 2016 at 1:37 am #249947In reply to: activity stream: dynamic order
modemlooper
ModeratorIt’s a bit outdated but might work https://wordpress.org/plugins/buddypress-activity-stream-bump-to-top/
February 17, 2016 at 1:23 am #249943modemlooper
ModeratorRead through this https://codex.buddypress.org/getting-started/installing-group-and-sitewide-forums/
You need to decide on a forum site or using BuddyPress and using group forums. Running both can be confusing for users
February 17, 2016 at 12:51 am #249938In reply to: Buddypress profile fields css
jrb9406
ParticipantI should probably clarify my last post
I understand CSS, but I’m a beginner at it. I can change CSS attributes of the table like color, font, width, etc. I just can’t figure out what is keeping the data fields so far apart. It doesn’t look like cell spacing, margins, padding, or borders.
I understand that this may be an issue with my theme, but perhaps someone knows how buddypress setup the table?
February 16, 2016 at 8:54 pm #249933monicamonroe
ParticipantHey Shane,
Yes I chatted with them they told me to chat with Buddypress since it was you guys plugin
February 16, 2016 at 6:43 pm #249921shanebp
ModeratorVery difficult to diagnose without access to your hosting account.
You’re using an old version of BuddyPress.
You should take this opportunity to update BuddyPress.February 16, 2016 at 5:26 pm #249918In reply to: Multi option for selecting
shanebp
ModeratorThere are several multi-select fields available when you create a profile field.
https://codex.buddypress.org/administrator-guide/extended-profiles/ -
AuthorSearch Results