I have checked the user “capabilities” of the custom role I have created and it has all the capabilities it needs to modify WP users. They can reset passwords and modify WP related profile information but NOT BuddyPress extended profiles. Apparently though BP doesn’t use WP roles for anything besides checking for super admin privileges. Can anybody think of a way to modify BP to allow non-super admins to edit extended profile information of other users besides themselves?
I know this has been a while but for some reason $bp->current_component was coming back empty . I saw some people asking around and if you change
if ( $bp->current_component != BP_LOGIN_SLUG)
for
if ($bp->unfiltered_uri[0] != BP_LOGIN_SLUG)
in Brajesh Singh it should work. just remember to place bp-custom.php in the right folder and to create the login.php file inside of registration (within your active theme)
Hi,
I have resolved the problem on the site where I was having problems.
Here’s what I did.
1. Disabled “all plugins”
2. By doing this I identified it wasn’t a BuddyPress Problem
3. Tried to login on as a vanilla WordPress site. If you cant login you are confirming this is not a BuddyPress issue but a WordPress issue.
4. Ran the script written by Mark Jaquith found here: http://markjaquith.wordpress.com/2006/03/28/wordpress-error-you-do-not-have-sufficient-permissions-to-access-this-page/
5. I checked the user on the Vanilla WordPress site, I logged in OK.
6. I re-initialised all BuddyPress Plugins and Themes
7. I was able to log in. (Yeah Team!)
All good. I hope this helps.
If you only want urls you can use profile fields then pull each through to show where you want on the profile.
Once you’ve set up the profile fields in your admin dashboard you can then output like this:
<?php bp_profile_field_data( array('user_id'=>$user_id,'field'=>'twitter' )); ?>
This assumes a profile field called Twitter. You may have to set the $user_id depending on if you are outputting on profile or somewhere else.
Should you want to use different types of fields such as date pickers and so on you can use: https://wordpress.org/extend/plugins/buddypress-xprofile-custom-fields-type/
ok, i have asked several questions on this support forum and this is the first time i was directed to this site. here you go…
1. i am up to date on wordpress, 3.5.1
2. WordPress was installed as a directory, not a subdomain
3. Root
4. WordPress was installed at 3.5.1, not upgraded
5. yes
6. 1.7.1
7. I did not upgrade Buddypress, I installed this version
8. Bowe Codes, ADJE Event Cal, Buddypress Xprofile Custom Fields, Gravity Forms, Gravity Forms user Registration Add-on, Members, Uber Login Logo, WordPress Font Uploader, WordPress Uploader
9. I am using the Salutation theme
10. No
11. no
12. n/a
13. none
14. bluehost
15. Linux
Again…the test profiles are working. Just not the ones filled in.
i am using buddypress 1.7
it was a direct install, not an upgrade
@bounomid you probably mean blog posts, not blogs as that requirest a multisite setup like hnla mentioned above. Check out http://buddydev.com/buddypress/introducing-buddyblog-allow-users-to-blog-from-their-buddypress-profile/
@paisano What theme are you using? If it’s a “BuddyPress-ready” theme, check if it’s been updated for BP 1.7. Change to BP Default theme and check if same issue is showing up
I believe some other plugins were conflicting. Activating bbPress with only the BuddyPress 1.6.5 plugin active works fine. I will go through the 1.7 update before trying some of my other plugins to determine which were producing the conflict. Thanks heaps to Andrew Macdermid for working with me today to narrow down the problem area. I will post again with the conflicting plugins once I’ve finished.
Hi, new to the forums and relatively new two Buddypress (have been using on this installation for around 2 months). I’m running into a problem with the friend request confirmation link — when logged out of Buddypress and following the link from email, only a blank page displays (even no code on “View Source”). It attempts to the following (badly formed) URL: http://pvp-live.com/wp-login.php?redirect_to=http%3A%2F%2Fpvp-live.com%2Fmembers%2Fchestersrp%2Ffriends%2Frequests%2F&action=bpnoaccess
Could this be a redirect issue? I have it set to pretty permalinks with mod_rewrite turned on…
.htaccess looks like this:
# BEGIN s2Member GZIP exclusions
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /test/
RewriteCond %{QUERY_STRING} (^|\?|&)s2member_file_download\=.+ [OR]
RewriteCond %{QUERY_STRING} (^|\?|&)no-gzip\=1
RewriteRule .* – [E=no-gzip:1]
</IfModule>
# END s2Member GZIP exclusions
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Running WP 3.5.1, BP 1.7 — am hesitant to upgrade as I have a bbPress install on this site where I’ve hacked core quite a bit, sadly.
Any thoughts greatly appreciated, thanks in advance.
Hi Hugo,
For some reason I didn’t get notified you had replied. But thank you so much for reaching out.
To answer your question, I have no plugin. I was just guessing that this would be a common BP concept.
So this is impossible then?
regards,
Helo Guys,
I have just purchased a new shortcode plugin called “Lizatom Shortcodes)
However for some reason this won’t work with Buddypress ????
The shortcode plugin adds a small icon to the post/page editor, but also when Buddypress is enabled you can see this icon appearing on website front page and also top left menu admin bar ??
Has anyone encountered this problem before !!
Cheers
James
Buddypress
@mercime it is a custom theme but I have built many so I dont think it would be that would it?? This is my first walk with Buddypress, I just didnt know if I forgot to do something or what.. If you want to check for yourself the url is socializespark.com and when you login you can click on latest members and try to add the ‘admin’ as a friend or DerekS (that’s me as well).
I dont know if that would help you see what is happening
Inside buddypress members profiles, there is “activity” “profile” “setting” … but whay there is not “Blogs” ??
Hi,
And apologies for being a complete noob.
I created a brand new WP & BP site today, downloaded the latest versions of WP & BP, installed them, set them up (everything from scratch) and everything seemed to be going well until I tried to create new user accounts (using lower case for the username) via the registration page when you go to create a new account (and yes I did tick the button to allow user registrations in the network settings).
http://baskers.net/RickyTweetUp
I had gone back to the BP default themes/settings, deactivated all plugs and tried again. Still no joy. The same issue is still present.
I can manually add new users via the admin function, but obviously I don’t want to be having to add new users manually and would much rather they registered themselves. From my lay point of view, it’s almost as if when I click the “Complete my registration” button the page just refreshes keeping the same information in the boxes barring the password entries. It’s like the data isn’t writing back to a database and creating a new user record. There’s nothing in the Admin panel for the new user request – like the data doesn’t exist.
Please can anyone help me?
Thanks
-S
Seems like this problem hasn’t gone away on 1.7.1.
I’ve tried the above solution with little joy.
1. My customers setup is a sub-site from their primary site.
2. I tried disabling all the plugins except for BuddyPress. No joy there
3. Tried adding define(‘BP_ENABLE_MULTIBLOG’, true); to wp-config on the sub site and primary site, no joy there either.
Any suggestions??
I already tried below
Invite anyone > need third party service to import gmail contacts
Invite frends > not working with latest version of buddypress
can anybody share latest working plugin?
I use a child theme derived from the default team, only changing the visibility of the menu as explained in //https://buddypress.org/support/topic/resolved-hiding-navigation-links-for-buddypress-pages-for-non-registered-users/
When I use the default theme as such, it still doesn’t work.
I also tried to change the user’s role to author; still no luck…
@designloud What theme are you using? What plugins are activated? First time I’ve seen this issue. Change to BP Default theme and check if issue is resolved. If not, deactivate plugins except BuddyPress and then activate the other plugins by batches to check which is causing the issue.
I like an issue that resolves itself 🙂
Hi all,
I was check many buddypress plugins using the bp_has_activities filter, the returned value for this filter must be a boolean and not an array of activities.
in case the list of activities is empty, the return value is important (must be false ~~ $activities_template->has_activities() )
below an example of the correction :
function bp_my_new_activity_filter( $has_activities, $activities ) {
... ..
// here , you can change the value of $has_activities or/and $activites
...
return $has_activities;
}
add_action( 'bp_has_activities', 'bp_my_new_activity_filter', 10, 2 );
For more informations, check the buddypress\bp-activity\bp-activity-template.php
Regards.
Hi I’m trying to get pagination working from members profile pages. I found this http://wordpress.org/extend/plugins/bp-posts-on-profile/ plugin, it doesn’t work any longer, so I created my own way of doing this using bp-custom.php everything works okay and the posts are displayed fine, but I can’t seem to get the pagination working, is there anything obvious I am missing I’ll post a snippet of the code I’m using.
?php
if ( get_query_var('paged') ) { $paged = get_query_var('paged'); }
elseif ( get_query_var('page') ) { $paged = get_query_var('page'); }
else { $paged = 1; }
$items = 20;
$args=array(
'posts_per_page' => $items,
'category__not_in' => get_option('pheno_blog_cats'),
'author' => bp_displayed_user_id(),
'paged' => $paged,
);
query_posts($args);
?>
Is there anything obvious I am missing?