Search Results for 'private'
-
AuthorSearch Results
-
August 11, 2015 at 10:35 pm #243061
danbp
ParticipantTo create a shortcode, you use the same function as in the mentionned topic and instead echoing, you return what you need. Like this:
function bpfr_message_shortcode() { $author = get_the_author(); $message = 'Login to send a message to this author !'; if( is_user_logged_in() ) { return '<a href=" '.wp_nonce_url( bp_loggedin_user_domain() . bp_get_messages_slug() . '/compose/?r=' . $author ) .' title="Private Message to Author" ">Contact the author</a>'; } else { return $message; } } add_shortcode( 'ksam', 'bpfr_message_shortcode' );Add this to bp-custom.php or your child-theme functions.php.
Use the shortcode
[ksam]at the place you want and you’ll see aContact the authorlink.Note that I tested it only within a post, meaning you need to be in a post loop to fetch an author.
August 1, 2015 at 11:01 am #242669In reply to: Centralised Gallery for artist community
djsteveb
Participant@jordanboon0 – certainly there is more than one way to accomplish what you are proposing here.
My first thought upon reading this is is that you can create a “multi-user blog” with wordpress. Each new artist becomes a “contributor” or even “editor” upon sign up, and they can post a new gallery easily, then your admin(s) can choose what new galleries get published.
You go do all that with a single blog / wordpress install – and do it without buddypress, just make a cool custom author page for whichever theme you want to use.
There are many plugins and settings for things like front end uploads, post author profiles, wordpress gallery fancy stuff and all that.
You could also put buddypress into this mix and give your artists some extra social network stuff like private messages, groups and all that – however if you go with buddypress and and that layer to handle everything (without getting your users to submit posts / pages via standard wordpress) – then you have to get into a media plugin like rtmedia, mediapress, or – another one posted about a month ago.. anyhow – those media plugins are kind of their own “silos” – customizing how they work is not a few wp repo plugins away – and support for what you may want to do with them may be disappointing.
Of course you could take WP, add in BP if you really want the social layer, and still use the main site blog as kind of a “multi-user (or “group” blog) and do it that way.. you could get more complex and turn it into a multi-site install where each user get’s their own unique blog with gallery plugins – but moderation of posts and such with that setup may become more of a challenge – along with the extra headaches with running a multi blog network.
Anyhow – given the details you provided with your stated goals, I would forget about buddypress and multi-site – just install wordpress and do some searches in the wp-repo and themes section for “author pages”, “group blog” “post moderation” “front end uploads” and the various “Gallery” plugins – I think you can accomplish what you are going for pretty easily with lots of customization options.. without all the drawbacks and limitations of BP.
July 24, 2015 at 10:58 pm #242220In reply to: Secret code necessary for registering
djsteveb
Participantnote sure if these work or not – never used them:
https://wordpress.org/plugins/wp-invites/https://wordpress.org/plugins/buddypress-private-community/
Let me know if you try them and they fail or work!
July 24, 2015 at 9:53 pm #242218In reply to: Buddypress on multisite
djsteveb
Participant@mattfl850 – this info will help with that journey:
bottom of the page: https://codex.buddypress.org/getting-started/installation-in-wordpress-multisite/I am sure this is possible, it’s not the way I would do it… might also want to consider some of the info here: http://halfelf.org/2011/dont-use-wordpress-multisite/ (updated may 2015 😉
Others may agree or disagree, and you may be keeping your server tuned like a well oiled machine – hidden from the SE spiders and brute force attackers and all that.
Of course I am not an expert, or a bp dev or anything – just another user who has tried a few different setups and spent many hours trying to do what it “possible” and should be “simple” – and pulled my hair out trying to make things like that work well :))
Not sure if anything is changed in recent updates, but I will mention that when I did this kind of conversion; I had to install the role scoper plugin (now called press permit) – in order to hide people’s private pics they uploaded – as they were visible in the media gallery for other bp users on my sites who had signed up for a “blog” (not called “site” in multi-site) – that was a painful thing to find out the hard way – maybe things have changed with that and other issues – not sure.
Have fun with that and let me know how it works out for ya!
July 23, 2015 at 3:15 pm #242164modx
ParticipantHi, sorry if I ask a question here but it is also with regards to adding a Send Private Message button/link.
I would like to add it on the user profile. For example when a user views my profile, he/she can send me a private message through my profile page.
Any help is greatly appreciated. Thank you!
July 23, 2015 at 2:02 am #242151In reply to: cannot send private messages BP 2.3.2.1
rebekahmeuir
Participantthanks for the encouraging information @5high
unfortunately, my private messages still do not work. It allows me to compose the message, but when I click Send Message, the message does not send. I do not get an error. The message form goes empty and the message does not appear in the database. The message does not show in the sent messages. It just disappears.
July 22, 2015 at 1:59 am #242104In reply to: cannot send private messages BP 2.3.2.1
5high
Participant@rebekahmeuir – this has just started happening to me too. All plugins, BP and themes up to date (with theme that’s specifically designed to work with BP).
On tesing the messaging works if you send it to a member by clicking on the ‘send private message’ in the All members section, but NOT when you compose a message in your own p[rofile section – with subjest line completed, and tested using the memebers’ Name and username. It shows an error message that the message can’t be sent.
Anyone else experiencing this?
I’ll check with other plugins and the theme and will update here if I find anything, but any info would be really useful!
Cheers.
July 20, 2015 at 8:23 pm #242053In reply to: Get Post ID from Notification
Henry Wright
ModeratorThat particular notification is for a private message. See where it says
component_name. Post IDs won’t relate to messagesJuly 15, 2015 at 5:40 pm #241872gennaro80
ParticipantDanBp,
this helped me too. Thank you very much!Is it possible to have something like that to put a “send private message” on product page (whoocommerce) to private message the User who upload product?
thank you!July 12, 2015 at 7:19 pm #241782In reply to: Paid Membership Pro With Buddy Press
ghar123
ParticipantThank you! Is there anything in the buddypress settings that can make all the forums private? For example, if the click on the forums link then they cannot see any of the forums until the login.
July 7, 2015 at 7:51 am #241516Prabin
Participant@danbp, I have an issue..
I have “Most Agreed” option in single group page. but the query is not returning desired value.
can you look into this?Here’s the Screenshot

and Here’s the code
if( class_exists( 'BP_Group_Extension' ) ) : class bpgmq_feature_group { public function __construct() { $this->setup_hooks(); } private function setup_hooks() { $bp = buddypress(); add_filter( 'bp_ajax_querystring', 'custom_filter_ajax_querystring' , 999, 2 ); // you need to do it for the group directory add_action( 'bp_group_activity_filter_options', array( $this, 'agreed_option' ) ); } public function agreed_option() { ?> <option value="featured"><?php _e( 'Most Agreed' ); ?></option> <?php } } function custom_filter_ajax_querystring( $querystring, $object ) { #var_dump($querystring); if($object != 'activity' ) return $querystring; $defaults = array('type'=>'active','action'=> 'active','scope'=> 'all','page'=>1,'order'=>'DESC'); #exit; /*if( $bpgmq_querystring['type'] != 'featured' ) return $querystring;*/ $bpgmq_querystring = wp_parse_args( $querystring, $defaults ); if( $bpgmq_querystring['type'] == 'featured' ){ $bpgmq_querystring['meta_query'] = array(array('key'=> 'favorite_count','value'=> 1,'type'=> 'numeric','compare' => '>=')); return apply_filters( 'bpgmq_filter_ajax_querystring', $bpgmq_querystring, $querystring ); } var_dump($querystring); } function bpgmq_agreed_group() { if( bp_is_active( 'activity') ) return new bpgmq_feature_group(); } add_action( 'bp_init', 'bpgmq_agreed_group' ); endif;Thanx in Advance
July 3, 2015 at 6:12 pm #241426In reply to: [Resolved] Problems getting started
danbp
ParticipantWould it work if I would not connect the “members” page with BuddyPress in the settings, set the page to private and pull the dynamic content for the members list by a stortcode?
No, no, no. That page is core, must exist and should be blank. Just a (custom) title.
Do I need to learn to code to use BuddyPress?
No, but it’s better if you know some basics.To make the member directory for loggedin users only, you have to:
– create a child-theme (is explained on WP and BP codex)
– copy/paste index.php from wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/index.php
to
/wp-content/themes/your_child/buddypress/members/index.phpIn this copy, right after
<div id="buddypress">, in the existing php opening tag just after, you addif(is_user_logged_in() ):At the end of the file, you’ll find the closing div tag of #buddypress.
Just before this closing tag, again an opening php tag, you addendif;before the do_action you’ll see there.If you did it correctly, the directory is now only be visible for loggedin users.
Some basics:
open php tag
<?php
closing php tag?>open html tag
<div>
closing html tag</div>July 3, 2015 at 5:41 pm #241425In reply to: [Resolved] Problems getting started
Anonymous User
InactiveHello danbp,
So far i understand you use bbPress and now you want a members directory, and eventually some additionnal fields on user’s profiles. And most of this should be private or “members only”, right ?
>> Correct, combined with private bbpress forums on a website with also public content.I have set the “members” page I created as private, but it is still displayed when I go on the page as a logged out user. Why is that so?
Would it work if I would not connect the “members” page with BuddyPress in the settings, set the page to private and pull the dynamic content for the members list by a stortcode?I can read into the codex of course, but do I need to learn to code to use BuddyPress?
Nicole
July 3, 2015 at 5:25 pm #241424In reply to: [Resolved] Problems getting started
danbp
ParticipantHi @nmschaller,
bbPress is a separate plugin and BuddyPress doesn’t manage bbPress. For questions about forum settings, you can use the bbPress support.
When you use BP groups component, you can add a forum to each of them. In this case only, you have to install bbPress. Of course you can also use bbPress as standalone on a BP install, or use bbPress with WordPress, without BP.
BP doesn’t use “pages” but templates, and the only pages created during installation are in for internal purpose. The “member” page is used to show the member directory, but also profiles or members activities. This dynamic content is displayed on different templates, depending the context, and using WP’s page system to fire all that via a same page slug (aka internal path).
your-site/members/some/thing/where/some/thing/is using his own template part displayed on “members page”.So far i understand you use bbPress and now you want a members directory, and eventually some additionnal fields on user’s profiles. And most of this should be private or “members only”, right ?
The main problem is that you want some custom behave that need some knowledge (you seem to have), but you cannot edit functions.php Unfortunately, this is the place where to add customisation. And what to tell about bp-custom, which is another crucial cusmisation file.
You want to drive and have no steering wheel ! Annoying… 😉
The question is Do you need BuddyPress or can you use another solution ? 🙂
Depends your project, really. Members directory or extended profiles can be done with separate plugins.
Read here:
http://chrislema.com/best-wordpress-membership-plugin-2014/Or digg into the Codex if you decide to use BuddyPress.
July 1, 2015 at 8:47 pm #241360In reply to: [Resolved] Site Privacy
Paul Bursnall
ParticipantThis works for me:
if( is_user_logged_in() ) { $page = get_page_by_title( 'Dashboard'); update_option( 'page_on_front', $page->ID ); update_option( 'show_on_front', 'page' ); } else { $page = get_page_by_title( 'Home' ); update_option( 'page_on_front', $page->ID ); update_option( 'show_on_front', 'page' ); }Added to functions.php if anyone else references this post.
I use My Private Site to keep the bulk of the site hidden from visitors / search engines – https://wordpress.org/plugins/jonradio-private-site/
Thanks for your help.
July 1, 2015 at 8:52 am #241328In reply to: BP crashes Forumsearch
danbp
Participantbbpress is the plugin, by type was meant site wide forum or group forum.
can I provide you a link via pm or mail?
No ! You’re on a free help support, maintained by volonteers.
If you want private assistance, use the job board forum where you can hire a freelancer or a dev, but probably not for free.
June 30, 2015 at 9:43 pm #241307danbp
ParticipantWhich result when you use Twenty Fifteen theme ?
Do you use some custom functions on group page ?Also, as of Codex https://codex.buddypress.org/administrator-guide/groups/
This is a private groupOptions
Group content and activity will only be visible to members of the group.
June 28, 2015 at 11:00 pm #241227In reply to: Mark Particular Messages as Read
Henry Wright
ModeratorThe
messages_mark_thread_read()function will mark a message thread as read. It accepts the thread ID. So, to mark read all new private messages if they have a given subject, you could do this:function creativesinside_mark_read( $message ) { // Be sure we're working with an array. if ( is_object( $message ) ) { $args = (array) $message; } else { $args = $message; } // Mark as read. if ( $args['subject'] == 'comment on your post' ) { messages_mark_thread_read( $args['thread_id'] ); } } add_action( 'messages_message_sent', 'creativesinside_mark_read' );June 25, 2015 at 12:42 am #241059In reply to: Chat Plugins with one-to-many messaging?
jacipetersilie
ParticipantHello everybody,
@mariatrier, I am also paying cometchat for that and will let you know how it goes. They estimated 8 working hours, begun work a week ago and haven’t replied ever since to my question how far they are.
@djsteveb
Thank you for your time. From your feedback I understand that my description wasn’t accurate. i really mean something like facebook chat. So no admin->many private message. I will check out that quick chat plugin.June 23, 2015 at 1:27 am #240989In reply to: Chat Plugins with one-to-many messaging?
djsteveb
Participant@jacipetersilie – best thing I have seen that is close to fbook like chat thing is the free “quick chat plugin” – however I do not use it to show as a widget on all pages and give a popup to users – as I think that would tax the server and web browser more than is reasonable if you have dozens of users – it might work, might not. I use quick chat for a single chat room on a single page.
From what you are describing however, I wonder if you really need a chat plugin to do what you are saying – one to many message – like the super-admin send a message to all users, kind of privately… I think there are some plugins in the wild that allow admin to send an email (Which I guess would be a buddypress inbox notification (?)) – to all users… that would “one to many” message – and give people a way to “message you back” privately I think.
I have also seen a plugin that will allow super admin to add a note to all dashboards – although I guess many bp users will not go to their dashboard when using most features –
I suppose you could also assign users to a group, and select settings for them to get a notice email when a new group message is sent. Which may achieve what you are describing.
If you just want one-to-many messaging chat with users who are actually logged into a chat room, I think it would be easy to do that with nusoft’s av-chat, there are settings in which you can make it so only certain users can post in the chat, have moderated chat, turn off pms and stuff like that – I guess I am not clear on what exactly you are trying to accomplish as I don’t use fbook and am not familiar with the kind of one to many fbook messaging you are talking about.
June 22, 2015 at 7:53 pm #240977In reply to: Search on group members page does not work
LeeBinder
Participantno – you need to be logged in as a user to test http://transinformation.net/community/gruppen/d-a-ch-im-licht/members/
No private mmsging here, so reply with your email address so I can send you a login. You can delete that post with your email address right away because I get it via email.
June 22, 2015 at 7:19 pm #240968In reply to: Search on group members page does not work
LeeBinder
ParticipantHenry, how I can I send you a login PW so the link is accessible for you? There does not seem to be a private msg function here, and when I try send it to you via email to [edited], the email bounces right away.
Thanks,
LeeJune 15, 2015 at 12:05 am #240718In reply to: Why is there no ajax on profile tabs?
Henry Wright
ModeratorI can view anyones messages when logged out.
And you’re definitely talking about what BuddyPress refers to as private messages?
Can you try again after disabling all plugins, reverting to TwentyFifteen and removing all custom code? If you still get to see private messages when logged out then that shouldn’t be happening.
June 14, 2015 at 11:21 pm #240716In reply to: Why is there no ajax on profile tabs?
Henry Wright
ModeratorWith standard buddypress (no modifications) you can freely view anyone’s messages without even logging in
That shouldn’t be the case for all users. Only users with admin capabilities should be able to do that. Are you able to see people’s private messages when logged in as a subscriber? If so, that’s a bug
June 14, 2015 at 11:08 pm #240715In reply to: Why is there no ajax on profile tabs?
CodeMonkeyBanana
ParticipantWith standard buddypress (no modifications) you can freely view anyone’s messages without even logging in. Personally I think that is not very good security/privacy, whatever you want to call it.
I made a ticket as I don’t think that “private messages” should be publicly viewable
(https://buddypress.trac.wordpress.org/ticket/6504#ticket)What privacy/security checks would you recommend for people who don’t want users private data publicly viewable?
-
AuthorSearch Results
