Recently Browsing 0 members
No registered users viewing this page.
By angelo, italy
I've always used WP but I want to swtich to PW. I'm not sure ....
I'd like to know if it's possible to create a website for an online photo contest.
The participants of the competition could create their own account, in which they upload their photos. The photos uploaded remain visible only to themselves and the judges.
From their account they can make the "entrance fee" payment.
The judges of the competition can create their own account... entering they see the photos of the participants and vote photos
At the main page I imagine the title of the competition, a button to read the regulation, and a button to register.
The website should be in Italian and English.
By Peter Knight
This is probably more a server issue with Plesk etc but relates to Processwire.
I have a very long web form which takes the average user 3-5 minutes to complete. I know it's crazy but it's a client-driven thing.
Occasionally, my client has been emailed by users that when they eventually his Submit, they get a general 500 server error.
I did some research and looked at some logs and it seems to be some type of time-out issue. I guess that makes sense if the form takes minutes to complete as the first two fields of the web form are attachment uploads. I'm thinking that attaching files establishes some type of session but that session expires by the time the web form is actually submitted.
Does that sound plausible enough?
I plan to suggest moving the attachment fields to the end of the email, disabling the webform CSFR too and seeing if things improve.
Does my theory about file uploads and session time outs sound plausible?
I want to customize the mywebsite/processwire/profile page. It's almost all good but I want to get rid of the sections 'Admin Theme' and 'Language' so that the user can just set a new password. (see image)
Do I have to modify the admin template or how can I do that? Because when I go tree>Admin>Profile there are no fields to add or remove.
Or where can I find the php file?
I would appreciate your help.
Reference: PW 3.0.111 and uikit3 based site using the Regular-Master profile.
I'm trying to automatically redirect a logged-in user to a custom profile page using $session->redirect() and need to add $user->name to the redirect path.
All my attempts appear to have failed:
$session->redirect('/user-profile/')->name; $session->redirect('/user-profile/')->$user->name; $session->redirect('/user-profile/' . get($user->name . '/')); $session->redirect('/user-profile/' & get($user->name)); Can anyone point out where I am going wrong?
Hello, after creating an array and assigning it to a variable in session:
$order = array (); $order['token'] = 'token'; $order['product'] = 'product-name'; $session->order = $order; I try to insert another item:
$session->order['price'] = 'price'; But it doesn't work:
Notice: Indirect modification of overloaded property ProcessWire\Session::$order has no effect in... Isn't possible to modify such session variable? I could build another array from the session variable, add the new item, and then store it again in session, but doesn't looks good.