RootTech

RootTech

Member Since 5 Months Ago

Experience Points
540
Total
Experience

4,460 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
0
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
540 XP
10 Sep
1 week ago

RootTech started a new conversation Can't Get Escpos To Work

How do I configure escpos with my app... I have my. Htaccess and index files in my root directory....

But what I try to use the escpos package, I get this error main() failed opening required 'vendor/autoload.php'

The line require DIR. '/vendor/autoload.php' is the line throwing the error.

Please help with your suggestions.

07 Jun
3 months ago

RootTech started a new conversation Css And Bootstraps Stopped Working

I used infyom adminlite as my admin dashboard, it's been working well offline. But recently it stopped working offline, please what can I do to fix it. It works well online though.

15 May
4 months ago

RootTech left a reply on Using Cookies To Increase Page View Count

oh my bad, I meant without any packages rather..... and yes I have checked them.

RootTech left a reply on Using Cookies To Increase Page View Count

@TISUCHI - yea I want try it with any packages

RootTech started a new conversation Using Cookies To Increase Page View Count

Before now, I use sessions to auto increment post view counts.. But I want page view count to increase only when a new IP or device visits the page.. I'll like to set the duration to forever too

Any hints?

10 May
4 months ago

RootTech started a new conversation Set A Default Value If Input Field Is Blank

On my RegisterController, 'Referrer'= required | max :255

my create function looks up to referrer to create data

'Referrer' => $data('Referrer')

So how do I set a default value if the input field is blank?

like @if (empty ('Referrer') 'Referrer' = 1 @else then the normal input field @endif

06 May
4 months ago

RootTech started a new conversation Counting All Post Views For A Particular Usef

I have a blog with a post view count functionality.

But I want to add a function to each users dashboard showing the total views of all their posts so far.

what can I do?

23 Apr
5 months ago

RootTech left a reply on Creating A Contact Form Without Controllers And Migrations

@MARTINBEAN - I'll need to run migrations then.. Am I right?

RootTech left a reply on Creating A Contact Form Without Controllers And Migrations

I was thinking if it would be possible to use a mailto: action directly from the blade file

RootTech started a new conversation Creating A Contact Form Without Controllers And Migrations

I have a contact blade, I want it to directly be sent to my email once the submit button is click. Please what method and action should I use.

RootTech left a reply on Using A Count Both Where Conditions In Blade File.

@SNAPEY - this actually worked.thanks

20 Apr
5 months ago

RootTech left a reply on Using A Count Both Where Conditions In Blade File.

@JLRDW - Thanks but, both columns I am referring to are on same table, would I be needing a join?

RootTech left a reply on Using A Count Both Where Conditions In Blade File.

@SNAPEY - No please....how do I do that..... Remember both user_id and referrer are on same table

RootTech started a new conversation Using A Count Both Where Conditions In Blade File.

I have a table, 'Users' and columns Id,name,lastname,email,referrer,and so on.

I want to count for the number of people each user has referred.

in the blade file, I did @php($user = Auth::user()) @php($referrer = Db::table('users')where ($user,$user->referrer) )

then {{count($referrer)}}

I got, parameter must be an array error.... I don't have any idea what to do now.

help please...

18 Apr
5 months ago

RootTech left a reply on Coupon Code Verification Upon Registration

Thanks Alot, it's the 3rd step I'm stuck at, the controller part... For the for, I have users_coupon and the coupons are stored in coupons _code....so how do I make the register controller check if the input from the form matches a value in coupons_code before making a successful registration.

RootTech left a reply on Coupon Code Verification Upon Registration

Invalid code error message should appear.

RootTech left a reply on Where Are You All From?

Lagos, Nigeria

RootTech started a new conversation Coupon Code Verification Upon Registration

I have a table on my database in coupons_code with randomly generated chars.

I want users to input a coupon code when registering, then the code should be verified that it matches a code on the coupons table before users registration is successful.

how do I go about it please.. I'm new to laravel and php,so please be as precise as possible.