Jump to content

rick

Members
  • Posts

    646
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by rick

  1. I like that automated script setup. I just finished a new manual vps LAMP setup and documented my particular procedure so that I could create my own automation script. When I say, my process, it's nothing fancy. Doing tasks by memory is error prone, and I've overlooked a few necessary modules in recent months. There is a reason an aircraft has checklists. The same should apply to a server configuration. Now I'll be looking at this script to see what I need to add for my process. I started with FreeBSD in the 90s simply because it is original and not bloated. Then I went with Debian for quite a few years, and for a number of years now run Ubuntu Server (recently 20.04 LTS). All three are great even today. The server version of Ubuntu is easily maintained since updates only apply to the programs you installed, such as imagemagick, curl, http2, etc. There isn't any default gui stuff to get in the way. So this default out-of-the-box setup is quite sufficient now and in the foreseeable future.
  2. You can certainly use a cart but for three options you could also use a paypal "buy now" button.
  3. When you say bookable product, do you mean something like a time-share, or a seminar? Is the price the same per product regardless of any booking data?
  4. You can use the hasRole method to test whether the current user is "admin" to determine if a field should be required.
  5. Because when you use the trigger "fa-" and select the desired icon, the trigger gets replaced with the icon name. For example: fa- (select cube) then entry becomes "cube" rather than "fa-cube". The setting I posted prevents that replacement.
  6. Ensure this setting is present "fontAwesomeAutocomplete.disableTriggerWordAutoClearPatterns": ["**/*.php"],
  7. Hello @MilenKo, My bad. I apparently skipped right over the front-end spec in the title. What css framework are you using for the front-end? For example, bootstrap. The only difference between the back-end and the front-end is you have to do the manual procedure on the front-end. So, add the fields that you require to the user template. You populate whichever fields after registration/confirmation. When the need arises for a user to edit their profile, simply present a form with only the fields they are allowed to change. Users are accustomed to working with a complete form rather than clicking a fieldname in a list to add or edit the field data. Especially if there are quite a few fields. Hope this helps. PS. Thanks! Dogs are the best. They don't care what kind of day you had, they are always glad to see you. In fact, lock your dog and your girlfriend in the trunk of your car for an hour, then let them out and see which one is glad to see you.
  8. Since you didn't specify whether this was a front-end interface or back-end, I'll assume you want this functionality on the back-end. You can add whatever fields you want to the user template. Then you can enable fields the user is allowed to edit from the Modules > Configure page by selecting the Settings button for the User Profile option. Let us know if you want something similar on the front-end.
  9. Hello @creativeguy, First, my condolences to you and his family. I applaud you for carrying on with the sites you and he built together. Second, don't worry about the adult theme. I have a number of client sites that are adult only. (Also nothing dark :D) Lastly, since you are versed in PHP, why don't we see if we can get you up and running. This forum is full of knowledgeable people that are more than willing to help get you set up. Let's start at the beginning. When you say that you cannot make a local copy work. Did you "copy" all of the files from document root to your localhost? What error message(s) are you getting when you attempt to access localhost? Do the messages indicate a problem connecting to the database? Do you stay in an endless loop trying to login? Also, an FYI, The config.php will be different on localhost than on the server, and possibly the .htaccess file as well. Give us some more information to go on so we know where to look. Best regards,
  10. Are you referring to Tracy's the PW Debug panel > PDO Queries?
  11. Howdy @cstevensjr This sounds familiar in that I seem to recall similar symptoms mentioned in the forum (but cannot locate it) which I believe turned out to be related to permissions. I think it was due to the host running a script that inadvertently changed the permissions. I'll post the topic if I can locate it. In the meantime, can you verify if set_time_limit has been disabled on that account?
  12. You aren't saving the redirect_last field. Also, I don't think it is necessary to test the counter prior to redirecting. Try this and see if it fits your needs. if ($input->urlSegment(1) === 'redirect') { $page->of(false); $page->redirect_last = time(); $page->redirect_counter += 1; $page->save(); $session->redirect($page->website_url, 302); }
  13. Well then I'll remove ovh option. ? I haven't used ovh, it was the only other European provider I could think of at the time. Nice site!
  14. I recently started using EthernetServers based in the UK. Talk with George and he will get you setup quickly. You can also look into ovh (which I believe is based in Sweden???) but like ES have datacenters around the world.
  15. Holy cow! This is freakin' awesome! Thanks @Wanze and @flydev ??
  16. Howdy @darkanglesima(Seema) and welcome to the forum! You'll find this community very active both in development and in strategy. Feel free to ask any questions. There will be many to contribute. As for me, I'm an old-school programmer since the 70s. I currently work primarily as a SaaS developer so I don't design web sites per se as there are many far more skillful people that do a much better job than I. I've contracted with IBM, Strategic Air Comand (B-1B), and various federal financial organizations. I am a diver, pilot, amateur radio operator, fisherman, and drinker of fine scotches. Not necessarily in that order. ? Again, welcome and enjoy!
  17. @adrian. Just an fyi, I just upgraded tracy. Looking at the Adminer settings, it presents the check for update option. However, selecting that option returns the following error: ProcessModule: Error reported by web service: That module is not currently tracked by the modules directory Is it necessary to have the check for update option for adminer?
  18. Hi @johnstephens, The reference to 11067 in your path represents the page id, so you can't create your own identifiers for the folder names and have them each refer to the same processwire page. But since your application is using the current page ($page->id) you could either create unique filenames or add a unique identifier as a tag to each file, then reference the filename (or tag) for inclusion in the attribute. Using tags might be the simplest route if there are no other tags being used. If there are other tags, you might want to use a custom field for those files as your reference point.
  19. I haven't worked with mongo in years. From what I remember it is not a SQL type database, rather a document (json) type database. As such there is no "driver" to connect the database to ProcessWire as with PDO (Unless things have changed in those years). That being said, you could write a json parser to import the documents from mongo to create pages in PW. You say that you are not a developer, so this task will be quite complex, depending on the document references. I would not recommend you take on such a project. Is it possible to hire a developer to accomplish your task? (Assuming you want to migrate from mongo to mysql).
  20. I'm not sure where to post this so I've placed it here. I'm currently trying to clean up an application. By clean up, I mean removing all php notices, warnings, blah blah blah. When uploading an image, php uses a tmp_name without an extension (but does include the dot) eg, abcfedphp. This produces a php notice from Pagefile.php relating to the missing extension reference on lines 216 and 219. I'm not going to be changing any core files. How would you address this?
  21. It's not that you need to learn at least one programming language, rather that you start with the concepts (ie, Object Oriented Programming, server configurations, etc.). Once you have a good grasp on the concept, the programming language you choose will feel effortless. You will be in a better position to decide which language best suits your project. Just my $.02
×
×
  • Create New...