Jump to content

abetts

Clients
  • Posts

    463
  • 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 abetts

  1. On 2/29/2024 at 1:58 PM, Marc Stridgen said:

    The software on cloud will archive old data

    Is there a way to disable it please Marc? My forum is also 20 years old and deals with cars that are from one day to 60-ish years old and some of the old topics can still be revelent and need new content when required. Archiving denies new posts if anything and for me, I can't see any upside.

    If visitors are coming in through a search engine (50% of my traffic) and just see loads of archived posts, they'll wonder what's going on! 

    Thanks! 

  2. Thanks for the help folks. Here it is...

    <?php

    /* To prevent PHP errors (extending class does not exist) revealing path */
    if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
    {
        header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
        exit;
    }

    if ( !defined( 'CVH_COUNTRYFIELD_DONT_DELETE' ) or !CVH_COUNTRYFIELD_DONT_DELETE )
    {
        foreach ( \IPS\Db::i()->select( '*', 'core_pfields_data', array( 'pf_type=?', 'CountryFieldCvh' ) ) AS $countryField )
        {    
            $field = \IPS\core\ProfileFields\Field::load( $countryField[ 'pf_id' ] );
            $field->delete();
        }

        foreach ( \IPS\Db::i()->select( '*', 'cms_database_fields', array( 'field_type=?', 'CountryFieldCvh' ) ) AS $countryField )
        {
            $field = \IPS\cms\Fields::load( $countryField[ 'field_id' ], $countryField[ 'field_database_id' ] );
            $field->delete();
        }
    }

  3. I'm trying to remove the CVH Country Fields plugin as it appears to no longer be support but when I click on uninstall I get this...

    SELECT * FROM `esp_cms_database_fields` AS `cms_database_fields` WHERE field_type='CountryFieldCvh'
    IPS\Db\Exception: Table 'dzxlgzyz_tlf.esp_cms_database_fields' doesn't exist (1146)
    #0 /home/dzxlgzyz/public_html/forums/system/Db/Select.php(388): IPS\_Db->preparedQuery('/*dzxlgzyz_tlf:...', Array, true)
    #1 /home/dzxlgzyz/public_html/forums/system/Db/Select.php(446): IPS\Db\_Select->runQuery()
    #2 /home/dzxlgzyz/public_html/forums/plugins/cvhcountryfield/uninstall.php(18): IPS\Db\_Select->rewind()
    #3 /home/dzxlgzyz/public_html/forums/system/Plugin/Plugin.php(592): require_once('/home/dzxlgzyz/...')
    #4 /home/dzxlgzyz/public_html/forums/system/Node/Controller.php(1333): IPS\_Plugin->delete()
    #5 /home/dzxlgzyz/public_html/forums/system/Dispatcher/Controller.php(107): IPS\Node\_Controller->delete()
    #6 /home/dzxlgzyz/public_html/forums/system/Node/Controller.php(69): IPS\Dispatcher\_Controller->execute()
    #7 /home/dzxlgzyz/public_html/forums/applications/core/modules/admin/applications/plugins.php(48): IPS\Node\_Controller->execute()
    #8 /home/dzxlgzyz/public_html/forums/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\admin\applications\_plugins->execute()
    #9 /home/dzxlgzyz/public_html/forums/admin/index.php(13): IPS\_Dispatcher->run()
    #10 {main}

    Is there a workaround please? TIA 🙂

  4. 5 hours ago, Marc Stridgen said:

    Yes, you have redirect items there which are not default. Please replace that with a default unaltered htaccess downloaded from your admin CP (System>Search Engine Optimisation) then check again

    Done and still no good I'm afraid. Here's the link from a PM a few mins ago. 

    https://www.thelotusforums.com/forums/index.php?app=core&module=system&controller=redirect&url=https://www.thelotusforums.com/forums/messenger/75502/?do=findComment%26comment=184658&key=d3d40cbba0353d7f0ee220c3a532145e582863ca6a174858e16970b5cf623aae&email=1&type=notification_new_private_message

  5. <IfModule mod_rewrite.c>
    Options -MultiViews
    RewriteEngine On
    RewriteBase /forums/
    Redirect 301 /forums/new-content/ http://www.thelotusforums.com/forums/discover/unread/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /forums/index.php [L]
    </IfModule>
    <IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </IfModule>
    ## Begin - Expires caching
    <IfModule mod_expires.c>

    ## This rule will create an ETag for files based only on the modification timestamp and their size. 
    ## Note: It may cause problems on your server and you may need to remove it
    FileETag MTime Size

    SetOutputFilter DEFLATE
    Header set Expires "max-age=29030400, public"
    Header unset ETag
    FileETag None

    # Enable expiration control
    ExpiresActive On

    # Default expiration: 1 hour after request
    ExpiresDefault "now plus 1 hour"

    # CSS and JS expiration: 1 week after request
    ExpiresByType text/css "now plus 1 week"
    ExpiresByType application/javascript "now plus 1 week"
    ExpiresByType application/x-javascript "now plus 1 week"

    # Image files expiration: 1 month after request
    ExpiresByType image/bmp "now plus 1 month" 
    ExpiresByType image/gif "now plus 1 month"
    ExpiresByType image/jpg "now plus 1 month"
    ExpiresByType image/jpeg "now plus 1 month"
    ExpiresByType image/jp2 "now plus 1 month"
    ExpiresByType image/pipeg "now plus 1 month"
    ExpiresByType image/png "now plus 1 month"
    ExpiresByType image/svg+xml "now plus 1 month"
    ExpiresByType image/tiff "now plus 1 month"
    ExpiresByType image/vnd.microsoft.icon "now plus 1 month"
    ExpiresByType image/x-icon "now plus 1 month"
    ExpiresByType image/ico "now plus 1 month"
    ExpiresByType image/icon "now plus 1 month"
    ExpiresByType text/ico "now plus 1 month"
    ExpiresByType application/ico "now plus 1 month"
    ExpiresByType image/vnd.wap.wbmp "now plus 1 month"
    ExpiresByType application/vnd.wap.wbxml "now plus 1 month"

    # Other optimizations
    ExpiresByType application/x-gzip "access plus 1 month"
    ExpiresByType application/x-shockwave-flash "access plus 1 month"

    </IfModule>
    ## End - Expires caching

  6. They want to know if this link is correct as well, sorry!! 

     

    Thank you for the follow-up!

    For the second link: http://url9376.thelotusforums.com/ls/click?upn=BBzVdn2vzgbvzfhZx9vzPzJeXaL-2FWcITQ3e7zMYRy8vRi-2Bk6IZkQVzgwXqC6kJbLYSryj6-2BUivoiznYu06X6eF-2BgVVCn-2Fnx-2BQ2EdUWSQvMSazbgzKGmB4N9mv58qbWlWNVLJiZaS0kbjY3TV-2F2kmULCbv9lpPQJY18-2BLuwHG5qsdDCge9w6zGSc9gGqCX3938mEh89ShpOkMFTf7F63nceZYSHI4bdgnSvKr3F-2BOp3Q-2BM9JqKAo2sDkkYh1k6ULiAqDekFzBYs1hb1JpC5bGG89zadxFkTrbPT0V3kBWTafbVwabFsO7iiwYXdHnQpX9TuLgcum-2B3XkbWYnJIH-2FwRE1OOH3mqown9hdKmAuGL6rLfs6rcD8jidacpmvPWj-2FU0OjJ95Y25n5ALQzzEdyxA7acniUO7zpadq76JeK81BU-3DpCY__nwmWHbQklCPBoSpUsdblirzT5dMS50f48-2FhV4DH6NoIU4Sjst5Se-2FjgOuwablw0gMJUVBHSkUAnkSA8IMR8bDouJO3y9HAExH8uV9oIecz4W-2BFmlVxGULipNqpdZIaMJe3f-2FAYuNYxJPlpa-2F2srxEZelRtlCxDVpZBlQ0M1FDEOCphqhVnZR1A1iiSUmDqxIK-2BQiAffGqF019uUIyMDThSuHfxeN84gsDt-2FFA8cI00s-3D
     
    When we decoded it here is the link:
     

    https://www.thelotusforums.com/forums/index.php?app=core&module=system&controller=redirect&url=https://www.thelotusforums.com/forums/messenger/75493/?do=findComment%26comment=184602&key=8bad71d34e1a6094be7db4d55273f8b2f30de212d082e99b59fc6a41818ccaf9&email=1&type=notification_new_private_message

     
    Could you please confirm if those links that we decoded go where they should?
     
    Also, could you please do a test and disable click tracking to see how the links are sent and if there are any problems?
     
    Thank you for your patience. I am looking forward to your response.

    When I click on the link directly it take me to the forum homepage and not the PM...

  7. Sendgrid have been looking into this and have sent this - It appears there's a redirect in the uncoded url the forum is sending out... Is this correct and how it should work? Looks like the link I sent was for a new report notification.

    I'm so sorry to hear that you are having problems of this type. I took the links provided by you and decoded them and I saw that for both of them, there is a redirect url.
     
    For example, for this link:
     
    http://url9376.thelotusforums.com/ls/click?upn=BBzVdn2vzgbvzfhZx9vzPzJeXaL-2FWcITQ3e7zMYRy8vRi-2Bk6IZkQVzgwXqC6kJbLYSryj6-2BUivoiznYu06X6eF-2BgVVCn-2Fnx-2BQ2EdUWSQvMSazbgzKGmB4N9mv58qbWlWNVLJiZaS0kbjY3TV-2F2kmULCbv9lpPQJY18-2BLuwHG5qsl3uqtO6VpTfvANq9RHK-2Fe-2FgBfnDKaRP0ZIWh4PRkGOiqtU7GOpkSC4mSrgRCANldKbvc1Fzcond46-2BEOHDgOeI9rNc05TLGl882qpzUm-2BRIvqXw5ceNnKX7wJwgoQ9aF0wkAl1PFYO3U7cWPA8cyx9b9DaHmRFIbRJcULrNRL0Gu76fTrg8JJSVcGpxsEkfs-3DdrhC_nwmWHbQklCPBoSpUsdblirzT5dMS50f48-2FhV4DH6NoJ7T-2FYvUsE097UkL6aDk1MX8uKAQEhYIlp6flbqn0-2B6zCHUbHJViqxi6b2XZZQF0X-2F4Nn0BGTxTRzzAwXCVaVVtG6CY30Kmm6hjm5LzO-2Fi8D0K-2FqeHGPdjpIweiVCfx2t4FOjBy3D3bR5XbqV3cCSZtoO35pHtKdMMIatK02-2BE-2BHyMu57YQMe21WBmKfLAHkDU-3D
     
    The decoded link is: 

    https://www.thelotusforums.com/forums/index.php?app=core&module=system&controller=redirect&url=https://www.thelotusforums.com/forums/modcp/reports/1045/&key=8fc1730eefe92416c37b61ed68c4be34caef5ffb520d1440ca1ed79fd3e74203&email=1&type=notification_report_center

    From the above link I am able to see that there is a redirect url which is redirecting again your link. 
    Could you please confirm that this is the right link with that redirect?

  8. From one of the members:

    Edge is my main browser

    Firefox - the initial Push Notifications doesn't appear but Enable Push Notifications just sits on Enabling.

    Chrome - Initial push notifications appears, the Browser asked me if I would accept notifications, replied Yes - and it sits there Enabling. Subsequent page loads doesn't ask me to accept notifications.

    ETA:

    Tried clearing all my browser content and restarting. No effect

    Notifications are allowed on the site

  9. Sorry but I've got some push back on this. Our members have been saying that this has been working fine up until a couple of weeks ago. The only change I've made is a move from php7.4 to 8.1. GMP is installed and enabled, is the error message I'm seeing in the console not the issue rather than anything to do with PWA?

×
×
  • Create New...