Search Results for 'buddypress'
-
AuthorSearch Results
-
February 19, 2016 at 6:27 pm #250082
In 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/February 16, 2016 at 4:07 pm #249915In reply to: Error Posting Comments
Manoj Chacko
ParticipantOk I narrowed it down further, its this line thats causing the issue.
$comment_activity_id = bp_activity_add( $args ); (line 717 in bp-blogs/bp-blogs-functions.php)
Since I am not familiar with buddypress codes, can somebody help me trouble shoot this.
February 16, 2016 at 10:06 am #249911In reply to: @mention autosuggest in visual editor
OakCreative
Participant@oliver_rub, our current solution involves deregistering the BuddyPress mentions script and enqueuing our own slightly modified version with a more generic jQuery selector. I think @slaffik has found the best solution though, I’m going to try it.
@benworxnl, no we had a slightly different scenario. We transformed the “What’s New” textarea into a WYSIWYG editor and the visual tab worked on that straight away. The issue we had was getting the mentions to work on that visual editor.Anyway, we duplicated and edited the
activity/post-form.phptemplate and replaced the textarea withwp_editor;wp_editor( isset( $_GET['r'] ) ? '@' . esc_attr( $_GET['r'] ) : '', 'whats-new', array( 'textarea_name' => 'whats-new', 'editor_class' => 'whats-new-mce', 'editor_height' => 200, 'tinymce' => array( 'toolbar1' => 'bold,italic,underline,|,blockquote,|,bullist,numlist,|,link,unlink,|,spellchecker,|,undo,redo', 'toolbar2' => '' ) ) );
For activity replies, you could do something similar to this in
activity/entry.php;wp_editor( isset( $_GET['r'] ) ? '@' . esc_attr( $_GET['r'] ) : '', 'ac-input-' . bp_activity_id(), array( 'textarea_name' => 'ac_input_' . bp_activity_id(), 'editor_class' => 'ac-input', 'editor_height' => 200, 'tinymce' => array( 'toolbar1' => 'bold,italic,underline,|,blockquote,|,bullist,numlist,|,link,unlink,|,spellchecker,|,undo,redo', 'toolbar2' => '' ) ) );
Please note, I’ve not tested the above.
February 16, 2016 at 2:43 am #249905In reply to: How to show field-froups on Registration form?
johnywhy
ParticipantFebruary 16, 2016 at 2:39 am #249904In reply to: How to show field-froups on Registration form?
-
AuthorSearch Results