Forum Replies Created
-
In reply to: My forum rating is not being respected
afaik, this is a bbPress issue.
Have you tried asking on the bbPress support forums?In reply to: Register Link goes to homepage now?Why are the Register and Join Now buttons visible if you are logged in?
Usually these are only visible if you are not logged in.Rather than use redirects, it’s better to control when the buttons are displayed.
You’ll need to edit the theme file that displays the buttons.<?php if ( ! is_user_logged_in() ) : ?> html for buttons goes here <?php endif; ?>In reply to: [Resolved] Add group redirects to 404 error!That’s what you should see…
Have you turned on wp_debug? [ It’s a setting that goes in wp_config.php ]
Anything in your error logs?In reply to: [Resolved] Add group redirects to 404 error!Check your permalinks structure – and resave them.
What url do you see when you roll-over the create group button?
You should see it in the bottom bar of your browser.In reply to: What does Site Tracking do?Are you sure you have both the Site Tracking component from the BuddyPress component’s Administration screen AND the “Allow the activity stream commenting on blog posts” from the BuddyPress settings Administration screen selected ?
Create a new post and then comment on it.
In reply to: What does Site Tracking do?If you are referring to the Site Tracking component – it is confusing.
A lot of the BP documentation refers to it as the Blogs component.If you activate the Site Tracking component from the BuddyPress component’s Administration screen, the ‘post’ post_type will automatically have the “buddypress-activity” feature enable. So if you create a post, an entry will appear in the activity stream.
Comments about the post will also generate activities or, if you chose to “Allow the activity stream commenting on blog posts” from the BuddyPress settings Administration screen, comments will be synchronized with the activity stream.
In reply to: Register Page Redirect to ProfileIt shouldn’t matter which page you login from.
https://codex.wordpress.org/Plugin_API/Filter_Reference/login_redirect
Try:
In reply to: Child theme – profile.phpYes, bp-legacy. Agreed, terrible name.
also, the
1in this:
add_action( 'bp_core_activated_user', 'send_message_to_new_member', 1 );Is the priority, not the number of args.
In reply to: Sitewide NoticeThere is no Notifications tab in wp-admin.
You don’t see that option on the front-end when you go to your profile > Messages > Compose ?
If not, try switching to a WP theme like 2015 to determine if there is an issue with your theme.In reply to: Sitewide NoticeGo to your profile > Messages > Compose
and select ‘This is a notice to all users.’
Only admins will see that option.In reply to: Latest on Admin approved groupsMyCred allows you to earn or buy points that give you access or privileges.
Perhaps a privilege could be creating groups.You could also try s2member – supports paid subscriptions. Then you could make the Create Group button visible only to paid members.
There is no out-of-the-box solution to your task, afaik.
$group_twitter = groups_get_groupmeta( $bp->groups->current_group->id, 'e2e_twitter' ); echo '<a href="' . $group_twitter . '">' . $group_twitter . '</a>';You’re showing the code for how to create field values.
The code in the url includes example of retrieving those values.
Just retrieve a value and wrap it in a link tag.In reply to: Disabling Admin ability to see User NotificationsPlease use the
codebutton when sharing code.
Try<?php if( bp_is_my_profile() ) { switch ( bp_current_action() ) : // etc. endswitch; } else echo ' not allowed ';In reply to: Group Widget Link TargetMake your own version of the widget and add a target attribute to the link tags.
In reply to: Disabling Admin ability to see User NotificationsThe template files are in various folders.
Read the codex article carefully.
I was explicit about which file to use.In reply to: Disabling Admin ability to see User NotificationsYou could create a template overload of this file:
bp-templates\bp-legacy\buddypress\members\single\notifications.phpThen wrap the current markup with this conditional:
bp_is_my_profile()btw – the hook is not a filter.
So it may work, but should be:
add_action( 'bp_directory_members_item', 'my_directory' );In reply to: Let moderators mark members as spam>If moderator could mark a member as spam only via dashboard, i am ok with it.
Due to the
current_user_cancheck, afaik it is not possible via dashboard unless you hack core files.In reply to: Let moderators mark members as spam>I think spam and extended features have been added by buddypress therefore i am asking here.
Sorry, my mistake.Before adding the ‘spam’ link BP checks to see if
current_user_can( 'edit_user', $user_id )Members can also be marked as spammers via the front-end.
Take a look at :
\bp-templates\bp-legacy\buddypress\members\single\settings.php
You might be able to adjust it to check for a cap of your choice.You have several basic php mistakes in your function.
I’m surprised that’s the only error you get.function my_directory() { if ( bp_is_active( 'xprofile' ) ) { $memberRoles2 = xprofile_get_field_data( 'Starting', bp_get_member_user_id(), 'comma' ); if ( $memberRoles2 != null && !empty($memberRoles2) ) : echo '<h5 class="adneed">'; echo '<span class="adneedcontent">'; echo 'starting'; echo '</span>'; echo '<div class="roles">'; echo $memberRoles2; echo '</div>'; echo '</h5>'; endif; } } add_filter ( 'bp_directory_members_item', 'my_directory' );In reply to: Let moderators mark members as spamThis is a WP question, not a BP question.
They will need the edit_users capability.In reply to: Profile groups fields – bypass the base groupIt’s much easier to hide profile groups that aren’t Base.
Have you tried putting the Rider fields in another group?In reply to: getting 404’s after paging profile list via ajaxThe recommended method is to turn off other plugins and / or switch to a standard theme like WP 2015.
Due to permalinks aspect, I suspect another plugin.If that doesn’t narrow it down, you can submit a bug ticket here.
But you should provide better instructions on how to duplicate the issue.
This is unclear: “To break the site navigate to the profile and page to another page/set of users and the page does an ajax call to load the view”