-
-
ankurm replied to the forum topic Check \"If friends\" to display data conditionally in the group How-To and Troubleshooting
This Would work….
global $bp;
$loggedin_user_id = $bp-loggedin_user-userdata-ID;
$other_user_id = bp_get_member_user_id();
if($loggedin_user_id == $other_user_id){
$check_string = ‘its_me’ […] -
ankurm replied to the forum topic How to increase activity-avatar image size? in the group Creating & Extending
-
ankurm replied to the forum topic how can i get a member's id in the group How-To and Troubleshooting
i found what i needed.. the function which i was searching for was
bp_get_member_user_id();
-
I am running a loop and fetching ids of all the members using this function
bp_member_user_id();
but this function echos the id.. How can i store the id of the member in a variable? -
ankurm replied to the forum topic How to redirect to custom search result page? in the group How-To and Troubleshooting
did you create a search.php file?
-
ankurm replied to the forum topic How to sort groups accorging to their popularity in the group How-To and Troubleshooting
@ewebber : thanks..
-
ankurm started the forum topic How to sort groups accorging to their popularity in the group How-To and Troubleshooting
hey..
how can i sort the groups on my buddypress site according to their popularity(most discussed) and display them on the sidebar?
thanks.. -
ankurm replied to the forum topic a little script that improves the BP experience during a login error in the group How-To and Troubleshooting
btw @Dwenaus the code worked perfectly fine otherwise…
Thanks.. -
ankurm replied to the forum topic a little script that improves the BP experience during a login error in the group How-To and Troubleshooting
@Dwenaus , i have the same problem which @ibn.nadir had..
there are no error messages appearing after the redirection. How to get that message appear?thanks
-
ankurm replied to the forum topic Custom Login Page in BuddyPress in the group How-To and Troubleshooting
@sbrajesh Thanks for information. Your code worked perfectly!