-
drebabels replied to the forum topic Display Followers/Following Count in the group BuddyPress Followers 13 years, 4 months ago
@henrypwmoulton the code should go into one of your template files (i.e. if you want the followers to appear in your sidebar then you should […]
-
drebabels replied to the forum topic Display Followers/Following Count in the group BuddyPress Followers 13 years, 4 months ago
@henry the code should go into one of your template files (i.e. if you want the followers to appear in your sidebar then you should add the code to sidebar.php). […]
-
drebabels posted on the forum topic How to get group info by id outside of the loop in the group How-To and Troubleshooting: 13 years, 8 months ago
I needed to do this recently too… this is the technique I used: $group = groups_get_group( array( ‘group_id’ => $group_id ) ); Found on http://bluemandala.com/buddypress-plugin/127/buddypress-get-group-details-from-group_id/ So in order to get the link to your groups try something like this global $bp; $group = groups_get_group( array(…[Read more]
-
drebabels posted on the forum topic Display Followers/Following Count in the group BuddyPress Followers: 13 years, 10 months ago
Basically what you need to do is create a new BP members loop using bp_has_members(), and filter it so that it returns only the followers / following members. Below is what I am using on my site to return user following avatars. ` < ?php
echo 'Following ‘.$counts.’‘; ?> <a href="” title=” “> <!– –>…[Read more]
-
drebabels joined the group BuddyPress Followers 13 years, 10 months ago
-
drebabels posted on the forum topic reCAPTCHA for registration in the group How-To and Troubleshooting: 13 years, 10 months ago
You can also try this method if you aren’t running WPMU, and nothing else seems to work for you. Just a note, it does require you to change a BP core file. http://adlatitude.posterous.com/how-to-include-recaptcha-into-buddypress
-
drebabels posted on the forum topic Getting the unread-count inbox-count info elsewhere in the group How-To and Troubleshooting: 13 years, 10 months ago
Just a note
echos the count.
If you want to return the count without the echo use -
drebabels joined the group How-To and Troubleshooting 13 years, 10 months ago
@drebabels
Not recently active