Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by requinix

  1. Before we get to that, would you mind running your HTML through the official W3 validator? Open the page in your browser, View Source, then copy and paste it all into the "Validate by Direct Input" section. If you see any error messages, fix what they talk about. Then come on back here and post what your revised code is.
  2. On the common parlance side of things, typically "index" emphases that it's related to searching while "key" refers to it being an identifier for a record. Like, if your table has a user ID key then it should also have a user ID index.
  3. Apparently CPanel has something to help you out with that part.
  4. According to the opcache.revalidate_freq setting, your server is only looking for changes to PHP scripts once every minute. I think that is a reasonable amount of time. Can you do your development and testing locally instead? That really is a good practice to learn, and you should be doing it regardless of this caching thing.
  5. Making a simple Marker is pretty simple. Check out the documentation and get just one marker on the map. It doesn't need to be real data. You can even hardcode the location. Get the basic marker there, then perhaps also work with the settings to customize it to look the way you want. Then add the popup tooltip functionality to it. Again, hardcode the information. Work with it, customize it, etc. Separate from that is getting the GPS data onto the page in a useful way. Do you have the map set up on the page yet? Where you want, how you want it? I don't see it in that index.php page...
  6. Take a look at the syntax highlighting of the code you posted. In the first few lines, some of the highlighting is wrong. Can you see why?
  7. A new line being the thing that is created when you hit Enter on your keyboard. Like I just did right now.
  8. Sounds good to me. Assuming you want multiple categories applied to each blog post, that is.
  9. Have you written the Javascript code necessary to add one marker to the map?
  10. Bad news: no, the configuration I was thinking of has since been removed so it can't do what I thought it might have been doing. Good news: I found what I'll do for the next April Fool's Day prank. I have seen issues with quote blocks on other IPB 4 sites. And I do what Barand says: add a newline and move the quote above it.
  11. $(document).ready(function(){ became function added(){ Right? You modified that line at the beginning of the code to turn it into a function. Did you also take a look at the end of the code to see if that needed anything modified too?
  12. If you're asking how it's done, typically either position:sticky or position:fixed. CSS.
  13. I see you changed the beginning of the code to be a named function. Did you change the end of the code to match?
  14. Okay. How about you write it, then come back and say what it is? Because like I said, depending on what it is, you may not need the subquery.
  15. You might not need a subquery. Depends what that "too complicated" query was. So just let us see it.
  16. Eh, it's BBCode parsing. IPB doesn't want people doing that anymore. But I'll see if maybe something happened during one of our upgrades - some configuration getting screwed up, something like that. That aside, please don't use quotes for code. You don't need to emphasize what line something else. Just say it. The little bit you gain from pointing out a particular line isn't enough to lose out on the monospace and syntax highlighting.
  17. Screenshot of the post submit textbox thing before you submit it?
  18. But what if the article doesn't even exist? How can you tell the user it's a premium article when you haven't actually looked for the article? I didn't miss it, I just don't see what additional information it's contributing. You said you want to go through this entitlement process to determine if the article is free, and I said that's a dumb.
  19. I know. Psycho knows. api.drupal.org knows.
  20. Irrelevant for free articles. Irrelevant for free articles. Irrelevant for free articles (because they're viewable by everyone). You shouldn't have to run a query just to see if the article is free: didn't you already run a query to look it up in the first place? The solution about setting up some situation with entitlements and something about outer joins? Let me turn that around on you: what's wrong with my solution?
  21. When in doubt, check the documentation.
  22. Thoughts? My thoughts are why you're making this so complicated. If the article is free then the article is free. Entitlements has nothing to do with it. Completely and totally irrelevant.
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.