Search Results for 'theme'
-
Search Results
-
Hi, i feel like im doing this properly but i never get the right result. i have a custom meta called “featured” in activity meta. For testing purposes the meta values are 1,2,3,4 my goal is to have an activity loop order activities by the meta value. i’ve checked the documentation and i came up with this.
<?php get_header(); ?> <?php get_template_part('page-parts/general-title-section'); ?> <?php get_template_part('page-parts/general-before-wrap'); $atts = array( 'title' => 'Latest Activity',// title of the section. 'pagination' => 1,// show or not. 'load_more' => 0, 'display_comments' => 'threaded', 'include' => false, // pass an activity_id or string of IDs comma-separated 'exclude' => false, // pass an activity_id or string of IDs comma-separated 'in' => false, // comma-separated list or array of activity IDs among which to search 'sort' => 'DESC', // sort DESC or ASC 'page' => 1, // which page to load 'per_page' => 5, // how many per page. 'max' => false, // max number to return. 'count_total' => true, // Scope - pre-built activity filters for a user (friends/groups/favorites/mentions). 'scope' => false, // Filtering 'user_id' => false, // user_id to filter on 'object' => false, // object to filter on e.g. groups, profile, status, friends 'action' => false, // action to filter on e.g. activity_update, new_forum_post, profile_updated 'primary_id' => false, // object ID to filter on e.g. a group_id or forum_id or blog_id etc. 'secondary_id' => false, // secondary object ID to filter on e.g. a post_id. // Searching 'search_terms' => false, // specify terms to search on. 'use_compat' => bp_use_theme_compat_with_current_theme(), 'allow_posting' => false, // experimental, some of the themes may not support it. 'container_class' => 'activity',// default container, 'hide_on_activity' => 1,// hide on user and group activity pages. 'for' => '', // 'logged','displayed','author'. 'role' => '', // use one or more role here(e.g administrator,editor etc). 'for_group' => '',// group slug. ); $atts['meta_query']= array( array( 'key' => 'featured', 'value' => '0', 'type' => 'numeric', 'compare' => '!=', ), 'meta_type' => 'numeric', 'orderby' => 'meta_value_num', 'meta_key' => 'featured', 'order' => 'DESC' ); ?> <div id="buddypress"> <?php do_action( 'bp_before_activity_loop' ); if ( bp_has_activities( $atts ) ) : ?> <div class="<?php echo esc_attr( $atts['container_class'] ); ?> <?php if ( ! $atts['display_comments'] ) : ?> hide-activity-comments<?php endif; ?>"> <ul id="activity-stream" class="activity-list item-list"> <?php while ( bp_activities() ) : bp_the_activity(); ?> <?php bp_get_template_part( 'buddypress/activity/entry' ); ?> <?php endwhile; ?> <?php if ( $atts['load_more'] && bp_activity_has_more_items() ) : ?> <li class="load-more"> <a href="<?php bp_activity_load_more_link() ?>"><?php _e( 'Load More', 'buddypress' ); ?></a> </li> <?php endif; ?> </ul> <?php if ( $atts['pagination'] && ! $atts['load_more'] ) : ?> <div class="pagination"> <div class="pag-count"><?php bp_activity_pagination_count(); ?></div> <div class="pagination-links"><?php bp_activity_pagination_links(); ?></div> </div> <?php endif; ?> </div> <?php else : ?> <div id="message" class="info"> <p><?php _e( 'Sorry, there was no activity found. Please try a different filter.', 'buddypress' ); ?></p> </div> <?php endif; ?> ?> </div> <?php do_action( 'bp_after_activity_loop' ); ?> <?php get_template_part('page-parts/general-after-wrap'); ?> <?php get_footer(); ?>everything here works except for the order. for some reason it always orders by activity ID. am i missing something here? Thanks in advance im going crazy with this.
Hi.
I’m having an issue with Groups that causes the activity to show “Load More” instead of showing latest group updates/posts. Filters also do not work for me on group activity stream.I have it setup to show the groups Activity feed by default instead of a homepage for the group.
If set a homepage for the group and then navigate to ‘Activity’ everything works as it should.
Filters work. However, my requirement is to have latest posts load first by default.I’m using Buddypress Nouveau on a custom WordPress theme based on Underscores.
Any insight or troubleshooting ideas would be greatly appreciated!
All the best,
JustinI’m using Buddypress 6.4.0 on WordPress 5.6 and it’s not installing the default pages. I’ve tried this with the Twenty Twenty default theme as well as dropping all my other plugins for the install, but it’s just not creating those pages π I don’t want to list my website here, as it contains adult material, but any suggestions would be appreciated
Hey,
A lot of my (impatient) users double or triple click on the “post update” button (#aw-whats-new-submit), thus creating duplicated activities.
I only found this 5 year old topic , where @henrywright suggested to insert jquery code in the post-form.php (in a child theme). Which I did:<?php /** * BuddyPress - Activity Post Form * * @version 3.1.0 */ ?> <?php /* * Template tag to prepare the activity post form checks capability and enqueue needed scripts. */ bp_nouveau_before_activity_post_form(); ?> <h2 class="bp-screen-reader-text"><?php echo esc_html_x( 'Post Update', 'heading', 'buddypress' ); ?></h2> <div id="bp-nouveau-activity-form" class="activity-update-form"></div> <script> jQuery( 'input#aw-whats-new-submit' ).click( function() { jQuery( "input#aw-whats-new-submit ").attr( "disabled", true ); jQuery(this).addClass( "loadingBP" ); }); </script> <?php /* * Template tag to load the Javascript templates of the Post form UI. */ bp_nouveau_after_activity_post_form();Unfortunately, clicking on the button (although it’s the right selector) does not trigger the jQuery event.. I’m puzzled! Any help welcomed!
ThanksTopic: Profile Main Nav Disappeared
Greetings,
I have a problem that has me stumped. Thank you in advance for any help you might be able to offer. Website is canyonguidesinternational.org
Started with MemberPress and Divi theme. Added BuddyPress to provide users the ability to create extended user profiles. Added a BuddyPress integration plugin provided by MemberPress. The only other plugins installed are reCaptcha and WordFence.
The problems …
WITH BUDDYPRESS DISABLED
Things work fine, except of course I cannot access BuddyPress features.WITH BUDDYPRESS ENABLED β LOGGED IN AS ADMIN
Things work fine. Can access BuddyPress features. BUT trying to get to homepage keeps redirecting me to β¦/members. I have the homepage set to static page HOME and cannot find any other place that could be causing the redirect. I can get to other pages using the navigation menu, but not the homepage.WITH BUDDYPRESS ENABLED β LOGGED OUT
Going to home page gives me this message: “Please provide a valid activation key.” I can get to other pages using the navigation menu, but not the real homepage.Topic: private message not response
Hello. I’am using this theme https://themeforest.net/item/vikinger-buddypress-and-gamipress-social-community/28612259 and this plugin https://codecanyon.net/item/snax-viral-frontend-uploader/16540363.
I’m also, of course, using buddypress on my website- But for some reason, the notifications are showing blank. See example: https://imgur.com/a/CXL2yFF
Can I get a help, please ?
Good afternoon,
Have created a php file which we would like to integrate on the group post button, this is every time any user write a post and click on submit the post, apart from continue with it process, also execute my php file…, but I am unable to find where ti insert it.
Could anyone point me to the correct file and how to insert it?
We are using a child-Theme and BP-Nouveau.
Thks.Topic: Members page not populating
I am having trouble getting our intranet member page working. I have buddy press installed and set to the correct page, but when I go to the page I briefly see a message saying it is loading but doesn’t load anything up. The all members button shows the correct number of users in our system so it is linking to the DB correctly.
I did see a post about the last activity needing to be populated….I ran that script and it is populated correctly. We use the Woffice theme and all users are authenticated through LDAP.
Any thoughts on how to get this resolved?
Topic: Users can’t register
I created a fresh install of WordPress, removed all themes except TwentyTwenty and all default plugins. Installed Buddypress from the WP repository. Activated. This is a fresh install set up to troubleshoot this Buddypress problem in another install.
I can add users in the backend. If BP is disabled, users can register using the default registration.
No WP errors are created or logged. A single proxy error is thrown. Noted below with real domain masked.
Any suggestions?
********************
1. Which version of WordPress are you running?
Wordpress 5.5.32. Did you install WordPress as a directory or subdomain install?
Subdirectory3. If a directory install, is it in root or in a subdirectory?
subdirectory4. Did you upgrade from a previous version of WordPress? If so, from which version?
Fresh installation5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
yes6. Which version of BP are you running?
Version 6.4.07. Did you upgraded from a previous version of BP? If so, from which version?
No. Fresh install8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
None9. Are you using a standard WordPress theme or customized theme?
No10. Which theme do you use ?
Twenty-twenty11. Have you modified the core files in any way?
No12. Do you have any custom functions in bp-custom.php?
No13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
None14. Please provide a list of any errors in your serverβs log files. https://codex.wordpress.org/Debugging_in_WordPress
One error noted in proxy_error_log
2020/12/01 13:37:19 [error] 31520#0: *5156884 “/var/www/vhosts/DOMAIN.com/httpdocs/testing2/register/index.html” is not found (2: No such file or directory), client: 143.244.45.55, server: DOMAIN.com, request: “POST /testing2/register/ HTTP/2.0”, host: “DOMAIN.com”, referrer: “https://DOMAIN.com/testing2/register/”All debug options enabled in wpconfig but WP throws no errors or creates a log file.
15. Which company provides your hosting?
1and1 dedicated server16. Is your server running Windows, or if Linux; Apache, nginx or something else?
Apache & nginx17. Which BP Theme are you using?
None additional18. Have you overloaded any BuddyPress template files.
Touched none19. Any other site customisations that might have a bearing on the issue?
Fresh install20. What BP Template Pack is activated in your installation? You will see that under Dashboard > Settings > BuddyPress β Options page.
Buddypress Nouveau (but also tried with Buddypress Legacy)Hello,
I installed BP on my site and it was working well. But now, the “standard member front page” is gone. The page where you have your menu items: activity, messages, notifications, friends, groups, etc. What I mean by “standard member front page” is this:
I don’t understand how this page can disappear. Now when you login the website defaults to a “you’re now logged in as X” page. And if you navigate to the member directory and click on your profile, there is just a list of your friends and groups. No activity, no messages, no notifications tabs.
In addition to BP, I’m using the Profile Builder plugin, and Profile Builder Customization Toolbox. In the Appearance> customization > BuddyPress nouveau settings, I have selected the enable default front page for member profiles. I also have selected the display the biographical info from the member’s WordPress profile.
WP version:5.5.3
BP version: 6.4.0
Theme: Werkstatt
website: queerarmenianlibrary.comI have looked for any documentation but I cannot find anything that explains this hook system. For example, in bp-nouveau/buddypress/members/register.php the hook bp_nouveau_signup_hook() shows up several times. The hook has two arguments which change depending where they are in the code.
How to hook into these from my child theme to add content?
I want to buy BuddyPress. Do you know if its compatible with the theme:
I use Bridge Child Version: 1.0.0 from Qode Interactive.It’s a bit urgent – please help π