Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 18,001 through 18,025 (of 69,106 total)
  • Author
    Search Results
  • #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.

    #175895

    In reply to: Dynamic Menu Links

    modemlooper
    Moderator

    At top on menu admin page click screen options and make sure ‘BuddyPress’ is checked

    #175894
    michellecc
    Participant

    Wordpress 3.8
    Buddypress 1.9.
    Headway 3.5.5 used for blog design
    s2member pro

    Jake
    Participant

    Thanks, will do – sorry if I came off curt; I’m the sole developer for a massive community endeavor (tying together bigbluebutton, buddypress, simple:press, woocommerce, sensei, software licensing, groups, subscriptions, informational video portal, document library, and of course a blog) and a bit burnt out to say the least. Just did a quick google search for the BP forum and looked for the suggestion thread cause I felt this was worth a discussion

    shanebp
    Moderator

    > I have a million other things to code at the moment

    Thanks for taking the time to post your code.

    If you’d like to suggest an enhancement, please use trac to submit a ticket.

    #175885
    Shmoo
    Participant

    Better customisation options of the activity stream: ie to be able to define a set of “or” filters for content type, and who. So (with plugin support) I can define a feed to include things from “me or friends or followers” showing “topics and topic replies and posts and new users” (and ideally be able to have a permalink to this with no other fluff on display). The current activity feed selectors are a mess and don’t provide what most people want to see.

    Should be nummer 1.

    And I don’t even want lots of new features to the activity stream but first just an easy way to customize the default lay-out would be so much pleasant!

    All BP pages are very easy to customize, move code around to give the page an unique feeling but when it comes to the activity stream the code is very fixed.

    There are about 50-75 Premium BuddyPress themes online for sale and 99% of them have the same activity stream page-layout. While all those premium theme developers can do lots of customization to all other pages the activity stream is like Twitter’s Bootstrap to BuddyPress it always tells you it’s a BuddyPress website without looking at the code.

    #175873
    @mercime
    Participant

    But all of a sudden nothing works.

    WP/BP versions? Theme used, plugins installed? https://buddypress.org/support/topic/when-asking-for-support-2/

Viewing 25 results - 18,001 through 18,025 (of 69,106 total)
Skip to toolbar