SJS719
Forum Replies Created
-
You’re the man, Elvin! Thanks for your super quick response and fix!
Bump
Forum: Plugins
In reply to: [Favorites] Allow Logged In Users to Make Their Favorites Private?Any ideas??
Forum: Plugins
In reply to: [Favorites] New Update 1.2.3 Broke User Favorites ListOkay I believe I have figured out the issue. The update somehow changes the way post types are handled by the Favorites plugin and unless you specify which post type(s) to use within the actual functions then you will get the issues I explained above.
I was using the provided functions to display a user’s favorites list on their BP profile page, and a list of users who have favorited a specific post at the bottom of each post. In both of these functions I had
$filters = null,
(which worked fine prior to the latest update) since I had already selected the post types in the admin settings. But as soon as I changed “null” to the actual post types which use favorites the issue seems to have stopped.I will let you know if the issue continues.
Forum: Plugins
In reply to: [Favorites] New Update 1.2.3 Broke User Favorites ListI do not have caching enabled on any of my sites and I have tried all of the following solutions and more:
Cleared browser cache/data
Tried multiple browsers
Tried separate machines
Disabled all plugins except for Favorites
Tried multiple themesAnd I still have the same issue across both sites as well as my sandbox. Has no one else reported this issue? If not I will continue to try to diagnose the issue, but please let me know if others are affected as well.
If there is not a clear solution to this issue then could you please let me know what changes were made during the last update so that I can revert the updated code back to the pre-update state?
thx
Did you ever find a solution for this? I have the same issue
Forum: Plugins
In reply to: [Suggest Review] Manually Insert Suggest Review Button?Okay thank you.
Forum: Plugins
In reply to: [BuddyPress Global Search] Auto complement for compose message stoped workingDid you ever find a fix for this?
Is no one else experiencing this issue?
Forum: Plugins
In reply to: [Suggest Review] Manually Insert Suggest Review Button?Is there a way to manually insert the button into a template or not?
Forum: Plugins
In reply to: [Suggest Review] Manually Insert Suggest Review Button?If I just had the ability to manually place the button in a page template then I can figure out the rest…
Is there a way to manually insert the suggest review button via PHP that will keep the settings which are set by admin? And is there an easy way to remove the button which is auto displayed in the footer other than by hiding it with CSS?
Forum: Plugins
In reply to: [Suggest Review] Manually Insert Suggest Review Button?Sorry for the bad description.
What I am asking is for is a suggest review link to be placed on a single post/page manually so I can place it anywhere. I have a business directory and I would like to place a suggest review link after each line of business info such as after each of the following:
Address
Phone Number
Hours
DescriptionThanks.
Forum: Plugins
In reply to: [Mutual Buddies] A Few ThingsParesh,
You also need to make a change to the Buddypress file which loads the nav bar. So in this case you need to open templates/legacy/bp/members/single/friends.php
And edit:
<?php if ( bp_is_my_profile() ) bp_get_options_nav(); ?>
To:
<?php bp_get_options_nav(); ?>
Then the above method should work to create and display the mutual friends sub tab but when it is clicked the link is broken.
Forum: Plugins
In reply to: [Mutual Buddies] A Few ThingsHey Paresh,
I have removed the mutual friends tab and found a way to include it in the subnav of “Friends” but cannot get the link to work correctly.
I am creating a new subnav item under friends using:
bp_core_new_subnav_item( array( 'name' => __('Mutual Friends', 'buddypress'), 'slug' => 'mutual-friends', 'parent_slug' => 'friends', 'parent_url' => trailingslashit( bp_displayed_user_domain() . 'friends' . '/' ), 'screen_function' => 'mutual_friends_function', 'position' => 20, 'show_for_displayed_user' => true, 'user_has_access' => true ) );
Then I am hiding the subnav item on the user’s own profile so they only see it on other’s profiles using:
function remove_mutual_friends_subnav() { if (bp_is_my_profile()) { bp_core_remove_subnav_item( $bp->friends->slug, 'mutual-friends' );
The subnav item shows up correctly, but for some reason the linked URL created is always incorrect no matter what value is used for ‘parent_url’ and ‘slug’. Can you please try out the code and see if you can get the correct link? If we can figure out how to correctly link the URL then you will have the ability to place the mutual friends tab as a subnav tab under friends.
Forum: Plugins
In reply to: [Mutual Buddies] A Few ThingsOh that’s to bad, that would have been an awesome feature!
Maybe instead of having a tab or child tab for mutual friends you could create the option to just show mutual friend count within the friends tab loop? I can do this myself pretty easily, but is there a certain filter or hook to use to remove the “Mutual Friends” tab?