Search Results for 'private'
-
AuthorSearch Results
-
April 27, 2013 at 2:00 pm #162876
In reply to: Private Message Button in Member List Loop
shanebp
Moderator@henrywright-1
What’s different? The answer is in your reply “Thanks for that… ”
@valuser
That usage makes sense and has been mentioned by others.
But it’s not a simple tweak.
And would require an admin screen so you could choose to show / not show the button in loops.
And etc. etc.
I’ll write an article in the next week or so on
PhiloPressApril 27, 2013 at 11:17 am #162868In reply to: Private Message Button in Member List Loop
valuser
ParticipantThanks for function https://gist.github.com/shanebp/5391229
works bp 1.7, wp 3.5.1, bbPress 2.3.1 Theme: Child of bp Befault
Any chance that it might call up your BP Profile Message UX 1.1.3
April 27, 2013 at 10:30 am #162865In reply to: Private Message Button in Member List Loop
Henry
MemberInterestingly I just tried this outside of the members loop. It doesn’t work on the friends list page. What is different about the friends loop and the members loop for this not to work? Humm…
April 27, 2013 at 9:13 am #162863In reply to: Private Message Button in Member List Loop
Henry
MemberThanks for that! I can see now you’ve created a new function display_private_message_button which hooks on to action bp_directory_members_item in the members loop. Sorry for being slow, i got there in the end :}
April 27, 2013 at 2:12 am #162849In reply to: Private Message Button in Member List Loop
shanebp
ModeratorStart with the add_action and follow the function calls.
If you see a function that isn’t defined in the gist, then that function is in the codebase.
Find and study it.The add_action calls a function that calls bp_send_message_button() which creates the button.
Part of creating the button is creating the link.
The link can be filtered – so look for apply_filters in that context.April 26, 2013 at 6:29 pm #162830In reply to: Private Message Button in Member List Loop
April 25, 2013 at 8:09 pm #162731In reply to: Search inside private groups
jawanda0
ParticipantBummmp, I’m curious too. Thanks for any info!
April 23, 2013 at 12:39 am #162399In reply to: Is this hosting plan good for buddypress?
Ben Hansen
Participantgs is a shared environment as such it is not recommended for anything but private buddypress sites (maybe not even then). unlike other shared environments gs will not throttle you but instead they will bill you for overage the thing to really watch for is the GPU. WP+BP will use something like 100x the GPU of a typical static site when i used them on a BP site with about 2000 visitors a day about 2 years ago we were looking at about 200 in overage in the first month alone.
#1 some media temple term that doesn’t mean much just think of it as total bandwidth cause thats probably what it is.
#2 yes.
#3 1
#4 probably not but i’m sure you can buy extras. email accounts are totally separate from wordpress/buddypress accounts.
April 22, 2013 at 8:04 pm #162380David Cavins
KeymasterHi Modemlooper-
My theme is a child theme of Twenty Twelve, so my style.css declares Template: twentytwelve.
I followed your suggestion then took it a step farther and included slightly modified version of the js setup functions from the template pack in my `functions.php` file. I’ll post them here in case somebody else has the same problem I’m having:
`function bp_support_theme_setup() {
global $bp;// Load the default BuddyPress AJAX functions if it isn’t explicitly disabled or if it isn’t already included in a custom theme
if ( ! function_exists( ‘bp_dtheme_ajax_querystring’ ) )
require_once( BP_PLUGIN_DIR . ‘/bp-themes/bp-default/_inc/ajax.php’ );// Let’s tell BP that we support it!
add_theme_support( ‘buddypress’ );if ( ! is_admin() ) {
// Register buttons for the relevant component templates
// Friends button
if ( bp_is_active( ‘friends’ ) )
add_action( ‘bp_member_header_actions’, ‘bp_add_friend_button’ );// Activity button
if ( bp_is_active( ‘activity’ ) )
add_action( ‘bp_member_header_actions’, ‘bp_send_public_message_button’ );// Messages button
if ( bp_is_active( ‘messages’ ) )
add_action( ‘bp_member_header_actions’, ‘bp_send_private_message_button’ );// Group buttons
if ( bp_is_active( ‘groups’ ) ) {
add_action( ‘bp_group_header_actions’, ‘bp_group_join_button’ );
add_action( ‘bp_group_header_actions’, ‘bp_group_new_topic_button’ );
add_action( ‘bp_directory_groups_actions’, ‘bp_group_join_button’ );
}// Blog button
if ( bp_is_active( ‘blogs’ ) )
add_action( ‘bp_directory_blogs_actions’, ‘bp_blogs_visit_blog_button’ );
}
}
add_action( ‘after_setup_theme’, ‘bp_support_theme_setup’, 11 );/**
* Enqueues BuddyPress JS and related AJAX functions
*
* @since 1.2
*/
function bp_support_enqueue_scripts() {// Add words that we need to use in JS to the end of the page so they can be translated and still used.
$params = array(
‘my_favs’ => __( ‘My Favorites’, ‘buddypress’ ),
‘accepted’ => __( ‘Accepted’, ‘buddypress’ ),
‘rejected’ => __( ‘Rejected’, ‘buddypress’ ),
‘show_all_comments’ => __( ‘Show all comments for this thread’, ‘buddypress’ ),
‘show_all’ => __( ‘Show all’, ‘buddypress’ ),
‘comments’ => __( ‘comments’, ‘buddypress’ ),
‘close’ => __( ‘Close’, ‘buddypress’ )
);// BP 1.5+
if ( version_compare( BP_VERSION, ‘1.3’, ‘>’ ) ) {
// Bump this when changes are made to bust cache
$version = ‘20120412’;$params[‘view’] = __( ‘View’, ‘buddypress’ );
$params[‘mark_as_fav’] = __( ‘Favorite’, ‘buddypress’ );
$params[‘remove_fav’] = __( ‘Remove Favorite’, ‘buddypress’ );
}
// BP 1.2.x
else {
$version = ‘20110729’;if ( bp_displayed_user_id() )
$params[‘mention_explain’] = sprintf( __( “%s is a unique identifier for %s that you can type into any message on this site. %s will be sent a notification and a link to your message any time you use it.”, ‘buddypress’ ), ‘@’ . bp_get_displayed_user_username(), bp_get_user_firstname( bp_get_displayed_user_fullname() ), bp_get_user_firstname( bp_get_displayed_user_fullname() ) );
}// Enqueue the global JS – Ajax will not work without it
wp_enqueue_script( ‘dtheme-ajax-js’, BP_PLUGIN_URL . ‘/bp-themes/bp-default/_inc/global.js’, array( ‘jquery’ ), $version );// Localize the JS strings
wp_localize_script( ‘dtheme-ajax-js’, ‘BP_DTheme’, $params );
}
add_action( ‘wp_enqueue_scripts’, ‘bp_support_enqueue_scripts’ );
`Which is identical to installing the template pack only for the JS, I think. Everything’s working as expected, so I think we can consider this problem resolved. Thanks for your attention, Hugo and Modemlooper.
-David
April 22, 2013 at 6:48 pm #162375In reply to: Login Redirect for BP 1.7
bp-help
Participant@sarathbabu_k
Have you tried this plugin. I tested it with WP 3.5.1 BP 1.7 and various themes. It works with all of my tests. It makes BP private and also redirects visitors trying to access BP pages to register. Read the readme.txt and study the code to change where you want your logged out visitors redirected to.
https://github.com/bphelp/private_community_for_bpApril 20, 2013 at 4:34 am #162212In reply to: BuddyDroid β BuddyPress for Android
timvango
ParticipantOh, I’m sorry.
I thought that you can’t send private messages to somebody who isn’t a friend, but it also works on my website…April 19, 2013 at 8:10 pm #162181In reply to: BuddyDroid β BuddyPress for Android
timvango
ParticipantHello,
When I press on message on the pofile page in the app, I can send an private message, also if it is not a friend. The message is send also.Hope this will help you.
As mentioned before my English is not very good.
TimApril 19, 2013 at 7:54 pm #162179In reply to: BuddyDroid β BuddyPress for Android
Yuttadhammo
Participant@timvango I’m sorry, I don’t understand. which private message feature? Are you sure it actually sends messages to people you can’t normally? if you can’t, it just won’t send.
April 19, 2013 at 7:40 am #162134In reply to: BuddyDroid β BuddyPress for Android
timvango
ParticipantHello,
The private message feature works great, but you can send private messages to all people, not only friends. I think this is a bug.PS Your work is great! Keep it on!
April 18, 2013 at 9:16 pm #162101LudachrisGSX
ParticipantAlright, no suggestions. I sure am not having any luck getting feedback in these forums.
Plan B would be to get quotes from some reputable WP development companies to build something custom, as I don’t know that I can build it myself. Can anyone point me to some of the more recommended developers in the community? If it’s against the forum policies to reply publicly with suggestions just send them to me privately please – multiple suggestions are preferred.
April 18, 2013 at 9:00 pm #162098bp-help
Participant@lavishdhand
If you want to share your solution then add the code on
http://pastebin.com/
And share the link here.April 18, 2013 at 8:43 pm #162096LavishDhand
Participant`
`
April 18, 2013 at 8:36 pm #162094LavishDhand
Participant@henrywright-1 Thank you very much, I used the below code and it worked like a charm. Your hint worked for me π
Don’t know why the code is not shwoing here
April 18, 2013 at 7:28 pm #162086LavishDhand
ParticipantI’m sorry I really don’t understand coding, however I am grateful for the solution you have provided. I will try to find a way to use this.
Thank you very much π
April 18, 2013 at 2:33 pm #162052In reply to: Private forum page not found error
xprt007
ParticipantHi
I certainly did not go through all the details, though in another installation the link was working.
After going through the steps, I edited some settings under “B. Set Up Group and Sitewide Forums” and now the group forum is now active. I learned quite a number of new things about forums/group forums.Thank you very much!
Kind regards
April 17, 2013 at 6:43 pm #161982@mercime
Participantclaims of working with any theme
@fpats I’ve seen reports where there are themes from themeforest which have failed the easiest route to BP Theme Compatibility enjoyed by almost all WordPress themes. Many possibilities to theme failure. Let’s take a look at what could be causing the failure in your theme and find the best alternative route provided by BP Theme Compat to make it work.Start a new topic here with your theme name and Theme Compat as title. Copy the source code of your theme’s page.php file, post the code in pastebin.com and post the generated pastebin URI in your topic. BP Theme Compat has alternative methods of making it work, here alone or with the theme author’s participation.
April 17, 2013 at 6:26 pm #161977In reply to: Private forum page not found error
@mercime
Participant@xprt007 so basically when you say latest WP 3.5.1, BP 1.7 and now bbPress 2.3, right? If your group is set to Private then the Group Forum created via https://codex.buddypress.org/user/setting-up-a-new-installation/installing-group-and-sitewide-forums/ should be private as well. So the question is, how did you set up your forum for that group?
April 17, 2013 at 2:59 pm #161947Sea Jay
ParticipantI’m aware that, in the past, there used to be two admin bars: the WPAdmin bar shown to logged-in users and the Buddybar shown to all users, including a log-in/register link for new users.
I believe I understood that the BuddyBar was being deprecated. Does that mean non-logged in users will see BuddyPress options on the main WP-Admin bar? (I am developing with a private site, so cannot see the options.)
I’m looking for documentation that might help us understand the change.
I am using Responsive theme, but have looked in source code and no longer see both bars.
April 17, 2013 at 12:43 pm #161938Henry
MemberCouldn’t you make the To field a hidden input with a value of ‘admin’ with a conditional to check if the user is a member (and not the admin themself)?
e.g in compose.php change the text input to something like:
if ( !is_super_admin() ) {
input type=”hidden” name=”send-to-input” value=”admin”} else {
input type=”text” name=”send-to-input”
}April 17, 2013 at 11:53 am #161934LavishDhand
ParticipantHello @djpaul ,
I see there is a βSend a Replyβ box bebeath every message received and the receiver can easily type a reply here and send it. To send a reply the receiver do not need to visit β/messages/compose/β which I have restricted using S2member plugin.
I have successfully achieved the solution. I have kept composing messages for myself (admin) only. All my users can reply back to me and cannot message each other.
The problem that Iβm facing is a little strange, the receiver does successfully reply to my message and I do receive the reply however as soon as this happens the user finds himself logged out!
NOTE : Only a user (subscriber) other than admin logs out while replying. When I use the same box to reply to a message I do not log out!!!
Any thoughts?
Thanks
-
AuthorSearch Results