frezno

frezno

Member Since 5 Years Ago

Munich, Germany

Experience Points
160,840
Total
Experience

4,160 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
1456
Lessons
Completed
Best Reply Awards
40
Best Reply
Awards
  • start your 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-in-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 Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist 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 33
160,840 XP
Apr
27
2 months ago
Activity icon

Replied to How To Do This Query ?

@farnous GROUP BY must appear after the WHERE clause

Mar
04
4 months ago
Activity icon

Awarded Best Reply on Sweet Alert Is Not Working In Laravel Framework 6.9.0

@abdulbazith you may want to try/use https://github.com/realrashid/sweet-alert and be sure to read the usage

Feb
20
4 months ago
Activity icon

Replied to How To Display Attributes Assigned To Products In Category View

I don't quite understand your relationships, @ziben69

A product can have attributes, but for a category imho that doesn't make any sense.

For products you have a products table and an attributes table for the attributes and the attributes are assigned to the products via a lookup/pivot table? And there is a categories table with a lookup table for the assigned products? And now you want to query a category, check what products are assigned to that category to get the attributes of those products?

Is this correct that far?

Feb
16
4 months ago
Activity icon

Replied to Access To Nested Data

holy sh...

it can be that simple...

Activity icon

Started a new Conversation Access To Nested Data

Not sure how to get the names (e.g. Child 1) of the children entries

The query result dumped looks like this:

 Illuminate\Database\Eloquent\Collection {#416 ▼
  #items: array:5 [▼
    0 => App\Models\Category {#455 ▼
      #guarded: []
      [ ... ]
      #attributes: array:10 [▼
        "id" => 1
        "parent_id" => null
        "name" => "Parent 1"
      ]
      #original: array:10 [▶]
      [ ... ]
      #relations: array:1 [▼
        "children" => Illuminate\Database\Eloquent\Collection {#472 ▼
          #items: array:3 [▼
            0 => App\Models\Category {#504 ▼
              #guarded: []
              #connection: "mysql"
              #table: "categories"
              [ ... ]
              #attributes: array:10 [▼
                "id" => 11
                "parent_id" => 1
                "name" => "Child 1"
              ]
              #original: array:10 [▶]
              [ ... ]
            }
            1 => App\Models\Category {#505 ▶}
            2 => App\Models\Category {#506 ▶}
          ]
        }
      ]
      [ ... ]
    }
    1 => App\Models\Category {#456 ▶}
    2 => App\Models\Category {#457 ▶}
    3 => App\Models\Category {#458 ▶}
    4 => App\Models\Category {#459 ▶}
  ]
}

looping through the query

@foreach ($cat as $c)
        {{ $c->name }}  - <br>
        {{ $c->children }} - <br>
 @endforeach

shows:

Parent 1 -
[{"id":11,"parent_id":1,"name":"Child 1"},
 {"id":12,"parent_id":1,"name":"Child 2"},
 {"id":20,"parent_id":1,"name":"Child 3"}] -
Parent 2 -
[{"id":21,"parent_id":2,"name":"Child 10"}] -
Jan
29
5 months ago
Activity icon

Replied to Laracasts - Wrong Course Complete Calculation

all videos marked as incomplete, then payes every video from the very beginning to the end. Lesson completed. but when refreshing video #7 shows as incomplete. after paying the video, lesseon completed. Then in the overview there'S video #8 marked as incomplete. atfter paying that one again, at least all videos are marked as completed but i got a 114% complete calculation again, and again in the dashboard overview the code katas series shows up as incomplete watched. ie something is going wrong here

Jan
28
5 months ago
Activity icon

Started a new Conversation Laracasts - Wrong Course Complete Calculation

Course (Code Katas) is completed, shows up as still in progress though and the completed calculations shows 114% complete. So something seems to go wrong here....

Jan
20
5 months ago
Activity icon

Replied to How To Pass The Value From Controller To Config Folder File Like Paypal.php.

Don't quite understand what you really want to achieve / are looking for