Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author yehudah

    (@yehudah)

    hi zavoq

    thanks for downloading and trying the plugin.
    because of that i can get feedbaks and detect
    bug i didn’t notice them when writing this plugin.

    a new version has released upgrade from the admin panel
    if you see even a smallest problem i will be more then happy
    if you let me know.

    thanks
    yehuda.

    Plugin Author yehudah

    (@yehudah)

    by the way:
    i recommend to set a message for unknow location or language
    under settings –> content by location

    Thread Starter zavoq

    (@zavoq)

    Thank you fro fixing that bug. The content is no longer disappearing, however another bug has cropped up.

    Here is the shortcode I have put into a test page:

    ‘[cbl country=”US”]
    US Residents only should see this.
    [/cbl]

    [cbl country=”DE”]
    German Residents only should see this.
    [/cbl]

    [cbl country=”FR”]
    French Residents only should see this.
    [/cbl]’

    This is a strange bug. Here is what happens:

    When I view the page from the US, I see the proper message for the US. When I view the page from a German IP address, I see the proper message for Germany. If I then view the page from a French IP address, all I see is the German message. If I then update the page from WordPress page and view t from the French IP address first, I see the French message. Then if I view it again from a German IP address I see the French message still.

    It seems that it locks the content to whichever the first country I view it from. If France was viewed first, all other countries only see the France message. If Germany views it first, all other countries only see the German message. I have tried viewing this from Canada and the UK as well and all seem to be behaving the same. The only country that seems to consistently work is the US.

    Plugin Author yehudah

    (@yehudah)

    hi

    thanks again for your feedback.

    with wich service do you use as proxy ?
    i want to try it in my site and check it.

    Plugin Author yehudah

    (@yehudah)

    hi again

    i just played a bit with my plugin (didn’t find something)
    but maybe i understand what you experiense.

    i wrote this php script:

    this script is “a debug version” of my plugin to our case,
    if you have free time surf him from the same proxy or service you use in this time each step from the real address to the proxy address are printed
    to the screen and we can understand what happen.

    if you busy just send me here the proxy you used to check.

    thanks

    Plugin Author yehudah

    (@yehudah)

    something went wrong in the above post

    i just played a bit with my plugin (didn’t find something)
    but maybe i understand what you experiense.

    i wrote this php script:
    https://wpcoder.co.il/ip.php

    this script is “a debug version” of my plugin to our case,
    if you have free time surf him from the same proxy or service you use in this time each step from the real address to the proxy address are printed
    to the screen and we can understand what happen.

    if you busy just send me here the proxy you used to check.

    thanks

    Thread Starter zavoq

    (@zavoq)

    That link that you sent works with no problems. The proxy links I used are:

    For Germany:
    https://www.sixe.info/

    For France:
    https://clearproxy.eu/

    For The United Kingdom
    https://123fast.co.uk/

    When I use these proxys to view my website, I only see the France message. Here is my test page:

    https://www.redbirdflightsimulations.com/geotest-3

    Thread Starter zavoq

    (@zavoq)

    I figured out the issue. My site is using a Cache plugin that was preventing this plugin from updating the content. When I disabled the cache plugin, this plugin works great.

    I am sorry to make you search for a bug that was not there. Thank you for your work though!

    My site really needs a cache plugin to increase speed. Is there one that you recommend?

    Also, is there a way to make the content appear for more that one county in one shortcode snippet? For example if I wanted to make content available to residents of Germany, Norway, Finland, Poland and Austria. Is there a way to do this without copying the content multiple times?

    -Zavoq

    Plugin Author yehudah

    (@yehudah)

    hi

    i don’t understand why you experiense this issues.

    look in the attached link screen recording of the checking process
    of your link with the proxys you post.

    watch this

    Thread Starter zavoq

    (@zavoq)

    It is working now that I have disabled the Quick Cache plugin. That plugin was making it so that your plugin could not update the content.

    Again, it is working now, but I need to find a way to make it work with the a Cache plugin to speed up my site.

    Plugin Author yehudah

    (@yehudah)

    Good news !!!

    good job on the debug work.
    i didn’t refresh the page so ignore the above post.

    i think all the cache plugin work in the same method more or less.
    i think i will update the plugin to your suggestion in the next few
    days, always check for plugin updates ??

    edit:
    the all idea of cache “These snapshots are then stored ( cached ) intuitively, so they can be referenced later, in order to save all of that processing time”.

    but i will check that.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Plugin: Content By Location] Makes other site content disappear’ is closed to new replies.