Jump to content

Macrura

PW-Moderators
  • Posts

    2,778
  • Joined

  • Last visited

  • Days Won

    40

Macrura last won the day on November 8 2023

Macrura had the most liked content!

2 Followers

Contact Methods

  • Website URL
    http://nibiri.com/

Profile Information

  • Gender
    Male
  • Location
    Westchester County, NY

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Macrura's Achievements

Hero Member

Hero Member (6/6)

3.3k

Reputation

30

Community Answers

  1. if you are still using this module, one way to get around the aforementioned error is to copy the class into a new file (from the Fieldtype module) and then put this at the top of the inputfield module: if(!class_exists('ProcessWire\RuntimeMarkupUtilities')) { include_once __DIR__ . '/RuntimeMarkupUtilities.php'; } i haven't extensively tested it yet but so far it seems to work. I couldn't import any fields as the admin would crash and this has now allowed importing fields without this module showing the "class "RuntimeMarkupUtilities" does not exist error."
  2. We had one site that was struggling under the strain of AI bots (the admin became almost unusable); The hosting support confirmed they were getting hit massively by AI bots. They ended up implementing apache level blocks. Then we had 2 other sites (running on Digital Ocean droplets) which started to get hit and were crashing, hitting 100% CPU. I have since installed WireRequestBlocker on those 2 sites (and had to up the memory, CPU and storage) On one of them we are now seeing a lot of activity, and IPs being blocked, and have been running smoothly since. In the meantime i'm trying out the ai.txt which can be generated here: https://site.spawning.ai/spawning-ai-txt Has anyone else tried it?
  3. @pmichaelis thanks for the report. ok let me see if i can make this change and commit soon, might take a couple of days.
  4. @gornycreative, thank you, very impressive and interesting to see how you set this up.
  5. Yes - thank you 0.5.2 has resolved the issues.
  6. Hi Robin, the issue started again, not sure if this is because of the localhost, or MAMP, or if anything could be done about it, but i did notice that there is no tracy bar in the iframe popup, and if i open the popup iframe in a new window, the page title is Logout, so maybe something to do with permissions.
  7. Thanks Robin, well now I upgraded again to the latest version and it started working. I can only assume it was CKeditor caching the js file, because i also had strange errors when i downgraded and it took a while for the downgrade to work (had to log out among other things)..
  8. I'm encountering a strange issue with the latest version if i try and insert any tags with attributes, it doesn't work: Null Invalid tag: no Hanna tag with this name exists.
  9. Thanks @Cybermano, I will review this as soon as possible (and I'll check the PR).
  10. Thanks!
  11. I'm not sure if this was already mentioned or asked – I have this module installed and use it all the time. I also use PageListerPro and when the images output (i have it set to "image only"), it shows the paste URLs field. Just wondering how i can have it not show that, since it takes up vertical space and that column in the lister is not editable when being viewed in the lister. Thanks!
  12. I have a fairly decent but rudimentary theme engine that I use; the structure is templates/themes/[name-of-theme]. This has worked well especially in redesigning existing live sites; or as a way to test out how things look with different CSS; or to upgrade a commercial HTML template. The theme engine also allows file override where the templates/views/some-view.php to be overridden by templates/themes/[name-of-theme]/views/some-view.php ; it's a wrapper for render, like wireRenderFile, so $theme->renderView('name-of-view), and $theme->renderPartial('name-of-partial'), would look in the current active theme for the file and if existing use that, and if not then use the one in templates/views or templates/partials. i can switch the theme in my _init, which means i can e.g. clone a theme, then have it switch to a development version for me as a user, or by role. Like templates/themes/company vs. templates/themes/company-dev The structure of the theme folder has stuff like _main.php (the main markup for the page), views, partials, assets, as well as theme specific functions, and a theme init where settings are configured.
  13. @froot sorry I didn't see your posts. If i understand correctly the admin pages use the admin template which is not a configurable template. You could create a settings page under the admin using the ProcessPageEdit process and then using a hook you can get that admin page to use a page in the tree, like "/settings/"; this was an old trick we used to do all the time and suggested by @Jonathan Lahijani. In terms of the general workflow for the settings factory, i just don't attempt to use images on those settings pages, but what I do is use a centralized media library to store site assets such as a logo. The logo is also tagged as such, and is additionally easily findable by the site managers and they can replace it on their own if they need to; this allows me to use all of the features of the regular page editor and images field and not have to hack it for use in Settings Factory. In SF you could create a page select that would allow selection of that media item.
  14. Sure, well I don't know if/when I'll be able to use your version as I have mountains of infrastructure running on setups that I'm hesitant to change (if it ain't broke don't fix it), but probably on the next iteration of the main profile I use, I can see how the existing field could be replaced, and whether it will be a "drop in" replacement, or require some front end code adjustments...
  15. Thanks for this – I've been using FieldtypeForms for years, which was just a gist https://gist.github.com/craigrodway/7515600 there may be another one here: but much appreciated that you have made an official module for this, I use the form select module to allow site editors to select a form to show in a configurable page builder section.
×
×
  • Create New...