Jump to content

PWaddict

Members
  • Posts

    908
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by PWaddict

  1. I would like to lock a specific repeater item with the id 1553 to prevent editing from non-superusers but none of the above work. Can you please help?
  2. @adrian I found a small bug. Using slashes for example on the title field the image doesn't rename properly. For example on title field I have: Poster/Flyer and the image renamed to flyer.jpg where it should be poster_flyer.jpg.
  3. Is it possible to prevent optimizing on upload on specific field via hook? Nevermind, don't need it anymore.
  4. I don't think it has to do with the settings of the images field cause I tried all of them and the problem still happens. The module can't retrieve properly the title of the vimeo video because on the image description I'm getting: array-1. When I enter a youtube url the title retrieved properly. The problem happens only on vimeo.
  5. When grabbing vimeo thumbnail I'm getting the following warning on debug: Warning: strlen() expects parameter 1 to be string, array given in C:\laragon\www\mysite\wire\modules\Inputfield\InputfieldImage\InputfieldImage.module on line 1262
  6. Currently I don't have time too. Maybe in about 2-3 months if you haven't added it yet I will try to do it.
  7. The module doesn't allow me to select my multi-language URL field. Please replace the 48 line with this to enable support for it: "searchVideoFieldTypes" => array("FieldtypeText", "FieldtypeTextLanguage", "FieldtypeTextarea", "FieldtypeTextareaLanguage", "FieldtypeURL", "FieldtypeURLLanguage", "FieldtypeTextareas")
  8. @adrian can you add support for YouTube playlist links? Example: https://www.youtube.com/playlist?list=PLdyYtz46NolYSyIlOVgzKc2mpFSQhi8Ho
  9. @kixe can you please update the module to display the warning "SetupPageName expects value in field 'my_field' to autogenerate Pagename" ONLY on debug mode? It's not user friendly and it can confuse site editors who have no idea about these stuff as it displayed instantly when adding a new page. Replacing the 236 line with this would do the trick: if ($warning === true) $this->warning(sprintf($format_warning, $format), Notice::debug);
  10. Timezone names are not installed on shared servers. That's why I'm detecting DST with php and set the proper offset time on database.
  11. Here is the proper solution: // site/config.php date_default_timezone_set('Europe/Athens'); if (date('I')) { $config->dbInitCommand = "SET NAMES '{charset}', time_zone = '+03:00' "; } else { $config->dbInitCommand = "SET NAMES '{charset}', time_zone = '+02:00' "; }
  12. Now that DST is active my solution doesn't seem to work. I'm still getting the non-DST value.
  13. I fixed it. @Robin S update the css rule with this: .Inputfield_service_rows .header-row > label:not(.ui-state-error) { background:#29a5aa !important; }
  14. Nice tutorial but there is a small issue. Pressing the trash icon in the items we modified the color doesn't turn it to red and this might result in confusion for non-superusers.
  15. Thanks for this useful module. I've limited the whole frontend with the rule: testing??template!=admin but If I type a non existent url it will display the 404 page instead the replacement markup.
  16. @Robin S If a repeater doesn't have any items, the "Add New" link is still visible. Can you please add an option that will allow us to hide it?
  17. If I remember correctly, on the notes of "Name format for children" should have a "More" link that leads to documentation. At least this is how it's done with the ProcessSetupPageName module.
  18. Are you testing it in a multi-language site? Maybe the locale is causing this issue.
  19. If you replace "date(U)" with just the string "test" what will be the result?
  20. If the output of the name is 11am28australia-brisbane-1549849103 you obviously using more options in "Name format for children" than just "date(U)". For example how "Australia" or "Brisbane" injected?
  21. date(U) is working fine for me. It only adds the timestamp although I have installed ProcessSetupPageName module which expands "Name format for children". If you want try it but before that double check that you're using ONLY date(U) on "Name format for children". Maybe you have a custom hook forgotten on init.php or ready.php that manipulates the name on that template?
  22. @elabx Can you please write a tutorial with the related code on how to implement OneSignal with PW?
  23. Will push notifications cause trouble on shared hosting websites if all sent at once? Maybe an option would be great to send notifications for example in batch of 50 per x minutes?
  24. Have you checked out Foxpush? The free plan has unlimited subscribers. Maybe overall has better features than PushAlert?
×
×
  • Create New...