Search Results for 'buddypress'
-
Search Results
-
Hello,
I have a BuddyPress website with various user roles, I’m looking to display the user Profile tab differently (reorder and hide some fields) based on the user role.
How could I do this?Hi ,I am using WordPress version 4.4.2, BuddyPress version2.4.3 in my website .In my websites buddy press i (admin)can upload and change profile picture but users cannot do this .When user trying to upload profile picture there is always showing a error message like – An error occurred. Please try again later-.No problem in the case of cover image .Anyone can help me for solve this problem ?
Hi, I have the latest version of BuddyPress and the latest version of WordPress running. The BuddyPress menu stopped flying out for subscribers, but seems to be working for admins. It’s sporadic. If the BuddyPress menu does fly out, the links take the subscriber to the home page and not to the buddypress inbox (for example).
This is the menu I am talking about:
Googled around, an older examples won’t work with the current version of BuddyPress 2.4.3. How to make sure that the activities of the Administrator isn’t recorded or not shown, sitewide / plugins / etc….
Prefer to add this in: bp-custom.php
Thank yo in advance.
Code what i had found:
<?php // Don’t record activity by the site admins or show them as recently active function my_admin_stealth_mode(){ if ( is_site_admin() ) { global $bp; remove_action(‘wp_head’,’bp_core_record_activity’); delete_user_meta($bp->loggedin_user->id, ‘last_activity’); } ?>Here’s another code, this removes the activity of the currently logged in user itself from the page, this still works:
But obviously it wont hide the administrator’s activity in the users perspective!<?php //filter on pre_user_query add_action( 'pre_user_query', 'devb_exclude_loggedin_user', 201 ); function devb_exclude_loggedin_user( $query ) { //don't modify the query if the user is not logged in if ( !is_user_logged_in() ) return; //do not hide users inside the admin if ( is_admin() && !defined('DOING_AJAX') ) return; $qv = $query->query_vars; global $wpdb; //hide $query->query_where .= $wpdb->prepare(" AND {$wpdb->users}.ID !=%d ", get_current_user_id()); } ?>hi,
in buddypress personal profile notification of the date received is not showing on a date form. it was on a time form, how to change this. please help,I have a problem with the profile fields for buddypress. The table has some odd spacing (see link)
https://www.flickr.com/photos/138564821@N02/25031841016/in/dateposted-public/
I’m trying to figure out what’s going on with my spacing. I imagine it’s CSS, but I can’t seem to find what CSS code is causing this. I tried probing around with firebug, and I can change colors, fonts, etc., but the table still looks odd.
Thanks in advance!
I keep getting the below error on my site.. My hosting recently switched my account over from Shared Hosting to a VPS setup.. and this starting happening.. I can’t delete menus, pages, add groups, etc.. I deleted the plugin then readded it.. I also deactivated plugins and the problem still persists..
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 256 bytes) in …/wp-content/plugins/buddypress 1.2/bp-activity/classes/class-bp-activity-activity.php on line 695
hello
why doesn’t bp_loggedin_user_domain() work immediately after registration, even though i can manually browse to the user-profile?
feel free to suggest a plugin, but i’ve found none that will take user to their profile after buddypress registratioin.
i’ve verified that
bp_loggedin_user_domain()returns the full url of the logged in user.i placed that php in a tiny custom plugin. I’ve verified this works too:
function bp_redirect($user) { $redirect_url = bp_loggedin_user_domain(); wp_redirect($redirect_url); } add_action('bp_core_signup_user', 'bp_redirect', 100, 1);however, when a new user logs in, they are not directed to their profile page– instead they are directed to the site homepage.
yet, i can manually browse to their profile no problem, immediately after registration.
appreciate any help.
thx
Hey All,
I am having a problem with BuddyPress Activity Comments and reply.
When I post content to buddypress activity i can see the content without any problem, but when a user or even myself comment on any activity the comment does not show up. On inpect-element it shows
<div class="acomment-content"></div>is empty.I can see the person has made a comment, i can see the avatar pic and everything other then the comment content.I have looked into the comment.php in the activity folder it seems like
<?php bp_activity_comment_content(); ?>is not returning comments. In the admin panel under activity i could see all the comments made by me or other user but it just would not populate in the front end.
I have searched through the forum and some user has suggested that the
“Allow activity stream commenting on blog and forum posts”
should be ticked, i have that ticked. I have turned off
“Discourage search engines from indexing this site”
just to check as suggested by some user that too did not work.
I am running out of ideas and have not come across anything on the net regarding this issue. Would highly appreciate all your help.
Regards,
Singh