Member Since 3 Years Ago
4,090 experience to go until the next level!
In case you were wondering, you earn Laracasts experience when you:
Earned once you have completed your first Laracasts lesson.
Earned once you have earned your first 1000 experience points.
Earned when you have been with Laracasts for 1 year.
Earned when you have been with Laracasts for 2 years.
Earned when you have been with Laracasts for 3 years.
Earned when you have been with Laracasts for 4 years.
Earned when you have been with Laracasts for 5 years.
Earned when at least one Laracasts series has been fully completed.
Earned after your first post on the Laracasts forum.
Earned once 100 Laracasts lessons have been completed.
Earned once you receive your first "Best Reply" award on the Laracasts forum.
Earned if you are a paying Laracasts subscriber.
Earned if you have a lifetime subscription to Laracasts.
Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.
Earned once you have achieved 500 forum replies.
Earned once your experience points passes 100,000.
Earned once your experience points hits 10,000.
Earned once 1000 Laracasts lessons have been completed.
Earned once your "Best Reply" award count is 100 or more.
Earned once your experience points passes 1 million.
Earned once your experience points ranks in the top 50 of all Laracasts users.
Replied to Laravel Nova Docker
Not really because doesn't give me not error.
Started a new Conversation Laravel Nova Docker
Hello there, I been Using Nova for more than a year and I do love it. Just now I did a migration to a new server and I decide to migrate my Laravel App to a Docker Containers and All is working fine but Nova is not login at all (Refresh without giving error). I can not find this issue in not forums that means that i am the only stupid that have this problem. Can you point me in the right direction? I cannot find it in not forum. I think is a problem with the ssl using lets-encrypt but my front-end login is working fine. In case I will add a few of the details that I use in my docker-compose service Ngnx. But all this is working fine just with the other website that I have just is the Laravel Nova Back-end this is why doesn't make sense
I do use Nginx-proxy-Manager to direction all the websites.
proxy: image: jc21/nginx-proxy-manager:latest restart: always container_name: proxy ports: - 80:80 - 443:443 - 81:81 volumes: - ./config.json:/app/config/production.json - ./data:/data - ./data/letsencrypt:/etc/letsencrypt depends_on: - db #Nginx Service For Development Only site: image: nginx:stable-alpine container_name: site hostname: website.test ports: - "82:80" - "1443:443" volumes: - ./src:/var/www - ./nginx/conf.d/:/etc/nginx/conf.d/ - ./nginx/certs/:/etc/nginx/certs/ depends_on: - php - mysql networks: - website
Started a new Conversation Validation In Static::Creating
Hello Everyone, I am not an amazing programmer, I am a just a dancer trying to do some app for my dance school, then I am sorry if the issue is too stupid.
In my I app I have App\Registrations when I register a student to the course (Activity) fill a Laravel Nova form where with:
user_id BelongsTo User partner_id BelongsTo User course_id BelongsTo Courses
Now that is easy, I did that when I create a registration the student can select a partner and if is selected in boot static::creating I add a new row with the partner registration, I have to do it this way because I have more fields in the table like paid and maybe the student did paid but not the partner then i decide to replicate the reservation with a few changes.
Example: user_id = 1 partner_id = 2 course_id = 3
create a new row with user_id = 2 partner_id = 1 course_id = 3
Now I would did a function to check if the User or Partner are ALREADY register to the course as a user or as a partner. but imagine that the partner register later alone to the same. I would like to check before that he is not register to not have duplicated registrations, of course in front end I can use the Controller to check if he/she is registered but not with Laravel Nova Form.
Then I was thing to create a Validation in the boot but the if I place Unique user_id the user can not register to another course_id then I have the same problem would be amazing that in the Model I have a beforeCreating function or something like that.
Remember that I am not that good and maybe the answer is really stupid, the good thing is that laravel is making things so easy that people like me can do good things.
Thanks you all. Inaki
Hello, Did you find the way to stop the creating? I am using Laravel Nova and I want to check if one of the Rows that is a Depending unique row from another row exist and if it does stop the creation. For that I can not use the controller obviously because I have not access to it with Nova.
Would be great something like public function beforeCreating($model)
Hello, I have the same issue and I do not have a resource all Actions.. I do have one that is cal Act. But is not the one that is showing in the Global search.