Jump to content

Meddysong

Clients
  • Posts

    2,169
  • Joined

  • Last visited

  • Days Won

    3

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Everything posted by Meddysong

  1. Of course one of them is. @sadams101 mentioned in this thread that he has made changes to his site to address the "speed issues [...] inherent in the [Forums app]", posting a screenshot of his results. Matt reused one of those screenshots to contrast with the SEO results for this site, illustrating that the gains compared to an unaltered version of the software appear to be marginal.
  2. Although it should be written 3-point warning, Andy. The descriptor is a compound modifier involving a number of something which is only written in the singular, even when it can refer, as here, to a plural.
  3. If you only have the Forums app, you'll have to install your community at zappy.lol/forums. (Any other app you installed would also be located there: zappy.lol/forums/gallery, etc.) If you have at least one author app, set that to be the default. Your forums would then be at /forums.
  4. Assuming you install your community at site.com, that will be the location where your default application is accessed. In your case, that will initially be Gallery. Once you install the forums app, that will be at site.com/forums unless you switch that to the default app, in which case Gallery becomes located at site.com/gallery. Where you've seen sites with both /gallery and /forums addresses, some other app will have been set as the default. If you intentionally installed your community at, say, site.com/forums, your other apps would contain that path too, giving you site.com/forums/gallery, and so on.
  5. I don't know if it's still the case but I had the same problems a few years ago in some parts of the site but not others: in other words, the locale was doing what it should but was not being applied everywhere. A former employee created a plugin called Customisable Date Formats to work around it. Unfortunately, it doesn't seem to be available in the Marketplace anymore, presumably because the absence of the author means that it isn't being tested for compatibility later versions of the software.
  6. No. Nothing's changed since you last asked.
  7. You know when you get an itch and you just can't scratch it? That's me having noticed that the header in IC's blog is exceeding the full page width just a little tiny bit: It's irritating me because I can't see why it's there. The CSS applying on this element is: .news-header { background-color: #012a40; color: #fff; text-align: center; position: relative; left: 50%; transform: translateX(-50%); width: 100vw; margin-bottom: 10px; } That width property means that we should be applying 100% of the viewport width ... and yet it's clearly applying a tiny little amount more. Can somebody scratch this itch for me? Why is the viewport width not being calculated correctly? How would one work around this?
  8. But if you're trying to change just that one instance, then the easiest solution is to use the visual language editor:
  9. Hmm ... I think that's what I did, Marc: I recognise seeing Sales and Accounts and Billing in the dropdown, and Sales is the one I opted for. I've certainly done it before (in September) for apps on another account using a different email address but can't find any trace of this one in my email, so who knows what I've got wrong here. I'll try it again, this time using Accounts and Billing.
  10. Hi there, I received a notification that an invoice would soon be due. Owing to the price increases and the fact that I still hadn't got around after several years to making use of the Forums application on that license, I decided to ask for it to be removed. Not doing a good job of navigating the client area to find a way of relaying that message, I sent it to Sales, since Technical Support wasn't an option, and I didn't consider that a public-facing forum was the appropriate place to quote license numbers. Having not received any acknowledgement, I've simply removed my card details to prevent getting charged for an app I've asked to be removed, with the knock-on effect, that I haven't renewed other licenses either, payment for which would've been made automatically. Would somebody kindly explain to me how I and other customers are to enter into these conversations, please, if messages to the incorrect team won't be forwarded, acted upon or acknowledged. Are we really supposed to post such requests here, including presenting our license numbers?
  11. All sorted now: it was a problem with the API request after a certain point in time, which has now been fixed. We're back to normal!
  12. I've sort of solved it, fellas. I usually look for events in the coming year. If I reduce the scope, then everything works fine. Once I go past 2022-08-19, the API call returns the following returns an error message. It seems that my token is set to expire at some point and that I can't look for dates beyond that. The person who designed the API is aware and is looking into it. Thank you for taking the time to look into this with me.
  13. Very prompt replies, thank you! I've tried both your approaches, Daniel's first, and then Kirill's added to it. The code is now: {{$apiUrl = 'https://eventaservo.org/api/v1/events.json'; $result = array(); try { $result = \IPS\Http\Url::external($apiUrl)->setQueryString(array('user_email' => 'tim@meddysong.com', 'user_token' => 'ynxG7oP3oxo3LN-dbn-6', 'komenca_dato' => \IPS\DateTime::ts(time())->format('Y-m-d'), 'fina_dato' => \IPS\DateTime::create()->add(new \DateInterval('P365D'))->format('Y-m-d')))->request()->get(); } catch (\Exception $e) {\IPS\Log::log($e); } }} I assume that {\IPS\Log::log($e); } will cause errors to be logged in the ACP. I've tried a few times but am not seeing any entries at all in the Error Log, even after having set it to Levels 1, 3 and 5.
  14. I have a page on a couple of my sites which presents results of events taking place over the next year, taking that information from an api. I received a report about a month ago that one of the sites (now running 4.6.8., then running 4.5.x) is not displaying any results. I've checked on the other site (running 4.4.6), and that, too, is no longer returning any results. My trouble-shooting has led to these conclusions: It's not related to a change within IC because the 4.4.6 site hasn't been updated in a couple of years and the page was displaying correctly before. I don't believe it's related to a change in the server environment because I've copied the relevant code into a new local installation, and it's not working. It's likely, therefore, to be a change in the API, but I can't detect it. My api call has to go to https://eventaservo.org/api/v1/events.json with the following parameters: an email address a token a start date ("komenca_dato"), which I set to today: yyyy-mm-dd an end date ("fina_dato"), which I set to one year from now: yyyy-mm-dd If I enter these details into my browser long-hand, I receive some JSON, just as I should. Here's an excerpt: [ { "uuid": "b7892dcb-e3e7-4347-b49a-01185fd33dda", "kodo": "75a199", "titolo": "Baza Friis-kurso de Esperanto", "priskribo": "Baza kurso por portugallingvanoj surbaze de la Naturmeto laŭ Metodo Friis", "enhavo": null, "komenca_dato": "2021-09-14", "fina_dato": "2021-10-29", "retpaĝo": "https://forms.gle/veqaGfxtM8VkkRNG8", "retpoŝtadreso": "xxx@gmail.com", "specoj": [ "Kurso" ], "nuligita": false, "nuligkialo": null, "reta": true, "loko": null, "administranto": "Cícero Gabriel Cardoso Soares" }, { "uuid": "70897cd0-196a-44ea-8494-90cd3c9612f5", "kodo": "bb89c1", "titolo": "Ekspozicio pri Hector Hodler", "priskribo": "Tiu ekspozicio montras verkojn, fotojn, librojn, revuojn pri Hodler kaj pri la kreo de UEA.", "enhavo": null, "komenca_dato": "2021-09-30", "fina_dato": "2021-12-31", "retpaĝo": "https://biblio.chaux-de-fonds.ch/bvcf/informations-pratiques/Pages/horaires-acces.aspx", "retpoŝtadreso": "xxx@gmail.com", "specoj": [ "Loka", "Anonco" ], "nuligita": false, "nuligkialo": null, "reta": false, "loko": { "adreso": "Urba biblioteko, Strato Progrès 33, 2300 La Chaux-de-Fonds (Svislando) (Sama domo kiel CDELI)", "urbo": "La Chaux-de-Fonds", "lando": "Svislando", "landokodo": "ch", "kontinento": "Eŭropo", "latitudo": 47.11767829999999, "longitudo": 6.8405667 }, "administranto": "Mireille Grosjean" } ] Here's the code from my Page, which worked until at least one month ago: {{$apiUrl = 'https://eventaservo.org/api/v1/events.json'; $result = array(); try { $result = \IPS\Http\Url::external($apiUrl)->setQueryString(array('user_email' => 'xxx@xxx.com', 'user_token' => '123456asdf', 'komenca_dato' => \IPS\DateTime::ts(time())->format('Y-m-d'), 'fina_dato' => \IPS\DateTime::create()->add(new \DateInterval('P365D'))->format('Y-m-d')))->request()->get()->decodeJson(); } catch (\Exception $e) {} }} Although my page usually styles and operates conditions on the results, to keep things simple whilst troubleshooting, I'm just going to return results for one name: it's "titolo" (title). This is how I've tried to do it: {{foreach $result as $res}} {$res['titolo']} {{endforeach}} That's right, isn't it? And still there's nothing. Or have I done it incorrectly? What would help is if I could display my query string within the page to check that the $apiURL is still forming correctly but I don't know how to do that. I've tried {echo $result;} and even {echo $apiURL;} just to test, since I can see that's a standard variable, but nothing's getting returned. Can anybody offer any advice, please? I used to be dependent on the wonderful @newbie LAC to bail me out of these situations through his combination of skill and kindness but, sadly, we're coming up to a year since he's last been with us.
  15. You have to make the System app your default app, and then the Content Discovery module your default module within that app. You can do this via System > Applications in the Admin Control Panel. Click the star next to System to make that your default module, and then open the dropdown to reveal the various modules within that app, clicking the star next to Content Discovery.
  16. Here's an example of adding JS and CSS into a project: You'd do the same thing, assigning the JS template you've created to the relevant page. The next step is to adjust your Database template so that it applies that new JS. In the case of IPS, they added it in a <section> tag using the data-contoller attribute. <section class="ipsType_richText ipsType_normal" data-controller='core.front.core.lightboxedImages,guides.menu'>
  17. Yes, that's possible: Invision do it on their Help Guides section, which is built with Pages: They do so using JavaScript, and then mark then place an anchor and title like this in the page: <a id="generalterms" rel=""></a> <h2 class="cDocs_mainTitle" data-role="title"> General Terms </h2> The script then looks for anything marked 'data-role="title"', and uses the relevant text to generate the menu, creating links to the preceding <a> tags.
  18. It's a tool in the ACP for assisting the admin with translating language strings. It's nothing to do with translating the site content.
  19. In the email sent to me by FB, they linked to a developer's page indicating what was expected of me, and those were the details listed. I deleted the email because I couldn't make any sense of the page or, indeed, why they would expect me to do any of that, so can't paste the content.
  20. I'm about to go the same way, I think. I didn't understand a word of what it was that they wanted me to do, besides download some sort of SDK and create a new account. Nope!
  21. It won't because newbie LAC has not been well for a long time, sadly, and we haven't seen him for many months. All we know is that he updated his signature a while ago to say that he's in hospital.
  22. It won't. Spanner was sadly killed in an accident.
  23. I'd need to see that page on your site. I've visited and have seen your blogs but haven't found that particular view. Can you paste a link?
×
×
  • Create New...