-
Henry Wright replied to the topic avatar does not show in the forum How-to & Troubleshooting 11 years, 3 months ago
Can you try activating the Twenty Fifteen theme to see if them problem still happens?
-
Henry Wright replied to the topic How to hide section of profile to all but that user and admin? in the forum How-to & Troubleshooting 11 years, 3 months ago
Hi @screampuff
You could try the following function which will stop unwanted users from viewing the page directly if they tried typing the URL:
function my_hide_achievements_page() {
$role = xprofile_get_field_data( 'Membership' );if ( ( $role != 'Administrator' ) || ( bp_current_user_id() == bp_displayed_user_id() ) )…[Read more]
-
Henry Wright replied to the topic How to hide section of profile to all but that user and admin? in the forum How-to & Troubleshooting 11 years, 3 months ago
Hi @screampuff
You could try the following function which will stop unwanted users from viewing the page directly if they tried typing the URL:
function my_hide_achievements_page() {
$role = xprofile_get_field_data( 'Membership' );if ( ( $role != 'Administrator' ) || ( bp_current_user_id() != bp_displayed_user_id() ) )…[Read more]
-
Henry Wright replied to the topic How to hide section of profile to all but that user and admin? in the forum How-to & Troubleshooting 11 years, 3 months ago
Hi @screampuff
You could try the following function which will stop unwanted users from viewing the page directly if they tried typing the URL:
function my_hide_achievements_page() {
$role = xprofile_get_field_data( 'Membership' );if ( ( $role != 'Administrator' ) || ( bp_current_user_id() == bp_displayed_user_id() ) )…[Read more]
-
Henry Wright replied to the topic How to hide section of profile to all but that user and admin? in the forum How-to & Troubleshooting 11 years, 3 months ago
Hi @screampuff
You could try the following function which will stop unwanted users from viewing the page directly:
function my_hide_achievements_page() {
$role = xprofile_get_field_data( 'Membership' );if ( ( $role != 'Administrator' ) || ( bp_current_user_id() == bp_displayed_user_id() ) )
return;// I guess we should 404…[Read more]
-
Henry Wright replied to the topic How to hide section of profile to all but that user and admin? in the forum How-to & Troubleshooting 11 years, 3 months ago
Hi @screampuff
You could try the following function which will stop unwanted users from viewing the page directly:
function my_hide_achievements_page() {
$role = xprofile_get_field_data( 'Membership' );
if ( ( $role != 'Administrator' ) || ( bp_current_user_id() == bp_displayed_user_id() ) )
return;// I guess we should 404…[Read more]
-
Henry Wright replied to the topic avatar does not show in the forum How-to & Troubleshooting 11 years, 3 months ago
Hi @alocin82
Which theme are you using?
-
Henry Wright replied to the topic Create some new option for donation to developers Buddypress in the forum Requests & Feedback 11 years, 3 months ago
Hi @rudik123
Just to make you aware, BuddyPress developers add new features to BP core only if that particular feature will benefit the entire community. So even if you offer $1,000s, the feature request may get rejected. That doesn’t mean to say the door is closed and that’s where plugins come in. Many people choose to hire a developer to create…[Read more]
-
Henry Wright replied to the topic Create some new option for donation to developers Buddypress in the forum Requests & Feedback 11 years, 3 months ago
Hi @rudik123
Just to make you aware, BuddyPress developers add new features to BP core only if that particular feature will benefit the entire community. So even if you offer $1,000s, the feature request may get rejected. That doesn’t mean to say the door is closed and that’s where plugins come in. Many people choose to hire a developer to create…[Read more]
-
Henry Wright replied to the topic Create some new option for donation to developers Buddypress in the forum Requests & Feedback 11 years, 3 months ago
Hi @rudik123
Just to make you aware, BuddyPress developers add new features to BP core only if that particular feature will benefit the entire community. So even if you offer $1,000s, the feature request may get rejected. That doesn’t mean to say the door is closed and that’s where plugins come in. Many people choose to hire a developer to create…[Read more]
-
Henry Wright replied to the topic Inserting activity content via plugin in the forum How-to & Troubleshooting 11 years, 3 months ago
Having re-looked over your code for
bp_activity_add()above, try setting the activitytypetonew_blog_postFor example:
$activity_id = bp_activity_add( array([Read more]
'action' => 'A link from NewsSite', // The activity action - e.g. "Jon Doe posted an update"
'content' => $post_content, // Optional: The content of… -
Henry Wright replied to the topic Private Messaging 'Page Not Found' issue in the forum How-to & Troubleshooting 11 years, 3 months ago
Thanks for the update @kateleedotinfo.
Hiding tabs via CSS isn’t the best way to do it as I’m sure you’ll know. If you find a better solution then let us know 🙂
-
Henry Wright replied to the topic Where to add a code for forum in the forum How-to & Troubleshooting 11 years, 3 months ago
Hi @lovecoinz
Try asking over at bbPress as the solution you need is more related to that plugin rather than BuddyPress.
-
Henry Wright replied to the topic Login page for users in the forum Creating & Extending 11 years, 3 months ago
Hi @fanmusic
Check out Theme My Login. That’s one of the easiest and most secure ways to do it.
-
Henry Wright replied to the topic Inserting activity content via plugin in the forum How-to & Troubleshooting 11 years, 3 months ago
Any chance you can post all of your code? Perhaps in Pastebin? The code you’ve provided here looks sound so there must be something else at fault
-
Henry Wright replied to the topic How To bp_set_member_type? in the forum Creating & Extending 11 years, 3 months ago
Hi guys
My snippet shows you how to set a default type as you asked for this in the second half of your question. It won’t be useful if you want to set a member type from the admin area. That’ll need a different solution.
Hope this helps.
-
Henry Wright replied to the topic How To bp_set_member_type? in the forum Creating & Extending 11 years, 3 months ago
Hi guys
My snippet shows you how to set a default type as you asked for this in the second half of your question. It won’t be useful if you want to se t a member type from the admin area. That’ll need a different solution.
Hope this helps.
-
Henry Wright replied to the topic recommended membership plugins in the forum How-to & Troubleshooting 11 years, 3 months ago
-
Henry Wright replied to the topic How To bp_set_member_type? in the forum Creating & Extending 11 years, 3 months ago
Hi @ch1n3s3b0y
To set a default member type, try adding this to either your theme’s functions.php file or your bp-custom.php file.
function my_set_default_member_type( $user_id, $user_login, $user_password, $user_email, $usermeta ) {[Read more]
// Set the member's type to student
bp_set_member_type( $user_id, 'student' );
}
add_action(… -
Henry Wright replied to the topic Inserting activity content via plugin in the forum How-to & Troubleshooting 11 years, 3 months ago
Hi @valuser
Could be a stupid question, but have you enabled ‘site tracking’?
- Load More
@henrywright
Active 2 years, 1 month ago