Search Results for 'buddypress'
-
AuthorSearch Results
-
September 2, 2013 at 5:57 pm #170759
In reply to: Feature request: Hide certain members
therandomguy12345
ParticipantI want to hide specific users from the “(BuddyPress) Recently Active Members” & “(BuddyPress) Members” widgets (latter one is most important for me), but I don’t want these users from the members directory. So what does the below code exactly do? Does it exclude users from members directory or the widgets? Or both?
<?php // Remove admin from directory add_action('bp_ajax_querystring','bpdev_exclude_users',20,2); function bpdev_exclude_users($qs=false,$object=false){ //list of users to exclude $excluded_user='1';//comma separated ids of users whom you want to exclude if($object!='members')//hide for members only return $qs; $args=wp_parse_args($qs); //check if we are listing friends?, do not exclude in this case if(!empty($args['user_id'])) return $qs; if(!empty($args['exclude'])) $args['exclude']=$args['exclude'].','.$excluded_user; else $args['exclude']=$excluded_user; $qs=build_query($args); return $qs; } //Remove admin from member count add_filter('bp_get_total_member_count','bpdev_members_correct_count'); function bpdev_members_correct_count($count){ $excluded_users_count=1; //change it to the number of users you want to exclude return $count-$excluded_users_count; } ?>September 2, 2013 at 8:31 am #170747In reply to: Easy way to add tab to profile
becskr
ParticipantHi Xevo,
It depends how much you can code.
You can add one using the bp_core_new_subnav_item() function.
Let me know if you want more help – you should be able to find more info if you google it.This is a good example:
Add tab to profileSeptember 2, 2013 at 7:52 am #170746In reply to: New to buddypress – got lots of questions :-)
fideldonson
ParticipantHi @mercime
Thanks. – i just downloaded the db via phpmyadminWe are running a BP default child theme – would i simply remove it from the theme files?
How about the link to ‘read more’ for a forum post showing up in the activity stream. Is that also done in the theme files – as opposed to settings?
Best regards
September 2, 2013 at 7:29 am #170745sarvesh362
Participantdefault buddypress theme
September 2, 2013 at 5:49 am #170743In reply to: Private Portal with BuddyPress
modemlooper
Moderatorbp_is_profile is used to test if its a profile page. try that in a conditional.
September 1, 2013 at 10:47 pm #170736In reply to: Buddypress x-profile visibility doesn't work
Ben Hansen
ParticipantHave you tried confirming this behavior on a fresh install? If so i’d put in a trac ticket otherwise you’re probably going to be on your own for that one. It’s possible your import process is the root of the cause.
September 1, 2013 at 10:43 pm #170735In reply to: Stopping anonymous group creation
Ben Hansen
Participantin buddypress settings under Groups Settings and the heading Group Creation un-check the box that says “Enable group creation for all users”
September 1, 2013 at 10:09 pm #170730In reply to: Random Wish/Idea for Buddypress
Xevo
ParticipantI personally think a media option should’ve been in the core since the start. All the plugins that have been made are cool and all, but most of them are really big and bloaty or are premium.
A simple media option in buddypress which can be added upon by plugins would be a much better way to go in my personal opinion.
September 1, 2013 at 5:38 pm #170725In reply to: Random Wish/Idea for Buddypress
valuser
ParticipantYes BP Activity Plus works well. Thanks. (sorted a recent hiccup – it was just a silly mistake by me!)
Possible other options include rtMedia https://wordpress.org/plugins/buddypress-media/ and previously there was buddypics.
Communication, now, with photos/video etc is just exploding-its now just a huge part of online social interaction.
While i am truly appreciative of the countless developers and whole open-source eco-system that produces the plugins – sometimes developers, even commercial developers, move on to something else and the particular plugin does not get upgraded or does but months later.
Technically also as BP Activity Plus puts uploads into its own bpfb folder the links will not persist if the plugin is deactivated.
For niche functionality perhaps this is not so important but for a major functionality like say photo uploads my two cents is that it might be worthwhile for buddypress (as social interaction is its core) to have it built in. Its just to future proof it.
Am not talking about 1.82 but say aim for after 1.90
The p2 theme which i suspect the core devs might use quite a bit is a reasonable functioning template
(However, all this could be hugely difficult with Buddypress – I just haven’t a clue )
If it was in my hands (now i really am getting way above myself here) I would add “Add Media” and Map/Location (my p2 example – at http://trulysuperb.com/
Anyway I will put something up on the trac.
While i’m here – thank you @mercime for the huge lots of help in this forum and the wp forum over the years.
September 1, 2013 at 4:51 pm #170724In reply to: [Resolved] Need activation key???
stuartjbray
ParticipantHi, I’m trying to get BuddyPress running, and I can see the activate account page, but I don’t have an activation key. Nothing was sent. How do I re-trigger this?
September 1, 2013 at 3:20 pm #170720@mercime
Participant@afjsystem confirming issue exists. There’s a trac ticket for this https://buddypress.trac.wordpress.org/ticket/5105
September 1, 2013 at 2:39 pm #170718In reply to: New to buddypress – got lots of questions :-)
@mercime
Participant@fideldonson no problem
Backup all tables in site’s database and you’re fine. But also check if there’s a bp-custom.php file in wp-content/plugins/ in server, and back that up if there’s one.
You can remove the status update box in different ways. It just depends on whether you’re using a WordPress theme or BP Default child theme.
September 1, 2013 at 7:54 am #170706In reply to: Random Wish/Idea for Buddypress
@mercime
Participant@valuser better to post this in BP Trac. Not sure that this would be added to core though. It’d be up to the devs. Just curious, BP Activity Plus plugin is not working for you?
September 1, 2013 at 5:58 am #170704In reply to: Buddypress x-profile visibility doesn't work
envieme
Participant@bp-help Thanks for reverting back quickly. I did search before I posted and the only one that found similar to my case was https://buddypress.org/support/topic/how-do-i-hide-extended-profile-fileds-from-users/
But I haven’t used the plugin the post mentions about, I did a backend database import by exporting and importing sql.
And I have done all the standard steps I do when something is amiss in WP or BP like deactivating all plugins and reverting to default theme. Yet the problem persists. Further I noticed in my DB that a meta field bp_xprofile_visibility_levels is only set for a handful of users in the users_meta table. Though it being set doesn’t really set the visibility level properly.
September 1, 2013 at 5:31 am #170703In reply to: Buddypress x-profile visibility doesn't work
bp-help
Participant@envieme
I can’t recall it but I have seen this issue on the forums before when it dealt with importing members and not respecting the default profile visibility. Maybe a search through the forums will help and if I am not wrong it was resolved so maybe doing a search can help. If not perhaps another volunteer will provide you a better solution. Good luck!September 1, 2013 at 1:37 am #170696shanebp
Moderatoruntested:
$activity_action = sprintf( __( '%1$s wroteDD a new post, %2$s, in %3$s', 'buddypress' ), bp_core_get_userlink( (int) $post->post_author ), '<a href="' . $post_permalink . '">' . $post->post_title . '</a>', get_the_category_list( ', ', '', $post->ID ) );August 31, 2013 at 10:28 pm #170690In reply to: someone else's picture appears
bp-help
Participant@caspergrimaldi
Please give more complete info on your install. You mentioning “The plugin” is a guessing game and most of us can only spare a little time here and there and we don’t have time to ask every user to provide the details they should have provided when they first opened their thread. Most of the threads you see that no one has answered yet is largely because of this. https://buddypress.org/support/topic/when-asking-for-support-2/
As @hnla has advised you may want to consider hiring a developer. They usually have more advanced knowledge of the things that can be problematic to most novices.August 31, 2013 at 6:19 pm #170684In reply to: [Resolved] Missing associated pages?!
bp-help
Participant@kubrix
It means you need to assign those pages if you already have them in dashboard/settings/buddypress/pages then use the dropdown menu’s to associate the pages and save. Else you need to create those pages. I would assume those pages are there since you have members so it is just a matter of associating them.August 31, 2013 at 2:28 pm #170681In reply to: Hide members page
bp-help
Participant@kenstansmith
A quick search provided all of these related threads. You should be able to find something in one of them that will point you in the right direction.
https://buddypress.org/support/search/how+to+hide+pages/August 31, 2013 at 5:23 am #170675In reply to: BuddyPress Registration Page Not Working
bp-help
Participant@eve-oliveri
Also just to reiterate I signed up and activated an account on your site without an issue other than some crummy CSS in the fields and that was with the theme you was using. Maybe you need to clear your browsers cache and cookies.August 31, 2013 at 5:16 am #170674In reply to: BuddyPress Registration Page Not Working
bp-help
Participant@eve-oliveri
I can’t speculate what it is but maybe your themes author could help since we now have established it is a theme issue and not a BuddyPress issue.August 31, 2013 at 4:53 am #170673In reply to: BuddyPress Registration Page Not Working
Eve Oliveri
ParticipantThanks for the advice. I have just changed the theme to Twenty Twelve and the sign up works.
Is there something I should be looking for particularly in the Flexform theme to nut out why it is causing issues with sign up?
In the Twenty Twelve theme once the user receives the email they are prompted to follow a link to activate their account. Upon clicking they are taken to the Activate your Account page. This page says Invalid Activation Key. Is there something else that I am doing wrong?
I have looked through previous threads regarding the Invalid Activation Key and have not worked out what to do with this.
Thanks for your help.
August 31, 2013 at 4:30 am #170672In reply to: BuddyPress Registration Page Not Working
bp-help
Participant@eve-oliveri
Follow up, I just registered and activated an account on your site with no issue’s so if another volunteer would be willing to do the same to confirm my findings. Thanks!August 31, 2013 at 3:56 am #170671In reply to: BuddyPress Registration Page Not Working
bp-help
Participant@eve-oliveri
Have you tried activating a known theme that works with BuddyPress like Twenty Twelve or bp-default? This has been covered on the forums before on many occasions so do a search for similar topics. If after activating a known theme that works with BuddyPress and you still have an issue then let us know. More than likely your issue is related to your theme.August 30, 2013 at 6:38 pm #170666In reply to: Unlink Profile Page Title (Username)
Hugo Ashmore
ParticipantHave a read of this guide to how BP uses templates in theme compatibility mode and how to overload templates so they can be edited in your theme folder.
https://codex.buddypress.org/theme-development/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/ -
AuthorSearch Results