-
Brajesh Singh posted on the forum topic Get Logged In Username in the group How-To and Troubleshooting: 12 years, 11 months ago
are you calling that from bp-custom.php ? or your theme ?
-
Brajesh Singh posted on the forum topic Call to arms – Own your task in the group Requests & Feedback: 12 years, 11 months ago
@all, great going, nice to see the movement 🙂
@mercime, thanks 🙂
@djpaul,
just updated the xprofile template tags to cutdown the query for select/multiselect fields. Please have a look here https://trac.buddypress.org/ticket/3233 -
Brajesh Singh posted a new activity comment 12 years, 11 months ago
thanks @mercime, a pleasure to be back again 🙂
-
Brajesh Singh posted on the forum topic Call to arms – Own your task in the group Requests & Feedback: 12 years, 11 months ago
Thanks @djpaul, Yes, I remember that. Just trying to bring it back as an option to the site admins and allow them to extend it.Going to put a patch later today for that. Re query: Yes, the query count is still applicable to bp trunk #4396. It is only in the case of multiselect box where […]
-
Brajesh Singh posted on the forum topic Call to arms – Own your task in the group Requests & Feedback: 12 years, 11 months ago
I am interested in improving the xprofile fields to allow developers to add new field types. currently we have a limited set of fields(say multiselect/checkbox etc). An example extension could be allowing to add an specializationn of select box with Country drop down which will save numerous times for many site owners. I am not […]
-
Brajesh Singh posted a new activity comment 12 years, 11 months ago
Hi There,
sorry for delayed reply. I have tried to put the localization support in all the new plugins. For old ones, I hope to update each of them by the end of month. If you want to translate some specific plugin, please do let me know. I will update them first. -
Brajesh Singh posted on the forum topic Reply Button Not Working in the group How-To and Troubleshooting: 12 years, 11 months ago
@mercime, thanks for supporting the theme here.
@JamieWade I am putting a new version of CB in next 3-4 days which will support the activity reply. If you have other feature suggestion please do let me know here or on the cosmic buddy’s blog page. sorry for the delayed reply.
-
Brajesh Singh posted an update 12 years, 11 months ago
trying to get back to community after some intermittent stints of being on and off.
-
Brajesh Singh posted on the forum topic All fields for registration in the group Requests & Feedback: 12 years, 11 months ago
@candy2012
i did not get the post notifications and I was not active here, so could not help you. sorry for that
@latinosamorir
Yes, I have the solution. I am posting a detailed tutorial today. Will link here.
btw, the above code still applies. -
Brajesh Singh joined the group Requests & Feedback 12 years, 11 months ago
-
Brajesh Singh posted on the forum topic Show "Cancel Friendship" in Friends List? in the group How-To and Troubleshooting: 13 years, 1 month ago
you are most welcome 🙂
-
Brajesh Singh posted on the forum topic Show "Cancel Friendship" in Friends List? in the group How-To and Troubleshooting: 13 years, 1 month ago
In that case, you can always put this in the functions.php/bp-custom.php and it will fix the issue
add_filter('bp_get_add_friend_button', "friend_fix_bp_button_bug");
function friend_fix_bp_button_bug($button){
if($button=='is_friend')
$button=false;
return $button;
}Edit: I posted wrong id, updated…
-
Brajesh Singh posted on the forum topic Show "Cancel Friendship" in Friends List? in the group How-To and Troubleshooting: 13 years, 1 month ago
take a look at this
https://trac.buddypress.org/ticket/2780it is fixed in 1.3 branch but not in 1.2 branch. You can modify the the friends-template tag or just hook to the filter to correct it.
-
Brajesh Singh posted on the forum topic BP plugins multisite menu fix? in the group How-To and Troubleshooting: 13 years, 1 month ago
Is this topic resolved or still an issue. Sorry, I could not follow up. The problem is if a plugin is using register_setting and asks the options.php to save plugin data. It will be broken in the multisite. The problem is most authors leave the the plugin option menu registering code and setting register code […]
-
Brajesh Singh posted on the forum topic BP plugins multisite menu fix? in the group How-To and Troubleshooting: 13 years, 1 month ago
There is a simple fix for the problem with saving data. Look for admin_url and replace with network_admin_url, also, if there is something hard coded like site_url(“wp-admin/something.php”) change that to network_admin_url(“something.php”) and it will be solved. to sum up, all the urls pointing to wp-admin should be generated via network_admin_url…[Read more]
-
Brajesh Singh posted on the forum topic Check if an user is or not a group_member : in the group Creating & Extending: 13 years, 2 months ago
have you used the get function bp_get_total_group_count_for_user(), as I said earlier, the bp_total_group_count_for_user does not return a value. so use bp_get_total_group_count_for_user
-
Brajesh Singh posted on the forum topic Check if an user is or not a group_member : in the group Creating & Extending: 13 years, 2 months ago
have you tried the passing user id to the bp_get_total_group_count_for_user(), do not use bp_total_group_count_for_user(), it just echoes the count. like
bp_get_total_group_count_for_user($user_id); //or if inside member loop you may o this global $members_template; $total_group=bp_get_total_group_count_for_user($members_template->member->id);
For…[Read more] -
Brajesh Singh posted a new activity comment 13 years, 2 months ago
hey mercime, Thanks a ton..just trying to be back again 🙂
-
Brajesh Singh posted on the forum topic wp-signup /register in the group How-To and Troubleshooting: 13 years, 2 months ago
Put this in your functions.php
if ( bp_core_is_multisite() )
remove_action( 'wp', 'bp_core_wpsignup_redirect' );
else
remove_action( 'init', 'bp_core_wpsignup_redirect' );
That should do it. -
Brajesh Singh posted on the forum topic Disable Blog signup? in the group How-To and Troubleshooting: 13 years, 2 months ago
Easy way, On wpms 3.0.x Disable the blog signup from SuperAdmin->Options ->Registration Settings and select the second option (User account may be created). If you are on the wpms 3.1, you will have to go to NetworkAdmin->settings->Registration Settings and do the same. On your users request, you can still create an account as you are […]
- Load More
@sbrajesh
Active 6 months ago
Good to see you back as always, @sbrajesh
thanks @mercime, a pleasure to be back again 🙂