A WordPress plugin on one of my client’s sites was filling up the error log with a PHP error “undefined index” for the server variable SCRIPT_NAME. The error persisted through a number of plugin updates. I found that I could work around it by editing the plugin’s code and substituting the server variable PHP_SELF instead of SCRIPT_NAME, but it was a hassle to modify the code for the plugin every time there was an update, and I wanted to find a permanent fix.Continue reading “Undefined Index: SCRIPT_NAME”
Ads on a lot of websites are out-of-control. My local newspaper’s web site is a good example. There are so many ads on the site that it takes an annoyingly long time to load, even on a 100+ megabits-per-second connection. Not only do the pages load slowly, but some of the ads’ behavior-expanding and contracting by themselves–moves the content on the page around so much that it’s difficult to read the text. I’ve had the ads cause Firefox to hang too, locking it up until the ads finish doing whatever they are trying to do. Then there are the sites with videos configured to auto-run…
I don’t see any way to remain sane without running some kind of ad blocker. I hate to do it, because I know many sites depend on the revenue generated by displaying ads to stay solvent, but without some kind of relief from all the ads, I’m not going to visit the sites anyway.
Adblock Plus comes to the rescue.Continue reading “Adblock Plus and the Paste Special Keyboard Shortcut”
It was not only embarrassing; it was puzzling.
I was contacted by a client whose site was returning the dreaded WordPress “this is somewhat embarrassing, isn’t it?” 404 not found error message whenever he tried to access some of his pages. The affected pages all included custom variables in the URL following pretty permalinks based on the post name.Continue reading “This Is Somewhat Embarrassing, Isn’t It?”
I posted about how to automate the Diverse Solutions dsIDXPress Property Slideshow Widget yesterday. As of this writing, the Property Slideshow widget is designed to limit the listings to a city, state, and/or zip code, but it doesn’t allow the listings to be limited to a particular office. My client wanted a slideshow that included only her office’s properties.
Enter the Diverse Solutions dsIDXPress IDX Listings widget. The Listings widget does allow the listings to be limited to those of an agent or an office, but the slideshow it comes with is not automated, either, so I wrote a little script to automate it. Read on for how to implement the automation yourself.Continue reading “Automate the Diverse Solutions dsIDXPress IDX Listings Widget Slideshow”
One of my clients is a real estate broker who uses the Diverse Solutions dsIDXPress plugin to display MLS listings on her site.
One of the things I like about Diverse Solutions’ dsIDXPress plugin is that it uses Internet Data Exchange to display the MLS data instead of using a frame like so many other MLS plugins.
Unfortunately, at the time of this writing, the Property Slideshow Widget is not automated, and it doesn’t offer much in the way of configuration options.
In the process of working with the client to get the site looking the way she wanted it, I spent a little time automating the Property Slideshow Widget, and thought I’d share the way I did it.Continue reading “Automate the Diverse Solutions dsIDXPress Property Slideshow Widget”