Search Results for 'private'
-
AuthorSearch Results
-
May 6, 2011 at 10:32 pm #111745
orgnlmrwiggles
Memberglad to see that this got answered.
May 6, 2011 at 2:11 pm #111718stephensimon
MemberI’ve since confirmed that normal WordPress notifications are working for users who have email addresses with country code extensions. (I asked one of these users to retrieve their password from the login screen and they received the resulting email message sent from WordPress.) So the problem seems to be specific to BuddyPress private messages.
May 5, 2011 at 9:18 pm #111665drwebstein
MemberThank you for your response, Chouf1. Creating a button to link to the page from where they can send a private message is exactly what I was trying to do.
Do you have any idea whether there’s a way to implement this so that they don’t have to manually enter the user name once they arrive at that screen?
It seems like it might be doable with a second version of the bp_send_message_button() function that has been revised to accept the username as a parameter. I can tinker with the idea, but I thought I’d put it out there in case somebody knows whether or not there are any reason why this idea wouldn’t work.
Thank you.
May 5, 2011 at 8:18 pm #111657In reply to: Affordable WordPress and BuddyPress plugins
Paul Wong-Gibbs
KeymasterIt’s hard to remove a post and let you see the response, so I’m closing this one. Please refrain from posting any further about this, it’s beginning to look like spam (this is the third post that I’m aware of, in the last few days). Heck, the title of this thread is the sort of thing Google’s going to pick up on, which I know is your intention.
In terms of people selling or advertising premium BuddyPress services on this site, there’s a balance between promoting your plugin in situations such as responding to a relevant topic, i.e. “how can I do x?” and you reply, “my premium plugin z can do that for you!” (which is okay), and outright advertising or spamming (which isn’t). Announcing a new premium plugin or theme is fine, but posting an announcement or advert each week isn’t — that’s spam.
Blatant advertising or spamming is not allowed; BuddyPress.org community support is about community support, it is not a free-for-all marketplace. This isn’t the place for that type of thing.
Specifically regarding your site, there are extra considerations. You appear to be re-selling GPL’d plugins and themes[1] (I have only taken a quick look at your site). As long as you had purchased these GPL’d themes or plugins originally, then you can turn around and give that theme or plugin to anybody you want. The GPL is about redistribution. My understanding is that this viewpoint is entirely correct.
However, I think you’re missing the big picture. It may not be illegal, but I don’t think it’s ethical. The authors of those works which you are profiting from worked hard to create something. By re-selling their works, I believe you are disrespecting those authors and the larger community. To me, it’s as simple as this: if this sort of behaviour discourages even one individual from creating a new BuddyPress plugin or a BuddyPress theme, because they’d like to try to make some money from it, then the community has been harmed by having one less choice.
I feel this threads falls between an announcement of a service and an advertisement for that service, considering your repeated posts, with debatable ethics. I apologise on behalf of our moderator team; we should have got in contact with you after your first post, and we’re sorry that it seemed we were picking on your posts. However, you could have posted another topic and asked what happened to your previous posts; we would have seen it.
I am paul@byotos.com if you would like to discuss further in private, or you’re welcome to start a new topic and start a discussion about the ethics of re-selling GPL plugins/themes, but maybe that sort of discussion would go best on the wordpress.org forums, rather than here, as it would be seen by a larger audience of WordPress plugin and theme authors (relevant, of course, because your site appears to have WP and BP-specific themes listed).
[1] This assumes that everything in those plugins/themes is covered by the GPL, such as images or any other files, as opposed to just the PHP source.
May 4, 2011 at 4:27 pm #111582lwaltzer
ParticipantI get “There was an error when creating the topic” when the group is public, and “Sorry, there were no forum topics found” when I then click on “Forums.” If I switch settings to private/hidden, all the test forum posts reappear.
May 3, 2011 at 11:02 pm #111545danbpfr
ParticipantTo prevent spam, the fonctionnality you want to use is not avaible. You can see tthe function in bp-messages-templatetags.php:522
Anyway you can add a button, which opens the send message page, but you need to add manually the user name.
Open from your_child_theme/groups/single/members.php
and add the function ` ` in the place you want.You can also learn to your user to use the profile page of their contact to send them a private massage.
The number of click to do this is the same i think.It’s your choice
April 28, 2011 at 1:18 pm #111248stephensimon
MemberHere’s where we encounter the error. First we go to the Members tab and select a member. On that member’s page, we click the “send private message” button. After filling in the email form and submitting, the page is returned with this error: “There was an error sending that message, please try again.” This only happens when attempting to send to a user with a country code extension in their email address. (We figured this out by looking at the user accounts that we couldn’t send messages to – the ones that triggered the error all had email addresses with country codes.)
April 27, 2011 at 9:43 pm #111194Paul Wong-Gibbs
KeymasterOk – so you’re going to your profile’s private message, compose; what type of search term do you enter in the name field? Do you get any autocompletion results (an AJAX script ought to be running)? Does the search term match up to a particular user?
Just trying to understand where it’s falling out. BuddyPress private messaging doesn’t use email addresses.
April 27, 2011 at 1:05 pm #111148Paul Wong-Gibbs
KeymasterThe private messaging doesn’t use the email addresses directly. I spent a bunch of hours this last weekend fixing problems with the private messaging system in certain situations involving differences between the user’s log in, and user nickname fields, and when the compat mode constant is set (I assume you have set this in your wp-config.php if you are logging in with email addresses — can you confirm?
April 26, 2011 at 5:09 pm #111071In reply to: please help, bbpress white page
drizzuti
Member@mercime thanks for the reply
im using wordpress 3.1.2, buddypress 1.2.8, directory install, wp functioning properly, bbpress built-in,
standard theme.plugins:
jet event system
bp moderation
cubepoints
private bp
google analytics
erocks dashboard lockdown
bp privacy
bp profile search
bp album+
thanks you for the help
greetings!April 25, 2011 at 11:32 pm #110995In reply to: Send private message autofill unpredictable
Brandon Allen
ParticipantTry adding `define( ‘BP_ENABLE_USERNAME_COMPATIBILITY_MODE’, true );` to your wp-config.php or bp-custom.php file.
April 25, 2011 at 8:57 pm #110963In reply to: Need help with PM function in forums
Brandon Allen
ParticipantWell that’s why I asked. Right now the logic tranlates to this:
“If this topic is not mine, or the user is not logged in, don’t show a link.”
You want it to say:
“If this post is mine, or the user is not logged in, don’t show a link.”
Here’s your new code:
`function bp_forum_send_private_message_link() {
echo bp_forum_get_send_private_message_link();
}
function bp_forum_get_send_private_message_link() {
global $bp, $topic_template;if ( bp_get_the_topic_post_is_mine() || !is_user_logged_in() )
return false;return apply_filters( ‘bp_forum_get_send_private_message_link’, wp_nonce_url( $bp->loggedin_user->domain . $bp->messages->slug . ‘/compose/?r=’ . bp_core_get_username( $topic_template->post->poster_id, $topic_template->post->poster_nicename, $topic_template->post->poster_login ) ) );
}`April 25, 2011 at 8:25 pm #110958In reply to: Send private message autofill unpredictable
jzvestor
MemberI just found the same error! I cannot send messages to users with a dash in their username. The error I am getting is when I try to select that user as the recipient, it shows there name but then also the following errors IN the dropdown:
Warning: Cannot modify header information – headers already sent by (output started at /home/tr0421or/public_html/wordpress/wp-content/plugins/genesis-connect/lib/ajax.php:541) in /home/tr0421or/public_html/wordpress/wp-content/plugins/buddypress/bp-messages.php on line 556
Warning: Cannot modify header information – headers already sent by (output started at /home/tr0421or/public_html/wordpress/wp-content/plugins/genesis-connect/lib/ajax.php:541) in /home/tr0421or/public_html/wordpress/wp-content/plugins/buddypress/bp-messages.php on line 557
Warning: Cannot modify header information – headers already sent by (output started at /home/tr0421or/public_html/wordpress/wp-content/plugins/genesis-connect/lib/ajax.php:541) in /home/tr0421or/public_html/wordpress/wp-content/plugins/buddypress/bp-messages.php on line 558
I get the same error for other users but message will go thru.
are you using genesis connect by any chance? I have a post in to them about it…
April 25, 2011 at 8:15 pm #110956In reply to: Redirect homepage to registration page
r-a-y
KeymasterTry the following:
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-to-make-a-private-community/?topic_page=2&num=15#post-44616Add the code to your theme’s functions.php.
April 25, 2011 at 8:05 pm #110955In reply to: Need help with PM function in forums
r-a-y
KeymasterYou’d probably want to echo the result.
Use the following in topic.php:
`bp_forum_send_private_message_link()`And not:
`bp_forum_get_send_private_message_link()`April 25, 2011 at 7:46 pm #110947In reply to: Need help with PM function in forums
function_im_awesome() {
ParticipantYes, I copied right from the template-tags for the send_private_message_link function.
April 25, 2011 at 7:23 pm #110939In reply to: Need help with PM function in forums
function_im_awesome() {
ParticipantThought for sure this would work but it didn’t
`function bp_forum_send_private_message_link() {
echo bp_forum_get_send_private_message_link();
}
function bp_forum_get_send_private_message_link() {
global $bp, $topic_template;if ( !bp_the_topic_is_mine() || !is_user_logged_in() )
return false;return apply_filters( ‘bp_forum_get_send_private_message_link’, wp_nonce_url( $bp->loggedin_user->domain . $bp->messages->slug . ‘/compose/?r=’ . bp_core_get_username( $bp->topic_template->post->poster_id, $bp->topic_template->displayed_user->userdata->user_nicename, $bp->topic_template->displayed_user->userdata->user_login ) ) );
}`April 25, 2011 at 12:13 pm #110918In reply to: Send private message autofill unpredictable
john@chalkandtalk.co.uk
Memberok I have to correct my own post – it is not old users and new users but users with a . (period or full stop) in their username. If a user has a period in their username the message system malfuntions.
April 23, 2011 at 3:34 am #110766In reply to: require users to login to see rest of pages?
Brandon Allen
ParticipantHave you read over the FAQs here: (https://buddypress.org/community/groups/private-buddypress/)?
April 22, 2011 at 4:18 am #110702mgelblum
MemberI have the same question
April 17, 2011 at 8:33 pm #110474In reply to: Display topic problem
saphrym
MemberI reinstalled the forums and then created more groups (my first group was private). Now it works fine. So I have no idea what to tell you. This is a completely fresh install I did about an hour before I posted I was having the problem.
Try adding more groups and putting in some test posts. That’s what fixed mine. (When I reinstalled, I was still having the same problem until I added more groups.)
April 17, 2011 at 3:21 am #110437In reply to: Fatal Error on activating BuddyPress Plugin
@mercime
ParticipantWhat BP version are you on? That issue has been fixed https://trac.buddypress.org/ticket/2759 to address deprecated notice if you’re on PHP 5.3+
== It shouldn’t need 33MB of RAM just to activate the plugin. ==
It depends on server configurations ultimately. I set up a BP install for a friend on a shared hosting plan with 32MB and it’s running well with a private community of 250+ members. Resolve the deprecated notices issues first and see if you still need to increase memory limit.April 16, 2011 at 7:31 am #110385In reply to: Installing buddypress in subsite in WP multisite
@mercime
ParticipantFirst thing’s first, if you want to have user-blog-URL’s as http://myname.mysite.com/ then you have to install BuddyPress in domain root http://mysite.com/ Otherwise, if you install BP in secondary site with a subdomain configuration, e.g. http://buddypress.mysite.com/, the glitch is that the user blogs created from the secondary site will turn out like http://myname.buddypress.mysite.com/
Reported here: https://trac.buddypress.org/ticket/1796== 4. but when i do that , the links etc starts showing in the main site ==
Unless you put in code or widget for sitewide recent posts or for list of all blogs, then those links won’t show up in the home page of your main site.== i only wants users to see once the login to community ==
Read through to the end of this related topic with solutions for the https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-to-make-a-private-community?topic_page=1&num=15April 15, 2011 at 6:45 pm #110357In reply to: Send Private Static Message
r-a-y
KeymasterYou should also add some type of nonce verification:
https://codex.wordpress.org/Function_Reference/wp_create_nonceReason is in your function anyone can send a Bzzt even if you’re not logged in if they know the correct URL schema.
April 15, 2011 at 5:05 pm #110351In reply to: Send Private Static Message
shanebp
ModeratorThanks for the pointer. Got the listener working.
Here it is, for other noobs…`
function bp_send_private_bzzt() {
global $bp;if ( $bp->profile->slug != $bp->current_component || ‘bzzt’ != $bp->current_action || ‘send’ != $bp->action_variables[0] )
return false;$sender_id = $bp->action_variables[1];
$recip_id = $bp->action_variables[2];
$recip_name = htmlspecialchars(urldecode($bp->action_variables[3]));
$sender_name = $bp->loggedin_user->fullname;$alert_message = “You just sent a BZZT! to ” . $recip_name;
bp_core_add_message( __( $alert_message, ‘buddypress’ ) );$subject = $sender_name . ” just sent you a BZZT!”;
messages_new_message( array(‘sender_id’ => $sender_id, ‘subject’ => $subject, ‘content’ => “BZZT!”, ‘recipients’ => $recip_id ) );bp_core_redirect( wp_get_referer() );
}
add_action( ‘wp’, ‘bp_send_private_bzzt’, 3 );function bp_send_private_bzzt_link() {
echo bp_get_send_private_bzzt_link();
}
function bp_get_send_private_bzzt_link() {
global $bp;if ( bp_is_my_profile() || !is_user_logged_in() )
return false;$sender_id = $bp->loggedin_user->id;
$recip_id = $bp->displayed_user->id;
$recip_name = $bp->displayed_user->fullname;return apply_filters( ‘bp_get_send_private_bzzt_link’, wp_nonce_url( $bp->displayed_user->domain . $bp->profile->slug . ‘/bzzt/send/’ . $sender_id . ‘/’ . $recip_id . ‘/’ . $recip_name . ‘/’) );
}
` -
AuthorSearch Results