-
Author
-
June 19, 2018 at 17:40 #201250singleandsoberParticipant
Hello,
There is an issue I found using a clean WP install with your theme. When I search for members using a filter from the Horizontal Search Form and click on page 2 of the search results, the filters reset and are no longer applied.
Here are the steps to reproduce the issue:
* Create new WP installation
* Activate Sweetdate and install/activate “Required Plugins”
* Import BuddyPress fields on Sweetdate > Buddypress admin screen
* Under Sweetdate > Buddypress admin screen, select “Looking for a…” to appear in Horizontal Search Form
* Under Sweetdate > Buddypress admin screen, set “Members per page” equal to 1
* Create three test users such that two are them are Looking for a man and one is looking for a woman.
* Perform a members search using the Horizontal Search form and select “Man” for the “Looking for a” field
* The search results come up correctly, but when you go to view Page 2 of the results, it resets the search filter so that it is no longer applied.
June 19, 2018 at 23:08 #201292LauraModeratorHello, will assign the ticket to a higher support level who can help and advise you in your query.
Thanks! ?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
June 20, 2018 at 17:13 #201346RaduModeratorHi,
The issue with the page 2 that displays other search criteria that you initially selected may be related to your current theme and/or child theme templates.
That happens when you are using a 3.x.x version of the theme and in child theme templates from 2.9 orr because you had choosen from wp-admin -> theme options -> buddypress -> Search form customization(DEPRECATED) to use those since they are deprecated.
Check if the child theme causes that by activating parent theme instead.
You should update the theme to the latest version 3.2.4 and all plugins updated.
Go to wp-admin -> theme options -> buddypress -> Search form customization(DEPRECATED) uncheck all fields!
Please keep in mind this! for 3.x Versions it’s mandatory to not use the wp-admin -> buddypress-> Search form customization(DEPRECATED)
So uncheck all of those!
So, now the search form will be builded from wp-admin -> users -> profile search.
Horizontal form settings :
Home form settings :
In the search member page that you had created, to can render the new form using the bp profile search instead the theme core feature that it’s deprecated, it’s needed to add this one.
[bps_display form=1991 template=”members/bps-form-horizontal”]
**instead 1991 replace with your form id.The forms will be populated with additional fields from wp-admin -> users -> profile search- > Members Horizontal or home search.
Make sure to have all plugins updated! and child theme without any changes from past theme versions.
Make sure also the page named members
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 21, 2018 at 18:05 #201465singleandsoberParticipantThanks for your response. It would have been helpful to know how this all works up front along with the theme upgrade. I read the upgrade info when the update was released; and I did not see anything describing this problem. I’m not sure how customers/site owners can be expected to do anything other than just have their site break and then open up a support ticket. It makes me wonder how many sites are out there broken right now for this very reason, and whether this is even a thing that you consider or take the time to care about when making product decisions.
In addition to breaking the search functionality, the change also requires customers to re-do all of the styles that we had in place for the forms on the home page and the members page, so I am not a fan of this change and don’t think it is thoughtful or respectful of your customers. It is basically a large inconvenience with little-to-no benefit that I can see in terms of the end result.
Finally, to clarify, since you mentioned that it might be a child theme issue…this is a problem with your product and not with my implementation. I went through the efforts above to describe that I was testing with a fresh WP installation and using the parent theme, so for those reading in the future this is definitely an issue with the product not being backwards-compatible with previous versions.
Anyways, thank you again for your response. I hold out hope that someday I will be able to migrate away from using your product so that your decisions to break previous versions of your software will not affect me any more.
June 22, 2018 at 16:37 #201555RaduModeratorHi,
I see, i recommend you before updating all, to cone your instance on a development subdomain after all are ok, go it for live.
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 25, 2018 at 19:31 #201908singleandsoberParticipantUsing the BP Members Search plugin has fixed the pagination problem when submitting a search via the Members directory page.
However, on my specific installation which was built before your 3.0 release, I still need some help getting the home page working.
After I unchecked all of the “MAIN FORM” fields on the admin page Sweetdate > BuddyPress > Search form customization(DEPRECATED), the only thing I see on the home page now is “Please configure your form fields under Sweetdate – Buddypress”.
How can I get the new search form I created to show up on the home page? It is working for the Members search page but not on the home page.
Thank you
June 26, 2018 at 16:19 #201997RaduModeratorYou will have to set for that homepage template (Full width for buiilder) then edit the page with elementor and import the template
You can import any time in 3 easy steps the initial homepage, just create a new page separate by the old one.
1.Add new page , then edit in elementor.
2. Press add new template
3. Switch to My Templates then press insert
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 28, 2018 at 16:01 #202272singleandsoberParticipantAre you saying there is no way for your theme’s home page search form to work correctly without using a page builder plugin? If there is a solution here without using a page builder plugin, I would very much want to go that route.
I extremely dislike being told that I have to install an intrusive plugin which I will have to maintain as part of my site environment forever, and which will lock my home page into a situation where I can never go back to not using the specific page builder plugin.
I especially dislike this when all I need is for my one page to work correctly like it was working before your giant theme update broke so much on my site.
Assuming that yes, you are saying I HAVE to use Elementor, then my next problem is that I get a fatal error when trying to edit my sample page with Elementor. The fatal error appears to be originating from your plugin’s code, here is the error.
( ! ) Fatal error: Uncaught Error: Call to undefined function bp_get_member_total_friend_count() in {path_to_site}/wp-content/themes/sweetdate/custom_buddypress/bp-functions.php on line 1496
Please help? Even if I did want to use Elementor like you are suggesting, I cannot do so because it causes a fatal error on my site.
June 28, 2018 at 18:22 #202302RaduModeratorHI,
The undefined error can be throw when from example buddypress it’s not activated… check to have it.. also make sure to have friendship and all components activated frmo wp-admin -> settigs -> buddypress
Try to do the next,
First of all disable child.
Re-download the parent theme from themeforest
Delete the parent theme that you had already instelled,
Reinstall it and enable it onlu parent, check if still have the issue.s
Assure you to have buddypress and all plugins installed and related components activated.
IF it’s the same enable wp_debug
Steps to enable wp debug:
- Connect to your server by FTP
- Look in root directory of your WordPress install and open wp-config.php
- Search for define( ‘WP_DEBUG’, false ); and change FALSE value to TRUE
COPY CODEdefine( 'WP_DEBUG', true );
- After this line add this:
COPY CODEdefine( 'WP_DEBUG_LOG', true );
WP_DEBUG_LOG is a companion to WP_DEBUG that causes all errors to also be saved to a debug.log log file inside the /wp-content/ directory. This is useful if you want to review all notices later or need to view notices generated off-screen (e.g. during an AJAX request or wp-cron run).
Repeat the described actions and then check the debug.log file and let me know what error appears.
If this is useless please try to deactivate additional plugins except Visual Composer, K-elements, BuddyPress, Paid memberships pro and revolution slider.
After you have disabled the plugins try to see if the error persists.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 28, 2018 at 18:24 #202303RaduModeratorYou can render anywhere with or without any content builder plugin by placing the bp profile search plugin shortcode containing your desired forms.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
You must be logged in to reply to this topic.