Jump to content

CoffeeCake

Clients
  • Posts

    1,916
  • Joined

  • Days Won

    24

 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 CoffeeCake

  1. I'm sorry, would you please repeat?

    Drama Reaction GIF by MOODMAN

    I thought you were asking for the ability to introduce end-to-end encryption on content on publicly viewable content, so that those without the password see encrypted gobbly gook, yet with the password, a person can see the deciphered text.

    What is the use case for this? What problem are you trying to solve?

    If it's to limit who can see something, why not control that with permissions at the container level?

    If it's to encrypt things in transit, why not use SSL and database encryption?

  2. Seconding this idea. We leverage Cloudflare page rules for this. You might consider blocking registrations from a particular country, or redirecting registrations from another country to another process that helps weed out the spam.

    Simply block or redirect /register and/or /login from your points of origin of interest. You may find that the problematic traffic is only from certain ASNs within a specific country and can be more selective with your rules than the entire country.

  3. On 3/31/2021 at 10:50 AM, Jordan Invision said:

    Fixed an issue where editor contents may be lost or incorrect when paginating through a topic and using the editor on different pages.

    This looks to be still broken (if the fix is included on today's update here).

    On 3/31/2021 at 10:50 AM, Jordan Invision said:

    We're aiming to have it released in the coming weeks.

    Will there be a beta? We'd like to start testing this in our QA environment similarly to what we did with 4.5 from 4.4.

  4. You need to click on the little icon just to the left of the "X" to edit the contents of the drop down menu. You probably want your drop down menu to be at the same level as "Forums" and not intended to the right. As is, the Car Enthusiasts entry will appear on the secondary nav bar that you have right now.

    If you want to point a menu option to a specific URL that isn't a Pages item or one of the other options listed, use the External URL option (it doesn't have to be external -- you can enter in any URL you'd like).

  5. MySQL is happy spitting out blobs all day long if provisioned correctly and in tandem with caching, even better.

    James, you may want to consider that these images can be put on a filesystem other than the one hosting your IPS files and served out from a subdomain or similar. To do so, It's not very well documented or as apparent as it could be in the help guides. However, it sounds like your process could generate the preview image, put it on that separate filesystem, and then insert the path into the database instead of the blob itself (if that's your preferred method).

    You can create a filesystem storage configuration, turn on "use custom url." Consider setting up a subdomain like preview-images.example.com, that lives on another server you maintain for serving out these images and is then cached by your CDN.

    What I'd suggest instead, however, is that you transition this task to use the IPS API for Downloads instead. This way you only need to grant API access to your process, the files can be stored on your filesystem, and your script doesn't need access to the web server's filesystem to do so.

    https://invisioncommunity.com/developers/rest-api?endpoint=downloads/files/POSTitem

    Are screenshots not editable though via API? What nonsense is that?

  6. 20 minutes ago, Matt said:

    Out of interest, why are you choosing to use a database to store images?

    We've used this configuration in the past (with vBulletin) when we had multiple front end servers and relied on the database to serve out certain images. It simplified the backup process for user generated things, and made it so we could spin up web servers easily without having to move files between multiple filesystems. We have a new approach now, yet I think if an administrator (for whatever reason) sets images to be stored in the database, it makes sense to serve them with a URL absent a query string.

  7. 1 minute ago, Afrodude said:

    @CoffeeCake the option says Minutes then select a value or multi values. It should be working fine. 

    My read of this setting is that it will run once an hour, at :01 after the hour (12:01, 1:01, 2:01, 3:01, etc.).

    To have cron working correctly, it needs to run much more frequently than that.

    image.png.c68db472a2630fe82cba35ebc26b843d.png

    You'd need to select all the values in the list (assuming 00 - 59), or some other option in that drop down that is a shortcut for doing the same.

  8. I'm trying to sort out what that web interface is doing, but I don't think you have it just right.

    You want the job to run every minute, not just at :01 past the hour.

    If that "when to run" box or the "selected minutes" have an option that says "run every minute" or similar you want to select that. If not, you want to select every option in the box with the :01 selected.

×
×
  • Create New...