Search Results for 'buddypress'
-
Search Results
-
Topic: Auto Assign to Group
I am creating an online platform for a client where i use BuddyPress and gamipress. I want users to be moved from one group to another when the user earns a certain number of points .
Topic: get_comment_count()
Hi,
I found the code to hide comments in the activity stream. Adds an additional button (show / hide comments)
How can I add the number of comments for the current post?I have something like that made by @shay1383
add_action( 'wp_footer', 'add_comment_hide_show' ); function add_comment_hide_show() { ?> <style> .activity-comments ul li[id^="acomment-"]{display: none;} </style> <script type="text/javascript"> jQuery(function($) { setInterval(function() { $('.activity-meta').each(function() { if( !$(this).find('.show-comments').length ){ var html = '<a href="#" class="button bp-primary-action show-comments">Show/Hide Comments</a>'; $(this).find('.button.acomment-reply').after(html); } }); }, 500); $('body').on('click', '.show-comments', function(e) { e.preventDefault(); var obj = $(this).closest('.activity-content').next('.activity-comments').find('ul li[id^="acomment-"]'); obj.slideToggle(); return false; }); }); </script> <?php }For comments button, the number of commentators is displayed by:
<a href="<?php bp_activity_comment_link(); ?>" class="button acomment-reply bp-primary-action" id="acomment-comment-<?php bp_activity_id(); ?>"><?php printf( __( 'Comment %s', 'buddypress' ), '<span>' . bp_activity_get_comment_count() . '</span>' ); ?></a>But if I use it, the same number of comments appear under each post. How to make it work?
Topic: member contact form
hi , i have buddypress and gravity forms installed.
when viewing another member’s profile, there will be contact form, friends can fill the form and submit a message to that member.Topic: meeting request
hi , how can i add meeting request to buddypress
i wan’t the user to send simple request, the admin approve it , then the other member can accept or refuse. is there any plugin to do that or can you give me code or is there any core function?
and thank youHi there,
If I use Buddypress, Memberpress, LearnDash, and Gamipress – which one of those plugins will be the dominating one? Like regarding log in etc.?
How will I be able to create a dashboard which features all of those features?
Also, we have different tiers of membership, level 1 doesn’t get access to the community, level 2 and 3 do. So how do we exclude level 1 members to access our community? If they need to create their profile through Buddy Press then they will have automatic access, right?
How can we stop level 1 members from getting access to the community? How do all these plugins work together?
Warm wishes
Hello guys,
I have a relationship website and I would like to customize the Members Directory showing JUST man for woman, and just woman for man.There are two “member-type” man and woman (using buddypress member types pro plugin)
I would like to create a member directory showing just the oposite member-type and removing the others users.
Could someone help me with it? Thanks
I don’t think I can find help here
I’ve rarely seen anything complicated as a buddypress and I’m just annoyed that I used it. Because you can neither find help nor look through the template structure.
Which template do I have to touch if I want to restructure the members overview page? It must be possible to insert a simple template in my theme directory. But it is not.
I like to have a simple I want a simple statement about which concrete template I have to use. Is that too much?
The site always wants to call PAGE.PHP. Good. But what exactly do I put in there to deal with the code structure of the member pages? What Loop?
***
Ich habe nur selten etwas kompliziertes gesehen, als Buddypress und ärgere mich gerade, dass ich es eingesetzt habe. Denn man findet weder Hilfe, noch blickt man durch die Template Sturktur durch.
Welches Template muss ich anfassen, wenn ich die Members-Übersichtsseite umstrukurieren will? Es muss doch möglich sein, ein einfaches Template in mein Theme-Verzeichnis einzufügen. Ist es aber nicht.
Ich möchte eine einfache Aussage, welches konkretes Template ich nehmen muss. Ist das zu viel verlangt?
Die Seite will immer die PAGE.PHP aufrufen. Gut. Aber was genau füge ich dort ein, um mich mit der Code-Struktur der Mitgliederseiten auseinander zu setzen? Welchen Loop?
I’m trying to set a default cover photo programmatically. It works the first time I delete the current profile cover photo. But when I refresh the page or go to another page, it disappears and is blank.
I am editing the file:
/wp-content/themes/aardvark-child/lib/inc/buddypress-functions.php
if ( ! function_exists( 'ghostpool_xprofile_cover_image' ) ) { function ghostpool_xprofile_cover_image( $settings = array() ) { $settings['default_cover'] = 'cover2-test3.png'; $settings['width'] = 1500; $settings['height'] = 300; return $settings; } }Of course I add the entire URL of the photo… not just cover2-test3.png.
If I inspect the page with the cover image there, I can see the URL in the html. But when I refresh it, it is gone.
Any help is appreciated, thank you.
Hello,
I have been having problems with the Appearance > Customise since the release on the 3rd of January.
Finally matched it to BuddyPress after long testing to see what was causing it.
Any help regarding this? The issue I am having is that when I am using the customizer it doesn’t “refresh” or show the “easy edit” fields for the header for example when I edit something or even publish.Thanks in advance, hope you can help me.
DanielHi there, I would like to have custom members-loop in buddypress.
I want show users what have media (mediapress), have avatar and have not xprofile field “name” empty.
I have this in my members-loop.php
<?php while ( bp_members() ) : bp_the_member(); $mp = new MPP_Media_Query(['user_id' => bp_get_member_user_id()]); // mediapress media $user_id = esc_attr( bp_get_member_user_id() ); // user id $has_avatar = bp_get_user_meta( $user_id, '_has_avatar', true ); // have user avatar $_name = xprofile_get_field_data( 'Jméno' , bp_get_member_user_id() ); // have user xprofile field "name" if (!$mp->have_media() || empty($has_avatar) || empty($_name)) {continue;}?>this code working BUT – pagination is broken. On first page i see only 1 user, on second page i see 3 users etc…
Is there correct way?
