
pwFoo
Members-
Posts
708 -
Joined
-
Last visited
Everything posted by pwFoo
-
Module FrontendUser: login, logout and register users / members
pwFoo replied to pwFoo's topic in Modules/Plugins
Thanks for Testing FrontendUserRegisterEmailValidation isn't an independent module and packaged with the main module (same git repo and PW module). -
Share it without any support would be fine.
-
Hi Robguy, sorry because of my late response! Quick test uninstall / install FormHelperExtra (version 0.3.1) without errors. Could you provide more details about your setup (PW version, PHP version, ...)?
-
Module FrontendUser: login, logout and register users / members
pwFoo replied to pwFoo's topic in Modules/Plugins
@webrocker Both changes are committed. Make string translatable: $form->fhSubmitBtn->value = __('Send email validation code'); https://bitbucket.org/pwFoo/frontenduser/src/1bb7c66f83c583b7913c21516bf7c6675a8ca147/FrontendUser/FrontendUserRegisterEmailValidation.module?at=master&fileviewer=file-view-default#FrontendUserRegisterEmailValidation.module-160 prepend / append page template fix 'prependFile' => null, 'appendFile' => null, https://bitbucket.org/pwFoo/frontenduser/src/1bb7c66f83c583b7913c21516bf7c6675a8ca147/FrontendUser/FrontendUserRegisterEmailValidation.module?at=master&fileviewer=file-view-default#FrontendUserRegisterEmailValidation.module-104 No time to do some tests. So please verify and report back problems. -
FrontendUser module is based on PW form api. Here I linked two topics about form api. https://processwire.com/talk/topic/9811-frontenduser-login-logout-and-register-users-members/?p=102535 You should find some more topics about form api here in the forum.
-
HermodBB - Basic BB/Forum/Comments module
pwFoo replied to GuruMeditation's topic in Module/Plugin Development
I would like to see a native forum. So I'll take a look at your module -
HermodBB - Basic BB/Forum/Comments module
pwFoo replied to GuruMeditation's topic in Module/Plugin Development
I also started with "discuss" a simple, extendable forum module based on PW pages few month ago, but stopped work in favor of Flarum (Demo). I like the EsoTalk successor and maybe start an integration for my small forum site instead of a native PW forum... -
Yes, one of the problems to ship around with the FormHelper module Added a hidden admin page as "file storage" and a page pre-save.
- 14 replies
-
If you find any bugs just report it here in the forum. https://processwire.com/talk/topic/7860-module-formhelper/
- 14 replies
-
Hi Robguy, do you try to save it as PW page? Upload images with InputfieldFile / InputfieldImage needs a saved page to work. Maybe FormHelper module works for you? It pre-save a new page before the image is uploaded.
- 14 replies
-
Module FrontendUser: login, logout and register users / members
pwFoo replied to pwFoo's topic in Modules/Plugins
@webrocker Thanks for reporting. I'll release an updated version soon... -
Is there a example / howto write custom fieldtype / inputfield module? Searched the forum and asked google. If there is no howto available someone could suggest an easy module to take a look at the source code.
- 2 replies
-
- fieldtype
- inputfield
-
(and 1 more)
Tagged with:
-
Documentation of new features instead of just blog posts?
pwFoo posted a topic in Wishlist & Roadmap
I like and read the blog posts at processwire.com because of all the awesome updates and new features described there. But after some time I'm searching for updates I read and sometimes it's difficult to find the needed blog post again I would prefer continuous documentation updates (api, variables, options, apigen, cheatsheet...) with the new features and the needed PW version. A blog post could point us to the examples / documentation which should have be searchable and maybe tagging system. At the moment there are great examples randomly distributed inside the blog and notably the PW forums. -
FrontendUser and FormHelper modules are small helpers to use the form api and PW login in the frontend, because the core modules aren't fit my needs. I know that PW not supports the frontend usage of core modules (login, forgot password, ...), form api and inputfields, but it would be great. I hope in the future some modules / core features will be simplified and with frontend usage in mind (also if not official supported). Login without build in admin notifications Most of the inputfields work in the frontend, but I don't like the QueryUI dependency Simple form handling / verification (FormHelper fhProcessForm) with a single method call ... But because that isn't planned we need such community modules
-
A better documentation would be great, but it will be hard to keep it up to date manually. It should be generated (apigen, api variables, cheatsheed, captain hook) and available for stable and dev branch. But I don't know how complex that would be...
- 2 replies
-
- cheatsheet
- documentation
-
(and 2 more)
Tagged with:
-
Is there a way to generate up to date documentation (apigen, API, cheatsheat, captain hook) for stable and dev branch? Any plans for PW 3.0? I told a friend about PW and he liked the PW API and possibilities, but he moved away because of the documentation.
-
Module FrontendUser: login, logout and register users / members
pwFoo replied to pwFoo's topic in Modules/Plugins
Hint about redirect loops is added to the wiki documentation. @Florian Grüttner FrontendUser is build with flexibility and PW core features in mind. So you can add an hook to send an email after successfully registered a new user. Use addHookAfter FrontendUser save() method. User registration was successful if you return value is "true" (exactly "true" checked with "==="). You can use WireMail to send an email with the form data. wire('fu')->form -
Module FrontendUser: login, logout and register users / members
pwFoo replied to pwFoo's topic in Modules/Plugins
In documentation I used $redirectDestination, which isn't optional I'll add it to the wiki page. Just write a small extension (a PW hook) to send an email? Could be done inside the template file or a small PW module. -
Module FrontendUser: login, logout and register users / members
pwFoo replied to pwFoo's topic in Modules/Plugins
We take a look at the modules logout() method public function ___logout ($redirect) { $this->session->logout(); $this->session->redirect($redirect, false); } So just do what you want in the template. With the redirect above and the modules logout method it looks like that. // logout the current user $fu->logout($pages->get('/')->url); If you use a combined login / logout page or a redirect to the current page you need if / else in the template like that. if ($user->isGuest()) { // do login or just write a "You're logged out..." message } else { // do logout } I could add a check to prevent a loop, but with a redirect to the current page you have to handle it with if / else to serve the correct page for guests / loggedin users... -
No response to my private message here in the forum. @Macrura Maybe, but templates and styling is done and if all works fine why it should be build from scratch? With a purchased licence or if it will be provided as open source we could upgrade it.
-
Just reverse proxy via apache virtual host or use a port forwarding from public server through a vpn tunnel to internal dev server.
-
Module FrontendUser: login, logout and register users / members
pwFoo replied to pwFoo's topic in Modules/Plugins
Great to see it works for you -
Module FrontendUser: login, logout and register users / members
pwFoo replied to pwFoo's topic in Modules/Plugins
FrontendUser is based on the PW form api and PW inputfields. Haven't links here, but just search the forum. https://processwire.com/talk/topic/9467-add-a-css-class-to-an-inputfield-on-render/ https://processwire.com/talk/topic/2089-create-simple-forms-using-api/ I hope that will help you to style your form. If someone build a base / example style I'll add it to the module / documentation. -
Hi, FrontendUser base module is simple and small. It should be extended with sub modules and plugins based on PW hooks. I wrote it because there was no universal and extendable frontend login / register module. PW modules are optimized for backend usage (inputfields, login, ...). Would be great if the PW modules would also work in the frontend, but that isn't targeted / supported.
-
Hi LostKobrakai, I remember an old topic you suggested ProFields also for frontend usage. Should it work? Is there a way to test it? It's a small private project, so I'll purchase ProField if it works as needed.