Search Results for 'buddypress'
-
Search Results
-
I’m developing a plugin that adds a custom group home page (
groups/single/front.php. The page will display the latest activity for each component that as active for the group. In the template, I’m checking withbp_is_active( {component} ).The problem is that some of the components return false even though they are active, a tab is displayed for them.
Only xprofile, activity, docs and members return true.
global $bp;returns["loaded_components"]=> ["loaded_components"]=> array(8) { ["forums"]=> string(6) "forums" ["members"]=> string(7) "members" ["profile"]=> string(8) "xprofile" ["activity"]=> string(8) "activity" ["groups"]=> string(6) "groups" ["settings"]=> string(8) "settings" ["events"]=> string(4) "bpeo" ["docs"]=> string(7) "bp_docs" }["active_components"]=> array(6) { ["xprofile"]=> string(1) "1" ["settings"]=> string(1) "1" ["activity"]=> string(1) "1" ["groups"]=> string(1) "1" ["members"]=> string(1) "1" ["bp_docs"]=> string(1) "1" }In the template:
<?php if ( bp_is_active( 'xprofile' ) ) : ?> <div class="buddypress-module xprofile intro">Intro</div> <?php endif; ?> <?php if ( bp_is_active( 'activity' ) ) : ?> <div class="buddypress-module activity">Activity</div> <?php endif; ?> <?php if ( bp_is_active( 'forums' ) ) : ?> <div class="buddypress-module forums replies">Replies</div> <div class="buddypress-module forums topics">Topics</div> <?php endif; ?> <?php if ( bp_is_active( 'blogs' ) ) : ?> <div class="buddypress-module blogs">Blogs</div> <?php endif; ?> <?php if ( bp_is_active( 'events' ) ) : ?> <div class="buddypress-module events">Events</div> <?php endif; ?> <?php if ( bp_is_active( 'bp_docs' ) ) : ?> <div class="buddypress-module docs">Docs</div> <?php endif; ?> <?php if ( bp_is_active( 'members' ) ) : ?> <div class="buddypress-module members">Members</div> <?php endif; ?>`Confirmed with twentysixteen
WordPress 4.6.1
BuddyPress 2.7.2Hi all,
I’m using this lovely plugin to mark Topics resolved. Huge thanks to the author! https://buddypress.org/support/topic/mark-your-group-forum-posts-as-resolved/
But the resolved tag goes away after a day or so! Is this intentional? How can I keep the Resolved tag there?
I’m positive it’s just me using the tag.
Thank you for any help,
Greg
Hello everyone,
I would like a suggestion, indeed the best tip. How can I increase the performance of my BuddyPress?
Also what can I use for caching?
Thank you all
Topic: custom theme and BP
Hi there,
I’ve created my own theme for WP and currently fitting it into BuddyPress. But I faced with problem, BP only loads from “parent” WP theme page “content.php”. When I trying to create pages such as page.php, buddypress.php, community.php so when i trying to reach for example site.dom/register/ it loads only page but without BP child theme, content etc.
It happens only with my theme, no problem with original WordPress at all. where could be a problem?
WP version 4.6.1
BP version 2.7.2Hi,
I want to setup a small social community on my wordpress site (http://madtrash.com). This community should only be used by MAD Magazine collectors around the world. They should have the following abilities:– Sending and receiving message from other collectors
– Create profile page, where they can present their comic collection with text and pictures (no activity stream)I’m sure the first point is not a problem with buddypress, but I’m unsure about the second point. Is it possible to deactivate the activity stream completely and replace it with a kind of extended profile page? The user should be able to modify this profile page whenever required, simply like a normal wordpress page.
Any help is much appreciated!
Thanks, Bernd
Topic: Sorting activity stream
Hi!
I am using Buddypress (2.7.2) for generating an activity stream. Every new message is posted in the stream automatically. Comments are synchronizated. Example: A member is commenting an older blog post; his comment on the blog page will be posted in the activity page automatically. But this updated post (older original post and the very new comment) is not pushed upwards in the activity stream (it should be the first post in the activity stream after posting the newest comment). Can I change this sorting (by date of update, not by date of creation)? Do you have any ideas?
Kind regards
Alex
Topic: Get Total Newest Members
Hi @danbp
Maybe you can help me.
First look at this page. LINK
Here you can see: “All Members” (and “Friends” if you are Logged in).
But, from there, I want to remove “Order By:” and Add “Newest Members” next to “Friends”.
But, I dont know how I do it.Inside index.php Buddypress has only these codes —> bp_get_total_member_count and bp_get_total_friend_count. But > bp_get_total_newest-members ?? Um! Please, tell me the code for get that.
Hey,
I’m using WordPress version 4.6.1, Buddypress version 2.7.2.
I wanted to know if I can allow special characters (“_” and “.”) in member’s url.
Right now, period (“.”) is getting converted into hyphen (“-“) and underscore is not allowed.
Any way to override this? Would greatly appreciate your help.
Thanks
I am stumped as to how I can change the content of my members page. I have linked the Buddypress Members page to a blank WordPress Members page. When I set up my site several months ago, I wrote some content that is displayed above the search bar and the member directory. However, I am unable to find out how to change that content now.
As part of my troubleshooting, I disassociated the WP Members page and associated the WP Blog page to the BP Members page. The content was the same, so it’s got to be associated with BP in some way, but I cannot, or the life of me, figure out how to change the content on the member directory page.
I have the latest version of WP, and the latest version of BP (2.7.2). The page in question is: https://www.theketopros.com/members/
Hi,
Suddenly, i’m not sure if it was caused by a buddy press update but my profile pictures don’t show up anymore and if I try to upload a new one it asks me to crop it except the picture doesn’t show up as well… I tried under different users and with different pictures and they all do this. I also tried to disable and re-enable buddypress. Any idea why this happened?Am building a food and grocery and I have added BuddyPress to add a social network to it. which plugin will I use to add profile pictures and profile cover and any other plugin that can make the community look cool , almost like facebook? Thank you in advance to any helper. Am using Despacho theme with WordPress 4.6.1 and BuddyPress 2.7.2.
Hi everyone!
We are using on our website Buddypress and want to make more SEO frendly profile url’s
example.com/{City}/{Instrument}/{Firstname-Lastname}
example.com/{City}/{Style}/{Band-Or-Ensemble name}it posible with standart post types with hierarchical categories, but I didn’t found posibility to add taxonomy to activity and groups.
ust small clarification:
I have url’s:
example.com/members/{user}
I want them to be more SEO friendly such as:
example.com/{City}/{Instrument}/{Firstname-Lastname}
example.com/{City}/{Style}/{Band-Or-Ensemble name}I have found the way, how to update url’s structure:
in functions.phpadd_filter( 'bp_get_member_permalink', 'custom_bp_get_member_permalink' ); function custom_bp_get_member_permalink(){ global $members_template; $url = get_site_url(); $city = xprofile_get_field_data('City', $members_template->member->id); $instrument = xprofile_get_field_data('Instrument', $members_template->member->id); $full_name = $members_template->member->fullname; return $url.'/members/'.convert_to_url_ready($city).'/'.convert_to_url_ready($instrument).'/'.convert_to_url_ready($full_name); }but I need to rewrite url’s to get user’s pages.
Wating for any ideas. Thanks in advance.