Jump to content

photo contest website


angelo, italy
 Share

Recommended Posts

Hi guys,

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.

Thank you!!

 

 

Link to comment
Share on other sites

Processwire is light years ahead compared to Wordpress. It depends however on your dead line. When does it need to be ready ? If you just started with Processwire it is going to take some time before you know how to handle it's potential.

Link to comment
Share on other sites

We have used ProcessWire for exactly this many times.

It's VERY straight forward using the API. Now, if you don't feel confident in PHP then I would still suggest using WordPress and a plugin, but if you are willing to learn, it will be absolutely worth it as you can built it exactly how you want it and you can use the skills you have learnt for building other things in future. 

The ProcessWire API is very versatile and consistent, this means learning a way to do one thing such as using hooks gives you worlds of knowledge to do other things. It doesn't take long to pick up the entire API as it's very straight forward. 

If you need any help, let me know.

  • Like 1
Link to comment
Share on other sites

16 minutes ago, Tom. said:

We have used ProcessWire for exactly this many times.

It's VERY straight forward using the API. Now, if you don't feel confident in PHP then I would still suggest using WordPress and a plugin, but if you are willing to learn, it will be absolutely worth it as you can built it exactly how you want it and you can use the skills you have learnt for building other things in future. 

The ProcessWire API is very versatile and consistent, this means learning a way to do one thing such as using hooks gives you worlds of knowledge to do other things. It doesn't take long to pick up the entire API as it's very straight forward. 

If you need any help, let me know.

 

1 hour ago, pwired said:

Processwire is light years ahead compared to Wordpress. It depends however on your dead line. When does it need to be ready ? If you just started with Processwire it is going to take some time before you know how to handle it's potential.

How long? I'm confident in front-end but no php...... 😕

Link to comment
Share on other sites

7 minutes ago, angelo, italy said:

How long? I'm confident in front-end but no php...... 😕

It would be impossible for us to give a time scale on your speed of learning. For the entrance fee if you use https://www.foxy.io/ - you could have something like this built in two weeks (judging that your learning as you go along). I would also encourage you to learn AJAX if you don't already know it as it would help improve the user experience for this. 

Link to comment
Share on other sites

28 minutes ago, Tom. said:

It would be impossible for us to give a time scale on your speed of learning. For the entrance fee if you use https://www.foxy.io/ - you could have something like this built in two weeks (judging that your learning as you go along). I would also encourage you to learn AJAX if you don't already know it as it would help improve the user experience for this. 

thanks Tom!

Link to comment
Share on other sites

Quote

I'm confident in front-end but no php......

Here is the good news ..... you don't need to be a full blown php coder to start using Processwire. Neither you need to be an expert in javascript.

Even with the php basics you can already start making websites with Processwire e.g.

<?php

echo "this";
echo "that";
echo "<img src='$image->url' alt='$image->description' />";

access a page

$pages->get("/path/to/page/");

output your pictures in a gallery

foreach($page->images as $image) {
$large = $image->width(500);
$thumb = $image->size(100, 100);
echo "<a href='{$large->url}' rel='lightbox-smarts'><img src='{$thumb->url}' alt='{$thumb->description}' /></a>";
}

?>

Some basic php syntax stuff
https://processwire.com/docs/more/why-php-syntax/

Did you already go through the Tuto's ?

Start it up with Processwire
https://processwire.com/docs/start/templates/

Processwire Tutorials
https://processwire.com/docs/tutorials

A good read about Processwire and WordPress
https://www.ionos.co.uk/digitalguide/hosting/cms/processwire/

Anyway, you are not going to find any better api out there than the Processwire api.

Feel free to always come back here and ask questions.

 

 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Similar Content

    • By ErikMH
      I’m new to Processwire. I’ve installed the current release version at my very-long-time (25 years) host, pair Networks. MySQL db is created. Installation process completed with no errors.
      I’m now trying to log in. Rather than taking the default `/admin` suggestion, I chose `/xyzzy`. When I go to `example.com/xyzzy`, PW displays a login screen, as expected. I enter the username (`xyzzy`) and password that I assigned (and copied and stored in 1Password) in the installation process (five words separated by hyphens). So far, so good.
      I would expect then to be taken to the admin pages. Or (if I got something wrong) to be given an error message. Instead, I’m taken to the URL `example.com/xyzzy/page/?login=1`, which as far as I can tell is exactly the same as the initial login page. No error is given.
      I grew so frustrated by this, that I deleted the entire installation and the MySQL database, re-downloaded PW, installed it again using a different username and password for the admin account.
      And I’m seeing exactly the same behavior. Time for me to ask you experts: WTF?
      Many thanks for any insights you may have....
       
    • By Marvin
      Hi,
      I'm still new at processwire, i want to ask, i was create a website with sign in system, but i want to add a access roles/permission for each user at my website. For now, i just can create a login user without any permission and the user data became as a pages in my processwire.
      Here i attach my code for login
      <?php $note = $note2 = $hidden =""; if($input->get->id == "logout") { $session->remove('login_id'); } if($input->post->submit) { $email = $sanitizer->email($input->post->email); $pass = $sanitizer->text($input->post->pass); $result = $pages->find("email=$email, text_1=$pass"); if(!$email || !$pass) { $note = "Data belum lengkap"; } else { if($result->count > 0) { $session->login_id = "$result"; $hidden = "style = 'diplay:none'"; $url=$pages->get("/files/")->httpUrl; header("Location:$url"); die(); } else { $note = "Akun tidak ditemukan"; } } } ?> And this code for login form
      <div class="frow-container"> <div class="frow centered mt-50"> <div class="col-md-1-3"> <div class="box p-40 shadow-light"> <h2 class="mb-20 text-center" <?=$hidden?>>Database Partitur<br>GII HIT</h2> <form method="post" <?=$hidden?>> <label>Username <input type="text" name="email"></label> <label>Password <input type="password" name="pass"></label> <input type="submit" name="submit" value="Masuk"> </form> <p class="notif"><?=$note;?></p> <div class="text-center"><?=$note2;?></div> </div> </div> </div> </div> Just for remember, my user data now is a pages, and i cannot give any permission to user data.
      Thank you very much for help.
    • By kyksh
      Hi!
      I need users to login by their email address. This works when I change the value in ProcessLogin.module
       122     protected $useEmailLogin = null;
      to
      122     protected $useEmailLogin = true;
      What would be a recommended way to enable this?
      There's this line in ProcessLogin.module:
        15  * @property bool|int $allowEmail Whether or not email login is allowed (0|false=off, 1|true=Yes, 2=Yes or name also allowed)
      But I can't figure out how to set this. I tried next to $useEmailLogin in ProcessLogin.module and in config.php, but neither takes effect.
      BTW I tried module LoginWithEmail but it seems outdated. My PW version is 3.0.165
    • By jploch
      Hey folks,
      Iam working on a new Admin Theme, based on AdminThemeReno, which I would like to release for the public soon.
      Now I want to style the login page to fit the look and feel of the backend.

      After some research, I found out that I have to set the "$config->defaultAdminTheme = 'AdminThemeName' " inside my site config.php file to load all the styles from my admin theme on the login page instead of the default ones.
      Is it possible to set this via api from my Admin Theme settings, without the need of editing the config file?
       
    • By DanielKit
      Hi. I'm currently stuck at the login page in my project. Once I enter my admin username and my password and press login, nothing happens. The page just reloads. However, the URL changes from http://myipaddress/processwire to http://myipaddress/processwire/?login=1. I've checked all of my server settings, and to my knowledge, all seems to be fine there. I don't know where to go from here.. Thanks in advance!
×
×
  • Create New...