You are asking about WP functions on a support forum for BP 
What are you actually trying to do? There may be BP method.
The function is failing as you likely haven’t called the global variable $current_user or get_currentuserinfo#()
but you should read the WP codex on how to access this data.
All the info you need is in the codex pages:
https://codex.wordpress.org/Function_Reference/wp_get_current_user
I created a page in wordpress and i tried to access the current logged in user via wp_get_current_user() and am getting error “function undefined”. please how do I make this function available in my page.
WordPress 3.2 and BuddyPress 1.2.9
I like BuddyPress for all its features except its member sign up. It’s buggy even with the template pack and doesn’t send registration emails when users try to sign up. Especially when i want to use Register Plus, what i know will work, and BuddyPress overwrites the default WordPress login, which Register Plus modifies. Im very frustrated and need someone to at least help me in the process of removing this without completely disabling BuddyPress.
Do you mean blog posts? Because blogroll has a special mean in WP sites https://codex.wordpress.org/Glossary#Blogroll
Are you referring to post thumbnails or featured images in posts? Did you check if your theme supports post thumbnails?
I had been running WordPress 3.1 multi site and BuddyPress 1.8. The network consists of only two sites, one WP site and another running BuddyPress. Everything, as far as i am aware, was functioning properly. I upgraded to WP3.2 and BP1.9. Both updates were implemented via the auto update function. Now the WP site is running fine but BP will only load the static pages, the main menu links: activity, members, groups, forums and blogs all result in a 404 page not found message. I am using the BP columns theme, which I thought may have been causing the problem, so I tried the 1.29 BP default theme and disabled the other plugins but it made no difference, I re-saved the permalink structure, which is the numeric option, but that did not make a difference either. Unfortunately I did not back up (I do have a back up from a few months back). I would dearly like to get the site running again and seeing as i have not seen any similar posting on these forums am wondering what has gone wrong. I do not have a deep understanding as to how all this stuff works so i am at at a loss as to what to do. Can any one suggest the things I should now be checking. I have made a similar post to this in the Installing BuddyPress Group but so far no one has been able to help.
So enthused with that fact, Boone stated it twice 
This feature is coming in BuddyPress 1.3, which is coming quite soon.
This feature is coming in BuddyPress 1.3, which is coming quite soon.
Hiya guys, I just noticed that usernames with dots don’t work anymore; the old trick from here http://buddypress.trac.wordpress.org/ticket/1135 to insert
’define( ‘BP_ENABLE_USERNAME_COMPATIBILITY_MODE’, true );’
in wp-config.php or bp-custom.php does not work any longer. Any ideas why that is and how this can be changed?
I’m bumping this because there must be a way to mimic this sites activity page : http://swapbbm.com/
the method above totally hides the whole of the activity..I don’t want to settle for this because there has been a decline in sign-ups to my site lately partly due to not being able to see anything going on inside.
they must know something we don’t on this other site, it’s a wordpress/buddypress combo as well !
Hi, i’ve upgraded to wordpress 3.2 from 3.0 just now and I’ve noticed the adminbar has changed for the better.
On my site http://anothera.net , it still uses the old buddypress adminbar. Is there a way I can make it like the one on this site? How when you mouse over your name on the bar it gives you all the buddypress options. Thanks!
Hi, I am going to attempt to use buddypress for a local intranet site. Currently I have the standard wordpress installation setup to use Active Directory to authenticate. When I install buddypress it works great, but going to the user settings page allows for the changing of password. I would like to disable that, as the whole purpose of using this on our intranet is to simplify authentication.
Is there a way to do this that doesn’t include hard-code? and if not, not that I mind, is there a way we can get this included for future buddypress builds as an option?
Some hosts require an extra plugin for wordpress email to work….
I have used https://wordpress.org/extend/plugins/wp-mail-smtp/ successfully, but thereare others…
Well I think that Elgg is probably more suited for what you’re trying to achieve. The other option is to completely move across to wordpress & buddypress and convert your current site. Not sure how much work would be involved though, depends on how big the site is I guess.
If you’re website doesn’t currently run off wordpress I think you maybe over complicating this somewhat.
There are a number of social networking solutions available for php that have activity streams and such and would probably be easier to implement.
Try checking out Elgg http://www.elgg.org/features.php
It’s open source too.
Hi
I am trying to implement the activity-stream into my page that’s written in plain php. I installed WP and BP. I have thousands of places (slopes) to find on my page. When calling a slope-detail-page, I check if there’s already a corresponding group in BP. If no, I create one.
That’s all working, you can see it here (no stylesheets yet):
http://www.slople.com/d2/start.php?slopeId=13692&sortId=1
I think I missed something in making this a “real” wordpress-site. The activity-stream shows, but you can’t post anything to it from that page (only from the “real” BP-group-site).
Any help is appreciated.
Raphael
Roger, This is the code I have thus far….
add_filter(“gform_post_submission_1”, “set_post_thumbnail_as”, 10, 2);
function set_post_thumbnail_as($entry, $form){
//getting first image associated with the post
$post_id = $entry[“post_id”];
$attachments = get_posts(array(‘numberposts’ => ‘1’, ‘post_parent’ => $post_id, ‘post_type’ => ‘attachment’, ‘post_mime_type’ => ‘image’, ‘order’ => ‘ASC’));
if(sizeof($attachments) == 0)
return; //no images attached to the post
//setting first image as the thumbnail for this post
update_post_meta( $post_id, ‘_thumbnail_id’, $attachments[0]->ID);
// update bp activty stream content.
$activity_id = bp_activity_add( array( ‘id’ => $post_id, ‘content’ => ‘$attachments’ ));
}
I understand the activity post id is different from the wordpress post id? How can I get this activity post id. Also is it okay I am using the post-submission gf filter? Is it just this simple with the correct activity add code?
Can you please help me? I’m really stuck and almost thinking of scrapping the project just because I suck at buddypress and PHP.
Please would you clarify what exactly you mean by “[posts] in BuddyPress”? When I read that, I immediately think of writing blog posts, which is part of WordPress core.
I have noticed that custom HTML is accepted in any post using Buddypress. Is there a way to block custom html allowed in posts, but yet allow ‘oEmbed for WordPress’ to still fully function?
better late than never
How can I make wordpress shortcodes work anywhere in buddypress?
My users are not getting their e-mail notifications.
Here are my specs. WordPress 3.2, Buddypress 1.2.9, godaddy hosting, OS/Hosting Type: Linux / 4GH Web Hosting, Hosting Configuration: 2.2, PHP Version: PHP 5.2
https://wordpress.org/extend/plugins/invite-anyone/ has nice email support. I haven’t built Facebook or Twitter integration, though it’s something I’d like to do in the future.
Hello,
I looking for a good invite tool where my users can invite via e-mail, facebook or twitter. It has to be compatible with WordPress Version 3.2 and Buddypress Version 1.2.9
I had the same problem with the wordpress admin menus in ie9 and online (linux) sites but not on local (vista) sites. Once I viewed and played with the menus in firefox they worked as expected in ie9…. I hope others using the same sites would not have to go through the same process…
Also the buddypress upgrade didn’t show up unless I ran add new plugins first….