-
Posts
3,023 -
Joined
-
Last visited
-
Days Won
20
Everything posted by szabesz
-
One either uses standard GUI design so that visitors will not get lost and find their way around the website quickly or start to introduce unconventional GUI elements to showcase how creative one can be. The more unconventional UI one starts to use the more disorientated the visitor gets. This site pushed it to the extreme so it is really hard to find your way around in a pile of eye candy.
-
https://processwire.com/talk/topic/17707-php-in-2017-rasmus-lerdorf-wearedevelopers-conference-2017/ You might want to watch it from 02:42 PHP was meant to be a templating language only (which it is still today) on top of the business logic written in C but as it turned out, nobody wanted to write and compile C. Sure, these days we have better alternatives when it comes to writing code that can be compiled to machine code but it still requires a lot more setup an configuration than to simply use PHP or Perl which are preinstalled on each webserver, ready to be used by writing a few lines of code or installing a CMS or framework in a few minutes. PHP is evolving and it is still a solid option for small or medium sized solutions and I guess 95% of the web belongs to those categories. Sure, when one is after a career of writing code for big companies (including big governments), PHP might not be the best language to practice. However, freelancers and small companies can still rely solely on PHP as far as running code on the server is concerned.
-
Maybe you want to consider other ways to get some funding. A quick idea is "croudfounding". I'm not suggesting using such a service because as far as I know they cost money, so maybe a dedicated PW forum thread under the topic Beer Garden will do. We send you money the cheapest way possible (bank transfer?) and you update the first post of the thread announcing who sent what. You can assign a random ID to each donator and that way only you and the donator can identify it (in order to keep this info private.)
-
And there are the so called "managed VPS" services where you get a preconfigured VPS, regular system updates, technical support and some other extras depending on the provider's actual offering.
-
Also cool Luckily I moved the site to a speedy VPS and the 1&1 account is cancelled. Since I prefer DropBox it would be great to be able to use the module for remote backups too. I have my own shared hosting account but that is a lot better one than 1&1's shoddy service. Anyway, I will test the current version with my account this weekend.
-
Cool Do you have a rough timing estimate for DropBox API v2 support?
-
Try ProCache and HTTP/2 https://caniuse.com/#search=http2
-
So true all what you've said @horst It is insane that we are sort of forced to adhere to google standards and not to common sense. However, I still find that content is king, so I do not push it too far optimizing things to google's liking. Instead, I tell my clients to write frequent news/blog posts. That works
-
I've been googling around and found these two as well: surveyjs Multiple Choice Quiz Engine
-
Thank you Adrian, this is what I need. I've long forgotten about it even though I did read your post. I've just refactored my code to take advantage of it and everything works as expected, great module as always! As for $u->sendEmail = true; I do not need it because my frontend form is not for creating new users but for sending an email to existing users. Why sending the same email? Because already registered users might have long forgotten how to login to the system so I want to send the same instructions no matter what. I will probably introduce a slight difference based on some simple logic but most part of the email body will be the same. For this reason I use the hook to completely overwrite $htmlBody which I find easier to implement than using str_replace and such to change something created in the RTE.
-
Hi Adrian, I have a question I implemented login via link base on @Ivan Gretsky's code snippet: https://processwire.com/talk/topic/13708-login-with-a-link-is-it-called-magic-link/?do=findComment&comment=155465 I'm also using your module so that the site manager creating the users in the admin does not have to send the very first email to the user manually. The module sends the email successfully but I have a two issues: While http://example.com/?user={id}&token={login_token} is turned into the proper "link", hardcoding the protocol+domain is not a good idea and {adminUrl} is not what I need. I also implemented a simple form asking for an email only. When submitted, the login token is regenerated for the user (associated with that email) and an email is sent with the new login link in it. It would be great to be able to base these two emails (mail sent by this module and mail sent by my form) on the same template, meaning they should be identical without me implementing them twice. My function to send the new link via email is dead simple: <?php function site_email_user_login_info($login_user) { createLoginToken($login_user); $login_link = createLoginLink($login_user); $mail = wireMail(); $mail->to($login_user->email); $mail->from('contact@example.com'); $mail->subject('How to login...'); $mail->bodyHTML("<html><body> <h2>Some dummy header</h2> <p>Some placeholder text. Blah-blah. Please click to login:</p> <a href='{$login_link}'>{$login_link}</a> </body></html>"); $mail->send(); } It is bodyHTML and the module's Email Massage which should be populated from the same source. Could you please give me some guidance on how to achieve this? Is it possible?
-
Module permissions for admin templates
szabesz replied to Jonathan Claeys's topic in General Support
Argh, I've just learnt what I was missing: logout+login for the user in question- 6 replies
-
- 2
-
-
- admin
- permissions
-
(and 1 more)
Tagged with:
-
Module permissions for admin templates
szabesz replied to Jonathan Claeys's topic in General Support
If "tab" means "main menu item" then I have the same issue. The user has access to the custom page attached to a process module but the menu item shows up for the superuser only. I've refreshed the modules a lot to no avail. Note that PW did not create the permission either like discussed here: https://processwire.com/talk/topic/276-creating-new-admin-page/?do=findComment&comment=1856 "In 2.1, PW doesn't install a permission and access to the Process is assumed if user has access to the page it's on. If you want PW 2.1 to behave like PW 2.0 and require a specific permission before it'll run the module, you want to specify it in your getModuleInfo function:" I had to create the permission manually. What else I'm missing? I'm stuck...- 6 replies
-
- admin
- permissions
-
(and 1 more)
Tagged with:
-
Thanks @SamC I understand that it can be easy to change UIkit's LESS variables, however, about 95% of the time I would be quite happy to leave this task to ProcessWire Why? Because I like the new theme the way it is, it is just that too much extra whitespace compared to Reno that bothers me, so why should I spend more time on it then absolute necessary? I'm not lazy, I just do not want to setup UIkit for each project in order to change one (or a couple of?) variable(s). I get your point and appreciate your help. We just need that setting somehow, I think Since: "ProCache 3.1.7 adds support for SCSS and LESS" https://processwire.com/blog/posts/pw-3.0.76-plus-login-register/ It might also be possible to recompile UIkit admin theme's variables if this support is also added to ProcessWire core somehow.
-
Same here, padding looks good to me rather than everything all squished up. 27" monitor at 2560x1440 with chrome at 110% zoom. Also use a 13" retina macbook (for sitting in bed lazy coding - my fave) and looks fine on that too So that is why we need that setting Seriously, using the UIkit admin smaller part of the GUI can be seen and used on the very same screen (compared to the classic Default and Reno themes). Some of us do not like loosing functionality (me included) even if it looks better that way.
-
@rick Did I have a same issue maybe? See: https://processwire.com/talk/topic/17714-pw-3083-–-core-updates/?do=findComment&comment=155578 What is the dependency in this case? I do not understand what went wrong. This was the first time I had run into this issue.
-
You are welcome! If it makes you feel better...
-
In this forum you will not find too many fanboys (ie. members) who are interested in comments like this. I do not know what "bigboys" mean but you should familiarize yourself with the philosophy behind the ProcessWire project: https://processwire.com/blog/posts/new-2.8-version-current-projects-and-pw-usage/ Quote from Ryan: "I'll be honest, I've never cared much about our usage numbers, as I'd be doing the same thing with ProcessWire even if there were just the two of us, you and me. I do this work because I love it, and I don't care about being popular. Popularity is a burden as far as I'm concerned. Our focus has always been to be the best CMS according to our standards rather than anyone else's. But it's also encouragaging to look at things outside every once in awhile and see that ProcessWire is becoming more and more recognized in this market." ProcessWire forum members are open-minded. You came here to insult them.
-
Maybe an indicator to show that there are inactive languages and when the user clicks it we get the tooltip? In a tooltip you have more room to use something else which can be better than a line-through.
-
I'm not quite sure what you mean. Do you list all languages when they are not visible? btw, HUN crossed out (aka line-through) looked like Arabic to me. I had to zoom in see what it is.
-
Payment base class + PaymentStripe + PaymentPaypal
szabesz replied to apeisa's topic in Module/Plugin Development
They have "USA CODE SAMPLE"s as well, eg: https://developer.moneris.com/Documentation/NA/E-Commerce Solutions/API/Refund?lang=php I guess it means US based companies are OK too, right? I am asking this because I still need to decide what to pick when I get to the ecommerce features of the site I'm still building... Have you already implemented ecommerce features for a ProcessWire site based on Moneris? I do not want to highjack this topic, btw... -
Generally agree, we just need less padding: https://processwire.com/talk/topic/17786-pw-3084-–-core-updates-installer/?do=findComment&comment=156119 Maybe by being able to set it in the config? That would be great.
-
Please do not! Don't be like Apple who keeps removing useful features from the system Jokes aside, this module has not yet received the attention it deserves but things can improve any time. For example as soon as I have the time to implement something useful I will surely contribute.
-
Flexible input forms on a budget and with limited coding required
szabesz replied to Kiwi Chris's topic in Tutorials
Thanks for sharing this tip! I will try it out as soon as I have the time but I already have one question: how do you fight nasty bots when this setup is used? -
@flydev Thank you so much for this module! Just a side-note: please consider turning the next version number to at least 0.1.0 or better yet 1.0.0 (I do not think this module is in beta state as it is stable. It might lack some functions you have not yet found the time to finish but those can be pointed out in the read me and not in the version number ) We have a recent discussion about this and it seems to be beneficial to use semver 2.0 : https://processwire.com/talk/topic/17767-module-release-notes/?do=findComment&comment=156350 And for those who doesn't already know I would like to point out that Duplicator is not just about duplicating but making regular backups (via (lazy)cron).