Jump to content

brfcs

Clients
  • Posts

    61
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by brfcs

  1. I run into issues when I copy files in to place because I run IPS inside docker so the user IDs don't match up & the host user doesn't have the right permissions inside Docker. I try and update them but I always miss a couple. Once I've got them all the automated update will work again and I can stop looking for needles in haystacks.

  2. The reason I was asking about the cookie was some of my users were seeing really odd behaviour (and I saw it myself too).

    If I clicked a link to a specific page from an email or Discord, that tried to access the value of the cookie it would fail, and when I inspected the page, the cookie wasn't present, none of the IPS ones were.

    However, type the same link in and it worked fine. It wasn't a case of the cookie being set by the visit from Discord because I could click the link again and see the same thing.

    I had a hunch it was down to the way the cookies were being loaded, I didn't know if the browser would load any stored cookies before making the initial call. It should, but it was the only scenario I could think of where they wouldn't be available.

    I had a bit of a shuffle round with where in the lifecycle the cookie is accessed by my app (VueJS & NuxtJS based) and the issue seems to have gone away, but because I don't know the cause of the issue I'm not 100% sure it's properly fixed.

  3. Our site is split into a few sections, the main ones being the forum and the "editorial" style content on the front page. They both sit on the same domain so share cookies etc, and I want to be able to make use of the fact that a viewer is logged in so we can customise content for them, and have some interactive content where we use their ID or some token as a unique identifier.

    If a user hits the forum first, they have a cookie set `ips4_member_id` but the TTL on this cookie is a couple of hours ago so it doesn't persist even as long as the session.

    Is there a way to get the info I need? Just a unique identifier for the logged in user.

  4. @Randy Calvert We are on 4.7 and the data layer config is switched on as per your 2nd image.

    GTM is set up & working for the site, however now using the GTM extension, we enabled it for our site before that extension was available (or certainly before we noticed it, how old is it?)

    Do you need to enable GTM via the extension rather than manually adding the js snippets?

  5. Switching to an un-modified theme meant I could place & save the blocks as I wanted and they stayed in place for actual theme too.

    Just out of interest there were no Javascript errors but the payload posted back via ajax was different. The broken version only had the new block listed while the version that worked had them all in the right order.

  6. If I open the home page of our forum, and then fold out the Block Manager panel on the left I can see a whole bunch of blocks that are available to drag & drop. If I drag one into position and click "Finish Editing" i can see the block as expected, but when I refresh the page it's gone.

    It has worked at some point in the past because I have some blocks already on the page, but I just can't add any more.

    Is there another way to add them?

  7. I was right about permissions 🙂

    Wed, 27 Jul 2022 10:29:28 +0000
    Exception::0
    fopen(../../applications/core/extensions/core/AchievementAction/Comment.php): failed to open stream: Permission denied
    #0 /var/www/brfcs/admin/upgrade/extract.php(241): Extractor->_extractFile(248)
    #1 /var/www/brfcs/admin/upgrade/extract.php(643): Extractor->extract('240')
    #2 {main}

    The folder AcheivementAction did't have write permissions for the user doing the upgrade.

  8. During an upgrade to 4.7 I got the following error (while it was trying to extract the files)

    "There was an error downloading the files to your server. Please download the update and upload the files to your server, or contact us for assistance."

    For future reference is there any way to see what the error actually was? I suspect it's file permissions but without knowing where I can't really fix them.

  9. I've enabled the "Friendly URLs" option for SEO and most of the site is working fine. I have rewrite rules set up in nginx to handle all the various bits.

    There seems to be an issue with the arrow icon on quoted text, it doesn't get rendered with the SEO friendly URL, which means it doesn't get caught by any of the rwerite rules I have set up.

×
×
  • Create New...