Jump to content

catbreadbat

Clients
  • Posts

    489
  • Joined

  • Last visited

Reputation Activity

  1. Like
    catbreadbat got a reaction from SeNioR- in Discord user - Custom Profile Field   
    A quick google search revealed an existing regex:
     
    /^.{3,32}#[0-9]{4}$/  
  2. Like
    catbreadbat got a reaction from Jim M in How to get more ranks and badges icon?   
    This didn't work for us, we only have the default 4 in the badges.xml file. Is there another way to get these back?
    EDIT: it seems some of the defaults come from re-importing the rules themselves actually.
  3. Like
    catbreadbat reacted to All Astronauts in S3 Compatible Downloads   
    Well, see, the thing is, you step away from something long enough, and come back to it with fresh eyes and forgotten knowledge and stuff jumps out at ya.
    Cryptic? I think I solved Wasabi finally. DigitalOcean Spaces probably as well. Both with the signed temporary urls for attachments and Downloads.
    I might charge a touch as I'm probably throwing this into an app and adding in ACP widgets for the service status stuff.
    Gonna simultaneously poke things and mull things over, if it is possible to do both at once.
    It was such a benign, little, utterly ignorable thing too...
  4. Like
    catbreadbat reacted to HDiddy in S3 Compatible Downloads   
    I don't think Backblaze is supported...fully at least as it seems to need a secured connection to do Content Dispostion which seems to be the issue for most of these.  For me I have been looking at multiple solutions as My Downloads egress on Wasabi was way too high like 2.5TB compared to the 150GB I have stored.  The CDN Option with cloudflare simply didn't do much at 25% cached on average and in addition to that the whole thing went up in smoke when I got a 522 I could not recover from. I tried to see if Wasabi will match some additional bandwidth cost like their competitors.  No go.  They gave me till Monday to get my bandwidth down. 3 Days.
    Fast forward I decided I didn't mind paying a little extra (0.01/GiB) for additional bandwidth but I need to find a provider that works.
    First I tried Digital Ocean.  Nice provider but it seems they have switched over to the dreaded must have a signed account for public read.  So this one was a no go, but I might keep it as a storage backup
    Next I tried Backblaze.  And like Digital Ocean same thing, trying to download with the headers gives you an error basically saying you are not allowed to do this anonymously.  It works great for pictures if that is what you want to use it for but not so much for downloads.
    Next up Linode. Nice little service but I could not get the thing to work with S3Browser, which for me was just a sign this not going to be good.  S3 Browser allows you to do things like update bucket policy and other things many providers do not have a front end for so if it didn't work, it was a no go.
    Finally I tried Vultr.  They are a new Object Storage provider so I figured..."Hey Why not".  So I went off transferring my June folder over to do initial testing.  I test by basically grabbing the link that IPS uses in downloads and seeing if it will work or error out.  To my delight and surprise, It WORKED!!  This tells me vultr is pretty much setup exactly like Wasabi, and with S3 Browser any bucket policies I had I can add them directly through an API call.  Also in addition Vultr is fast....like stupid fast compared to the rest.  Backblaze I found to be the slowest of all.
    So for pricing Vultr is $5/Month giving you 250GB  of storage (additional 0.02/GiB) and 1TB of Bandwidth (Additional being 0.01/GiB).  For me this turned out to be roughly $25 Per Month for the month Bandwidth I am using.  That price is not bad for the peace of mind.
    Anyway wanted to put this up here as I have not really seen much convo on S3 Compatible Storage that actually works outside of Wasabi.
  5. Like
    catbreadbat reacted to LaCollision in IPS 4.6.9: bug in File Storage Configuration and Members Ranks icons   
    Hi Invision,
    I've noticed a bug in IPS 4.6.9 concerning Members Ranks icons.
    When changing the Storage Settings for Badges files (for a different location), the Ranks icons are not moved into the new file storage location.
    It works well for Badges, but not for ranks icons.
    I think the issue comes from:
    /applications/core/extensions/core/FileStorage/Badges.php  
    You can see there that Badges files are correctly handled, but not Rank icons: the methods (move(), delete()…) only deal with the core_badges table, but not with the core_members_ranks table.
    Therefore, the files that are defined in the database table core_members_ranks are not moved into the new file storage.
    Thank you,
  6. Like
    catbreadbat reacted to ASTRAPI in Community Guide on Setting Up Backblaze and CloudFlare   
    Hello 🙂
    (This is a community guide on how to setup Backblaze and Cloudflare, as a significantly cheaper replacement for Amazon S3 and Cloudfront.  The author has no affiliate arrangement with any of the companies listed in the guide and offers the guide as a free community resource.  You should consult with your hosting provider and / or server administrator before proceeding with the guide.)
    The tutorial is tested with the latest version of Invision 4.5.4 !

    Invision Community allows a file storage configuration with Amazon S3 and a content distribution network (CDN) of your choice:
     
    WHAT IS BACKBLAZE?
     

     
    Backblaze is an infinitely Scalable B2 Cloud Storage. Backblaze B2 is enterprise-grade, S3 compatible storage that companies around the world use to store and serve data. Backblaze's service works with native APIs, CLI, and GUI; you can move and manage data with minimal coding. Their service provides fast access all the time; there is no need to accept delays or pay speed surcharges. It can also support HIPAA compliant storage with their Business Associates Agreement (BAA). B2 is compatible at ¼ the cost of AWS S3 with no hidden fees or minimums.
     
    Backblaze is an award winning cloud storage provider for 2020 !
     

     
    Pricing:
     

    Based on their latest pricing, it is very cheap at around 5$ per 1TB storage per month! There is a cost for direct downloads (bandwidth) at 0.01$ per GB but it will not affect us as we will use Cloudflare and all files will be served from Backblaze to Cloudflare and then to users that is totally free 🙂
    Be careful if you have any custom direct downloads that bypass Cloudflare. If you link to custom downloads directly, you will be charged for bandwidth. All default Invision files should go through Cloudflare. I am using Backblaze for a few of my clients and they never charged anything extra as all Invision files are going through Cloudflare as expected. Please monitor your balance after a few days just to be sure!
     
    GUIDE:
    BEFORE PROCEEDING, PLEASE BACKUP YOUR DATA FIRST!
     
    STEP 1: Create a bucket on Backblaze
    First we need to sign up at Backblaze Cloud: https://www.backblaze.com/b2/sign-up.html
    You will need a phone number to activate your account:

    After the activation of the account we will need to create a bucket that will host our files.
     
    On the Buckets sections we click on Create a Bucket:

     
    Then we add a name for our bucket. Recommendation: avoid dots (.) in the bucket name.
     
    On the next screen we type a Bucket name and we select Public and then we click at Create a Bucket.

     
     
    After that under the Create a Bucket we should have our Bucket.
     
    Now we must keep a note of the ENDPOINT:

     
     
    Now we need to get our Bucket access keys from the App Keys menu. At the bottom we click at Add a New Application Key:

     
     
    At the new screen we select a anything as a key name and we keep selected the Read and Write access and wee click at Create New Key:

     
     
    Then you will see there only once the KeyID and the Application Key that we must keep a note of them as we will need them later !

     
    As a last step we need to go to our bucket that we just created and upload an image. From the menu on the left we click on Browse Files and then we click on our bucket:

     
    Then we click on upload and we upload a simple file like an image...

     
    On the right side of the uploaded image we have to click at the info icon:

     
    At the pop up screen we need to keep a note for that part so copy it with the other notes that wee have already:

     
    That's it ! We created our bucket and we got the access info that we will need !
     
    STEP 2: Create a CNAME dns record at Cloudflare
     
    Now you have to login to Cloudflare and go to your DNS tab from the top menu and then click Add record:
     

     
    We use as Type the Cname and as Name the cdn and as Target the info that we got from the pop on the previous step in the tutorial above:

     
    After saving that DNS record we should have that:

     
    Now for security reasons we have to go to the page Rules on the top menu and create two rules:

    RULE 1:
    Just replace your domain and the bucket name that you create:

     
    RULE 2:
    Just replace your domain:

     
    The final result should be like this:

     
    Keep in mind the order of the rules as if you set the second rule as 1 it will not work and your forum images will not work as page rules uses priority. This is important!
    That's it for the Cloudflare part!
     
    STEP 3: Configure Invision to use the Backblaze Cloud
    From Invision Admin Control Panel, go to System -> Files -> Storage Settings

     
    Then we click on Configurations:

     
    and then on Create New on the right side.
    Then we select Amazon S3 and we fill the needed info as:

     
    When you click Save if you get any warnings or errors then you have to check again the tutorial as you may forgot something or may have a typo somewhere...
    If you save it without any issues then you are ready to use it by going to: System -> Files -> Storage Settings
    and select a category with not many images for example Icons & Logos or anything else with a few images and from the drop down options the: Amazon S3:superbucket
     

     
    Then wait for the automated task to transfer your files to the Cloud and check if all are ok !
    If yes then you can proceed with the rest categories.
     
    *Keep only at your server your theme resources:

     
    Keep in mind that if you have a lot of GB of files it may take a long time for the transfer !
     
    It may help to go to the Dashboard and run manually the process to get the files transferred faster.

    *Attachments and Downloads may not work out of the box (don't use them on my test forum and i don't know for sure) and you may need to use the addon S3 Compatible Downloads:
     
    I hope that you will benefit from this tutorial and get better performance while saving space on your main server and a lot of money 🙂
    Backblaze is much more stable than Wasabi!
    It also includes up to 10GB free storage, so you can test it easily !
    Credits to: @Joel R and @Martin A.
    Enjoy !
  7. Like
    catbreadbat reacted to SeNioR- in Adding font-display to Font Awesome   
    Hi. I would suggest considering adding the font-display attribute to Font Awesome & Google Fonts to remove the warning in Google PageSpeed Insights.
    More at: Ensure text remains visible during webfont load
    Warning:

    Solution:

    and add parametr display=optional to https://fonts.googleapis.com
    <link href="https://fonts.googleapis.com/css?family=Inter:300,300i,400,400i,500,700,700i&display=optional" rel="stylesheet" referrerpolicy="origin"> Best regards.
  8. Like
    catbreadbat reacted to CoffeeCake in Is there no way to mass delete spam accounts?   
    @EricT,
    No worries. The prune link appears after you perform a search. The search is hidden in the little gear icon to the right of where you typed the word "prune" in your screenshot. It's not very inuitive and it's understandable to be confused. I don't think it's a language barrier. Typically a gear doesn't mean "open search panel."
    Once you click on the gear, you'll see a popup with all sorts of options. Keep everything just as it is (blank), and press the search button. Now click on the "Spammers" link to filter only Spammers.
    Now for some mysterious reason only known to @Mark (he was young, coerced probably), you'll see a series of links on what you can do with the search results. One of them will be "Prune Members Found"
    Things like this drive people insane. They're coming from a place of love, but have PTSD from so much exposure to idiosyncracies like this that they forget what it's like the first time to be exposed to the radiation.
  9. Thanks
    catbreadbat reacted to Jeffrey Roberts in [4.6.5.1] WhosOnline widget didn't work   
    FYI:
     
  10. Like
    catbreadbat reacted to MIXOH in (MIX) No Require Full Address [support topic]   
    Support topic for:
    What's New in Version 1.0.1
    Released Just now
    Added check for updates of new versions
  11. Thanks
    catbreadbat reacted to TAMAN in mdPanel - Material Design IPS Theme [ support topic ]   
    Simple,
    Say your custom link is named Activity
    You can change the menu icon by targeting the menu text like this
    [data-navtitle="Activity"] .ta_navIcon:before { content: "\f080"; /* This is font awesome icon unicod https://fontawesome.com/v4.7.0/icons */ }  
  12. Like
    catbreadbat reacted to DanLemX in mdPanel - Material Design IPS Theme [ support topic ]   
    how to select the icons for menu navigation? Say I have custom links, and want to chose my own icon. 
  13. Like
    catbreadbat reacted to Kevin Carwile in IPS Rules Application   
    Well, you cant really do that. How do you know which topic to check against when the second "duplicate" one is created. The topics are not related to each other and are not both present in the event, so I dont even know how you are attempting to check one against the other from a rule.
    How and why do you have duplicates anyway? It might be a better idea to just fix that problem before it happens.
  14. Like
    catbreadbat got a reaction from Chris Bell in IPS Rules Application   
    Same here.
  15. Like
    catbreadbat reacted to Charlie in Marketplace Reviews   
    Marketplace reviews are quite different from comments or discussion threads.  You can see these reviews as an option once you have downloaded a file.  You only get one review.
    For the IPS Marketplace I would like to remind everyone of some ground rules about commenting and reviewing files.  Reviews are not for support requests, or complaints about files not working before you got support.  Every file will say if it is supported or not, and how to get support.
    When you review think about the other users who are going to be reading what you write for your opinion of the file.  
    Mention how your support experience was if you needed support. Mention if the file performed as listed or if it was different than advertised. Mention if the file was resource heavy or changed your community's performance significantly. If it never worked and they didn't help you, then you should mention that they never resolved your issue or they wouldn't communicate with you through the listed support channel, etc. Do give us your opinion in your review, that's what everyone wants to hear. This kind of information is very valuable to potential purchasers and it will keep your review of the file alive.  Reviews saying "it didn't work" should only appear if their is no support available.
    Comments and reviews are also not the place for feature requests.  Please use the appropriate channels to request and receive support, to communicate about version changes and feature upgrades, and to review files.
    I think reviews for IPS4 files will really help people make better decisions about some of the awesome work Marketplace contributors have been doing.  So contributors make sure you are listing your support info, and don't hesitate to message me about Marketplace if you see a review that doesn't belong.
    And for everyone else that likes good apps and themes, if you find your review was not approved please make sure that you weren't requesting support, asking a question, or answering someone else.  For other questions, I'll try to answer them here.
×
×
  • Create New...