Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 1,351 through 1,375 (of 3,460 total)
  • Author
    Search Results
  • #168939

    In reply to: BuddyPress 1.8 Issue

    GhostPool
    Participant

    I already have the following in my custom BP functions file:

    if(bp_is_active('friends'))
    		add_action('bp_member_header_actions', 'bp_add_friend_button');
    
    	if(bp_is_active('activity') && bp_activity_do_mentions())
    		add_action('bp_member_header_actions', 'bp_send_public_message_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');
    	}

    As I say these buttons displayed in the theme in v1.7.3, they only disappear in v1.8. I think you’re right of course, it looks like a theme issue, I just cannot figure out what changed in v1.8 to stop these buttons working in my theme.

    #168900

    In reply to: BuddyPress 1.8 Issue

    GhostPool
    Participant

    Nobody else has had the same issue? Lets try a different tact. Has there been any changes made to private message, add friend and public message buttons in 1.8?

    Henry
    Member

    Hi @mercime

    The thread example I posted “username/messages/view/30/” can actually have more than two members. Conversations can have lots of members.

    Obviously I can tell if the last message in the thread was sent to me by looking at it. I wanted to know how to check programatically. Sorry if I didn’t make that obvious. 🙂

    @mercime
    Participant

    How can I tell if that very last message was sent to me from somebody else or sent by me to somebody else?


    @henrywright-1
    Per structure of the example link you provided username/messages/view/30/ there are only two members in that thread, you and one other member. If the very last message has the avatar/username of the one other member with text e.g. “Sent July 12, 2013” then that message was sent by that one other member in the thread to you. Otherwise, if you see your avatarusername there at that very last message, then you sent that message to the one other member in that thread.

    Tecca
    Participant

    EDIT: Read that completely wrong.

    Henry
    Member

    Hi @mercime,

    Apologies, let me explain..

    If you see the message listed there then the message was sent

    A private message thread can end up with many messages. Some of the messages in the thread were sent by you to a site member and some of the messages in the thread were received by you (sent to you by a site member).

    I am interested in the very last message in the thread. How can I tell if that very last message was sent to me from somebody else or sent by me to somebody else?

    Hope that helps?

    @mercime
    Participant

    @henrywright-1 Not quite clear. If you see the message listed there then the message was sent. As to whether the other member received the message, not sure until you test it yourself in your installation. If this is not what you’re referring to, please be more specific 🙂

    #168779

    In reply to: BP Groups and Forums

    Faramarz
    Participant

    @mercime.. will do. Question, do I have to configure a wildcard for my websites? Here is my scenario: I have one main site WITHOUT buddypress installed and a sub-site WITH buddypress and I only want to have these features on my sub-site: Forums, Groups, Extended user profiles, Private messaging and Friends connection.

    Also, I want my sites addresses to look like these

    My Community site: http://www.domain.com/community .. also http://domain.com/community (without www) should be accessible

    And my main site: http://www.domain.com/.. and http://domain.com/ (without www) should be accessible.

    What kind of settings should I use to accomplish this?

    nando99
    Participant

    this makes buddypress unsuable for me… can anyone help?

    #168692
    bp-help
    Participant

    @ericaeide
    Have you tested the plugin with all other plugins other than BP and bbPress deactivated because it works pretty sweet for me and I am not just saying it because it is my plugin? When I say deactivate all but BuddyPress and bbPress it means all and not just the ones you choose to leave activated. This is basic troubleshooting procedures!

    #168679
    EE
    Participant

    @modemlooper, thanks again for your help. I know nothing about javascript so I’ll keep my fingers crossed I don’t run into any issues with the plugin in the future! 🙂

    #168662
    modemlooper
    Moderator

    like I said all that header info breaks page when you try to do a redirect before page load. You can always do a javascript redirect but that is after page load and not any faster than using one of the plugins. You maybe able to remove the header comment text.

    #168659
    EE
    Participant

    `###############################################################################################
    #
    # Looking for the header content? You’ll find it inside “header-default.php”
    #
    ###############################################################################################

    /* This page does nothing. It exists for custom template files and plugins that load content
    * outside the theme structure using direct calls to “the_header()” and “the_footer()”.
    * You should not add anything to this file. If you want to modify header functions or layouts
    * please look at “header-default.php” or “design-header.php”
    */

    ?>

    header.php contains that, so I tried in design-header.php which loaded a blank page, and header-default.php got the same error message… (by the way, I DO appreciate your help!) I just don’t think it should be this hard… I really don’t want to go back to having all groups be private and all members having to change their profile privacy settings 🙁

    #168656
    modemlooper
    Moderator

    Custom page templates will break whenever you add a filter to get_header because of the page template header info. This is really not a BuddyPress issue. There are other ways to redirect the page but they will work just like any plugin. The reason they maybe slow to redirect is because they redirect after page load so you are waiting on header and content.

    Try this, add code to bp-custom.php but not the add filter line, then in header.php before anything else add:

    <?php bp_communituy_redirect(); ?>

    #168643
    EE
    Participant

    `Warning: Cannot modify header information – headers already sent by (output started at /home/content/56/9819056/html/wp-content/themes/parallelus-salutation/design.php:1) in /home/content/56/9819056/html/wp-includes/pluggable.php on line 876

    #168641
    EE
    Participant

    Does this go in functions.php or bp-custom.php?

    #168639
    modemlooper
    Moderator
    function bp_communituy_redirect() {
    
    	if( !is_user_logged_in() && $_SERVER['REQUEST_URI'] != '/community/' && !is_home() ) { 	
    		wp_redirect( get_option('siteurl') . '/community/'  ); exit;
    	}
    		
    }
    add_filter( 'get_header','bp_communituy_redirect', 1 );
    
    #168588
    @mercime
    Participant

    You’d find the basic information about BuddyPress components at https://codex.buddypress.org/user/buddypress-components-and-features/

    Limiting the number of groups which can be created by user is plugin territory https://wordpress.org/plugins/limit-groups-per-user/

    #168448
    tduschei
    Participant

    Thanks. I doublechecked after reading your reply.

    Unfortunately still no luck.

    I went to settings>Private Community For BP.

    Next to unblocked page one I typed in without any quotes:
    profile

    But when I go to the following profile I still get redirected:
    http://www.ukraxdemo.com/members/newadmin/profile/

    Thoughts? Thanks @bphelp

    -Tom

    #168445
    bp-help
    Participant

    @tduschei
    By default the front page you set in dashboard/settings/reading is not blocked. To un-block a page with a url like this for example: http://your-site/sample-page/
    You would go to dashboard/settings/privatecommunitybp and in one of the unblocked page fields you would only need to enter: sample-page because it already gets the rest of the url dynamically. Make sure to save it at the bottom. For you to see how it works you would have be logged out of course. Good luck!

    #168437
    nando99
    Participant

    aha not front page but site wide sidebar… its ok, thanks for trying tho…

    #168436
    David Cavins
    Keymaster

    Sorry, I think I misunderstood your question from the beginning. You’re not trying to display topics on the front page of a group. You’re trying to show topics on the site’s front page? If so, what I’ve talked about won’t help at all. 🙁

    In looking into bbPress, I can’t really see how a particular forum is associated with a group. So I’m afraid I’m not going to be much help. Maybe someone else knows more about bbPress’s group forum integration?

    #168430
    nando99
    Participant
    #168429
    nando99
    Participant

    i’m using a premium theme, cinimatix…

    if i remove the “if bp_group_is_visible” conditional it works fine but shows all topics… i didnt try the second conditional bc its not even reading the group id..

    #168428
    David Cavins
    Keymaster

    That’s too bad. A couple of questions I should have asked at the beginning:

    1. What theme are you using?
    2. If you remove the conditional we added, does bbPress return topics for the correct group?
Viewing 25 results - 1,351 through 1,375 (of 3,460 total)
Skip to toolbar