Jump to content

Gesundheit

Clients
  • Posts

    43
  • 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 Gesundheit

  1. The member who initially reported this issue is using Gboard - the Google Keyboard with 5B+ downloads on Google Play. It's quite the coincidence that (at least) two major on screen keyboard software have this issue that also appears to be recent. Knowing from experience how bug riddled IPS has been, it's unlikely the keyboard software is to be blamed.

  2. Hello,

    We've switched our server from IPv4 to IPv6 and now when trying to log in to ACP, we get a timeout 504. Error -200 happens on file upload (actual timeout error 504 on dev console), so we suspect it's solely related to S3.

    Turning on slow log for php-fpm produced the following:

    script_filename = /var/www/forum/admin/index.php
    [0x00007ff526213af0] curl_multi_select() /var/www/forum/system/Http/Request/Curl.php:448
    [0x00007ff526213a20] _executeMh() /var/www/forum/system/Http/Request/Curl.php:496
    [0x00007ff526213930] _executeAndFollowRedirects() /var/www/forum/system/Http/Request/Curl.php:363
    [0x00007ff5262138a0] __call() /var/www/forum/system/File/Amazon.php:776
    [0x00007ff5262136a0] makeRequest() /var/www/forum/system/File/Amazon.php:77
    [0x00007ff5262135d0] testSettings() /var/www/forum/applications/core/sources/Setup/Upgrade.php:75
    [0x00007ff526213460] systemRequirements() /var/www/forum/applications/core/extensions/core/AdminNotifications/ConfigurationError.php:73
    [0x00007ff526213370] runChecksAndSendNotifications() /var/www/forum/applications/core/modules/admin/system/login.php:202
    [0x00007ff5262132a0] _doLogin() /var/www/forum/applications/core/modules/admin/system/login.php:113
    [0x00007ff5262131a0] manage() /var/www/forum/system/Dispatcher/Controller.php:118
    [0x00007ff5262130f0] execute() /var/www/forum/system/Dispatcher/Dispatcher.php:153
    [0x00007ff526213080] run() /var/www/forum/admin/index.php:13

    We're using an Amazon S3 bucket for uploads and apparently the s3.amazonaws.com needs to be replaced with s3.dualstack.[location].amazonaws.com (Using Amazon S3 dual-stack endpoints - Amazon Simple Storage Service)

    curl -v http://s3.amazonaws.com/

    *   Trying 52.217.107.54:80...

    curl -v http://s3.dualstack.us-east-1.amazonaws.com/

     Trying 2600:1fa0:816f:96e8:34d9:7530:::80...
    * TCP_NODELAY set
    * Connected to s3.dualstack.us-east-1.amazonaws.com (2600:1fa0:816f:96e8:34d9:7530::) port 80 (#0)
    > GET / HTTP/1.1
    > Host: s3.dualstack.us-east-1.amazonaws.com
    > User-Agent: curl/7.68.0
    > Accept: */*
    >
    * Mark bundle as not supporting multiuse
    < HTTP/1.1 307 Temporary Redirect
    < x-amz-id-2: [replaced]
    < x-amz-request-id: [replaced]
    < Date: Fri, 01 Dec 2023 16:36:58 GMT
    < Location: https://aws.amazon.com/s3/
    < Server: AmazonS3
    < Content-Length: 0
    <
    * Connection #0 to host s3.dualstack.us-east-1.amazonaws.com left intact

    So i did this:

    UPDATE core_file_storage 
    SET configuration = JSON_SET(configuration, '$.endpoint', 's3.dualstack.us-east-1.amazonaws.com') 
    WHERE id = 2;

    Didn't work, so I replaced every instance of s3.amazonaws.com with s3.dualstack.us-east-1.amazonaws.com in /var/www/forum/system/File/Amazon.php

    That also didn't work. in constants.php i've tried:

    \define( 'CP_DIRECTORY', 'admin123');
    \define( 'BYPASS_ACP_IP_CHECK', 'true' );
    \define( 'DISABLE_MFA', 'true');
    \define( 'RECOVERY_MODE', 'true');

    That also hasn't worked. Help 😞

  3. Hello,

    How would I go about using template logic to get the value data from a specific custom profile field?

    {{foreach $members as $member}}
      <li class='ipsPhotoPanel ipsPhotoPanel_tiny cAnnouncement'>
        {template="userPhoto" group="global" app="core" params="$member, 'tiny'"}
        <div>
          <h4 class='ipsType_large ipsType_reset'>{$member->link()|raw} </h4>
            {$member->groupName|raw}
            <ul class='cAuthorPane_info'>
              {template="customFieldsDisplay" group="global" app="core" params="$member"}
            </ul>
            <span class='ipsType_light ipsType_small'>{lang="widget_member_joined_date" htmlsprintf="$member->joined->html()"}</span>
              {{if $member->last_activity}}
                <br><span class='ipsType_light ipsType_small'>{lang="widget_member_last_active_date" htmlsprintf="\IPS\DateTime::ts( $member->last_activity )->html()"}</span>
              {{endif}}
        </div>
      </li>
    {{endforeach}}

    I'm assuming I need the right parameter for template customFieldsDisplay, but I can't figure it out.

    @bfarber perhaps you can help? I checked your guide on 

    , but it doesn't mention how to get content from a specific profile field.

  4. Thank you.

    A suggestion, if I may. It would be perfect if it would be possible to assign each individual group the ability to mention certain groups. For example administrators could mention them all and moderators could mention only some specific user groups etc. I have a considerable number of user groups that would benefit from group mentions, but only to a very limited extent.

    It's probably tricky to implement, but it would make this application perfect.

×
×
  • Create New...