brentxscholl

brentxscholl

Member Since 5 Years Ago

North Battleford, Sask

Experience Points
20,690
Total
Experience

4,310 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
287
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 5
20,690 XP
Jul
26
4 months ago
Activity icon

Started a new Conversation Touring A New User Around Your Site

Hello,

Just wondering if anyone has experience and/or thoughts on how to tour an authenticated user around your site.

I have a ui that I want to tour my user around when they first enter the dashboard. I've looked at some great JS plugins to do this https://xbsoftware.com/products/enjoyhint/ and http://bootstraptour.com/

The question is, how do you go about triggering a tour for a user when they first enter the dashboard and how do you stop it so every time after it will not trigger? (A new column on the users table? A new user-tour table?)

What if you have multiple pages/sections (multiple tours) that you want to tour , but not until the user navigates to them for the first time?

Would love to hear your thoughts!

Thanks!

Jun
24
5 months ago
Activity icon

Replied to Handling Image Uploads For A Model That Has Not Been Created Yet

@BOBBYBOUWMANN - Thanks a lot for the reply! Option one sounds like the best option using a temp folder and cronjob. Great stuff! Thanks again for the help!

Jun
23
5 months ago
Activity icon

Started a new Conversation Handling Image Uploads For A Model That Has Not Been Created Yet

In my project I want my users to be able to post Events.

Events have a title, description, price, date, start time, end time, images, etc.

When a user is creating an event, I want them to be able to upload images as well.

This image upload form is on the same page as the event creation form.

I'm using an ajax image uploader so that the user can see image thumbnails in real time and drag and drop the image order. (user selects an image from device, it automatically uploads using ajax, and the image thumbnail sections updates on successful ajax call showing the newly added image(s). this ajax form is outside the events form, but on the same page)

The problem is that when I upload the images using ajax to show on the page, the Event has not yet been created by the user so an event_id can not be attached to the Image model.

It works if I'm editing an Event because there is an event_id for the image model.

How do I handle adding images using an ajax image uploader to an event that has not yet been created? Is there a way to store them in the session and if the user does not create the event (navigates away from/ refreshes the page) the images are removed/not saved.

Note: This would be a heck of a lot easier if i just used a multifile input in my form, but for the sake of User Experience, it is required that the user instantly see thumbnails of the images they plan on attaching to the event and be able to drag drop, and delete them on the fly, while in the process of creating events.