Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 17,876 through 17,900 (of 68,987 total)
  • Author
    Search Results
  • #176064
    colabsadmin
    Participant

    I haven’t seen a plugin that does exactly what you wanted, but I did test this one for about a week: http://buddydev.com/buddypress/introducing-buddypress-user-profile-visibility-manager-give-the-users-control-to-manage-their-account-privacy/

    You might be able to install it, have the default setting for viewing members profile set to “logged in users”, then hide it on the front end so members cant change it.

    Or, just dig into the bit of code that hides the profile and use that.

    #176057
    focallocal
    Participant

    +1

    This plugin is exactly what i’m looking for, its a real shame @timcarey stopped updating it. are there any other alternatives to create a frontpage or blog page as a homepage for each of my groups?

    i found this: http://bp-tricks.com/featured/creating-a-custom-front-page-for-your-buddypress-groups/ but it doesnt seem like a very clean solution

    #176052
    mcdesign
    Participant

    Here’s what I need:

    Client wants to enter member info themselves, then later on have users create WP account. Is this possible, to create profile first, without wp account, and then save?

    So at that point, how does already-existing buddypress profile get associated with wp user?

    If this isn’t possible, can a temporary username / password be generated?

    #176040
    arwenmckenzie
    Participant

    Managed to finally sort it out by myself using the following custom css

    .buddypress #buddypress div.dir-search input[type="submit"], .buddypress #buddypress .message-search input[type="submit"], .buddypress #buddypress .item-list-tabs ul li.selected a, .buddypress #buddypress .generic-button a, .buddypress #buddypress .submit input[type="submit"], .buddypress #buddypress .ac-reply-content input[type="submit"], .buddypress #buddypress .standard-form input[type="submit"], .buddypress #buddypress .standard-form .button-nav .current a, .buddypress #buddypress .standard-form .button, .buddypress #buddypress input[type="submit"], .buddypress #buddypress a.accept, .buddypress #buddypress #activate-page .standard-form input[type="submit"], .buddypress #buddypress .standard-form #group-create-body input[type="button"], .post-password-required input[type="submit"] {
    	display: none !important;
    }
    #176034
    ripulkr
    Participant

    My expectation was that since notifications section has been added I should be able to locate a notifications.php file in members->single templates, which is unfortunately not present in the bp default theme. Since the file is not present the fallback is plugins.php which is shown in the notifications section.
    The above code exactly does what buddypress is already doing so it does not make any difference.

    If your theme has the members folder, then Notifications view is missing … is there any template we can refer to .. if not bp-default..

    #176021
    colabsadmin
    Participant

    #activity-all { display: none; }

    Note that I have no idea if that ID is used anywhere else.
    —————-
    In your child theme, copy/edit buddypress/activity/index.php. Look for

    <?php do_action( 'bp_activity_syndication_options' ); ?>

    All the options of that select are below it. Though, I’m a novice. There might be some easier way of doing it.

    #176020
    colabsadmin
    Participant

    I happen to see this while searching for other plugins. Don’t know anything about it, but it sounds like what you are after: https://wordpress.org/plugins/buddypress-profile-view-from-admin/

    #176014
    Paul Wong-Gibbs
    Keymaster

    I like this idea. It would make a fab plugin if someone can package it up well.

    I’m not sure BP core needs a timezone field by default, but if we can do anything to make filtering/re-calculating the dates easier (e.g. add a filter, or so), don’t hesitate to ask! Create an enhancement request on https://buddypress.trac.wordpress.org and I’ll get it into BP 2.0

    #175998
    8rizzi
    Participant

    Here is how you change the “Sitewide Activity” text.

    buddypress/bp-activity/bp-activity-screens.php – Line 384

    Below is what Line 384 looks like. Just replace the ‘Sitewide Activity’ text with whatever you want it to say.

    ‘post_title’ => __( ‘Sitewide Activity’, ‘buddypress’ ),

    #175997
    aboudard
    Participant

    Oh hello Alistair !
    I forgot that I had this post pending !
    I did find the solution, I detailed it here :

    http://blog.oxiane.com/2013/12/20/ajouter-un-bouton-envoyer-un-article-dans-buddypress/

    Would you like me to translate it ?
    You should find the hook names in the code sections, they(re pretty self explanatory !
    Cheers !

    Alain

    #175984
    modemlooper
    Moderator

    keep folder structure same as in bp-templates

    /child-theme/buddypress/members/single/profile.php

    #175982
    shanebp
    Moderator

    @colabsadmin

    Ah, didn’t notice that instruction, just looked at the code.
    ( It’s surprising how many plugins leave in that kind of code. )

    >I’m new to wordpress/buddypress so writing a plugin isn’t going to happen anytime soon

    You’ve already done a good chunk of the work.
    If you and/or @henrywright-1 want to draft a plugin, I’d be willing to get involved.

    #175981
    colabsadmin
    Participant

    @shanebp. I only have it there until the field is added, then I remove it

    “Once functions.php is run once, it will add the Time Zone field to the user profile. Once its been added, you can delete everything except the $zones array (you’ll need it later).”

    I’m new to wordpress/buddypress so writing a plugin isn’t going to happen anytime soon, but would love to see it done.

    #175978
    shanebp
    Moderator

    Nice. It would also be interesting to provide this on all timestamps.

    One issue ‘tho – in this:
    http://docs.taptappress.com/buddypress-add-time-zone-list-profile-field/

    I think you’re inserting / updating all those xprofile fields on every page load.
    Why not just do it once?

    You could write a plugin that uses ‘register_activation_hook’ to run bp_add_custom_timezone_list() once.

    And then use the filter hook in:
    bp_get_message_thread_last_post_date()
    to adjust the timestamp without requiring a template change.

    And you could use other hooks to adjust other timestamp displays.

    That would be a popular and very handy plugin.

    #175977
    colabsadmin
    Participant

    Here’s how I did this.

    First, I created the “Time Zone” select box for xProfile by putting the code in the following link into my functions.php file.

    http://docs.taptappress.com/buddypress-add-time-zone-list-profile-field/

    Once functions.php is run once, it will add the Time Zone field to the user profile. Once its been added, you can delete everything except the $zones array (you’ll need it later).

    I then created a new function to look up the users time zone and display the last thread date based on that time zone. Put this in your functions.php file.

    function mycustom_get_message_thread_last_post_date() {
    	global $messages_template;
    	$timezone = mycustom_get_member_timezone();
    	if ($timezone != '' ) {	
    		$timestamp = '@' . strtotime($messages_template->thread->last_message_date); 
    		$dt = new DateTime( $timestamp );
    		$dt->setTimeZone(new DateTimeZone($timezone));
    		return $dt->format('M j, Y, g:i a'); /* format the displayed timestamp however you want */
    	} else {
    		return bp_format_time( strtotime( $messages_template->thread->last_message_date ) );
    	}
    }
    
    function mycustom_get_member_timezone() {
    /** put the $zones array from the first step here.  I've left it out to save space in this post **/
       return array_search(bp_get_member_profile_data('field=Time Zone'), $zones);	
    }

    In a child theme, add/edit /members/single/messages/message-loop.php to use your new custom function. There’s two places you need to do this (inbox and sent).

    Replace

    <span class="activity"><?php bp_message_thread_last_post_date(); ?></span>

    With

    <span class="activity"><?php echo mycustom_get_message_thread_last_post_date(); ?></span>

    That’s it.

    Note: Technically you can do without the array if you want, but I wanted to display the GMT offset to the user instead of ‘US/Alaska’ (for example)

    #175976
    iAndre
    Participant

    Solved!
    The bp-templates/bp-legacy/buddypress/members/index.php file was empty! I restored this and works like a dream.

    #175962
    cringechannel
    Participant

    I understand. Sorry if I seemed short earlier, I was writing off my phone. Love buddypress and look forward to the fix. Happy holidays.

    #175940
    modemlooper
    Moderator

    Then you will be stuck with a broken site. If you can get the theme developer to remove BuddyPress from the theme and allow it to use BP theme compatibility then your theme will work into the future.

    I know this isn’t something you want to hear but it is better in the long run to have theme compatibility. BP 1.9.1 will have a fix for notifications display. This will be the final feature fix. You have the options of removing BuddyPress from your theme or using a new WordPress theme.

    #175936
    modemlooper
    Moderator

    Appearance > Themes in the WordPress admin. Activate a different theme.

    It has been known for some time that bp-default is getting phased out and new features will not work on it.

    Any well coded WordPress theme should work well with BuddyPress.

    #175933
    modemlooper
    Moderator

    Current BuddyPress works with any theme. All uou need to do is activate a different theme that is not a bp-default child theme

    #175927
    colabsadmin
    Participant
    colabsadmin
    Participant
    #175919
    koreancandy
    Participant

    I just realised that the other admin had actually updated to the new Buddypress version which includes this tab.

    How can I remove this tab still? It has broken my theme.

    Thanks!

    #175906
    shanebp
    Moderator

    >they can see the list of members in either alphabetical order or by date of last visit.

    You’re referring to the Members page?
    And you want to show a profile field ( country ) for each member?

    You may be interested in this premium plugin:
    http://www.philopress.com/products/buddyprofiledata/

    >Is it possible for the members to add several pictures, up to 5 for instance?
    You need to add a gallery plugin, like https://wordpress.org/plugins/buddypress-media/

    #175905
    mdpane
    Participant

    This is the same exact problem I was facing a couple days ago. I temporarily fixed it by adding some conditional tags, but I’d rather not muck up index.php for things like this.

    Here’s an example of some of the code I added:

    <div class="<? if ( is_rtmedia_gallery() OR is_rtmedia_single() OR is_rtmedia_album_gallery() OR is_rtmedia_album() ) : ?>MediaGallery<? else : ?>page<? endif; ?>" id="blog-latest" role="main">

    This changes the div class from ‘page’ to ‘MediaGallery’ for rtMedia pages.

    <?php if ( have_posts() && !is_rtmedia_gallery() && !is_rtmedia_single() && !is_rtmedia_album_gallery() && !is_rtmedia_album() ) : ?>

    This says if isn’t rtMedia related, continue loading index.php as usual.

    <?php elseif ( is_rtmedia_gallery() OR is_rtmedia_single() OR is_rtmedia_album_gallery() OR is_rtmedia_album() ) : ?>
    				<?php bp_dtheme_content_nav( 'nav-above' ); ?>
    					<?php the_content( __( '', 'buddypress' ) ); ?>
    					
    				<?php bp_dtheme_content_nav( 'nav-below' ); ?>
    				
    			<?php else : ?>
    
    				<h2 class="center"><?php _e( 'Not Found', 'buddypress' ); ?></h2>
    				<p class="center"><?php _e( 'Sorry, but you are looking for something that isn\'t here.', 'buddypress' ); ?></p>
    
    				<?php get_search_form(); ?>
    
    			<?php endif; ?>

    This says if it is rtMedia related, load that instead.

    Hopefully a fix comes out soon.

Viewing 25 results - 17,876 through 17,900 (of 68,987 total)
Skip to toolbar