Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 601 through 625 (of 3,450 total)
  • Author
    Search Results
  • #261032
    manueldo
    Participant

    I asked seventhqueen for help and they said the problem is from buddypress, they can not help.

    When you have a private group and go to approve some member the warning is showed but after approving, when the page reload saying that the membership was approved, the warning dissapears, is the only page where the warning is not being showed.

    #261031
    ico33
    Participant

    UPDATE

    No, there is not the problem of users deleted with the same name.

    Now after having deactivated and reactivated buddypress, private messages are working. The only issue, at the moment, is that strange sentence. You send a message to a user named ABCDEFG

    and after sending, it says

    Conversation between Deleted User, Deleted User, ABCDEFG and you.

    I can’t understand who are the deleted user, and how to fix the issue

    #261027
    ico33
    Participant

    I deactivated PRIVATE MESSAGE in Buddypress options, and then re-activated.

    How strange… now I can send a message to a user named XXX

    When I send the message, after that it appears below as “Conversation between you e DELETED USERS, DELETED USERS, XXXX”

    Then if you refresh the page, the message count is 0, as it disappeared. My god, I just opened I new website, it worked till yesterday. It’s a great problem and I don’t think it’s simple to understand

    #261026
    ico33
    Participant

    Damn: also private messages now they don’t work. It says “message not sent, retry”.

    WHY??

    #260966

    In reply to: Hiding register link

    Venutius
    Moderator

    Set it as a private network?

    #260909
    talvasconcelos
    Participant

    Hi guys, need a little help with some custom action. I need to restrict private messages to paying members only, or if the message (thread) comes first from a paying user.

    I use Paid Membership Pro to manage the membership. I tried including this function in the theme’s function file:

    function message_from_non_premium($message_info) {
    	$user = get_current_user_id();
    	$premium = pmpro_hasMembershipLevel('1', $user);
    
    	if(!$premium) {
    		if(!thread_id) {
    			unset( $message_info->recipients );
    			return false;
    		}
    	}
    }
    
    add_action('messages_message_before_save', 'message_from_non_premium');

    but when testing, users can still send private messages, even without the required membership to do so. I used info from the forum and the pmp website: https://www.paidmembershipspro.com/documentation/content-controls/require-membership-function/

    #260857
    maccast
    Participant

    This works and hides the button, but I’m curious. Can someone still send a private message to another user when they are “not” friends using URL manipulation or should the _wpnonce stop that?

    #260810
    Venutius
    Moderator

    It could be, difficult to answer since you have not given a great deal of detail on what features you want. You can create multiple extra profile fields which are searchable, you can use a plugin like BP Profile Search to enable all sections of the profile to be searchable, and of course BP supports public and private forums.

    L.A. Randle
    Participant

    Hi,
    I switched to twenty-sixteen theme, and tried creating a private group;posted and I got the same results. Anything that I posted in the private group was posted on my personal profile. So it isn’t the theme…..

    Venutius
    Moderator

    Have you tried deactivating all plugins and testing this? By default, activity in private groups stays within the group.

    #260568
    danbp
    Participant

    hi @masoud1111,

    all i found was how to hide that button, or remove it.
    but not show it only on some profiles

    You just need to add some conditionnals.

    Try this (in bp-custom.php) and give feed back if it works.

    function bpex_private_message_button( $button ) {
    $user = bp_loggedin_user_id();
    
        if ( is_super_admin() ) { 
    		return $button;
    	}
    
    	if ( !empty( $user->roles ) && is_array( $user->roles ) ) {
    
    		if ( $role == 'subscriber' || $role == 'contributor' || $role == 'author' || $role == 'editor' )  {
    			// hide button for these roles
    			$button = '';
    		}
    	}
    
    	// allow the button to appear on admin's profile only
    	if ( bp_is_active( 'xprofile' ) && bp_is_user() )  {	
    		$user_id = bp_displayed_user_id();	
    		// assuming admin's ID is 1
    		if ( $user_id == 1 ) {
    			return $button;
    		}
    
    	}
    
    }
    add_filter( 'bp_get_send_message_button', 'bpex_private_message_button', 1 , 1 );
    #260564
    Md Sadiqur Rahman
    Participant

    I tried the trick but comes with some critical problems. https://buddypress.org/support/topic/subject-field-in-private-messages/

    This problem’s been discussed for more than 4 years. (https://buddypress.org/support/topic/cant-send-a-message-without-a-subject/)

    I thought it might have been solved. Anyway, thank you so much for your kind reply. Have a nice day 🙂

    #260544

    In reply to: menu link member list

    reivilob
    Participant

    I absolutely agree with you but it make sense to allow access to the member list only for login users and to be able to easily place it in a menu, at the position you want and this is not possible now …

    If you select it from the page list, you can not specify if user must be login to have it in a menu (genera menu or personal)

    It is not available in the buddypress login section. Here are only user related informations, but no resources reserved for buddypress login users, like private pages or others private features …

    I think the only way to process is to create (php) a menu menu for the login user, and create a menu that concatenate the basic menu with this one and display the result…

    OB

    jenfilgate
    Participant

    1. Which version of WordPress are you running? 4.6.1

    2. Did you install WordPress as a directory or subdomain install? directory

    3. If a directory install, is it in root or in a subdirectory? root

    4. Did you upgrade from a previous version of WordPress? If so, from which version? yes 4.6.0

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. yes

    6. Which version of BP are you running? 2.7.0

    7. Did you upgraded from a previous version of BP? If so, from which version? 2.6.2

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?

    – AsynCRONous bbPress Subscriptions
    – BackWPup
    – BAW Login/Logout menu
    – bbP private groups
    – bbPress
    – bbPress auto subscribe for new topics and replies
    – BP Direct Menus
    – BuddyPress
    – BuddyPress for LearnDash
    – BuddyPress NoCaptcha Register Box
    – Cloudflare
    – CodeStyling Localization
    – Contact Form 7
    – Content Aware Sidebars
    – Custom Post Type Page Template
    – Draw Attention
    – Gallery Carousel Without JetPack
    – Google XML Sitemaps
    – LearnDash & BBPress Integration
    – LearnDash – Gradebook
    – LearnDash Content Cloner
    – LearnDash LMS
    – LearnDash Pro Panel
    – LearnDash WooCommerce Integration
    – Livemesh SiteOrigin Widgets
    – MailChimp for WordPress
    – Members page only for logged in users
    – Page Builder by SiteOrigin
    – Post Types Order
    – Postman SMTP
    – Prevent Content Theft Lite
    – Revolution Slider
    – Simple User Profile
    – SiteOrigin Widgets Bundle
    – Slideshow
    – Slim Stat Analytics
    – The Events Calendar
    – Theme My Login
    – Ultimate Posts Widget
    – User Login Log
    – W3 Total Cache
    – Widget Importer & Exporter
    – WooCommerce
    – WooCommerce MailChimp
    – WordPress Importer
    – WP Better Emails
    – WP Smush

    9. Are you using the standard WordPress theme or customized theme? customized

    10. Which theme do you use ? Invent

    11. Have you modified the core files in any way? no

    12. Do you have any custom functions in bp-custom.php? no

    13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? 2.5.10

    14. Please provide a list of any errors in your server’s log files. none

    15. Which company provides your hosting? InMotion Hosting

    16. Is your server running Windows, or if Linux; Apache, nginx or something else? Apache

    I did the tests you recommended and it was my W3 Total Cache plugin that was causing the issue. I will have to look into that to figure out what setting was messing it up. @Scaffies doesn’t have that plugin, so guess our issues were caused by different things.

    ico33
    Participant

    Nothing to do!

    Error:

    Parse error: syntax error, unexpected ‘function’ (T_FUNCTION) in /home/mondolap/public_html/wp-content/plugins/bp-custom.php on line 3

    This is the bp-custom code:

    <? php

    function buddydev_hide_members_directory_from_all_except_admin() {

    if ( bp_is_members_directory() && ! is_super_admin() ) {
    //should we add a message too?
    //bp_core_add_message( ‘Private page.’, ‘error’ );
    bp_core_redirect( site_url(‘/’) );
    }
    }
    add_action( ‘bp_template_redirect’, ‘buddydev_hide_members_directory_from_all_except_admin’ );

    danbp
    Participant

    The function is working correctly on my install.

    Perhaps you have an issue with quotes, ie after copy/pasting the snippet from a topic where the code whas inserted without using the code button.
    Which software do you use to publish bp-custom ?

    Copy/paste following and give a try:

    function buddydev_hide_members_directory_from_all_except_admin() {
    
    if ( bp_is_members_directory() && ! is_super_admin() ) {
    //should we add a message too?
    //bp_core_add_message( 'Private page.', 'error' );
    bp_core_redirect( site_url('/') );
    }
    }
    add_action( 'bp_template_redirect', 'buddydev_hide_members_directory_from_all_except_admin' );
    ico33
    Participant

    Thanks! I did it with your suggest, so the file is

    
    <? php
    function buddydev_hide_members_directory_from_all_except_admin() {
    
        if ( bp_is_members_directory() && ! is_super_admin() ) {
            //should we add a message too?
            //bp_core_add_message( 'Private page.', 'error' );
            bp_core_redirect( site_url('/') );
        }
    }
    add_action( 'bp_template_redirect', 'buddydev_hide_members_directory_from_all_except_admin' );


    But every page of the website is now again a blank page with this error:

    Parse error: syntax error, unexpected ‘function’ (T_FUNCTION) in /home/mondolap/public_html/wp-content/plugins/bp-custom.php on line 2

    ico33
    Participant

    @sbrajesh

    Hello and thanks for the support, I tried the solution suggested, but after I created and then uploaded the file bp-custom in the plugins folder I got an error in every page of the website:

    Parse error: syntax error, unexpected ‘function’ (T_FUNCTION) in /home/mondolap/public_html/wp-content/plugins/bp-custom.php on line 2

    This is my file bp-custom:

    <? php
    function buddydev_hide_members_directory_from_all_except_admin() {
    
        if ( bp_is_members_directory() && ! is_super_admin() ) {
            //should we add a message too?
            //bp_core_add_message( 'Private page.', 'error' );
            bp_core_redirect( site_url('/') );
        }
    }
    add_action( 'bp_template_redirect', 'buddydev_hide_members_directory_from_all_except_admin' );
    ?>
    #260335
    livingflame
    Participant

    https://la.wordpress.org/plugins/buddypress-private-message-for-friends-only/

    Okey, very very partial solution.

    Really solution: BuddyDev Message Privacy BUT native!

    #260067
    livingflame
    Participant

    Links Public. Please do not delete!

    Bp links Menu with notify.
    https://goo.gl/photos/X8wMQzUUAfVLD34o8

    Search Activities by Date –> https://goo.gl/photos/pG9KHUMdybAetBNF9

    Message or Notifications Template. https://goo.gl/photos/ngAmNCHyRCWyd9fLA

    Buddypress.org has some template like this for Notifications.

    Feature #17. Private Messages for Friends Only but, Optional from User Menu.
    With rtMedia plugin you can put your Posts or Photos: Only Me, Only Logged Users, Only Friends, Public. But, rtMedia does not work for Messages.

    #259994

    In reply to: Login page

    Venutius
    Moderator

    https://wordpress.org/plugins/bp-simple-private/

    This makes it so the only page you can view is the homepage, then make sure all you can see on the homepage is the login button? Either that or modify the above plugin so that it redirects to the login page.

    #259824
    bcanr2d2
    Participant

    My install has stopped sending any emails out for new user activation.
    I can receive emails sent by WordPress after a user is manually activated, and can receive any email from Postman SMTP, as these test emails work.

    I don’t use any other activity markers, but emails were not received when messages were sent either.

    I have tried all of the listed troubleshooting steps that others have gone through before.

    I have a custom function that creates a post for the user during the registration process. I have removed all custom functions and tried registering a user, and it still will not send any emails.

    As BuddyPress uses it’s own PHP Mailer, I am not able to log them via any WP Mail logging tools, and want to see what might be going on here.
    The problem reared its head around the time I upgraded to 2.6 (although the custom function during registration was also added at this time) as well

    I have reset the emails multiple times, and I have not made any changes to them.

    Could someone please provide assistance, or given me a suggestion on how to run the BP Email Debug code to get an email of any issues

    Host is Bluehost

    Here is my install, and plugin list

    WordPress 4.5.4
    BuddyPress 2.6.2
    Advanced Custom Fields 4.4.10
    Akismet 3.1.11 (inactive)
    BackWPuP 3.3.4
    BP Force Profile Photo 1.0.5
    BP Member Type Manager 1.0.1 (inactive)
    BP xProfile Location 1.2
    BP XProfile WordPress User Sync 0.6.4
    Broken Link Checker 1.11.2
    Buddy Progress Bar 1.0.2
    BuddyPress Conditional Field Groups 0.1.0
    Buddypress Conditional Profile Field 2.0
    Buddypress Geodirectory Integration 1.0.0 (inactive)
    BuddyPress Member Type Generator 1.0.2
    BuddyPress Profile Tabs 1.6.1
    BuddyPress Security Check 2.1.2
    BuddyPress Simple Terms And Conditions 1.3
    BuddyPress Xprofile Custom Fields Type 2.5
    BuddyPress Xprofile Member Type Field 1.0.4
    Cherry Parallax Plugin 1.0.0 (for my theme)
    Cherry Plugin 1.2.8.1 (for my theme)
    Conditional Profile Fields for BuddyPress 1.1.9
    Contact Form 7 4.5
    Contact Form 7 – Dynamic Text Extension 2.0.1
    Custom Hooks 1.0 (All my custom functions are in this plugin)
    Custom Login 3.2.5
    Custom Post Template By Templatic 1.0
    Custom Post Type UI 1.4.1
    Disable Comments 1.5.2
    Display Posts Shortcode 2.7.0
    Easy Parallax Slider 2.1.1
    FacetWP 2.6.4
    GEO my WP 2.6.6.1
    GeoDirectory 1.6.5 (inactive)
    Hello Dolly .1.6 (inactive)
    MOJO Marketplace 1.0.1 (inactive)
    MotoPress Content Editor Lite 1.6.5 (inactive)
    Quick and Easy FAQs 1.0.3
    SuitePlugins – Advanced XProfile Fields for BuddyPress 1.0.3
    Super Socializer 7.8.1
    WP Private Content Plus 1.11
    WPFront User Role Editor 2.12.4
    Yoast SEO 3.5

    danbp
    Participant

    This topic is titled “Function to hide private message depending of user role”.

    and the snippet does that ! Subscribers have no access to the button. So far i remember it is also the default role in WordPress. You change that to your need.

    The first condition in the snippet allows some users (by ID) to access the button, whatever their role.

    If you want to add other WP roles, you simply copy the 2nd conditionnal if(role=='') and add another role if(role=='mamamouchi") { //do something }.

    Or you use only the user ID if you have only a few members allowed to access. I litle understanding of php is of course a + to do that.
    You have the basics in the snippet. Now, it’s to you now to make it work for your need.

    Raphael.v
    Participant

    Thank you @danbp, this work ! I’m pretty sure this will help a lot (and not only me).

    I’am asking something more : can this be adapt to allow only some user role to use private message ? (and not only some users ?) As the second part of the code you wrote, it remove the button to susbscriber.

    (I’m learning PHP, I’ve tried to change the code but did not succeed to have it work…)

    danbp
    Participant

    Hi,

    try this (goes to bp-custom.php)

    function bpex_remove_private_message_button( $button ) {
    $user = bp_loggedin_user_id();
    
        if ( $user == '4' || $user == '7' || $user == '25'  ) { // the allowed user ID's
    	 return $button;
    	}
    
    	if ( !empty( $user->roles ) && is_array( $user->roles ) ) {
    
    		if ( $role == 'subscriber') {
    			$button = '';
    		}
    	}
    }
    add_filter( 'bp_get_send_message_button', 'bpex_remove_private_message_button', 1 , 1 );

    No idea how to get specifically a pmpro defined user ID – you have to check their doc to adjust the above snippet. Note that it works on a standart install – without pmpro.

Viewing 25 results - 601 through 625 (of 3,450 total)
Skip to toolbar