Search Results for 'private'
-
AuthorSearch Results
-
January 20, 2019 at 3:21 pm #302315
shanebp
Moderator– Responsive on all devices
Yes.– Users to be able to pay for messaging and/or subscription
No, requires a membership plugin.– User should be able to register, to have public and private profile also public and private photos.
Register, yes. Profiles are public unless you add custom code. Photos gallery requires custom code or there may be a third-party plugin.– Users to be able to edit and add custom fields on their profile page
Yes.– Admin should also be able to edit those fields/profile pages
Yes.– Users to be able to filter search results, based on those fields
Yes, by using the BP Profile Search plugin– IP Geo detection function? Showing users in your area?
No. Requires custom coding or perhaps a third-party plugin.– Multilanguage support.
Yes.– Are gifts or badges also available/active, which are to be given on a subscription or user rank basis?
No, maybe a third-party plugin.– Any performance issues? Browsing experience should be smooth.
Depends on your hosting resources and the number of active users.January 14, 2019 at 2:01 pm #302207In reply to: Review ALL pending group requets
Varun Dubey
Participant@jamesmct I do not think BuddyPress have any current option to manage all pending membership for all private group at single location.
January 10, 2019 at 8:15 am #302150In reply to: Editing /groups/create.php
Venutius
ModeratorI’ve just suggest it, above. To make the default group status private as you asked, you can add that to your bp-custom.php and it should do the trick for you.
January 9, 2019 at 1:05 pm #302135In reply to: Editing /groups/create.php
Venutius
ModeratorI don’t think overloading that file is the way to go for the default status change, you can set the default new group status using the
bp_get_new_group_statusfilter, so you could do something like this:add_filter( 'bp_get_new_group_status', 'venutius_new_group_status_change' ); function venutius_new_group_status_change( $status ) { return 'private'; }January 6, 2019 at 4:37 pm #302065In reply to: Change text strings on plugin activation
jolom
ParticipantThanks @Venutius, I was watching the plugin’s code and it is very simple, also saw that errors but are easy to fix.
Maybe changing text the way it does in this part?
52 // change the name of the group if it's an announce group 53 function ag_filter_group_type( $type ) { 54 if ( ag_get_announce_group() == 'announce' ) { 55 if ($type == 'Public Group') 56 $type = __('Announce Group', 'announce_group' ); 57 elseif ($type == 'Private Group') 58 $type = __('Private Announce Group', 'announce_group' ); 59 elseif ($type == 'Hidden Group') 60 $type = __('Hidden Announce Group', 'announce_group' ); 61 } 62 return $type; 63 } 64 add_filter( 'bp_get_group_type', 'ag_filter_group_type', 1 );But I need to change on every portion that renders “Group” right?
Thank you.
December 17, 2018 at 11:20 pm #282863In reply to: Buddypress Tournaments
Arize Nnonyelu
ParticipantCould you be more elaborate? Tournaments on what?
Did you have any Tournaments plugin in mind yet?
With buddypress users are linked it depends on private or public profile.December 13, 2018 at 4:45 pm #282752shanebp
ModeratorIf you mean the Private Message button at the top of a profile page, then place this code in bp-custom.php or in your theme > functions.php
function lindsay_profile_button() { ?> <div class="generic-button"><a href="https://google.com" >go to google</a></div> <?php } add_action( 'bp_member_header_actions', 'lindsay_profile_button', 25 );If ‘Private Messaging’ means something else, then you need to talk to the creators of that code because it does not come from BuddyPress.
December 11, 2018 at 11:53 am #282707bbtrouble
ParticipantHello, we’re having issues with BuddyPress private messaging on our site https://www.lightstalking.com/
We’re using Version 4.1.0 of BuddyPress running on WP 4.9.8
This issues happens only with an admin account – it’s impossible to send new private messages from an admin account to other users of forum.
When we try to do that, we get an error message (I attached a screenshot of it) – https://www.screencast.com/t/XoU5ZLRaAtf
Let us know if there’s anything to do about this.
Best regards,
LightStalking teamDecember 3, 2018 at 11:43 am #282441In reply to: display groups members list (in all groups)
diegomiguel05
ParticipantHello shanebp, thank you very much for your response:
We have realized that users could not access the home page of other private groups due to the inteference of another active plugin. Deactivating it, users already have access to the home page of others private groups, but still can not see the list of members of those groups. I’ve been trying to use your code (in function.php and writing it as html text), but it does not work, possibly I’m not writing it in the right place. Do you know how to solve this problem, please??
Thank you very much for your help.
December 2, 2018 at 11:25 pm #282432In reply to: BP 4.0 private message broken
matwin23
ParticipantI just switched theme in admin to legacy and private message is now working. Must be a Nouveau bug.
November 29, 2018 at 11:12 am #282311Topic: Add Group Member form in backend is empty
in forum How-to & Troubleshootingfrosttho
ParticipantHey All!
It’s me again. I upgraded from BuddyPress 3.2.0 to 4.0.0. After the Upgrade the “Add Members” Form on the Group Page in the Backend was empty. I only got the title “Add new member”.
Is there any workaround?
Thanks in Advance
frostthoWordPress Version 4.9.8
BuddyPress Version 4.0.0
BuddyPress Plugin: LH Private BuddyPress 1.0.8
Running on Apache / Ubuntu 18.04November 27, 2018 at 10:55 pm #282244In reply to: Missing Member and Group Navigation
shanebp
ModeratorDid you try to narrow down the issue ?
For example:
Did you try deactivating LH Private BuddyPress ?
If the menus return, then you should follow up with the creators of the LH Private BuddyPress plugin.Did you try switching from Nouveau to the other template pack – BuddyPress Legacy ?
November 27, 2018 at 3:39 pm #282205In reply to: Different avatars being set……?
lookingahead
ParticipantOH guess what…? 😀 Figured it out.
I have a solution that so, sooo…..SSOOOOOOO many other people have been looking for, and I’m elated to say I’ve found it.
Been cruising Stack Exchange, various WordPress plugin support threads, installing plugin after plugin, reading blogposts made by developers, comments made by disillusioned masses….I mean, it’s endless.
But THANK GOD I found a solution!
So it turns out that the code that BuddyDev mentioned was not to blame for the 500 error I mentioned in my intro. It was actually due to one of the two plugins that is recommended in BuddyDev’s tutorial (and they are now fixing that bug). 🙂
I figured this out as I tried to reproduce the error while activating plugins in a different sequence.
The first time I did this, I’d had BuddyPress disabled when I’d installed both plugins. I’d also already put the code mentioned in their tutorial into my bp-custom file. I then activated BuddyPress, and the site failed.
This time, I had BuddyPress already activated, then installed and activated one of the two plugins BuddyDev recommended to use in the tutorial…and all was well. THEN…I installed the second plugin. And upon clicking ‘Activate’ the site failed again. NOTE: on the second attempt to reproduce the 500 error, I hadn’t put the code from the tutorial into my bp-custom file….
And according to BuddyDev, even before I tried to reproduce the error, the bp-custom code I was using was sound.
So when the site failed upon my attempt to reproduce the error, I knew: that plugin was to blame.
Then, I found out more about that plugin…it is designed to be used for users to have extra fields to fill out upon signup, fields that would show in their Member Profile. And I have Member Profiles disabled. Wa-la!
I then asked BuddyDev if I needed the plugin that failed…and THANKFULLY they said, ‘no — not needed for what you want to do.’
WHEW!! 😀
So, a summary:
– Use custom code in bp-custom (pasted below)
– Use one plugin in particular from BuddyDev
– Do not use another plugin recommended by BuddyDevThe plugin to DEFINITELY use, that was listed in their tutorial: ‘BuddyPress Member Type Generator’…that affects the ability for Webmasters to set custom member types AND an avatar specific to every custom type created! 😀
The other plugin that was recommended in that tutorial, that is NOT needed to change user avatars for custom member types…not ever, as it has nothing to do with avatars — it was merely recommended in their tutorial so people could manage user profiles: ‘BP XProfile Member Type Field’
SO. If you want to have a different default avatar for different member types, then you will need to use the ‘BuddyPress Member Type Generator’ plugin. Not the other one.
Steps to take:
1.] Download the ‘BuddyPress Member Type Generator’ plugin from BudyDev2.] Read their tutorial (I’ll paste a link below in follow-up comments to this comment)…do everything EXCEPT install the ‘BP XProfile Member Type Field’ plugin — it’s not needed for assigning an avatar via custom member type; it just is recommended in their tutorial to use so you can manage user fields 🙂
3.] Use the code I’ll also paste below (in the follow-up comments) — modify it to your site’s name but insert your site name where I typed ‘sitenameprivate’…etc.
4.] For creating more avatars with custom member types in the future, you’ll always have to update that same code in the bp-custom file…via FTP/SFTP; tbh that process is easy as pie once you realize how to do it
5.] For making your life easier with switching out avatar images for member types without having to re-do the bp-custom file: just save over the image in your media library that is used for that particular member type…so the path is the same and your code won’t need to be changed
Simple, yet difficult to find.
Thank GOD FOR BUDDYDEV!!! <3
November 16, 2018 at 7:35 am #281894Topic: changing buddypress error message
in forum How-to & Troubleshootingdavid22c
ParticipantHi,
Would someone be kind enough to help me with changing a buddypress error message? (wordpress 4.9.8, buddypress 3.1.0)I am restricting private messaging to user’s friends/connections. Currently, the error message returned when sending a private message to someone not in your network is “Message not sent. Please try again.” which doesn’t make sense. I would like it to say something like, “Sorry, you can only send a private message to connections in your network.” How might I change this error message?
I have been using the following code in child functions to restrict private messaging:
// if not site admin, restrict PMs to friends function pp_check_message_recipients( $message_info ) { // site admins are not restricted if ( is_super_admin() ) return $message_info; $recipients = $message_info->recipients; $friend_ids = friends_get_friend_user_ids( bp_displayed_user_id() ); $nf = 0; foreach ( $recipients as $key => $recipient ) { if ( ! in_array( $recipient->user_id, $friend_ids ) ) $nf++; } // if any recipients are not friends, remove everyone from the recipient's list if ( $nf > 0 ) unset( $message_info->recipients ); return $message_info; } add_action( 'messages_message_before_save', 'pp_check_message_recipients' );November 11, 2018 at 2:13 am #281389In reply to: Users are asked for Activation
Brajesh Singh
ParticipantThank you.
My first suggestion will be to try disabling the LH Private BuddyPress, if that does not solve it you should try deactivating Youzer and BP Force Profile photo(assuming bp-custom.php) and child theme’s functions.php does not have any redirection.
Please give it a try and let me know if any of the above resolves the issue?
November 11, 2018 at 2:11 am #281388In reply to: Users are asked for Activation
Arize Nnonyelu
Participantis there anything special about the site? Like any redirection setup or content restriction?
LH Private BuddyPress? Restricts non logged in users from accessing other users profile, activity etc
November 11, 2018 at 2:07 am #281387In reply to: Users are asked for Activation
Arize Nnonyelu
Participant…are you using any content restriction/redirection plugin?
wp super cache
youzer
title remover
short codes for buddypress
super pwa
lh private buddypress
gutenberg
font awesome 4 menus
child theme configurator
buddypress global search
buddypress activity autoloader
buddypress
bp force profile photoOctober 22, 2018 at 9:30 pm #279343shanebp
ModeratorIt’s okay to place a call for devs here.
It’s nice to see the occasional person who doesn’t want free work.Because there is no way to do a private message on these forums, typically we make sure the OP includes a method to contact them.
Then we close the thread so that any discussion takes place elsewhere.
@elichersky333 – how can you be contacted ?October 19, 2018 at 8:51 pm #279193In reply to: User to User Messenger plugin
mrditt
ParticipantCould anyone give experiences or comparisons between iFlyChat and BP Better Messages? I need a solution that gives users the ability to have private chats and group chats with the ability to send attachments. Iflychat is expensive (if including the group chat option) and I’m concerned about the logging of private information, BP Better Messages seems like a good option but I wanted to get feedback first. Alternatively, if anyone has experience with any other solutions, that would be really appreciated too.
October 17, 2018 at 10:28 am #279061In reply to: BP Custom Functionalities Plugin Released
Anonymous User 16484011
InactiveHi !
Prashant,
Today I see your profile and some how I go to this page where you post this plugin and I see that on WordPress plugin official page “https://wordpress.org/plugins/bp-custom-functionalities/” and here has the developer name is yours !
Congrats ! to you man for making this plugin. I installed and it’s very useful me. Specially it’s one feature “Private profile – that means one member can not see other members profile.”
Thanks man,
Keep it up !
Regards
October 17, 2018 at 10:13 am #279059Anonymous User 16484011
InactiveI am not using any buddy press template I use Youzer plugin. I think this plugin gives me this template. as you can see in the video path.
By the way …
1. I can’t understand your above answer.
2. What can I do wrong in the video ?
3. What can I do now for preventing users other than admin to delete the private conversation.
4. Can I put your above code in plugin’s directory’s path “\wp-content\plugins\youzer\includes\public\templates\members\single\messages” single.php file ?
5. Is any other way or plugin to prevent users other than admin to delete private message ?
Thanks
October 15, 2018 at 9:34 pm #278887In reply to: Site Wide Activity
Prashant Singh
ParticipantPrivate group activities are by default excluded from the sitewide activity so this plugin already excludes them. No need to do any settings, it works out of the box.
Thanks
October 15, 2018 at 7:30 pm #278875In reply to: Site Wide Activity
mrditt
ParticipantI did look at it, but it doesn’t seem to give an option to exclude private group activity, I’m I correct? If so, is there any work around? Thank you!
October 13, 2018 at 12:30 pm #278557shanebp
ModeratorWhen I click on “private message” in another users profile I am redirected to my general “messages” page…
Yes that is BP behavior. And I agree that it doesn’t make much sense.
This plugin opens a pop-up instead: BuddyProfileMessageUX FreeOctober 11, 2018 at 5:45 am #278463Prashant Singh
Participant<?php /** * BP Nouveau Messages main template. * * This template is used to inject the BuddyPress Backbone views * dealing with user's private messages. * * @since 3.0.0 * @version 3.1.0 */ ?> <div class="subnav-filters filters user-subnav bp-messages-filters" id="subsubnav"></div> <div class="bp-messages-feedback"></div> <div class="bp-messages-content"></div> <script type="text/html" id="tmpl-bp-messages-feedback"> <div class="bp-feedback {{data.type}}"> <span class="bp-icon" aria-hidden="true"></span> <p>{{{data.message}}}</p> </div> </script> <?php /** * This view is used to inject hooks buffer */ ?> <script type="text/html" id="tmpl-bp-messages-hook"> {{{data.extraContent}}} </script> <script type="text/html" id="tmpl-bp-messages-form"> <?php bp_nouveau_messages_hook( 'before', 'compose_content' ); ?> <label for="send-to-input"><?php esc_html_e( 'Send @Username', 'buddypress' ); ?></label> <input type="text" name="send_to" class="send-to-input" id="send-to-input" /> <label for="subject"><?php _e( 'Subject', 'buddypress' ); ?></label> <input type="text" name="subject" id="subject"/> <div id="bp-message-content"></div> <?php bp_nouveau_messages_hook( 'after', 'compose_content' ); ?> <div class="submit"> <input type="button" id="bp-messages-send" class="button bp-primary-action" value="<?php echo esc_attr_x( 'Send', 'button', 'buddypress' ); ?>"/> <input type="button" id="bp-messages-reset" class="text-button small bp-secondary-action" value="<?php echo esc_attr_x( 'Reset', 'form reset button', 'buddypress' ); ?>"/> </div> </script> <script type="text/html" id="tmpl-bp-messages-editor"> <?php // Add a temporary filter on editor buttons add_filter( 'mce_buttons', 'bp_nouveau_messages_mce_buttons', 10, 1 ); wp_editor( '', 'message_content', array( 'textarea_name' => 'message_content', 'teeny' => false, 'media_buttons' => false, 'dfw' => false, 'tinymce' => true, 'quicktags' => false, 'tabindex' => '3', 'textarea_rows' => 5, ) ); // Remove the temporary filter on editor buttons remove_filter( 'mce_buttons', 'bp_nouveau_messages_mce_buttons', 10, 1 ); ?> </script> <script type="text/html" id="tmpl-bp-messages-paginate"> <# if ( 1 !== data.page ) { #> <button id="bp-messages-prev-page"class="button messages-button"> <span class="dashicons dashicons-arrow-left"></span> <span class="bp-screen-reader-text"><?php echo esc_html_x( 'Previous page', 'link', 'buddypress' ); ?></span> </button> <# } #> <# if ( data.total_page !== data.page ) { #> <button id="bp-messages-next-page"class="button messages-button"> <span class="dashicons dashicons-arrow-right"></span> <span class="bp-screen-reader-text"><?php echo esc_html_x( 'Next page', 'link', 'buddypress' ); ?></span> </button> <# } #> </script> <script type="text/html" id="tmpl-bp-messages-filters"> <li class="user-messages-search" role="search" data-bp-search="{{data.box}}"> <div class="bp-search messages-search"> <?php bp_nouveau_message_search_form(); ?> </div> </li> <li class="user-messages-bulk-actions"></li> </script> <script type="text/html" id="tmpl-bp-bulk-actions"> <input type="checkbox" id="user_messages_select_all" value="1"/> <label for="user_messages_select_all"><?php esc_html_e( 'All Messages', 'buddypress' ); ?></label> <div class="bulk-actions-wrap bp-hide"> <div class="bulk-actions select-wrap"> <label for="user-messages-bulk-actions" class="bp-screen-reader-text"> <?php esc_html_e( 'Select bulk action', 'buddypress' ); ?> </label> <select id="user-messages-bulk-actions"> <# for ( i in data ) { #> <option value="{{data[i].value}}">{{data[i].label}}</option> <# } #> </select> <span class="select-arrow" aria-hidden="true"></span> </div> <button class="messages-button bulk-apply bp-tooltip" type="submit" data-bp-tooltip="<?php echo esc_attr_x( 'Apply', 'button', 'buddypress' ); ?>"> <span class="dashicons dashicons-yes" aria-hidden="true"></span> <span class="bp-screen-reader-text"><?php echo esc_html_x( 'Apply', 'button', 'buddypress' ); ?></span> </button> </div> </script> <script type="text/html" id="tmpl-bp-messages-thread"> <div class="thread-cb"> <input class="message-check" type="checkbox" name="message_ids[]" id="bp-message-thread-{{data.id}}" value="{{data.id}}"> <label for="bp-message-thread-{{data.id}}" class="bp-screen-reader-text"><?php esc_html_e( 'Select message:', 'buddypress' ); ?> {{data.subject}}</label> </div> <# if ( ! data.recipientsCount ) { #> <div class="thread-from"> <a class="user-link" href="{{data.sender_link}}"> <img class="avatar" src="{{data.sender_avatar}}" alt="" /> <span class="bp-screen-reader-text"><?php esc_html_e( 'From:', 'buddypress' ); ?></span> <span class="user-name">{{data.sender_name}}</span> </a> </div> <# } else { var recipient = _.first( data.recipients ); #> <div class="thread-to"> <a class="user-link" href="{{recipient.user_link}}"> <img class="avatar" src="{{recipient.avatar}}" alt="" /> <span class="bp-screen-reader-text"><?php esc_html_e( 'To:', 'buddypress' ); ?></span> <span class="user-name">{{recipient.user_name}}</span> </a> <# if ( data.toOthers ) { #> <span class="num-recipients">{{data.toOthers}}</span> <# } #> </div> <# } #> <div class="thread-content" data-thread-id="{{data.id}}"> <div class="thread-subject"> <span class="thread-count">({{data.count}})</span> <a class="subject" href="../view/{{data.id}}/">{{data.subject}}</a> </div> <p class="excerpt">{{data.excerpt}}</p> </div> <div class="thread-date"> <time datetime="{{data.date.toISOString()}}">{{data.display_date}}</time> </div> </script> <script type="text/html" id="tmpl-bp-messages-preview"> <# if ( undefined !== data.content ) { #> <h2 class="message-title preview-thread-title"><?php esc_html_e( 'Active conversation:', 'buddypress' ); ?><span class="messages-title">{{{data.subject}}}</span></h2> <div class="preview-content"> <header class="preview-pane-header"> <# if ( undefined !== data.recipients ) { #> <dl class="thread-participants"> <dt><?php esc_html_e( 'Participants:', 'buddypress' ); ?></dt> <dd> <ul class="participants-list"> <# for ( i in data.recipients ) { #> <li><a href="{{data.recipients[i].user_link}}" class="bp-tooltip" data-bp-tooltip="{{data.recipients[i].user_name}}"><img class="avatar mini" src="{{data.recipients[i].avatar}}" alt="{{data.recipients[i].user_name}}" /></a></li> <# } #> </ul> </dd> </dl> <# } #> <div class="actions"> <?php if(current_user_can('manage_options')){ ?> <button type="button" class="message-action-delete bp-tooltip bp-icons" data-bp-action="delete" data-bp-tooltip="<?php esc_attr_e( 'Delete conversation.', 'buddypress' ); ?>"> <span class="bp-screen-reader-text"><?php esc_html_e( 'Delete conversation.', 'buddypress' ); ?></span> </button> <?php }?> <# if ( undefined !== data.star_link ) { #> <# if ( false !== data.is_starred ) { #> <a role="button" class="message-action-unstar bp-tooltip bp-icons" href="{{data.star_link}}" data-bp-action="unstar" aria-pressed="true" data-bp-tooltip="<?php esc_attr_e( 'Unstar Conversation', 'buddypress' ); ?>"> <span class="bp-screen-reader-text"><?php esc_html_e( 'Unstar Conversation', 'buddypress' ); ?></span> </a> <# } else { #> <a role="button" class="message-action-star bp-tooltip bp-icons" href="{{data.star_link}}" data-bp-action="star" aria-pressed="false" data-bp-tooltip="<?php esc_attr_e( 'Star Conversation', 'buddypress' ); ?>"> <span class="bp-screen-reader-text"><?php esc_html_e( 'Star Conversation', 'buddypress' ); ?></span> </a> <# } #> <# } #> <a href="../view/{{data.id}}/" class="message-action-view bp-tooltip bp-icons" data-bp-action="view" data-bp-tooltip="<?php esc_attr_e( 'View full conversation and reply.', 'buddypress' ); ?>"> <span class="bp-screen-reader-text"><?php esc_html_e( 'View full conversation and reply.', 'buddypress' ); ?></span> </a> <# if ( data.threadOptions ) { #> <span class="bp-messages-hook thread-options"> {{{data.threadOptions}}} </span> <# } #> </div> </header> <div class='preview-message'> {{{data.content}}} </div> <# if ( data.inboxListItem ) { #> <table class="bp-messages-hook inbox-list-item"> <tbody> <tr>{{{data.inboxListItem}}}</tr> </tbody> </table> <# } #> </div> <# } #> </script> <script type="text/html" id="tmpl-bp-messages-single-header"> <h2 id="message-subject" class="message-title single-thread-title">{{{data.subject}}}</h2> <header class="single-message-thread-header"> <# if ( undefined !== data.recipients ) { #> <dl class="thread-participants"> <dt><?php esc_html_e( 'Participants:', 'buddypress' ); ?></dt> <dd> <ul class="participants-list"> <# for ( i in data.recipients ) { #> <li><a href="{{data.recipients[i].user_link}}" class="bp-tooltip" data-bp-tooltip="{{data.recipients[i].user_name}}"><img class="avatar mini" src="{{data.recipients[i].avatar}}" alt="{{data.recipients[i].user_name}}" /></a></li> <# } #> </ul> </dd> </dl> <# } #> <div class="actions"> <?php if(current_user_can('manage_options')){ ?> <button type="button" class="message-action-delete bp-tooltip bp-icons" data-bp-action="delete" data-bp-tooltip="<?php esc_attr_e( 'Delete conversation.', 'buddypress' ); ?>"> <span class="bp-screen-reader-text"><?php esc_html_e( 'Delete conversation.', 'buddypress' ); ?></span> </button> <?php }?> </div> </header> </script> <script type="text/html" id="tmpl-bp-messages-single-list"> <div class="message-metadata"> <# if ( data.beforeMeta ) { #> <div class="bp-messages-hook before-message-meta">{{{data.beforeMeta}}}</div> <# } #> <a href="{{data.sender_link}}" class="user-link"> <img class="avatar" src="{{data.sender_avatar}}" alt="" /> <strong>{{data.sender_name}}</strong> </a> <time datetime="{{data.date.toISOString()}}" class="activity">{{data.display_date}}</time> <div class="actions"> <# if ( undefined !== data.star_link ) { #> <button type="button" class="message-action-unstar bp-tooltip bp-icons <# if ( false === data.is_starred ) { #>bp-hide<# } #>" data-bp-star-link="{{data.star_link}}" data-bp-action="unstar" data-bp-tooltip="<?php esc_attr_e( 'Unstar Message', 'buddypress' ); ?>"> <span class="bp-screen-reader-text"><?php esc_html_e( 'Unstar Message', 'buddypress' ); ?></span> </button> <button type="button" class="message-action-star bp-tooltip bp-icons <# if ( false !== data.is_starred ) { #>bp-hide<# } #>" data-bp-star-link="{{data.star_link}}" data-bp-action="star" data-bp-tooltip="<?php esc_attr_e( 'Star Message', 'buddypress' ); ?>"> <span class="bp-screen-reader-text"><?php esc_html_e( 'Star Message', 'buddypress' ); ?></span> </button> <# } #> </div> <# if ( data.afterMeta ) { #> <div class="bp-messages-hook after-message-meta">{{{data.afterMeta}}}</div> <# } #> </div> <# if ( data.beforeContent ) { #> <div class="bp-messages-hook before-message-content">{{{data.beforeContent}}}</div> <# } #> <div class="message-content">{{{data.content}}}</div> <# if ( data.afterContent ) { #> <div class="bp-messages-hook after-message-content">{{{data.afterContent}}}</div> <# } #> </script> <script type="text/html" id="tmpl-bp-messages-single"> <?php bp_nouveau_messages_hook( 'before', 'thread_content' ); ?> <div id="bp-message-thread-header" class="message-thread-header"></div> <?php bp_nouveau_messages_hook( 'before', 'thread_list' ); ?> <ul id="bp-message-thread-list"></ul> <?php bp_nouveau_messages_hook( 'after', 'thread_list' ); ?> <?php bp_nouveau_messages_hook( 'before', 'thread_reply' ); ?> <form id="send-reply" class="standard-form send-reply"> <div class="message-box"> <div class="message-metadata"> <?php bp_nouveau_messages_hook( 'before', 'reply_meta' ); ?> <div class="avatar-box"> <?php bp_loggedin_user_avatar( 'type=thumb&height=30&width=30' ); ?> <strong><?php esc_html_e( 'Send a Reply', 'buddypress' ); ?></strong> </div> <?php bp_nouveau_messages_hook( 'after', 'reply_meta' ); ?> </div><!-- .message-metadata --> <div class="message-content"> <?php bp_nouveau_messages_hook( 'before', 'reply_box' ); ?> <label for="message_content" class="bp-screen-reader-text"><?php _e( 'Reply to Message', 'buddypress' ); ?></label> <div id="bp-message-content"></div> <?php bp_nouveau_messages_hook( 'after', 'reply_box' ); ?> <div class="submit"> <input type="submit" name="send" value="<?php echo esc_attr_x( 'Send Reply', 'button', 'buddypress' ); ?>" id="send_reply_button"/> </div> </div><!-- .message-content --> </div><!-- .message-box --> </form> <?php bp_nouveau_messages_hook( 'after', 'thread_reply' ); ?> <?php bp_nouveau_messages_hook( 'after', 'thread_content' ); ?> </script>Please use this file.
Thanks
-
AuthorSearch Results