Search Results for 'buddypress'
-
AuthorSearch Results
-
October 26, 2016 at 7:24 pm #260407
In reply to: [Resolved] Display user id
danbp
ParticipantHi,
you need a function to do that.
Here’s one who will show the user id on profile header and on members directory.
Add it to bp-custom.php or child theme functions.phpfunction razman_user_id_display() { if ( bp_is_user() ) { $user_id = bp_displayed_user_id(); } else { $user_id = bp_get_member_user_id(); } echo '<div class="myuser-id">My user ID: '. $user_id .'</div>'; } add_action( 'bp_before_member_header_meta', 'razman_user_id_display' ); add_action( 'bp_directory_members_item', 'razman_user_id_display' );October 26, 2016 at 7:01 pm #260406danbp
ParticipantEnsure you have a page for each active BP component. That the page is unique (no same page in trash or sub page) and that no template or model is assigned to them.
Set up pretty permalinks to whatever but default and save.
Go to dashboard > tools > buddypress and use the repair tool.
And read the install guide ! š
October 26, 2016 at 6:54 pm #260405In reply to: [Resolved] Can’t Create Groups
danbp
ParticipantHi,
it seems that you have a lot of pages on the site and that you use weird settings.
I would do the following:
– remove any redirect settings and other done via plugins.
– deactivate all plugins except buddypress.
– activate 2016, and not a child theme.
– ensure that each active BP component has a page assigned and that this page is unique, without any template or model assigned. Just a title and nothing else.
Actually, you have links like “…/americannexus.net/activity/members/” (found in the Who’s on widget). Or the link to Archangel’s profile indicates “../americannexus.net/activity/members/archangel/”That’s unusual and cannot work properly, except if your WP is in a directory called “activity”. And it is not the case ! Note also that BP should be at the same level as WP.
– set up pretty permalinks (what ever but default option) and save.
– and read attentively the install guide.
Other dysfunctionning points:
The toolbar has a Register button who link to ../americannexus.net/join/ (this works correctly)
but the homepage shows ../americannexus.net/register/. If you want visitors to register, send them to /join/ page and not to an empty page.…and of course, this link doesn’t work too (at least for a not logged visitor) : ../americannexus.net/activity/groups/create/
Here the list of correct slugs of a default BP install:
– your-site.net
– your-site.net/register/
– your-site.net/activity -> BP site activity page (active by default)
– your-site.net/members/ -> BP members directory (mandatory)
– your-site.net/groups/ -> BP groups directory (if group component is active)These BP pages are dynamic and depending the context, you can have ie:
your-site.net/members/USERNAME -> goes to a profile
your-site.net/members/USERNAME/friends -> goes to the friends screen of the specified userIt works the same for groups.
Once BP and WP are working correctly together, you can reactivate the child theme and your plugins.
October 26, 2016 at 6:22 pm #260402In reply to: [Resolved] Can’t Create Groups
Emmanuel
ParticipantHello
please i have the same problem.
When i seek to create group in my admin panel or throught user profil (front end), it is impossible.
the send me this message : The requested URL /example.com/groups/create/ was not found on this server.
But in the buddypress config allthings seem to be good (components, pages, options)
Iām working with WP 4.6.1 and BP 2.7
I am in local server.
why can i do please.October 26, 2016 at 4:07 pm #260393danbp
ParticipantCan’t say more! The site is not public, you use S2 members, pages are redirected, and you use a premium theme. And apparently you’re unable to provisory revert to a standart install without undoing a lot of settings. If you couldn’t test, how could we do ?
I presume there is a little js conflict somewhere – which could explain the jumping page phenomenom.
Afaik you have to ask on the theme support how to adjust the layout while using BuddyPress.October 26, 2016 at 6:06 am #260362In reply to: Password change blocks user
mashauri
ParticipantI have shared hosting with xilo.net
They assure me that I have 128MB of PHP memory
(although I am not convinced that this is the case given many “fatal errors” I receive – which go away if I simply reload the page)
I would appreciate your thoughts and suggestions on memory requirements (I am runnig WPLMS with BuddyPress and BuddyDrive as part of the standard plugins)October 25, 2016 at 9:02 pm #260342danbp
Participantbp_parse_args could be a solution.
Read the first comment block in bp-xprofile-template.php
October 25, 2016 at 8:40 pm #260340In reply to: BuddyPress Privacy for Messages
danbp
Participantif you’re only looking for “free” solutions, i’m afraid that you won’t get many, unless you find and built them yourself.
BuddyDev, very expensive. That’s your opinion. Did you even know that you use a function contributed by it’s author ?
How many time have you already spent on this forum, and nothing to say about all other searches you probably have done elsewhere ?
Do you imagine the price you have to pay if this support forum wouldn’t be “free” ? And the time (which is money) to charge to yourself for those efforts ? Certainly more than 20$ !Not everything can be native, because not everybody need functionnalities you want and because BP is only a plugin and not a collection of whatever existing enhancement who might be added, or who YOU think it should be in.
This is your 7th topic here.
And a good dozen of times i read your claim about lack of feature or functionnalities.
You critizise a lot but aren’t very constructive. That attitude is really unfair in regard of all thepeoplevolonteers working around BuddyPress.October 25, 2016 at 8:13 pm #260339In reply to: How to remove spam registers?
Venutius
ModeratorOk I’ve written something up, hope you like it
October 25, 2016 at 8:07 pm #260337In reply to: Site Wide Activity Stream
danbp
ParticipantIt’s a temporary information and i wouldn’t try to alter or remove it.
It use WP heartbeat API and what you’re looking for is defined in this (filterable)function:
October 25, 2016 at 8:06 pm #260336In reply to: MySQL version required for BuddyPress?
Paul Wong-Gibbs
KeymasterYep, like @hnla said. BuddyPress’ DB requirements are the same as WordPress’.
October 25, 2016 at 8:04 pm #260335In reply to: BuddyPress Privacy for Messages
livingflame
Participanthttps://la.wordpress.org/plugins/buddypress-private-message-for-friends-only/
Okey, very very partial solution.
Really solution: BuddyDev Message Privacy BUT native!
October 25, 2016 at 7:55 pm #260331In reply to: BuddyPress Privacy for Messages
danbp
ParticipantAnd what is the problem ? It seems to do what it is intended for.
But it is a premium plugin. If you need assistance you have to ask on the plugin support.October 25, 2016 at 7:30 pm #260326danbp
ParticipantNot sure it’s a fix to apply directly in a core file. You’ve probably need to review some of your templates or custom functions.
http://hookr.io/plugins/buddypress/2.6.2/functions/bp_blogs_get_subdomain_base/
http://hookr.io/plugins/buddypress/2.6.2/functions/bp_signup_get_subdomain_base/
October 25, 2016 at 7:14 pm #260324In reply to: BuddyPress Style Modules – Members Display
Hugo Ashmore
Participant@venutius Thanks for the write up, hopefully in time the idea may gain traction, as for a handler for loading those snippets I did have one in use locally but code was rough and ready, so may consider re-doing and making available on github, originally the idea was to add a loader for the snippets to the core buddypress-functions.php file where the main stylesheets are loaded from.
For now all I can suggest I’m afraid is to play around with the min-height properties where they occur as it really is something that can never be a true one size fits all to create boxes unless we start adding JavaScript into the equation to test for the tallest box and set others to that.
October 25, 2016 at 7:13 pm #260323tse11
ParticipantI’ve resolved this and will leave a fix here in case anyone else runs into this issue:
bp_blogs_get_subdomain_base() is a deprecated function, so I changed it in buddypress/bp-blogs/bp-blogs-template.php from:
bp_blogs_get_subdomain_base()
to:
bp_signup_get_subdomain_base
October 25, 2016 at 6:18 pm #260319In reply to: Hide xProfile fields from EDIT
danbp
Participantwe’ve discussing about this “tab” issue on this ticket:
https://buddypress.trac.wordpress.org/ticket/7304I invite you to jump in if you have any comments. You might also find a solution for your use case.
October 25, 2016 at 5:45 pm #260318In reply to: MySQL version required for BuddyPress?
rcx
ParticipantPS: other config info:
WordPress v. 4.6.1.
BuddyPress v 2.7.0October 25, 2016 at 5:05 pm #260313In reply to: Change Default Members Profile Landing Tab
realmai
ParticipantCan anyone help me?
Many Thanks1. Which version of WordPress are you running?
ANS : WordPress : 4.6.12. Did you install WordPress as a directory or subdomain install?
ANS: as a directory3. If a directory install, is it in root or in a subdirectory?
ANS: in root6. Which version of BP are you running?
2.7.012. Do you have any custom functions in bp-custom.php?
Yes.
define(‘BP_DEFAULT_COMPONENT’, ‘profile’ );13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
2.5.1016. Is your server running Windows, or if Linux; Apache, nginx or something else?
Linux
October 25, 2016 at 5:03 pm #260312In reply to: Activities
danbp
ParticipantHi @mei-ling,
it’s not an issue but how it works ! š
You can filter the activity stream and remove the activities you don’t want to be showed.
Add this snippet to bp-custom.php or your child-theme functions.php
function bpex_bp_activity_types( $retval ) { if ( bp_is_active( 'activity' ) ) { // list of all BP activity types - remove or comment those you won't show. $retval['action'] = ' activity_comment, activity_update, // bbp_topic_create, // bbp_reply_create, friendship_created, created_group, joined_group, last_activity, new_avatar, new_blog_post, new_blog_comment, new_member, updated_profile '; return $retval; } } add_filter( 'bp_after_has_activities_parse_args', 'bpex_bp_activity_types' );You might also remove bbpress activities from the activity filter. You can use this (goes to same file as previous)
function bpex_remove_bbp_activities_dropdown_labels() { if ( bp_is_active( 'activity' ) ) { // Remove forum filters in site wide activity streams remove_action( 'bp_activity_filter_options', array( bbpress()->extend->buddypress->activity , 'activity_filter_options' ), 10 ); // Remove forum filters in single member activity streams remove_action( 'bp_member_activity_filter_options', array( bbpress()->extend->buddypress->activity , 'activity_filter_options' ), 10 ); // Remove forum filters in single group activity streams remove_action( 'bp_group_activity_filter_options', array( bbpress()->extend->buddypress->activity , 'activity_filter_options' ), 10 ); } } add_action( 'bp_init', 'bpex_remove_bbp_activities_dropdown_labels', 9 );Codex references:
October 25, 2016 at 4:58 pm #260311In reply to: Integrate Listify theme
jen000
ParticipantThanks to the member who got in touch recently offering to help. Unfortunately we had to give up on Buddypress and went ahead with WP Symposium. Not impressed with their support and we won’t use them again. If we have to use Listify and social networking again I will be back to Buddypress!
By the way if anyone is thinking of using WP Symposium I would say don’t bother. The software itself is ok but looks basic and there are no demo sites (only their own which is on a basic free theme with no other major plugins and probably on a dedicated server). We’ve had to move to a dedicated server as it was so slow and we had big problems getting it to work with other aspects of our site. The support forum is closed so you cant actually see other people’s responses which would save time. Instead you just have to deal with one stroppy support guy who blames your other plugins rather than helping to resolve issues. We had to spend a fortune getting glitches in the coding repaired. Never again!
October 25, 2016 at 3:53 pm #260309Topic: Activities
in forum How-to & TroubleshootingMei Ling
ParticipantHi there,
We run a site with Buddypress and BBpress. When a press topic or reply is edited, it appears on the activities page. How can we prevent this? Or is this a BBpress issue?
Thank you for your answer
regards
MeiLing
October 25, 2016 at 3:05 pm #260305In reply to: Showing Events Manager events in BuddyPress profile?
danbp
ParticipantHi,
seems it exist natively ?
If it is not what you want, ask on the WP-Events plugin support.October 25, 2016 at 3:04 pm #260304In reply to: Create group directory for different group types
Hugo Ashmore
ParticipantThis is the guide you need to read up on:
has_directory means that if you click on a BP generated link /groups/type/foo/ or type that as a url/create a link to, then you will see that as the url and the loop will now show only groups of type ‘foo’
Template hierarchy will allow you to create a file named in this manner:
index-directory-type-foo.php (file must be a complete one though including WP headers/footers and all parts in-between.)This will only be used if looking at those group types in the loop/url but you can now edit that and change as you require and only affect that group type loop directory display.
October 25, 2016 at 2:55 pm #260302In reply to: Create group directory for different group types
danbp
ParticipantHi,
read here, there is still a working example described.
Just forget about the filter option, the rest is ok. -
AuthorSearch Results