Jump to content

Sergio

Members
  • Posts

    531
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by Sergio

  1. I dig that! Let me find some time to put things together and we'll talk, ok?
  2. The thing is, I don't know how but I can access the user dashboard on my free plan. Maybe when I signed up, they gave me access to it. BUT it's not something you will really need because you can manage the users on PW's admin just fine. The dashboard is useful for projects that don't have an admin, I think.
  3. There's a lot of thinking behind the magic link solution, the guys at Auth0 handle all the heavy load of checking and trust the user signing. I won't dare to implement such feature myself if I were you. That's a LOT of time to invest.
  4. Maybe I can create a PW site profile based on the default profile with just this module and its required fields and release it here. I think it will be better as I may have a lot of details to explain in text and using code is easier. What do you guys think?
  5. Yep, I used Auth0 API for that. In the end, it was simpler than I thought it will be. I can send you the module source code but it's not ready for open source, need documentation and maybe a cleanup. Would you like to do that?
  6. That's the main reason I decided to embrace "Passwordless" login. No more support messages "I can't change my password" anymore!!
  7. I have all node modules inside "vendor", outside my template folder, take a look:
  8. Yep, now I did. Should be fixed now. Many thanks, Robin! I appreciate it!
  9. Yep! Just fixed it. Could you verify, please? https://ricardo-vargas.com/books/
  10. Stop the press! @Robin S I've found the error, is on books/ root page instead! Working on it right now, many thanks!
  11. Very strange indeed! I think you have cache on your side as I see a different <main> tag on https://ricardo-vargas.com/books/recommendations/, see: Did you visited the site when it was running on beta.ricardo-vargas.com?
  12. I had a similar problem this week, keeping losing sessions and I'm using Cloudflare to handle SSL. But without www, as in my case it redirects to https://example.com. I resolved it by adding this to the config file: /** * http://cheatsheet.processwire.com/system-configuration/session/config-sessionfingerprint/ * Should login sessions be tied to IP and user agent? More secure, but will conflict with dynamic IPs. Default is true. */ $config->sessionFingerprint = false;
  13. Yep, it's a great plugin, but I'm not using its animations capabilities at all. Sure thing, I'll find a time to write about how to handle page views in a procached static page then!
  14. Hi Zeka, thank you! The solution I used, the aforementioned Smoothstate.js, it's a jQuery plugin to handle page transitions, so not a fully Ajax solution. If you disable JS, the site main navigation will work just fine, what the plugin does is to only load the main content of the page between transitions. It's the quick and easiest way I know to have a nice transition without worrying about Ajax complications, you can build a normal PW site and have the plugin on top of it. But I did use a bit more Ajax on the website to have things like page views and user bookmarks being recorded in a db table. Do you want to know more about it?
  15. Great, that will work! I think it will be very useful to have the short texts translated right away when creating the template and after that we can go to the admin to translate the long ones.
  16. Great! You're right, it can be messy! Great work, keep it up!
  17. For a project I've posted yesterday I built a basic module to subscribe users to a Sendy installation. I love Sendy and my client too as we use it to send lots of emails using Amazon SES costing almost nothing at all. Do guys think that's worth to post about? It's very basic now, it doesn't use Sendy's API at all, it just send the data using POST to subscribe the users to different lists.
  18. This looks really promising @diogo! I like it a lot and I'll sure try it on a next project. One question, what about multilanguage fields, do you think it's possible or should we avoid it to not overcomplicate the module?
  19. Thanks! But I know that there's a lot of places where I can improve it. I had some problems with the plural translation on some other pages but got a workaround. I still have to update the module and start using your news filter and macros. About my custom filters/macros, I have to refactor some of them, and I guess you probably have almost all of them but with different names. Thumbnail is just a dumb filter to get the page image and resize it, I actually not using it anymore, forgot to remove the commented code from the page. Here's the number_local and cutAt: And yes, I'm planning to get rid of the "noescape" filter in the future.
  20. I think I deleted it by mistake but thanks to you I put it back. And thanks for the tip of using spoiler! Much better indeed! I also changed the link so the new page shows all the code blocks with related stuff: https://ricardo-vargas.com/podcasts/cost-estimating-part-1-of-3/
  21. Many thanks for all your modules, @tpr! They are excellent and helped a lot! Yep, I was planning to replace TemplateAdminColumns in all templates but had to release the project before that. I do it later. The same thing about ALIF, I started using it before AOS I think, so I just kept it there. But what can I use to replace TextfomatterMultiValue ?
  22. Yes, @szabesz! Using @tpr's excellent Latte module for the whole site! Such a time saver! Take a peek on the podcast item template (ignore the indentation problems): And I forgot to mention that for the frontend I'm using Foundation framework with a couple of custom spacing and helpers styles like the ones you see on some tags like "u-mt48" (utility- margin-top of 48 pixels)
  23. Thanks, @Robin S! Yes, it's a great feeling! After everything was running apparently fine, it was like removing a heavy weight from the shoulders. The project took more time than as I was expecting for some reasons, it was developed in "waves" as I have to stop it for 2-3 weeks many times to handle some other of our projects. I didn't track the time but I can estimate that if done without stopping, it would have taken at least 9 months. But now that I know more about PW's advanced features, like building modules and how to create a member area, it would take 33% less time I think. The project has 66 templates and 1849 pages so far, some of them with lots of content like the ones on Consulting and Training sections, so a lot of time was spent importing content. -- Very strange you had problems in the book section rendering, could you tell me what browser you used? I'm using a Mac and also tested in Firefox on Ubuntu and Edge and IE11 on Windows 10.
  24. Hi guys, after several months I finally released my most complex ProcessWire project so far: https://ricardo-vargas.com About the client: Ricardo Vargas is a specialist in project management and strategy implementation. He's an accredited professional and author of several books. Since 2007, he publishes a bilingual podcast about project management with millions of episodes listened. From 2012 to 2016, he worked for the United Nations Office for Project Services (UNOPS) in Copenhagen, Denmark. He currently lives in Portugal. The previous site was developed in 2009 using Wordpress by my team at the agency I was working for. In 2011, Ricardo invited me to work with him and I started to maintain the site ever since. The front-end side was good, performance-wise, but the backend started to become horrendous to work with so in 2012 I started my quest to find a better CMS and found PW. After developing small projects and messing around with it I convinced my client/boss last year to let me develop his new website with PW. I did all the stuff (design, frontend, backend, and server ops) so if you find something buggy or strange, let me know, please! I'll appreciate! The site is currently running on Digital Ocean droplet with 2GB of RAM. Nginx and Cloudflare (for SSL mostly). I'm using forge.laravel.com to manage it. Approx. 3,000 unique users per day doing 72,421 requests (Cloudflare stats). Key features: Pages are loaded with ajax using https://github.com/miguel-perez/smoothState.js so the podcast player (Soundmanager ) can continue to play the podcast episode as the user navigates other pages. Member area where the user can see the books his own (and download their files) and also see his bookmarks and reports. I imported and the users (+ 4k) from the WP database and decided to get rid of passwords (the future!) so after some research and tests, I chose Auth0 login system. I've mentioned the member area on this topic (there are a couple of screenshots there): Modules used AdminLinksInFrontend AdminOnSteroids AdminTemplateColumns Auth0Login (Custom made) BatchChildEditor ClearCacheAdmin FieldtypeRuntimeMarkup FlickrAPI (Custom made) FormBuilder InputfieldCKEditor MarkInPageTree MarkupLoadRSS PageReferencesTab PageViews (Custom made) PduReport (Custom made) PrevNextTabs ProCache ProDrafts ProcessDatabaseBackups ProcessJumplinks ProcessSendyAPI (Custom made) ProcessWireUpgrade ReaderAreaManager (Custom made) SlideshareAPI (Custom made) TemplateLatteReplace TextformatterAccordion TextformatterHannaCode TextformatterMarkExternalLinks TextformatterMultiValue TracyDebugger UserBookmarks (Custom made) WireMailMailgun importPagesCSV
  25. Hi @noelboss, welcome to the forums! You should have installed the necessary fields and module instead, and their install process will take care of everything. As the documentation says:
×
×
  • Create New...