khaledz

khaledz

Member Since 3 Years Ago

Jeddah

Experience Points
16,430
Total
Experience

3,570 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
160
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 4
16,430 XP
Aug
19
3 months ago
Activity icon

Replied to Restrict Access To Website By Location.

Thanks for the information. However, my web application will be used by many companies (clients of my app) from different countries. How can I know if the company (client) has a static IP in PHP? and also what is the other option that I might consider if there is no static IP?

I don't think Geolocation can be the best option for me because it can be cheated by the employees of the company as I read about it.

Thank you @jeffbabuyo

Aug
18
3 months ago
Activity icon

Replied to Restrict Access To Website By Location.

Hi @snapey

At the first stage only web browsers.

Activity icon

Replied to Restrict Access To Website By Location.

Hi @basv

What the cases make the IP of the company change later? or that cannot be changed at all? if you have an example or a tutorial for this it'll be much clear to me.

Thanks again.

Activity icon

Replied to Restrict Access To Website By Location.

Thanks @diegoaurino

Is this way can't be cheated from the user? I mean can the user put location at the targeted location to get the attendance?

Thank you again.

Activity icon

Started a new Conversation Restrict Access To Website By Location.

Hi,

I'm implementing a project to get the attendance of employees. The attendance can be done if the employee is at the location of the company. The owner of the company can set a distance of area that can be acceptable to get the attendance for the employees. For example, if the employee is at 1KM around the exact location of the company then he/she can sign the attendance. Otherwise, it will be blocked.

Can you suggest some ways to implement this?

Aug
05
3 months ago
Activity icon

Replied to Change Column Names For The Auth

Hi All,

Yes I know it's insecure. Do you have any suggestions about how to deal with all the user's passwords that are encrypted using md5?

Also, I would like to know how to change the hash password in Laravel?

Thank you :)

Aug
04
3 months ago
Activity icon

Replied to Change Column Names For The Auth

Thanks, it's looks working now. How to change the password hash to use md5 instead of bcrypt?

Activity icon

Replied to Change Column Names For The Auth

It's working with RegisterController but not with LoginController.

How to change the default behavior for it?

Activity icon

Replied to Change Column Names For The Auth

It's working with RegisterController but not with LoginController.

How to change the default behavior for it?

Aug
01
3 months ago
Activity icon

Started a new Conversation Change Column Names For The Auth

Hi,

I'm working with an old project written in PHP and I want to configure my user eloquent model to the table called "members". this can be archived easily. However, I want to change the email and password name to be: memberemail & memberpassword in both RegisterController and LoginController.

How do that? The registration looks working fine but I'm struggling with LoginController.

my Laravel version is 5.8

Any suggestion? Thanks

Jun
19
5 months ago
Activity icon

Replied to Eloquent Methods In Nova

Hi @aurawindsurfing

That is going to filter the whole resource. Have you checked my previous reply? I just want to hide one field by using the eloquent object in the resource.

Thank you for your reply.

Jun
18
5 months ago
Activity icon

Replied to Eloquent Methods In Nova

Hi @JLRDW

Let me explain to you a scenario to get what I mean. For example, I have resource which show some fields depends on the eloquent attribute's values.

Assume we have an attribute called is_published in post object. If is_published is false, then show some extra fields in the resource. in this case, I want to do some simple condition such as

if(! $post->is_published)
{
    // do something.
}

How to do this in Laravel Nova?

Jun
16
5 months ago
Activity icon

Started a new Conversation Eloquent Methods In Nova

Hi,

I'm new to Laravel Nova and I have some questions.

1- How to use eloquent methods in nova resource? for example, I want to do some business logic before save the object or update. Many people suggest to use observers, but not all scenarios are suitable for this. Let say I want to show some fields of resource depending on eloquent value.

2- Do you think Nova ready for complex admin panel?

Thank you.