Jump to content

The Old Man

Clients
  • Posts

    3,958
  • Joined

  • Last visited

  • Days Won

    11

 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 The Old Man

  1. Thanks Marc!

    Not showing in available blocks on this site, link to the topic:

    https://millennium-thisiswhoweare.net/tiwwa/topic/28627-interesting-activity-at-the-yellow-house-on-google-maps-2011/

    Widget block was available on this site, example topic:

    https://invisionary.tech/topic/19-how-to-manually-install-a-theme-in-your-invision-community/

     

  2. Have you come across this before? The Similar Content widget block isn't available on my site for some reason and it isn't already in use on the page (I just double checked!).

    I checked another one of my sites with the same full suite, same latest version and it is showing there under System blocks in the page editor:

    Could contain: Page, Text   Could contain: Page, Text

    Is there anyway to reactivate it, please?

    Many thanks!

  3. Hi,

    I was looking at my Blogs feature and I was wondering about the Custom Sidebar feature. If you enable it in Blog Settings, and then enable it for an existing group Blog in the AdminCP, it shows on the front end.

    Could contain: File, Apple, Food, Fruit, Plant, Produce, Person, Webpage

     

    Is it supposed to be editable by the Blog owner as there doesn't appear anywhere to edit the content on the front end?

    For me, it's no problem, my Blogs haven't been used for years, but it may be of interest to other sites. The feature seems very limited and almost forgotten, you only get one block and it occupies a lot of screen real estate, unlike the way it used to work a long time ago when Blog owners could add lots of rich text blocks.

  4. Hi,

    When editing guest Search Flood Control, I get and uncaught exception:

    UPDATE `ib_core_groups` `core_groups`  SET `g_view_board`=true,`g_dohtml`=false,`g_search_flood`=3.0,`g_access_offline`=false,`g_topic_rate_setting`=1,`g_mod_post_unit`=NULL,`g_avoid_flood`=false,`g_avoid_q`=false,`g_mod_preview`=false,`g_bypass_badwords`=false,`g_can_report`=0,`g_view_displaynamehistory`=false,`g_download_original`=true,`g_movies`=false,`idm_view_approvers`=false,`idm_view_downloads`=false,`idm_linked_files`=false,`idm_import_files`=false,`idm_bulk_submit`=false,`g_blog_allowcomment`=false WHERE g_id=2 
    IPS\Db\Exception: Column 'g_mod_post_unit' cannot be null (1048)
    #0 /home/millen29/public_html/tiwwa/system/Db/Db.php(1159): IPS\_Db->preparedQuery('/*millen29_ipst...', Array)
    #1 /home/millen29/public_html/tiwwa/system/Patterns/ActiveRecord.php(520): IPS\_Db->update('`ib_core_groups...', '`g_view_board`=...', 'WHERE g_id=?')
    #2 /home/millen29/public_html/tiwwa/applications/core/modules/admin/members/groups.php(229): IPS\Patterns\_ActiveRecord->save()
    #3 /home/millen29/public_html/tiwwa/system/Dispatcher/Controller.php(107): IPS\core\modules\admin\members\_groups->form()
    #4 /home/millen29/public_html/tiwwa/applications/core/modules/admin/members/groups.php(39): IPS\Dispatcher\_Controller->execute()
    #5 /home/millen29/public_html/tiwwa/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\admin\members\_groups->execute()
    #6 /home/millen29/public_html/tiwwa/admin/index.php(13): IPS\_Dispatcher->run()
    #7 {main}

     

  5. Aha, I found out from the list of constants that it's referring to the server/Apache tmp folder:

    Constant - TEMP_DIRECTORY
    Use - Temp directory to use. By default this will use your servers set temp directory
    Example value - '/some/full/path/'

    In my case:

    "C:\laragon\tmp"

    or perhaps it means the Windows Temp folder as shown by PHP info in the Environment section:

    TEMP     C:/Windows/Temp
    TMP     C:/Windows/Temp

    I updated the permissions attributes via Windows on the folder and contents within "C:\laragon\tmp" and after rebooting the PC, it started working fine; the IPS upgrader was able to continue without flagging any more permissions issues.

  6. Just upgraded my localdev test installs for the first time since applying a backup restoration and I'm seeing the following error:

    Quote

    Your server does not allow temporary files to be created in the configured temporary directory. To work around this issue please edit the file named constants.php at C:\xxx\htdocs\ips4-dev-theme1 and add following code to it:

    define( 'TEMP_DIRECTORY', dirname( __FILE__ ) . '/uploads' );

    Aside from the workaround via constants, the error doesn't say what the configured temporary directory is called, so I can't check its permissions. Does anyone know which folder it is referring to?

    Many thanks!

  7. Sadly it’s still playing up for me this time on my iPad, I get an error when logging in to the front end via the front forum index page but it lets me log in okay to AdminCP. It wouldn’t let me change to default IPS theme, just reloaded my own theme, but when I navigate to another page I see the default IPS theme. Just can’t seem to win with IPS and Cloudflare these days. Come back Redis page caching, all in forgiven.
     

    Could contain: File, Page, Text, Webpage

     

  8. My members can't seem to stay logged in to my community. I tried and I can log into a forum topic okay, but when I click on the logo to go to the community homepage or view another page I get logged out again however, the cookies haven't changed in the devtools storage view, they are still present.

    I'm using Cloudflare and have the mod_remoteip Apache module configured as per https://developers.cloudflare.com/support/troubleshooting/restoring-visitor-ips/restoring-original-visitor-ips/#mod_remoteip

    I checked my constants file configuration and the domain was set with a . period so I've just removed that, as I have had better success using IPS with Cloudflare page caching in the past without adding the period in front of the domain name. This worked but after a view page views I'm logged out again!

    Please can you confirm the correct settings for the settings "Trust IP address provided by proxies?" and "Check IP address when validating session?" in AdminCP when using Cloudflare?

    Could contain: Nature, Night, Outdoors, Astronomy, Moon, Ball, Sport, Tennis, Tennis Ball

    Many thanks.

  9. Hi folks,

    Is there a provided method already in IPS4 to obtain the file type or extension of an uploaded image attachment resource, or do we have to do it manually in theme templates?

    If I know what an image file type is already because I supplied it I can use this:

    href="{resource="my.webp" app="core" location="front"}" type="image/webp"

    but if a user uploads their image, I need to set the correct image type from the resource itself.

    Many thanks!

×
×
  • Create New...