• Content count

  • Joined

  • Last visited

  • Days Won


flydev last won the day on May 30

flydev had the most liked content!

Community Reputation

1,146 Excellent


About flydev

Profile Information

  • Gender
  • Location

Recent Profile Visitors

2,753 profile views
  1. A small news about Duplicator and why its not updated recently: On the current state of the module, it is usable for small website, I mean small database (I am aware of the issue which include the parent directory in the compressed package which make the package non deployable by the installer). As stated by Ryan itself, If you are working with really large files, it may be better to perform that task directly in PhpMyAdmin or the native MySQL client. And as I am working now with giga-sized databases, its the time to rewrite this module. So what is planned ? Duplicator will be made on top of PHPBU in the hope to provide to the community a professional focused backup service for your websites. More information : Future requirement: PHP 7.x.x The official repo : Any suggestion welcome. Have a nice day !
  2. flydev

    I don't know which version you are using, but it already work out of the box... you do not need to hack something to get it working. It already check if the post var from step 1 is an email, if not, it check against username. In ProcessForgotPassword 1.0.3, you can configure it :
  3. flydev

    You need to use Application Pool Identities. Those permissions need to be granted to the user that is set to be the Identity of the application pool in IIS. If you are lost with this feature then ask your sys admin to setup it or get back to us and I will try to give you some steps for setting up this account...
  4. flydev

    It work, just test it. The only thing which could confuse the user, its the phrase, maybe its possible to hook into the ForgotPassword module to change that. Otherwise everything is fine.
  5. flydev

    Hi @suntrop by default you have to enter an username, not an email , and this user/email should exist in the system
  6. flydev

    At this moment, you should upgrade the module by downloading it directly from Github then install GeneralSettings.module and ProcessGeneralSettings.module
  7. flydev

    Then with a hook, you can remove them, look : On a module : $this->addHookAfter('LoginRegister::buildProfileForm', $this, 'renderProfileForm'); protected function renderProfileForm($event) { $form = $event->return; foreach ($form->children as $field) { if ($field instanceof InputfieldEmail || $field instanceof InputfieldPassword) { $form->remove($field); } } } or in ready.php : wire()->addHookAfter('LoginRegister::buildProfileForm', function($event) { $form = $event->return; foreach ($form->children as $field) { if ($field instanceof InputfieldEmail || $field instanceof InputfieldPassword) { $form->remove($field); } } });
  8. flydev

    I think I didn't understood all the problem here but I am trying to answer anyway From what I understand, you are trying to update the page JohnDoe (a page under Employees parent which act as a profile page) for the user JohnDoe - correct ? My question is, why you do not use the user profile ? If your problem is the password field, you can remove it from the list of the editable fields in the LoginRegister module - as you can choose which field can be edited by the user.
  9. flydev

    You should share your custom module code to get better support @MarcoPLY
  10. As the error say, you have a write permission issue on your server. What is the server version ? It is managed by Plesk ? About the web.config file, once you get your install up and working, you will get a 404 page for the frontend and backend, so just insert this block in your web.config (tested on IIS-8) : <rewrite> <rules> <rule name="Handle request for missing favicon.ico" stopProcessing="true"> <match url="favicon\.ico"/> <action type="CustomResponse" statusCode="404" subStatusCode="1" statusReason="The requested file favicon.ico was not found" statusDescription="The requested file favicon.ico was not found"/> </rule> <rule name="Handle request for missing robots.txt" stopProcessing="true"> <match url="robots\.txt"/> <action type="CustomResponse" statusCode="404" subStatusCode="1" statusReason="The requested file robots.txt was not found" statusDescription="The requested file robots.txt was not found"/> </rule> <rule name="Access Restrictions: Keep web users out of directories"> <match url="(^|/)\." ignoreCase="false"/> <action type="CustomResponse" statusCode="403" statusReason="Forbidden" statusDescription="Forbidden"/> </rule> <rule name="Access Restrictions: Protect ProcessWire system files" stopProcessing="true"> <match url="^.*$" ignoreCase="false"/> <conditions logicalGrouping="MatchAny"> <add input="{URL}" pattern="(^|/)site/assets/(cache|logs|backups|sessions|config|install)($|/.*$)" ignoreCase="false"/> <add input="{URL}" pattern="(^|/)site/install($|/.*$)" ignoreCase="false"/> <add input="{URL}" pattern="(^|/)site/config\.php$" ignoreCase="false"/> <add input="{URL}" pattern="(^|/)(wire|site)/templates-admin($|/|/.*\.(php|html?|tpl|inc))$" ignoreCase="false"/> <add input="{URL}" pattern="(^|/)site/templates($|/|/.*\.(php|html?|tpl|inc))$" ignoreCase="false"/> <add input="{URL}" pattern="(^|/)site/assets($|/|/.*\.php)$" ignoreCase="false"/> <add input="{URL}" pattern="(^|/)wire/(core|modules)/.*\.(php|inc|tpl|module)$" ignoreCase="false"/> <add input="{URL}" pattern="(^|/)site/modules/.*\.(php|inc|tpl|module)$" ignoreCase="false"/> <add input="{URL}" pattern="(^|/)(COPYRIGHT|INSTALL|README|htaccess)\.txt$" ignoreCase="false"/> <add input="{URL}" pattern="(^|/)site-default/" ignoreCase="false"/> </conditions> <action type="CustomResponse" statusCode="403" statusReason="Forbidden" statusDescription="Forbidden"/> </rule> <rule name="ProcessWire Rewrite" stopProcessing="true"> <match url="^(.*)$" ignoreCase="false"/> <conditions logicalGrouping="MatchAll"> <add input="{URL}" pattern="^/~?[-_.a-zA-Z0-9/]*$" ignoreCase="false"/> <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true"/> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true"/> <add input="{REQUEST_FILENAME}" pattern="(favicon\.ico|robots\.txt)" ignoreCase="false" negate="true"/> <add input="{URL}" pattern="\.(gif|jpg|png|ico)$" negate="true"/> </conditions> <action type="Rewrite" url="index.php?it={R:1}" appendQueryString="true"/> </rule> </rules> </rewrite>
  11. flydev

    Is your module autoload property set to true ? if not, then set 'autoload' => true in the module info or if you want your module to be an autoload only on the admin area, then set autoload to : 'autoload' => function () { return (wire('page')->template == 'admin'); }
  12. Welcome to the forum Create a file in site/template called admin.php with this code : <?php namespace ProcessWire; require($config->paths->adminTemplates . 'controller.php');
  13. flydev

    Hi, check @adrian's answer there : You can also make a small autoload module which check the user's roles then redirect him accordingly.
  14. flydev

    Yes I should take the time to write a showcase, I am sure that our use of ProcessWire will interest a lot of people!
  15. flydev

    I'm so glad I wanted to share that with you today. Since November 2017, all of the company's infrastructure is built on ProcessWire. Whether it is the showcase website or the millions of transactions recorded in the database as pages or all the custom modules to interact with the company's data. Just to say that I feel lucky to work all the day with what I love, and when I remember that I was demoralized thinking I had to learn Wordpress or I don't know what, because before ProcessWire I never worked with a CMS and it was becoming vital. Then I stumbled on ProcessWire (hooray!). And now, a new step for me appeared yesterday. I have a trainee for a month. And my task is to teach him how to work with ProcessWire! This make me really proud ! Have a nice day everyone and again, thanks to this community and this software!