Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by antpre

  1. Hi thanks for the module, Tried a fresh install of v2.0 with PW 3.0.168, I works well when I am logged in and navigating the pages. But as soon as I browse not logged in, the pages hits are not recorded. Any idea. Nothing fancy on my side : templates don't have url semgent activated, it is not a multilanguage install, the pages are not cached at present. The js plugin of the module seems to be loading properly.... No specific configuration as been made. I have not install the pagehit field type for now, rest of the module conf is standard (as it comes after install). I just have list edthe template I wanted to track and set the session life time to 0 for testing purpose. On an other topic, just saw that you answered my question about multilingual install. Thanks you and sorry I missed your answer. This is why I didnt' react. I will surely test it again in my multilanguage set up. Regards
  2. Hi, just bump into an issue and the impossibility to configure an option for no extension (via the admin or the wireUpload API) would have been handy. On Android if you upload a audio file, the file is uploaded without extention (that's not a bug but an inteded thing saw a few stackoverflow threads on that). As a result I am unable to offer the possibility to upload mp3 files from a android device without some extra js code. In my use case only one admin would have had access to this uploading functionality. As a result no possibility to upload an audio file from the processwire admin if you are trying to do it from an android device. Therefore yes an option would have been nice. But I do understand the security related issues.
  3. Hi, Found a stackoverflow thread. It seems that on Android when you upload an audio file the extension is not present in the file name. This explains. Still searching for a solution. Regards
  4. Hi, Little update. I tested on a samsung S9 with firefox. Same issue, the mp3 file is rejected (before the upload starts). I will try with an Iphone also.
  5. Hi, I bump into this exact same issue (5 years later !) I run PW 3.0.168, php 7.4. tested with Uikit and standard Admin UI theme. I tested on android 10. phone is a xiaomi mi mix 2S With two browsers : chrome and firefox. my file field is set up like this see pict. I tested with other files extension types and it worked (pdf, jpeg). Only with MP3 do I have this problem. The file browser (that opens when you want to select the file) is the Xiaomi proprietary app. What Hellmoto mentionned is also happening. When the file manager app opens to select the file you want to upload, the extension doesnt appear in the file name for MP3 whereas the file extensions appears in the displayed named for other types of extension. I ll will try to test with some other android file manager. Any Idea ? Thanks
  6. Hi, tks for the module. I am triggering the db Backups using a script and a server cron job. The code of the script is this namespace Processwire; require_once(__DIR__ . '/../../../index.php'); $cron_backup =$wire->modules->get('CronjobDatabaseBackup'); $cron_backup->cronBackup(); With this script the db backup file is created but when I access the db backup admin screen. I get these notifications (see screen shoot) and it seems that the db file cannot be read. I checked the rights on the db files created this way but they are the same than the other backup files (created with the db backup module). If I use the 'normal' lazy cron way with this module there is no problem. Any idea ? Tks a lot
  7. Hi thanks for the module, It 's seems the permission issue mentioned earlier (if user doesn't have an edit permission error messages show up in the modal window) is still there. It would be great if the create button would be permissions aware and not been displayed if user doesn't have the edit rigths. Is this something that can be added at some point ? Thanks
  8. OK thanks for your response, I ll check that.
  9. Thanks a for your answer. Sorry If I was unclear in my explanation. I am aware of what you mentioned. I am just trying to figure out why, when the admin template has access control on and only super user can see admin template based pages, why non super user in the back end still see the Admin Custom Pages I ve created and no other admin pages. These custom admin pages should be equally hidden in the same way than the other admin pages. But I guess that your module does not interact with access control. So I ll keep searching. Regards
  10. Hi, I have a question, can't get to pass option to a chart panel. Whatever option are not getting apply. must be a synthax probleme maybe. Here is the code. for instance with this code the legend is still below the doughnut (it should be rigth to it) and the dougnut is fairly thin and it should be 50%. Thanks for your help. $panels->add( ['panel' => 'chart', 'title' => 'Tags Status', 'data' => [ 'chart' => [ 'type' => 'doughnut', 'data' => [ 'labels' => ['Doc without tag','Doc not reviewed','Docs tags OK'], 'datasets' => [ [ 'data' => [$noTag, $TagNotReviewed, $TagReviewed] ] ], 'options' => [ 'cutoutPercentage' => '50', 'position' => 'right', ] ] ] ] ] );
  11. HI, Tks for the userfull module. I bumped into a funny issue related to role and permission. I have added a role for editors that can access backend with limited permissions (page view, page edit, some listers). For some reason, the admin custom page are shown in the setup menu. These are the only admin pages that are displayed to the editor. I realy don't understand why. I have not change any access parameter on the admin template thats only accessible to superuser. Any idea what going on (it's a multilanguage site). Tks for your help
  12. Hi, I am trying to run a script on my processwire installation (custom admin page). This script has to work with external files (hosted on S3). The php fopen command returns a "failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request " On my php ini the allow_url_fopen is on . I guess it is not an issue with php conf If I copy the url of the file I am trying to open, in a browser, I can access the file. I guess it is not a permission issue on the S3 bucket. Any idea would be welcome Thanks a lot
  13. @d'Hinnisdael : Thks a lot for the module. It's a real saving grace and makes it a breeze to present good looking admin dashboard. And the documentation is very well done too. Thanks again for all the good work.
  14. Thanks horst and Krlos, By generic user name you mean using one single user account with a generic name and then distribute the password to every member. This is what I was trying to explain (the first option in my initial post)... but was not clear enough ! I can do this but I was wondering if having multiple users connected at the same time with the same user account would be problematic. If it can work that way, that's the best for me.
  15. Tks Krlos for your answer. The module you mentioned leverages the PW user system wich is what I am trying to avoid because I don't want to ask users to create a user account to log in. Regards
  16. Hello everyone. I have a "newby"'s question regarding password protecting the front end of on one of my website. The web site in question is for the members of a small scale non profit organisation. It should not be easily accessed by non members but they don't want to force their members to create a personal user account. From their point of view a simple common password should be enough. Here is my question : Can I use a newly created user and in the login form only ask for the password (I will feed the username in the code). In this case many users will potentially log with the same user at the same time. Is this approach correct, are there any drawbacks (performance ?)... or is it realy a bad idea 🙂 Otherwise I can just implement a simple password protection function without using the user system (didn't find a module addressing that need). Thanks for your help
  17. Kongondo, I am refering to the 3 choices you have to add a menu item in the admin interface of the module : Pages / Custom /selector. Each of the menu item are using the custom option. here are 2 items of this menu The base url is the same, cause this a single process wire page, and the 2 last bit of the url are the url segments (ie /type/talk or /type/cours).
  18. Hi, I am using Menu builder on a new multi-language web site. It's a simple use case : only on level on the main menu. It'is working fine. Thanks again for the module. However I have one issue. the class for the current item is not rendered in the html. My code is like this : $menu = $modules->get('MarkupMenuBuilder'); $options = array( 'current_class' => 'active', ); echo $menu->render('MainMenu', $options); One point though : each menu item is a "custom item" with a url to the page and url segments (2 or 3) and all the menu item points to the same page (with different url segment). Do you think this is the reason why the current class is not present in the html ? If so is there any workaround ? Thanks a lot
  19. Hello everyone, I realized that I might have not been precise enough with my question. I have a multi language web site. I have a template called document. I have 4 language : default (not used on the front end), french and english and spanish A page with that template can be either active in french , in english, spanish or active in all of them. English in the not the default language though (it is the first additional language). My need is to have page hit counts views irrespective of the language. and stores views irrespective of the language. so if a page gets 1 view in english and 1 view in french. It would count 2 views. I tested my use case with Page hit module. I found that the views were properly recorded if the page was active english. But if the page is active in french or spanish the view is counted in the front end (on the debug consol it says 'Page Hit Counter: Tracked' but doesn't get recorded in the database. Why would it work for the first language that is not the default language and not with the other one. For the purpose of my test I duplicated the same page so only the language active status was changed. The change of url (from /fr to /en) is not the problem cause the page that has both language get the counts recorded from both the url language. I guess the module is not working in my use case even if I didn't need the recorded hits to be per se multilanguage.
  20. Flydev, in the meanwhile, I tried on the same server with an other db and a password with no $ ... at it all went fine. Tks for the premium support !
  21. Tks for your answer. Indeed the connection is correct and all the tables are created. this is why I was surprised. I looked into the config.php. as per your advice and found the culprit. the db user password has been truncated. The last 2 characters have been removed ! inital password was Bok03d$9 the password in the config.php is Bok03d But the password was typed properly during the install phase and the db import went ok. Any idea ?
  22. Hello, Tks for the module. it's working fine (back up on local or S3). Could restore the site on my local instalation. However when tried to migrate site to an other server bump into this probleme. The user mentionned her is the db user and has all the rigths. Can any body tell what should I be looking at. Pretty sure the problem is with my server config and not with the module of course. A fresh install of PW on the same serve works fine. Tks
  23. @Gideon : tks for your answer. That's not a good news though. The module is realy well done with all the options available in the admin. @David : any chance that you add support for multilanguage sites in the module's roadmap in the near future. Thanks
  • Create New...