Jump to content

clearvision

Friends
  • Posts

    352
  • 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 clearvision

  1. Over the years I've had a CMS(Pages) block that generates a JPG of last 40 avatars posting to site.  I've used a PHP block that regenerates based on the age of the saved temporary file as it involves a lot of fetching of avatar files each time it runs.  Originally I could also have set the cache time of the block really long and just rerun, but no longer...

    698962669_avatararray.PNG.7fd450a65545e5573f92bc1202c4d3ba.PNG

    The file was generated using PHP GD as  imagejpeg($destimg,filepath);

    All this on hosted services.  Years ago there was access to the directory structure and I just picked a place for the temp file.  Then I had to change to using a file in "uploads" directory as hosted no longer had access to the directories.  Recently this too has broken I suspect because of hosting's move to s3 storage for files.

    So.... Anyone know how I can write and read a temporary file on the current version of software (hosted) from a Pages PHP block ?

    Thanks

  2. 3 hours ago, Square Wheels said:

    I've never really used pages where users can create entries.  Is it a steep learning curve for me and for users?

    For you:  It takes a bit to get the categories, fields, templates and page sorted.  If you don't do a lot of customization and just use the standard templates once you get that sorted it is fairly easy.  There might be decent guides now, there were none when I started using the database.

    For your users, pretty easy:

    972579383_Screenshot_2020-10-18CreateNewRecipe.thumb.png.bbce702c1d4571311d45090e8b27ec93.png

    Just standard type fields to fill in.

  3. Pages is certainly the way to go if you can wade thru it.  We have a recipe database with categories that also posts to a forum when a recipe is added.

    35025630_Screenshot_2020-10-18Recipes.png.9d5bd7e7a0ea5342bca85f976ba912f8.png

    When you click on recipe we also have option to generate a print page of just the recipe info without all the headers, pagers and controls:

    1409412338_Screenshot_2020-10-18TexasTurtleSheetCake.thumb.png.c331420ab0a543ee681c8797da635b4b.png

    Then on our social forum we also have a custom block showing a random recipe that has a picture at bottom of page:

    924549999_Screenshot_2020-10-18OctoberPorch.thumb.png.61f05bd1d1bfb84243ecf6de37b804f9.png

     

  4. Plugins are not always available for what you need done or updated quickly.   If you code your own (cloud users don't have that option anymore) you still have to spend time developing it and maintaining it.  For cloud users you can't test plugins on a demo cloud site, so you have to go live and see what happens after each upgrade.  

    A reasonable number of template edits seems no worse than a similar number of plugins to deal with.  You are told if there is a difference directly and can quickly fix only those that need it.  I use my own template "bits" if more than a single line of code so the edit is simply a single line easy to recognize using a template insert {template=""....}.

    At one time I rolled my own plugin for template changes, but found maintaining it more difficult than just modifying the templates and had to carry a source license, even though main site is cloud hosted, to keep it up to date.

  5. 54 minutes ago, RCN Productions said:

    May I ask how you did that? I have the same issue after updating with both default theme as other themes.

    Thank you in advance!

    Rob

    There is also an issue with the default icons in that you have to have SSL/https: working at least with 4.5.x.

     

     

  6. I just upgraded to the new 1.03 version on 4.5.  The old version was working after I got to 4.5.  The 1.03 version seems to be running something(s) very intensive on the forum page showing all topics.  Getting very slow responses to the point of timing out sometimes.  Disabled the plugin and things are back to normal.

    I know for 4.5 you had to split off data from the standard tables to your own.  Not sure if somehow reading those is causing the issue as even reading a page worth of topic descriptions with queries should not slow down that much.

     

  7. Support confirmed forced archival is a new "feature" for cloud hosted sites with no options on what areas to archive.  Apparently this is undocumented and set to 3 years (1to5 is range).  Claim it is being looked at.  Not having advance notice of this change is in pretty poor form.

    For sites with reference type forums (food, wine, books, travel, technical advice) this is pretty fatal as content over 5 years is no longer searched, and pretty useless.  We have low density forums with over 10 years of history and the content there is not time sensitive.

  8. So this is sort of bad if new "feature" as all our forums including reference forums on books and wines are now archived and older posts are no longer searchable.  This appears to be some sort of new automatic setting as we would have never archived (no search) these forums.

  9. I'm needing to turn off archiving.  This is supposedly an option and I have seen an image of the page with the option to turn off.

    But here is my archive page:

    archive.thumb.PNG.b50b41086f14a26ebaf45a3356810a80.PNG

    No where to turn off.  I am using the cloud service and have a suspicion they may be forcing this, but I can't find any where on the web or in admin mentioning this.

    Am I missing something obvious?


  10. Overall top posters is a particular filter on the actual member list [in this case, post count, descending]. Today's top posters is not and cannot be made as such a filter; the information involved is generated on the fly based on actual posts made in the past day.



    Could they make it follow the "hide from member list" setting? Probably, yeah. But the current behavior is technically correct.




    I understand the coding and why the two are acting differently. But a user does not care whether it is a filter or not. The lists work differently because of the way they are coded, not because of intent. Certainly if you were to just generate two lists of top of day and top of all time you would not exclude a member from one and not the other.

    It is not a big deal for me, just noticed a result that should work the same either way for a user when trying to help the first poster solve his issue.

    If I had 3 different RSS feeds, with different names running to my board I would not want them hogging the top poster list everyday either.

  11. Hiding members from the member list hides them from the members list as it says it should.



    It does not hide them from today's top posters since that's not the members list :)




    Yes, but it does hide them from "Overall top posters", which just because it happens to use members list means they are hidden. Seems strange to see a top poster for the day, but not see them for overall list. This is a side effect of wanting to reuse member's list sort for one and not the other.
×
×
  • Create New...