WordPress.org

Ready to get started?Download WordPress

Forums

Store Locator Plus
Remove "search provided by Store Locator Plus" Below Map (31 posts)

  1. kentragik
    Member
    Posted 1 year ago #

    I'd like to remove the message/link "search provided by Store Locator Plus" below the map. I'm a Pro Pack AND Store Pages user. This suddenly appeared when I upgraded to version SLPlus 3.6.

    Also, an open piece of code also appears "class=’sl_footer’
    width=’100%;’
    style=’display:none;’ >" underneath the map.

    I assume both of these pieces can be edited in the same file? Just can't seem to find it.

    http://wordpress.org/extend/plugins/store-locator-le/

  2. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    Please provide your site URL.

    There is a checkbox to remove credits on the map settings page. It seems like you have that marked off but for some reason your installation is not processing that section of code properly with SLP v3.6.

    SLP 3.6 does use a new search and results form processing engine to provide hooks for third party add-ons. Some versions of PHP5 do not play well with the new hooks. Thought we caught them all in testing, but possibly something still remains that needs to be fixed.

  3. kentragik
    Member
    Posted 1 year ago #

    Hi, Thanks for your response! Here's the URL: http://monkeybargym.com/locations/

  4. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    Version 3.6 has a problem with sites not using English as the primary langauge. The PHP function used to create the search page segments (search form, map ,results) is translating " to &#8217 before it is rendered.

    I am working on a patch now.

  5. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    Go here and "purchase" SLP.
    http://www.charlestonsw.com/product/store-locator-plus-2/

    With your purchase you will create an account where you can download the beta copies before they are published.

    I think SLP v3.6.1 beta will fix this issue. I have no idea why the WordPress translation of ' to &#3617 in the HTML output suddenly kicked in. The line before the broken code is fine. The next line breaks and there is no code just HTML between the two.

    Very odd. Still guessing as I cannot reproduce this and can't figure out what triggers WordPress to turn on "quote translation". I thought it was the locale setting but that is not causing the problem on my server. :/

  6. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    Anyone that wishes to try 3.6.1 RC3 you can go to http://www.charlestonsw.com and "purchase" (it is free) Store Locator Plus. When you do this you will get a download link and/or can download from your account (login on bottom right) and get the latest 3.6.1 RC3 zip file.

    Login to WordPress, go to plugins, deactivate/delete/upload/activate the SLP plugin.

    This is a destructive update so be sure to backup your code files. Location and setting data is retained.

    Fixes(?):
    - Div code rendering under map as text versus HTML for some sites using plugins or themes with extended shortcode processing (something called "texturize").

    - Use Location Sensor prevent map from rendering if use does not share location.

  7. rbarbieri
    Member
    Posted 1 year ago #

    The version I downloaded from here did not resolve the issue. The version being reported is 3.6.1

    I have it deployed here: http://mdt.11bdev.com/locations/by-location

  8. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    Are you using a ThemeForest theme by any chance? It is looking like a possible bug in their theme engine that is not honoring the "do not texturize my shortcode" settings and is wreaking havoc in SLP3.6.

    If anyone that is having this issue can send me their Themeforest theme so I can test and possibly find a workaround that would help.

  9. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    The good news - I've finally reproduced the error. Purchased a ThemeForest Theme (natural) and turned it on. Instant breakage. That means I can track down the issue, report it to ThemeForest and possibly write a workaround to whatever is breaking.

    The bad news - I'm on vacation with my family, stealing away a couple of hours to code while they sleep. Not sure I will find a fix before I am offline for another couple of days.

  10. Japh
    Member
    Posted 1 year ago #

    Hi there, once you have reported the issue to ThemeForest, would you mind contacting me with the support ticket ID? I'd like to keep track and help get it resolved.

  11. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    @Japh - Will do.

    I think I have a patch that may work, I need to wrap ALL output in [raw]..[/raw]. That is a horrible way to fix this as it can cause all sorts of odd things to happen on all themes that are NOT using the ThemeForest "special sauce".

    The short less-tech version of this is that ThemeForest is forcing a call to the internal wptexturize() function AFTER shortcodes are rendered. That is NOT how that function is supposed to be used. That WordPress function has a specific filter that says "please do not process my shortcode with texturizing".

    What that means is if I write code like this:

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. Or just think "The Code Button is Your Friend and should be respected and used." ]

    <table
       cellpadding="2"
       style="display:none"
       >

    I can tell WordPress "leave this alone, it is not standard post content". If I do not do that then WordPress changes the HTML to this, which is WRONG:

    <tablecellpadding="2"style="display:none">

    It adds in HTML codes where I had soft returns in my HTML code. I added that in a LOT Of places for readability, which is why 3.6.1 "suddenly broke".

    <rant>

    However simply adding a soft return in my HTML to make it more readable should NOT break anything. That is not the function of a theme and is not for a theme to decide. I told WordPress "hey, don't format this stuff, it is code".

    ThemeForest has a "special sauce" function that many theme developers use that is called AFTER shortcodes are rendered. Thus it completely ignores my "please don't format this instruction".

    In short, Theme Forest themes are saying "SCREW YOU PLUGIN DEVELOPER, I'll format this anyway". That sucks.

    Now I need to add a "I'm using ThemeForest or another wonky theme" setting that wraps my clean HTML in [raw]...[/raw] tags, which is NOT valid HTML nor valid WordPress code. It is "don't let ThemeForest break my code" code. At the very least they should provide and DOCUMENT a filter that allows people to tell that function "please don't touch this". Even smarter... re-process the shortcode and script fitlers that are standard WordPress fodor. Even smart still... do NOT re-texturize content AFTER the shortcodes and scripts are rendered, since WordPress clearly does not expect nor want you to do this.

    </rant>

    Enough with the rant. I know what is breaking, why it breaks, and how to get around the shortcomings of the themes. Now I need to come up with a creative way to provide an easy end-user fix without breaking 10,000 other installations that are working right now. That is going to take a week or so.

    Back to vacation... I have a beer to finish and family to take to the theme parks in the morning. :)

  12. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    Oh great - WordPress posts strips out SOME HTML tags so my "wrong" and "right" code example look the same. What it SHOULD say is that the re-processed table tag has break < br / > codes all over the place, basically invalid HTML syntax. Then all hell breaks loose.

  13. Japh
    Member
    Posted 1 year ago #

    Thanks for the comprehensive feedback.

    Just to clarify, this isn't something ThemeForest is doing, but it is something a lot of our authors seem to have started doing at some point. We're actively working to discourage this now, and it should be less and less of a problem as time goes on.

    When you submit this information to Envato support, please let me know so I can ensure it gets through to the right people.

  14. Oh great - WordPress posts strips out SOME HTML tags so my "wrong" and "right" code example look the same.

    Or you could use the code button to insert the backtick character on a new line before or after your code in a post. ;)

    http://codex.wordpress.org/Forum_Welcome#Posting_Code

  15. bwasson
    Member
    Posted 1 year ago #

    Just to throw in my bit as well, I'm seeing the code, as well as formatting behavior in the ThemeForest Theme I'm running (Grizzly)
    I can send you files any time, just let me know if you still need them.
    IE Display: (link)
    Chrome display: (link)

    Also, if you look closely at the IE screenshot, you can see a marker between the outer two markers. This is a phantom marker, not sure where it came from, but it displays on both Chrome and IE, regardless of zoom level.

    Let me know if I can offer any more useful information to you.
    site link: http://www.new.orderapp.co

  16. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    3.6.2 should resolve the issue, wptreats_formatter() is not behaving properly but I've put in a patch that I think will fix this.
    http://www.charlestonsw.com/themeforest-and-texturizing-shortcodes/

    @bwasson - please start a new thread for things not related to the open HTML issue

  17. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    @Jan - thanks for the link... this is why posting and coding while on vacation and having Sam Adams as your pair coding partner is ill-advised. :)

  18. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    @japh - ticket ID #IZB-460-52092

  19. bwasson
    Member
    Posted 1 year ago #

    Have you hosted the patch yet? I went and downloaded the latest on your website, and the version says 3.6.1

    No rush if not, just wanted to make sure I'm not missing something.
    Other error I mentioned was a pebkac, so please disregard.

    Thanks for a great plugin!

  20. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    The upload of 3.6.2 got disconnected mid-push. I pushed again this morning and now the plugin directory says the update dated October 27th 2012 is more than 2 years old!

    Pushing 3.6.3 now, just to see if they can get the date right this time.

  21. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    @bwasson - what version of SLP are you running now? If you are using 3.6.2 the issue should be fixed now but the URL you posted appears to still be broken.

    If you can provide me with a zip of the theme I may be able to find a workaround. No guarantees, but I'll do my best.

  22. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    @bwasson - SLP 3.7 has a patch that fixes more Envato themes (I hope) based on input/feedback I've received from various Envato/Theme Forest users.

  23. lahna21
    Member
    Posted 1 year ago #

    I am using an Envato theme as well (Made) and I am getting:

    "class='sl_footer'
    width='100%;'
    style='display:none;' >
    search provided by Store Locator Plus"

    at the bottom of my map.

    I have version 3.6.2

    I'm a little nervous to delete plugin and reactivate the other one offered as I'm unsure how to back up all my store data. :)

    I've been on the computer all day so maybe there's a link or code I missed from this discussion prior.

  24. mukesh panchal
    Member
    Posted 1 year ago #

    your data is not deleted check in database the data is store in database

    what the other problem u have

  25. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    @lahna21 - if you are switching to a plugin that is NOT Store Locator Plus you will need to re-enter your data.

    I has a possible fix coming in SLP 3.7 this week that should fix more broken Envato Themes but not guarantees.

    One thing you should definitely do is write to the theme author and tell them they have a bug that is well known by Envato and they need to fix their shortcode and page content processor. They can contact Envato for more details (you may also want to link to this support forum).

  26. bwasson
    Member
    Posted 1 year ago #

    FYI This is working great now on my website:
    https://www.orderbolt.com/orderbolt-network/

    Thank you for all of your hard work! Will be buying the pro version as soon as I can!

  27. MyChiroPractice
    Member
    Posted 1 year ago #

    Quick Question -

    Do you know why the plugin map doesn't load in IE8? I checked from a few different computers, and none of them show it.

    Thanks
    Art

  28. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    @MyChiroPractice - I will need to check your theme. I ran a series of test on IE8/Firefox/IE9/Chrome for a client that I am assisting with SLP maintenance and everything works properly on their setup.

    Are you getting any warnings/errors in IE8 that you can see in developer mode?

  29. MyChiroPractice
    Member
    Posted 1 year ago #

    No errors. I checked in IE9 and it works fine. But IE8 and IE7 I just see a white space where the map should be. I checked from home, office, and laptop.

    The credentials for my website are still valid if you want to check it first hand. If you need it again, please private message me. Thanks.

    P.S. I know the theme I have is a pain in the a**. I am thinking of biting the bullet and installing something else, then put a good weekend and make it look decent again. I installed another theme from Evato (downloaded it yesterday - since it was updated a week ago), but in IE8 it didn't show up, so I deactivated it quickly.

  30. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    @MyChiroPractice -

    I recommend WooThemes if you are looking for a new theme. They have GREAT support that doesn't give a simple "well, go contact the theme author" response when something breaks.

    I will look at IE8 again when I have a chance, maybe later this week.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic