Jump to content

The Old Man

Clients
  • Posts

    3,952
  • 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

Everything posted by The Old Man

  1. The Old Man

    IC5: Commerce

    Hi @Marc Stridgen, Does that mean that you are no longer going with CKEditor5? Any news on which version of Font Awesome? Thank you.
  2. Thanks Marc, the user is me, the only admin. Same name as here. The blog is called TIWWA Staff Blog which is a group blog.
  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. 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. As per screenshot, this one has monthly renewals. Blame it on the Leap Year!
  5. Interesting thanks for that. I just checked and I'm using 10.11.7-MariaDB and apparently strict mode is enabled:
  6. 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}
  7. The Old Man

    IC5: Commerce

    Will there be an announcement on the new Commerce features any time soon? Thanks
  8. 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.
  9. Just upgraded my localdev test installs for the first time since applying a backup restoration and I'm seeing the following error: 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!
  10. The Old Man

    IC5: Commerce

    A pie or donut chart would be an ideal way to show who contributed towards a goal. Perhaps one could be added. (I'm thinking I must have missed the Blog updates for Commerce, this seems more like a backend developer's blog entry (aha, it was!) than the usual preview of new features and functionality, so I'm off to take a look to see what I can find. ๐Ÿ™‚)
  11. 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.
  12. on one of my sites I have 2 options listed in the Login and Registrations page, Standard and Google: but on others, I have more options with 2 Standard methods: Just wondering why that is. I've only ever used Standard, Twitter and Google.
  13. Update: That seems to have worked. Whilst still logged into AdminCP, I disabled Trust IP and saved the settings. Then cleared the Cloudflare cache via my iPad. As soon as I did, I was suddenly logged back in the front end without logging in, and the pages are loading fine as I navigate through the site. Still using your Cloudflare rules by the way. So this seems to work:
  14. I logged into AdminCP, upgraded to latest version from previous, and tried logging in on the front end again but got: "Oops! The CSRF protection key did not match. This may indicate a plugin or theme is out of date. Please contact technical support for more information."
  15. 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? Many thanks.
  16. Hi, The resource is a standard custom image upload originating from a custom theme setting. A user (admin) can upload an image which could be any accepted file type. I want to preload it, so it requires e.g. a type="image/webp" HTML attribute. Regarding the template, itโ€™s just a custom HTML theme template.
  17. 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!
  18. Just FYI, theme_cookie seems to be missing from the cookies list
  19. I'm dumber than I look! ๐Ÿ˜ https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#media
  20. Thanks for the confirmation, I didn't want to reinvent the wheel and assumed there would be something built-in for IPS devs to reuse. I just want to insert some code in the head to preload an image based on device screen size. I'll have a look for some JS on MSDN.
  21. I couldn't find anything in the docs, but I want to apply some different code in template logic for desktops, tablets and phones. We can use media queries in CSS to make styling relevant for certain device screen widths and we have ipsResponsive_showPhone etc. However, is there a utility available to do the same for HTML in IPS' template logic, perhaps a PHP expression or something? Something like: {{ is small-device/phone? }} this code {{elseif is medium-device/tablet? }} this code {{else}} use this for everything else {{endif}} Many thanks!
ร—
ร—
  • Create New...