Forum Replies Created
-
In reply to: Custom Login Redirect
bp_loggedin_user_domain()In reply to: Groups and ForumsIn wp-admin, Click Forums then New Forum
In reply to: Restrict private messagesYou can’t do it via roles.
You need to use the hook henry mentioned and write a function to see if the sender is ‘free’.In reply to: [Resolved] Manage Signups permissions errorBP Repair Tools in wp-admin: Tools > BuddyPress
Not sure where it will show up in your multisite, main screen or subsite?In reply to: Default to “view” instead of “edit” profileIn reply to: Default to “view” instead of “edit” profileThat area is controlled by WordPress, not BuddyPress
Try this in bp-custom.php or your theme/functions.php
https://gist.github.com/shanebp/91acc541776cc083e3a5In reply to: Default to “view” instead of “edit” profileIt should default to View.
How did you change the default section to Profile?In reply to: No option to approve or reject friendship requestTry switching to a WP theme like 2012.
Does the problem still exist? If not, it’s an issue with your theme.Are you sure the option is not there? Or is just not visible?
Unless you provide a real url and a tester name & pw, there isn’t much anyone can do to help you.In reply to: [Resolved] Assigning New Subnav ItemsTry:
function kisses_posts() { add_action( 'bp_template_content', 'kisses_screen' ); bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) ); } function kisses_screen() { locate_template( array( 'buddypress/members/single/kisses.php' ), true ); }Or
function kisses_screen() { echo ' put the code from kisses.php here'; }Read this for a better approach to your issue: Filtering by Xprofile fields
Another approach: bp_user_query
Temp fix: put the js file in the location specified.
Next task: find out why 2014 is trying to call it from that location.
The console says that it’s trying to load this file but it’s 404:
http://dogdrill.com/wp-content/themes/twentyfourteen/buddypress/js/buddypress.min.js?ver=4.0.1Ditto for this file:
http://dogdrill.com/wp-content/plugins/buddypress/bp-core/depreciated/js/jquery-scroll-to.min.js?ver=4.0.1Can you confirm that those files are in those locations on your server?
In reply to: The big pictureYou’ll need bbPress for forums and a membership plugin like s2member or WishList Member for paid membership.
In reply to: Add new input field in compose message formIt can be done, but not easily.
You’ll need to replace the message create and send functionality.
If you are comfortable with php hacking, you could modify this plugin.
Adding the email field is easy.
Without a lot of work, you won’t be able to display it as a separate field when they read the message. Instead, I would append the email to the start of the message content before sending it.In reply to: Post comments in Activity StreamOn this page:
/wp-admin/options-reading.php
do you have this enabledDiscourage search engines from indexing this site
if so, disable it.In reply to: Post comments in Activity StreamOn this page:
/wp-admin/admin.php?page=bp-settings
enable this optionAllow activity stream commenting on blog and forum postsOn this page:
/wp-admin/options-general.php?page=bp-components
enable this optionRecord activity for new posts and comments from your site.In reply to: extend editor toolbar bbcodesThese are the BuddyPress forums.
You might want to try the bbPress forums.In reply to: Display widget by phpThe widget classes are in
bp-core\bp-core-wdigets.phpIn reply to: Need to know the nav-sub pages directory.Usually, you only need to copy the files that you want to override.
The appbuddy plugin may have different requirements.
In reply to: Need to know the nav-sub pages directory.Yes, they are 2 separate issues: nav items and templates.
Does your theme use the WP toolbar at the top?
If so, can you see the logged member name?
If so, if you roll-over it, do you see the correct menu and sub-menus?This all sounds theme related. The people at appPressor are good. Have you asked them about this?
In reply to: group member names push into array not workingAs I pointed out above, you should use
bp_get_group_member_name()notbp_group_member_name().
The latter will echo out the name. The former will return it as a variable.Check your error logs.
You need to be on a group page to usewhile ( bp_group_members() )
Otherwise you need to precede it withif ( bp_group_has_members( 'group_id=15' ) ) :In reply to: Need to know the nav-sub pages directory.Use this structure:
[theme or child theme]/buddypress/For example:
[theme]/buddypress/members/single/member-header.phpCopy this file:
buddypress\bp-templates\bp-legacy\buddypress\members\single\member-header.phpIn reply to: group member names push into array not workingIn reply to: group member names push into array not workingThere are several things to be changed.
You don’t need this:
global $wpdb;Change:
array_push($names, bp_group_member_name() );To:
$names[] = bp_get_group_member_name();Change the js ajax call to:
jQuery.post(ajaxurl, function(response) { console.log(response); // so you can examine the structure });