MalBe

Member Since 4 Years Ago

Experience Points
8,780
Total
Experience

1,220 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
84
Lessons
Completed
Best Reply Awards
0
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.

  • Community Pillar

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

Level 2
8,780 XP
Feb
15
2 weeks ago
Activity icon

Replied to Navigation_menu.blade.php Display Items Based On Role

@mabdullahsari as far as i understand the terminology Team is just that it's a team of people who can edit or administrate a given section of the website.

from what i can see if i initiate Teams, Every user gets a dropdown so they can create a team, or be part of a team, I don't want that! unless there is a way based on Role??

Partner| Member will have access to Profile, Social Network

Member View Partners, Make bookings, View/Manage their own Bookings

Partner essentially are a seller of booking, with their own Partner Page and can add Promotions, Events

So for my purpose all I want to do is in the navigation_menu if Role = Partner, then show these links, if not don't show the links....

Feb
14
2 weeks ago
Activity icon

Started a new Conversation Navigation_menu.blade.php Display Items Based On Role

Hi, I have 3 types of users Admin, Partner, Member this is represented by role field in the users database table.

I wish to display in the Account Management Dropdown below

      <x-jet-dropdown-link href="{{ route('profile.show') }}">
                            {{ __('Profile') }}
      </x-jet-dropdown-link>

If Role = Admin (display Admin Set of links)

If Role = Partner (display Partner Set of links)

If Role = Member (display Member Set of links)

Is there a simple why to write it directly in the blade, as however I try writing @if (Auth::user…………..)

@elseif

@endif

I get different errors, what is the correct way to do this in Laravel 8?

Feb
10
2 weeks ago
Activity icon

Replied to Livewire Profile Background Image

Hi @drehimself,

Thanks for the response, is it my understanding, the when you make the 2 livewire files

app/Http/Livewire/ProfileBackground.php is the Controller resources/views/profile-background.blade.php is the view to render

the I just add use App\Models\User to ProfileBackground.php to get it to add to the database?

then in the form it should be wire:model="user"

or am I completely wrong??

I would like to get it all working using Livewire

Feb
09
2 weeks ago
Activity icon

Started a new Conversation Livewire Profile Background Image

Hello All, Pretty new to Livewire, Jetstream and Laravel

After installing a Laravel 8 Project with Jetstream and Livewire after registering a user and logging in under the user/profile section you can update the profile image, storing the path in the user table profile_photo_path

I've added a field in the user table using migration for profile_background_path what is the simplest way to add a second image upload to add the path to this field?

I've tried replicating the code in views/update-profile-information-form.php (photo) and changing the variables to profile_background that failed.

I tried following an online tut on adding image to database using php artisan livewire:make profile-background-form and putting it in it's on database linking it with user_id and adding

      <div class="mt-10 sm:mt-0">
            @livewire('profile-background-form')
        </div> 

in profile/show.blade.php, I managed to get the form to place the image in the storage livewire_tmp folder, but couldn't for the life on me to insert it in to the database??

In frustration I have deleted the files with php artisan livewire:delete command and jumped on here to see if anyone could help me achieve what I want to do....

Any help appreciated in advance.

Mal

Jan
25
1 month ago
Activity icon

Started a new Conversation Dashboard Display Content Depending On User Type

I have a field in my user database table called user_type, when logged in how would I display content on the dashboard page depending on user_type? I've been going around in circles for the last 2 hours trying to figure it out

if user_type = member

show member content

if user_type is partner

show partner content

else....

Thanks in advance