Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)
  • Having the times editable on the Feed Sources page would be very helpful.

    You’re right in the number of classes, and even worse, the number of different CSS and JS files to be loaded. Often for every web page regardless of whether they are made use of.

    If you don’t have a test WordPress site, I recommend trying out different plugins/blocks on private test pages only. Then only start using them on ‘real’ posts once you are convinced that they are

    1. Good for the purpose you want;
    2. Don’t clog up and slow down your site too much;
    3. Are better than any competition;
    4. Are really necessary (between Editors Kit and WP Design Hub most of them are redundant);
    5. Are likely to be supported into the foreseeable future, as WordPress keeps updating.

    I’ve learnt the hard way that to delve excitedly into all the goodies available is a route to disaster. Now I am much more careful about what I add in to the site!

    Douglas.

    Personally, I don’t think classes should be cleared on deactivation. Upon removal, yes, or at least as an option, but if I deactivate any plugin I still want posts that have used it in the past to display as they used to.

    Douglas.

    Don, that’s the wrong shortcode. What you are doing is creating a text input field (for use on things like contact forms) with the city already filled out.

    I presume you just want to display the city, not take an input.

    I don’t use the city database (I’ll explain why later) and can’t be sure of the right shortcode to use but I guess it would be something like
    [geoip_detect2 property="city" default="Your location" lang="en"]
    I’m not entirely sure of that and the documentation of all the possible shortcodes seems to have wandered off the internet. The default is important because it is possible that no city will be available.

    The reason I don’t use the city database is because it is often inaccurate. Most internet users log on to the internet through an internet service provider (ISP). When the log on, or when their computer remakes a connection, the ISP gives them an internet address to use. The internet address could have gone to any of their customers, over an area of 100 miles or even more. And the best guess for where the computer with that internet address is right now, is wherever the ISP is.

    In large cities, this is generally not a problem because a large ISP usually has attachment points in the largest cities. A cheap or startup ISP might only have one or two in a small country like France and might only have half a dozen even in the USA: making even the State difficult to be sure of. My own, large, ISP in the UK is in a city about 35 miles away, though they sometimes will attach me through a city about 60 miles away. It’s fun to see advertisers telling me that there are girls in <city> nearby just wanting to meet a man like me!

    It’s up to you: if most of your customers are in large cities, you’ll probably get it right about 70% of the time, maybe more. Just don’t assume you can hope for location to be exact based on a user’s IP address.

    (I am not part of the development team.)

    Don, it’s hard to understand what your issue is, or at least hard to understand what the issue is with Goip.

    The box at the bottom of your page (just after the text “…to prevent mold growth.”) is being styled by the twentytwenty theme. It is looking like it does because it is an input type and that is how twentytwenty styles input types.

    If you put the Geoip code into a header, then your theme should pick up the header styling and format it accordingly. If it doesn’t, it might help if you copy & paste here the exact text you are entering into your editor to get the geographic information.

    To change how the theme handles formatting is a larger matter; nothing to do with Geoip. Search on the internet on “wordpress child theme” to handle that.

    To help assure you that it does all work, take a look at this page. At the top left, I pull out your current country for a simple welcome message. Just under the heading “Judicial Bias” is text that depends on which country you are in (some countries, I have specific data for, others I just say “It is well known that…”) The same sort of thing happens in the section on Criminality of Parent. Then at the bottom of Call to Action, in between “…implementation of the Study.” and the next heading, are some texts that, again, only appear to people in specific countries. I do all this to turn a global report into what seems like a report targeted for people in a specific country, with localised information where I know it. You will see that the formatting is fine: I have done nothing special to achieve the formatting to be just the same as the text around it.

    I hope this helps you move forward.

    Thread Starter douglasuk

    (@douglasuk)

    Thank you very much for your comprehensive reply.

    My theme doesn’t offer a colour pallete, at least not in the free version.

    I have just extracted the WordPress default colours (disabled the plugin and peeked at the code on the editor) and converted them into hex values. I can now add whichever ones I want as part of my personalised colouring via your plugin.

    Should you be interested (or even want to offer them as an option) the values are:

    Pale pink = rgb(247, 141, 167) #F78DA7
    Vivid red = rgb(207, 46, 46) #CF2E2E
    Luminous vivid orange = rgb(255, 105, 0) #FF6900
    Luminous vivid amber = rgb(252, 185, 0) #FCB900
    Light green cyan = rgb(123, 220, 181) #7BDCB5
    Vivid green cyan = rgb(0, 208, 132) #00D084
    Pale cyan blue = rgb(142, 209, 252) #8ED1FC
    Vivid cyan blue = rgb(6, 147, 227) #0693E3
    Vivid purple = rgb(155, 81, 224) #9B51E0
    Very light grey = rgb(238, 238, 238) #EEEEEE
    Cyan bluish grey = rgb(171, 184, 195) #ABB8C3
    Very dark grey = rgb(49, 49, 49) #313131

    To be fair, that label should really say Append to existing theme palette if the current theme actually got one. Something for future-me to fix.

    If I may suggest, the simpler label is fine but perhaps add a query-mark helper with pop-up text to give the fuller explanation. The same with Enforce colours.

    Thank you for your help and for the plugin. Given that I’m somewhat colour-blind, it helps to have the predefined colours available, rather than make even more of a mess of my site!

    (I am NOT associated with the developer.)

    You assign headings from the normal panel on the right of the editor. You can’t make part of text a header: that doesn’t make syntactical sense.

    Underlines are not normally advised on the web. The problems with underline include:
    – they are used for links (in most latin-alphabet countries) and can be confused;
    – most of the world is confused by an underline, since they have meaning (just as accents do. Auto-translaters normally will remove them because of this;
    – quite a large part of the world uses an overline for emphasis and so those many readers for whom English is a second language just find it confusing.
    It is far better to rely on bold, or the words themselves, or italics (which doesn’t auto-translate well, either, and might NOT be auto-translated at all, as it is used sometimes for the translation or transliteration of a word).

    (I am not associated with the developers.)

    First thing I’d do is test it, if you can, by putting your own country code in and trying it not over the VPN. You could also put some temporary code somewhere that shows the country the browser believes you are in:
    [geoip_detect2 property=”country.name” default=”an unknown country” lang=”en”]
    or even better just tuck this somewhere discreet temporarily:
    [geoip_detect2 property=”country.isoCode” default=”**”]

    That will at least reassure you that you are ‘in’ the country you think you are.

    Other than that, I note that you are trying to show both texts if the user is in Canada; both the ‘No tax charged in’ and the ‘Flat rate … shipping’. Yet you are getting neither. So the problem might not be with the second text at all, but that the first is coming up empty and shoving the second notice out of sight?

    Just some thoughts.

    Thank you for keeping on top of this. It’s not easy to keep up with global data laws.

    (I am NOT part of the development team.)

    It is going to rely on the geo database you are using but theoretically someone can not be accessing the net on the same connection in both FR and in DE. So, the vast likelihood is that the two statements will be exclusive.

    Some ISPs cover both sides of a border, so it is just possible that a database might hold an IP address in two countries, though what normally happens is the location of the ISP is used.

    As an aside, depending on your localisation techniques, you might want to consider:
    [geoip_detect2_show_if country=”FR”]On dirait que vous êtes en Europe. Accédez à votre magasin local (with url: example.fr)[/geoip_detect2_show_if][geoip_detect2_show_if country=”DE”]Sie scheinen in Europa zu sein. Gehen Sie zu Ihrem örtlichen Geschäft[/geoip_detect2_show_if]

    Thank you, Jim and Jory.

    I appreciate the time you’ve taken here.

    you’d normally need a developer for this.

    I am a developer. But I’m fairly new to WordPress and very new to Pods.

    Maybe the problem is that I am a developer: whereas WordPress is generally simple end-user kind of stuff, Pods is not that, nor is it a language I can get to grips with. To be honest, I’m still not even sure what Pods is.

    I came across a short blog article on another site that told me I needed to install the Classic Editor (until then, I thought ‘Code Editor’ was the old editing system) and that has helped, if only because the Pods Wizard was then available, which got me some results (not quite what I wanted, but at least something to build with).

    Yes, I read the page – and all those linked – that you pointed to thanks. I wonder when you last tried reading that page as though you knew nothing about Pods.

    Just one example:
    there’s an example in the contents “Show a Pods Page”. Well, that’s one thing I want to do, so I click on it. “You can display one or more items in a Pod, using Pods pages, via a shortcode.” Well, great, I’d like a list of items from a Pod on a page, so .. oh, there’s just two code lines. OK, they illustrate how to get a specific pod and the first five pods. But what page will they appear on? Uh, it seems I have to give it a page. But a page is what I want it to give me. So what’s this page parameter expecting? OK, under ‘Available Parameter Options’ I see it’s something I pass to find() so let’s look at that. “Specify a page of the results to get. Defaults to $this->page”. Whatever that means (I don’t know what $this is but it’s probably either the blog uri or a global array variable) but either way, there’s a default, so try without. Nope, ‘Please provide either a template or field name’ so give it some name: [pods name=”country” page=”mypage” limit=”5″]. Nope, ‘Please provide either a template or field name’. But it can’t want a template, or the code would have said so (as it does in the example just above), and it’s not a field name it wants, so what is this page it wants? But hang on, although the example code gives page=”page_name” the parameter documentation says its an int! So try a number there, like 0 or 1. Nope, both of those return “Please provide either a template or field name”. Give up at that avenue, try a general search for help on Google, which might be more intelligible/correct/explanatory.

    Now, if you think I’ve done anything really daft in tracking that through, having read the previous pages (those that have any content at all) and discounting those which are clearly talking about editing in PHP (sure, if I need to, but I just want a country-region hierarchical taxonomy: SURELY someone has wanted such a simple thing before!), then by all means tell me where I pratted. We all make mistakes and if I’m making one I’d like to know. I really would. All I have wanted for almost two days now is to add a simple hierarchical taxonomy (done that, easy, thank you), transfer Category data into it (done that, thanks to kristarella’s Taxonomy Converter), and now pretty much use and display my new Country taxonomy wherever Categories are used and displayed. This has to be one of the simplest, most obvious uses for Pods and I can’t work out why it is so hard, or nobody has written down (accurately) how to do it.

    It’s frustrating, isn’t it. You get the feeling that there is power here and that you should be able to do what you need to with this tool..

    ..If only there was some decent, simple, documentation!

    I get that dealing with complex custom types with interrelations won’t be simple but I don’t expect to run before I can walk. Just some simple starter stuff, like listing out a taxonomy, or a template based on the standard articles, would surely help.

    I’ll let you know if I crack it, rscarter.

    Thread Starter douglasuk

    (@douglasuk)

    Interesting. I’m using Maxmind GeoIP Lite City. And that’s where the code is coming from?

    Aha, I’ve just looked up 3166-1 and I see that GB is the appropriate code for United Kingdom. That’s a change from 3166.

    Thank you for your help, I now know the list 🙂

    Thread Starter douglasuk

    (@douglasuk)

    That fixed it, thanks. I don’t know why I was getting the CSS syntax wrong.

    I would still suggest removing those radius commands in your next release.

    Thanks for the product and the support.

Viewing 15 replies - 1 through 15 (of 17 total)