Search Results for 'wordpress'
-
Search Results
-
I’ve been wandering around in BuddyPress and WordPress.
I’ve been slowly working out how to get data out of WordPress.
But I CANNOT figure out how to get data out of Buddypress.
In this page:
There is some code that indicates how to get data back.
But no matter how I do it, I can’t get it to return any data.
I’m running the code in the middle of a WordPress page using a PHP plugin, rather than trying to create a page from scratch.
I’ve got it returning WordPress user data fine.
But getting any actual xProfile field data out is proving…. impossible.
I’m sure I’m ignorant of something really basic about how it all works…
Thanks for any help and pointing at relevant webpages.
I’m trying to set some code that copies the data from a new user across to xProfile fields.
But I’m wondering when that field creation triggers…
SO that I can insert the function into the correct location using add_action
I’m hoping that by the time WordPress gets to the ‘user_register’ function, and the actions being added, that the xProfile fields have been created…??
1) I am setting up BP and for some reason, the Activity stream shows to logged out users. In the Appearance/Menu setting, I added the Activity page from the BP drop-down list to show to logged in users. What did I miss to make the activity stream accessible only to members?
2) Is there a way to change the login page for members? I’d prefer the default WP login page not show. I’m using Divi by the way… can I use it instead?
So I’m having a really frustrating time getting BuddyPress to show all groups and fields, even if they have no data in them.
I found this page:
It talks about the bp_group_has_profile() function. And parameters that can be applied. BUT that function is NOT in the example code on that page.
I tried applying some of that information to
public_html/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/profile-loop.php
But bp_group_has_profile does not exist in the above file.
How does this information apply to showing all the fields and Profile Groups?
When I search for the individual functions (like bp_profile_group_has_fields) in the BuddyPress site, they don’t seem to exist…
Are these standard functions?
I’m very confused about how to make this work.
I also found this page:
But that involves removing bits, rather than using function calls… Is this the way to do it?
Thanks for any insight
Hello Everyone,
What I am looking to do seems so simple. If there is no solution, I will accept that but I wanted to make one final attempt to seek help on this forum.
Goal #1 – I want the buddypress “favorite” button in the activity stream to create an update in the “buddypressmain activity stream” when clicked.
Example: User Just Favorited A Photo (This shows in the member stream but I want it displayed in the main activity)
Goal #2 – I want the favorite button in wordpress post, which when clicked creates the following activity –
http:/testsite.com/post-123/#activity-1955
I would like to create an activity in the main buddypress stream to display favorited post.I would like to accomplish this without a plugin. If anyone has info or can direct me to info I am thankful!
Thanks!
WordPress 4.9.5 -> BuddyPress 2.9.4 -> Agama Blue Child Theme
I ended up with the below code from posts in these forums but it doesn’t do quite what I need it to do.
Users should not be able to see other users’ friends so the Friends tab when viewing another user’s profile page must be removed along with the functionality. Here’s my code:function bpfr_hide_tabs() { if ( !is_super_admin() && !bp_is_my_profile() ) { bp_core_remove_subnav_item( 'profile', 'friends' ); // This does nothing //bp_core_remove_nav_item( 'friends' ); //Or this but this also hides the Friends main menu item, not just the Friends tab in the user's profile page } } add_action( 'bp_setup_nav', 'bpfr_hide_tabs', 15 );I’ve switched between both options in the code.
bp_core_remove_subnav_item( 'profile', 'friends' );doesn’t really do anything andbp_core_remove_nav_item( 'friends' );does remove the Friends tab from another user’s profile but it also removes it from the main menu which is a different thing. The main menu Friends link points to my own Friends whereas the Friends tab in another user’s profile points to their friends. Any help would be appreciated.Topic: WordPress asking for login
Whenever a new user registers for my site, wordpress asks them for an email. Is there a way to circumvent this? I used buddypress back in 13-14 so I don’t remember if there was a specific feature I used to avoid this. I essentially want my users to be able to use the entire site from the front end and avoid any use of wordpress.
Topic: Problem Activating Features
When I install Buddypress, which I used in the past and I adore this plugin btw, I try with my new site to select the options ‘Friend Connections’, ‘Private Messaging’, ‘User Groups’ and ‘Site Tracking’ and activate them. It will save and when the page reloads it shows none of these features ever being activated.
I am currently on chat support with WordPress for the last two hours and they have no idea what is causing this. I tried uninstalling reinstalling, installing the beta version, changing themes, removing any possible conflicting plugins, and selecting them one at a time, I even had every other admin and the site owner try to get it to work for them and it still hasn’t worked.
What could be going on that is causing this issue? We have the business plan with WordPress so I’m not sure on the server being an issue as I didn’t use WordPress for my server in the past.
This one buddy press bug :
wordpress : 4.9.5
Buddypress : 2.9.4On registration time same like default wordpress username allowed with space but buddy presss remove a space in code.
\plugins\buddypress\bp-members\bp-members-functions.php Line : 1852 $user_login = preg_replace( '/\s+/', '', sanitize_user( $user_login, true ) );In short without validate filed why removed a space from username because of after registration user don’t know this one removed a space.
Example :
Ravi Patel (registration input time)
After registration this one display now in backend RaviPatel.