Search Results for 'wordpress'
-
Search Results
-
I added a Post Tab to my Buddypress Navigation Tab Menu which displays the latest Posts and Custom Posts for each user.
Now I want to add the total number of all Posts (standard wordpress posts and CPT posts) but only standard posts get counted. What am I doing wrong?
function bpck_post_profile_setup_nav() { global $bp; $parent_slug = 'post'; $child_slug = 'post_sub'; $post_count = count_user_posts( bp_displayed_user_id(), array('video','discography','post' ) ); bp_core_new_nav_item( array( 'name' => 'My Posts <span>'.$post_count.'</span>', 'slug' => $parent_slug, 'parent_url' => $bp->loggedin_user->domain . $parent_slug.'/', 'screen_function' => 'profile_page_show_screen', 'position' => 40, 'default_subnav_slug' => $child_slug ) ); } function profile_page_show_screen() { add_action( 'bp_template_content', 'profile_post_page_screen_content' ); bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) ); } function profile_post_page_screen_content() { do_action( my_profile_post); } add_action( 'bp_setup_nav', 'bpck_post_profile_setup_nav' );What’s even more confusing if I add
function my_custom_userpostcount() { echo '<span>' . count_user_posts( bp_displayed_user_id(), array('video','discography','post' ) ) . ' Posts</span>'; } add_action( 'bp_before_member_header_meta', 'my_custom_userpostcount');to the user header, the total count number is correct, it counts all post types in the array.
Don’t know what I’m doing wrong.
Hello, BuddyPress Community!
I have the plugin DW Reactions installed (https://wordpress.org/plugins/dw-reactions). It doesn’t integrate with BuddyPress. Assuming BuddyPress “activities” were a custom post type, I thought integrating it myself would be no problem. Well, after some digging, I noticed that activities were stored in the database as their own type of object (am I using the term “object” correctly?) and not as custom post types. DW Reactions is written to work with post types. I imagine that’s why it doesn’t work with BuddyPress activities.
Is there a way to make activities register as a custom post type? If that’s not possible, is there a quick fix to make a plugin reference activities instead of posts?
Or, is there anyone reading this who is familiar with DW Reactions and might know how to fix this?
Thanks in advance for any help. Here are my answers to the questions in on of the sticky posts, in case they’re needed.
1. Which version of WordPress are you running? 4.5.2
2. Did you install WordPress as a directory or subdomain install? directory
3. If a directory install, is it in root or in a subdirectory? root
4. Did you upgrade from a previous version of WordPress? If so, from which version? yes, 4.5.1
5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. yes
6. Which version of BP are you running? 2.5.3
7. Did you upgraded from a previous version of BP? If so, from which version? no
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones? yes, too many to list
9. Are you using the standard WordPress theme or customized theme? custom, InspireBook v1.2.2
10. Have you modified the core files in any way? no
11. Do you have any custom functions in bp-custom.php? no
12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? n/a
13. Please provide a list of any errors in your server’s log files. n/a
14. Which company provides your hosting? GoDaddy
15. Is your server running Windows, or if Linux; Apache, nginx or something else? LinuxWordPress DB collation install in utf8mb4_unicode_ci, but BuddyPress in utf8mb4_general_ci. Why?

Topic: Activating existing users
It appears, based on searching the forum, that there isn’t a way to include existing users if you add BuddyPress after your WordPress site has been active awhile. Hopefully, I am just missing something.
However, on my test site, the only existing user (admin) is not recognized as a “user” by BuddyPress. Is there a magic button to push to get him imported?
My live sites definitely have more than one registered user and I would hate them to be ignored.
Hi all,
My user accounts in wordpress have user avatar images. When I look at the profiles in BuddyPress user profile pages, the default “blank” avatar is shown, and it is not using the worpress avatar image of the user.
Thanks in advance for your help!
Website: http://www.overlandbound.com
I am making an intranet for my company with WordPress, where I will add users manually and they can post posts for everyone to see. This needs to be private so NO ONE that isnt logged in can see anything.
I want the front page to be a welcome text and login form, or if the user is already logged in it goes directly to the activity page.
Ive read a lot about this but cant seem to figure out the best way to do it. Any tips? or plugins I can use?
Hi all!
I want to know that how can I remove email tab from the settings page of users profile.
I mean that when a user opens his profile and go to settings. There is an Email tab to let the user to decide which email notifications he would like to receive. I want to remove this tab completely.
I also want to disable every email notifications for users by default.
Please tell me how to do both of these things. I shall be very very grateful!
Thanks a lot in advance and best Regards, Waqas Ramzan Techlover, Web Master of Blind Help Project (BHP) http://www.blindhelp.tkUsing latest version of WordPress and BuddyPress and the latest version of responsive theam.
Topic: Changing the profile-loop
Hi everybody, I’m kind of newby with buddypress. I need to change the profile-loop file but I don’t wanna lose my changes when the buddypress gets updated. Any hint would be apreciated.
I’m using a genesis framework theme (Enterprise pro theme) and my buddypress version is 2.5.3 and the wordpress version is: 4.5.2.
Thanks
Topic: User and name
I want to know if there is any plugin that my user can not to put same name or user that the email because a lot of people put the same user or name that the email because do not want to pay, my website is http://www.llename.com, my wordpress is 4.5.2 and my buddypress is 2.5.2. Thank you.
Buddy press is working great on all browsers and devices apart from on Windows mobile. When you are on the registration page on a windows phone and press one of the input fields the page just reloads and either doesn’t let you enter in any text or it lets you enter in the text but when you go to the next input field the page reloads again and loose the content from the previous field.
I have got Twenty-fifteen theme enabled, I have also tried twenty-sixteen and the same happens.
Any ideas what could be causing this?
I am running:
Wordpress 4.5.2
Buddy press 2.5.2Thank you for your help.