dstonyh
Forum Replies Created
-
Hello @linux4me2,
Had some time to look over this, and here’s the issue with the /idx/city/location pages (line ~52):
$specialSlugs = array( 'city' => 'idx-q-Cities', 'community' => 'idx-q-Communities', 'tract' => 'idx-q-TractIdentifiers', 'zip' => 'idx-q-ZipCodes' ); $urlParts = explode('/', $_SERVER['REQUEST_URI']); $count = 0; foreach($urlParts as $p){ if(array_key_exists($p, $specialSlugs) && isset($urlParts[$count + 1])){ $values[$specialSlugs[$p]] = $urlParts[$count + 1]; } $count++; }This piece of code handles the pretty URL pages for /idx/city/, /idx/community/, etc. However, what’s happening is on these pages it’s then setting the $values[] array to a string value.
The solution is to replace this line (~63):
$values[$specialSlugs[$p]] = $urlParts[$count + 1];With this:
array_push($values[$specialSlugs[$p]], $urlParts[$count + 1]);This will simply push the value to the end of the array, which should be empty.
The number of warnings (not errors) that you get in your logs has to do with how many values you have in the IDX Guided Search widget fields. So 540+ warnings means that you have that many locations in your City field.
Thanks,
Tony.Forum: Plugins
In reply to: [Diverse Solutions IDX Real Estate Listings & MLS Search] Gutenberg supportHello,
With WordPress 5.0 and 5.0.1 there is no issue in using the shortcode builders with the new Gutenberg editor, and no need to install a separate plugin as linux4me2 mentioned. In WordPress 4.9.8 with the Gutenberg plugin, you did still need the Classic Editor plugin to use the shortcode.
In WordPress 5+, when creating a page, add a ‘Classic’ block to the editor, you’ll be able to see and use the same 4 blue shortcode buttons. Example: http://prntscr.com/lwlrem
As for providing Gutenberg block support as an alternative for the shortcode builders, it’s something that will definitely take some time as it would require a large rewrite of how it currently functions. Since the Classic block is available and supported, we are providing our focus right now on improving the look and function that your users experience when coming to your site.
Thanks,
Tony.Hello John,
Currently on the ‘Login’ screen on the plugin, there’s the option for ‘Facebook’ and ‘Google’ as options: http://prntscr.com/k80mb8
Whichever you choose will bring up the services ‘Sign in as…’ dialog for you to choose which account to use (if you have multiple), and after it processes, the IDX page will refresh and have you signed into an account with information from the service/account you chose: http://prntscr.com/k80o88
Thanks,
TonyHello Justin,
Please send an email to [email protected] with more details about what’s going on, and we can take a look at it.
Some things to include would be:
Are you getting any errors? If yes, what are they?
What are you trying to do?
Does something specific not function as expected?
Does something look or format incorrectly?
Does this work fine with a different theme?
What version of WordPress and PHP are you using?Please again send an email to [email protected] with more information and we can look into it future, as this support ticket is unrelated.
Thanks,
Tony.Forum: Plugins
In reply to: [Simple Custom CSS and JS] Incorrect modified datesHello Diana,
It does look much better now, however the modified time on my site is still incorrect, it’s offset by 7 hours, since I have my WordPress timezone set to -7 (Pacific Time). Not a huge deal, but if you look into this again, I would see about correcting the time for different time zones based on settings.
Thanks,
Tony.Hello John,
In support we have tested it plenty with WordPress 4.9.5, and there’s no issues. There are also several sites that are running dsIDXpress 3.0.6 and WordPress 4.9.5 without problem:
https://www.tampahomessold.com/idx/
https://www.homejane.com/idx/
https://hudsonrealtygroup.com/idx/ (dsIDXpress 3.0.3, but there aren’t any big changes between 3.0.3 and 3.0.6 that would affect compatibility)
https://www.arhouse.com/idx/If you aren’t using WordPress 4.9.5, I would recommend updating to it, as there shouldn’t be any issues, but please let us know if something does come up for you.
Thanks,
Tony.Forum: Plugins
In reply to: [Diverse Solutions IDX Real Estate Listings & MLS Search] Too many redirectsHello Mahesh,
I do not have this issue, it loads just fine for me: http://prntscr.com/j7uudv, are you still experiencing this?
The dsIDXpress Basic version that you have does not include ANY redirects on property pages, so the redirect would likely be from something else (theme/ plugin). The Pro version of the plugin does have an optional mobile optimized site redirect, but that’s again not present in the version you have.
Thanks,
Tony.Forum: Plugins
In reply to: [Simple Custom CSS and JS] Incorrect modified datesThank you, appreciate you looking into it. I’ll mark this as resolved for now.
Hello Michael,
Looking at this, I don’t believe that lines 36-38 in the client.php are causing the problem (from what I experienced), but glad that you were able to find a solution that worked. The whole PreActivate function isn’t important if you’re sure nothing else is going to be setting “idx-action”.
I tested this out a bit, first with a modified version of the plugin that has several changes in it, but doesn’t change the client.php file at all. I had no issues using MetaSlider alongside it: http://prntscr.com/ir8vv1
I then uninstalled my modified version and installed a fresh copy from WordPress, and did run into display issues: http://prntscr.com/ir8lfh, but the public page with the slider on it was fine: http://prntscr.com/ir8lz7
To test if it was specifically those lines that you mentioned, I created a small Must-Use plugin, with that relevant code section: http://prntscr.com/ir8mzf, and MetaSlider had no display issues at all that I saw: http://prntscr.com/ir8osr
Commenting those lines in client.php (or even the whole function/ add_action) didn’t make a difference to me. What made a difference for me was a change in the admin.php file (because of a notice of a Google Maps API Key error), and enabling output_buffering in the PHP settings.
Reading over the function, I don’t see how this is affecting anything else, although I’m not a PHP/ WordPress developer specifically.
These lines:
if (!is_array($wp_query->query) || !is_array($q->query) || isset($wp_query->query["suppress_filters"]) || isset($q->query["suppress_filters"])) { return; }are only saying if the “suppress_filters” key is set, then exit this function. We’re not making any changes there. The rest is just changing our query from “idx-action” to “idx-action-swap”, in case the user has another IDX plugin installed that’s also calling “idx-action”. I have seen some users with 2 other IDX plugins installed at the same time, but not activated.
Maybe however I’m not seeing the same issues that you are. Do you get any error messages? Do you have a screenshot of what you see when both are activated, without any modifications? What’s the behavior that you had an issue with?
Thanks,
Tony.