Luka

Luka

Member Since 3 Years Ago

Experience Points
4,150
Total
Experience

850 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed
17
Lessons
Completed
Best Reply Awards
0
Best Reply
Awards
  • start-engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber-token Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist Created with Sketch.

    Laracasts Evangelist

    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.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

Level 1
4,150 XP
Oct
18
3 months ago
Activity icon

Started a new Conversation Set Permission For Different Methods In Controller When Using Spatie\Permission

Hi, I am using Spatie permissions and I set up Permissions for specific Methods in the Constructor of my Controller.

  1. All Methods should be protected besides the verifyUser()
  2. All other Methods should only be accessible by the Super-Admin or the User Admin
  3. 1 Method getAllUsers() should be accessible by the Super-Admin, the User Admin or the Event Admin

The below seems to cover #1 and #2. How do I have to change it to say that role:Event Admin should be allowed to access getAllUsers() but not the other Methods?

   public function __construct() {
    
      $this->middleware(
             ['role:Super-Admin|User Admin'],
             ['except' => ['verifyUser']]
       ); 

    }
Sep
06
4 months ago
Activity icon

Replied to Laravel 6 On Shared Hosting Not Working

You mean the Hosting company?

Activity icon

Replied to Laravel 6 On Shared Hosting Not Working

5.6 worked fine. 5.7 and 5.8 came up with a very strange issue that it would send Mailables, but not the "resend Verification" Notification. The "Forgot Password" Notification works as well. When I change the Mail settings to use maitrap, then the Resend Verification would be send. I am trying to find a solution for this since 4 month, but no luck so today I tried to install Laravel 6 to see if that would work, but now got that issue. I tried it before with a fresh install of 5.7 and then the notification was send, but why it would work with maitrap but not with the Mailserver settings from the Hosting company? I really don't understand it.

Activity icon

Replied to Laravel 6 On Shared Hosting Not Working

Yes, 5.8 was working.

Activity icon

Replied to Laravel 6 On Shared Hosting Not Working

No, I have installed everything locally and then uploaded all the files to the shared hosting, but when I open the Website I get that error shown.

Activity icon

Started a new Conversation Laravel 6 On Shared Hosting Not Working

I have installed Laravel 6 all day long and just moved it onto a Shared Hosting Server. Unfortunately I get the error "The Process class relies on proc_open, which is not available on your PHP installation." It is actually disabled and Customer support did tell me that this can not be changed for security reasons.

Is there any way to get around it or does it mean I can not use Laravel 6 on Shared Hosting?

Aug
30
4 months ago
Activity icon

Replied to How To Replace Laravel 5.7 Verify Email Notification With View

I have to dig this out again, since I never solved it. My "Verify Email" is actually a HTML "Welcome Email" with Username and Password inside and a lot of blah. I also have the "Verify Email" Button inside of it. All this is a Mailable and I use a HTMl View.

The problem I still have is to create a temporarySignedRoute. When I use the built in Verify Email Notification then it uses the Notification ID, I guess that is given when a new Notification is created. Anyway, I don't create a Notification so I have to use a different number, but what would I use and would the automatic check if that SignedRoute is valid still work, mark the User as Verified or would I have to hook into that as well and write my own check? When somebody ignores the Verify Email Button in the Welcome Email and instead tries to log in directly then they obviously get the message shown they first have to verify and click if they want a new verification email, in that case I do want to use the simple Verify Email Notification and not send out a new Welcome Email. I am just lost with this and any hint is very welcome.

Aug
28
4 months ago
Activity icon

Replied to Laravel 5.7 Resend Verification Email Not Working On Server

Hi everybody, I have still not been able to fix this problem. Everything works on localhost, but on the server I can send Emails but the Verify Email is not send out. The Sourcecode I am using is above. I have in the meantime updated the code to Laravel 5.8 but the problem is still there on the server.