Search Results for 'buddypress'
-
AuthorSearch Results
-
December 25, 2013 at 11:08 pm #176064
In reply to: Help Making Buddypress Profiles private?…Must Login.
colabsadmin
ParticipantI 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.
December 25, 2013 at 12:33 pm #176057In reply to: Buddypics and BP Groups Frontpage plugin
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
December 24, 2013 at 9:49 pm #176052mcdesign
ParticipantHere’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?
December 24, 2013 at 12:04 pm #176040In reply to: [Resolved] Hide tabs in activity stream
arwenmckenzie
ParticipantManaged 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; }December 24, 2013 at 8:42 am #176034In reply to: 'Notifications' Tab appeared in profile?
ripulkr
ParticipantMy 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..
December 24, 2013 at 1:14 am #176021In reply to: [Resolved] Hide tabs in activity stream
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.
December 24, 2013 at 1:07 am #176020In 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.
-
AuthorSearch Results