Member Since 5 Years Ago
North Battleford, Sask
4,310 experience to go until the next level!
In case you were wondering, you earn Laracasts experience when you:
Earned once you have completed your first Laracasts lesson.
Earned once you have earned your first 1000 experience points.
Earned when you have been with Laracasts for 1 year.
Earned when you have been with Laracasts for 2 years.
Earned when you have been with Laracasts for 3 years.
Earned when you have been with Laracasts for 4 years.
Earned when you have been with Laracasts for 5 years.
Earned when at least one Laracasts series has been fully completed.
Earned after your first post on the Laracasts forum.
Earned once 100 Laracasts lessons have been completed.
Earned once you receive your first "Best Reply" award on the Laracasts forum.
Earned if you are a paying Laracasts subscriber.
Earned if you have a lifetime subscription to Laracasts.
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.
Earned once you have achieved 500 forum replies.
Earned once your experience points passes 100,000.
Earned once your experience points hits 10,000.
Earned once 1000 Laracasts lessons have been completed.
Earned once your "Best Reply" award count is 100 or more.
Earned once your experience points passes 1 million.
Earned once your experience points ranks in the top 50 of all Laracasts users.
Started a new Conversation Touring A New User Around Your Site
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
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!
@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!
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
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.