Search Results for 'buddypress'
-
AuthorSearch Results
-
December 24, 2013 at 1:07 am #176020
In reply to: Displaying profile fields in admin users.php
colabsadmin
ParticipantI 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/
December 23, 2013 at 11:27 pm #176014In reply to: [Resolved] Timestamps in members timezone
Paul Wong-Gibbs
KeymasterI 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
December 23, 2013 at 7:34 pm #1759988rizzi
ParticipantHere 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’ ),
December 23, 2013 at 7:17 pm #175997In reply to: Send a post to a user button
aboudard
ParticipantOh 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
December 23, 2013 at 5:00 pm #175984In reply to: Buddy Press Child Theme
modemlooper
Moderatorkeep folder structure same as in bp-templates
/child-theme/buddypress/members/single/profile.php
December 23, 2013 at 4:01 pm #175982In reply to: [Resolved] Timestamps in members timezone
shanebp
ModeratorAh, 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.December 23, 2013 at 3:50 pm #175981In reply to: [Resolved] Timestamps in members timezone
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.
December 23, 2013 at 3:07 pm #175978In reply to: [Resolved] Timestamps in members timezone
shanebp
ModeratorNice. 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.
December 23, 2013 at 2:40 pm #175977In reply to: [Resolved] Timestamps in members timezone
colabsadmin
ParticipantHere’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)
December 23, 2013 at 1:08 pm #175976In reply to: Members not displaying!
iAndre
ParticipantSolved!
The bp-templates/bp-legacy/buddypress/members/index.php file was empty! I restored this and works like a dream.December 23, 2013 at 12:09 am #175962In reply to: I am confused….(notifications, bp-default, etc)
cringechannel
ParticipantI understand. Sorry if I seemed short earlier, I was writing off my phone. Love buddypress and look forward to the fix. Happy holidays.
December 22, 2013 at 5:38 pm #175940In reply to: I am confused….(notifications, bp-default, etc)
modemlooper
ModeratorThen 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.
December 22, 2013 at 5:25 pm #175936In reply to: I am confused….(notifications, bp-default, etc)
modemlooper
ModeratorAppearance > 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.
December 22, 2013 at 5:07 pm #175933In reply to: I am confused….(notifications, bp-default, etc)
modemlooper
ModeratorCurrent BuddyPress works with any theme. All uou need to do is activate a different theme that is not a bp-default child theme
December 22, 2013 at 3:40 pm #175927In reply to: I am confused….(notifications, bp-default, etc)
colabsadmin
ParticipantSee if this helps to fix part of the problem: https://buddypress.org/support/topic/notifications-tab-appeared-in-profile/
December 22, 2013 at 3:39 pm #175926colabsadmin
ParticipantSee if this helps: https://buddypress.org/support/topic/notifications-tab-appeared-in-profile/
December 22, 2013 at 11:51 am #175919In reply to: 'Notifications' Tab appeared in profile?
koreancandy
ParticipantI 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!
December 21, 2013 at 10:12 pm #175906shanebp
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/December 21, 2013 at 9:31 pm #175905In reply to: Since BP 1.9 plugins don't use plugins.php file
mdpane
ParticipantThis 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.
December 21, 2013 at 5:01 pm #175895In reply to: Dynamic Menu Links
modemlooper
ModeratorAt top on menu admin page click screen options and make sure ‘BuddyPress’ is checked
December 21, 2013 at 4:48 pm #175894In reply to: group activity not showing – nothing showing up
michellecc
ParticipantWordpress 3.8
Buddypress 1.9.
Headway 3.5.5 used for blog design
s2member proDecember 21, 2013 at 4:13 pm #175892Jake
ParticipantThanks, 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
December 21, 2013 at 3:54 pm #175889shanebp
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.
December 21, 2013 at 2:49 pm #175885In reply to: 2.0 top features – ideas
Shmoo
ParticipantBetter 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.
December 21, 2013 at 2:38 am #175873In reply to: group activity not showing – nothing showing up
@mercime
ParticipantBut all of a sudden nothing works.
WP/BP versions? Theme used, plugins installed? https://buddypress.org/support/topic/when-asking-for-support-2/
-
AuthorSearch Results