-
Posts
650 -
Joined
-
Last visited
-
Days Won
6
Everything posted by rick
-
It is a security risk by exposing the url to login to the admin side of Processwire to people that don't require access. Ah-ha! ? Everyone here has been at the starting gate, but I have trouble getting out of the gate. LOL. The first thing you should know is that Processwire is not like *any* other CMS/CMF. Specifically, the terminology may be confusing at first, eg, "Page". I would recommend that you read up on the getting started topics of this forum, and read the articles they may link to. I know, it's the boring part. Believe me, you will sleep better when you understand how PW works.
-
Hi @DaveC, Is there any reason you have the admin login link in the footer? If you are the only person logging in to the admin, then I would suggest you remove it. If there are others who must log in, then I would suggest you create your own login and redirect a valid user to the admin page.
-
Nevermind
-
Hi @Greg Lumley, Implementing a "user admin" on the front-end isn't difficult because of PW's API -- In theory, that is. If you aren't familiar with PHP, or aren't familiar with the API, then it obviously will be a little more difficult. You can ask any questions here in the forum and a plethora of highly-skilled programmers will be glad to help. That's another big selling point with PW vs any other. The community support is second to none. The following is an example break-down of one of my sites. I have one site where specific users have the only permissions to access specific pages. All other users could only view pages. Think of it like the *nix RGE permission structure, where Root is super user, Group is any registered user, and Everyone else is a guest just visiting. PW initially gives you the Root and Everyone roles, so you will need to add the Group role. You can name it what you want. And since I don't let *any* user access the PW admin, I don't need to specify any permissions, such as page-edit, etc. I use Processwire's built-in page management to further limit a user to only their pages. Specifically, all pages have a created_users_id, and other information that is saved each time a page is created or updated. So when a user wants to create a new entry (page) their $user->id is assigned to the created_users_id property. Now I have a one-to-many relationship between a user and all of their pages. I also have different sections where a user can create a page. For example, when a user logs into my site acme.com, they can create a page under "high-explosives", and another page under "jet-powered devices". They may not wish to create a page under any other section. Each section has it's own template, so I can easily use selectors to retrieve the user pages by section, or even retrieve all pages. The front-end "user admin" interface is simply a two column layout with a menu on the left and the content on the right. I use the Group role to determine the menu options. I obviously don't want one user viewing details of another user, except for me as super user (Root). This also restricts the admin page(s) from view by the Everyone (Guest) role. I also have a drill-down capability from this initial user admin page to get more specific details. Each user can manage their own personal data page as well. That is the basic overview. The next thing are the modules. If you do not have your own login system then I would recommend LoginRegisterPro as it covers all the bases (register, login, forgot password, etc.) that you will need for your user access requirements. I am currently looking into implementing @bernhard's RockFinder3 module to handle queries because I have many users and they each have many pages and I want to be as efficient as possible. You must have TracyDebugger. That is a requirement (should be in core ? ). It will save you many hundreds of hours of scratchin' your head. You may elect to use other modules, such as caching, etc. These are just the minimum I would recommend for a project like yours. I hope this helps.
- 5 replies
-
- 4
-
-
- classifieds
- subscriber
-
(and 3 more)
Tagged with:
-
Do you want this functionality available from the front-end or only from the admin side?
- 5 replies
-
- 1
-
-
- classifieds
- subscriber
-
(and 3 more)
Tagged with:
-
Hi @stemalo and welcome to the forums. You don't provide any details about your setup so I can only give you a general search, "site:processwire.com/talk super user has never logged in". This returns quite a few results regarding this topic. Maybe you can post your results when you find the one that solves your issue.
-
Hi @adrian, I've been cleanin' up my latest project and noticed this warning: Cookie “tracyClearDumpsRecorderItems” will be soon rejected because it has the “sameSite” attribute set to “none” or an invalid value, without the “secure” attribute. To know more about the “sameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Cookies I don't know if it means anything. If so, great. If not, please ignore this post. ?
-
Hello @hellerdruck (Roli) and welcome to the forum. This sounds like a standard distributorship application, which ProcessWire is more than able to handle. As bernhard said, it will depend upon your skills, whether you want to approach your task from a 'front-end' or from the admin interface. Jump in with any specific questions, and a whole bunch of knowledgeable PW developers will be glad to assist you.
-
Wow! I'm blown away with Processwire, incredible!
rick replied to Greg Lumley's topic in General Support
Welcome to the forum @Greg Lumley! Another great aspect of Processwire vs any other is this forum itself. You have access to many great developers that have been using PW for many years and their depth of knowledge will benefit you with whatever you want to create. So jump right in with any questions! -
The only thing I know about hooks is to catch fish. ? You might take a look at @kixe's module color field to see how it was done there. Another option, if you have a limited selection is to use individual pages for each color.
-
[SOLVED?] $pages->uncacheAll() doesn't seem to be working.
rick replied to elabx's topic in General Support
I am not familiar with AWS, but I am going to be using it with an upcoming project. My hesitation is based on other users having resource usage climb to higher price points based on AWS metrics. Meaning that AWS escalates usage parameters to move users into higher price brackets. It is only hearsay, so I don't have personal experience. @elabx, Do you think this is the case with your setup? -
Thanks for the links. I haven't looked into sockets in quite some time, but I do have an upcoming project to use this with. Thank you!
-
Except it requires composer to install. ?
-
If the post fields are present, maybe check the spelling of the fields in $input->post("var_name")? I know it sounds simple, but I sometimes misspell the field names and wonder why I don't get the values submitted. Maybe that's just me. ?
-
Hey, we all make simple mistakes at times. No worries though. There are many members here that will gladly help you get your site up and running. [edit] You can edit your original post and add [Closed] to the subject line.
- 5 replies
-
- 2
-
-
- css
- animations
-
(and 1 more)
Tagged with:
-
Hello @picarica and welcome to the forum. View the page source of your site and you will see a couple if issues. When you say you made php changes so it would work, what changes did you make? Are you sure you have the correct CSS files referenced in your header? Javascript files? You should not have any issues applying a 3rd party theme to processwire. It is actually fairly simple once you have your structure set up. Have you followed any of the tutorials for your site structure? If you are still having problems, then please post back here. We will need more information so we can better answer your questions.
- 5 replies
-
- 1
-
-
- css
- animations
-
(and 1 more)
Tagged with:
-
I guess I go about things backwards. ? I design the front-end based on content and what features are required, then I select the css framework that best suits it. Meaning, I'm lazy, and pick one where I have the least amount of work to do. I mostly use bootstrap, but have been using w3css with the past couple of projects.
-
Howto make dynamic website with Processwire?
rick replied to uncle_bobson's topic in Getting Started
If I understand you correctly, you are looking to add Ajax updated section to your page. This is indeed possible, See Here for an example. If by chance you are using vanilla javascript then check out this post. -
Hi @ngrmm, You don't have to assign a boundary, that should be done automatically by the email module when an attachment is recognised. I was referring to troubleshooting by looking at the headers to see if there was a boundary id for an attachment. You shouldn't have any issues if you follow the WireMail api examples. Specifically, $m->attachment('/path/to/file.ext'); indicates your attachment should be the path to the file. You would therefore write out your ICS file and use the resulting filepath.
-
Where does filename come from? header("Content-Disposition: attachment; filename={$filename}.ics"); Why are you assigning an attachment that is not a file. $m->attachment($ical_data); Is the attatchment boundary defined ?
-
Webhosting in Germany -Any recommendation for Processwire site
rick replied to Knubbi's topic in Getting Started
You can try m3server -
Webhosting in Germany -Any recommendation for Processwire site
rick replied to Knubbi's topic in Getting Started
I have not had personal experience with these, but they were recommended to me. vultr (Germany) upcloud (Finland) ovh (Central Europe) linode (Frankfurt) Hope this gives you a good starting point.