vapordev

Member Since 2 Months Ago

Experience Points
2,530
Total
Experience

2,470 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
23
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 1
2,530 XP
May
06
2 days ago
Activity icon

Commented on The Honeypot Technique

Can tis be used on the front-end contact form in the same way?

Activity icon

Replied to Select Toggle Button To Accept Terms And Activate Submit Button On Contact Form

We are using Livewire for the nav and footer, so yeah we could also use it for functionality as you suggest. We have also used Alpine.js for the modal success cart popup, thanks to @corvs

Activity icon

Replied to Select Toggle Button To Accept Terms And Activate Submit Button On Contact Form

To be honest we've tried a few things but it loses the look and feel of Tailwind, so I scrubbed it. Im not too sure how to make the whole thing work that controls the Let's Talk button as inactive until toggle is selected to confirm policies acceptance?

Activity icon

Started a new Conversation Select Toggle Button To Accept Terms And Activate Submit Button On Contact Form

Hi, Looking to create contact form using tailwindcss where 'Let's talk' button is inactive and greyed out until 'accept' toggle for Privacy and Cookie Policy is selected.

Looking forward to the assist.


<div class="sm:col-span-2">
          <div class="flex items-start">
            <div class="flex-shrink-0">
              <!-- Enabled: "bg-indigo-600", Not Enabled: "bg-gray-200" -->
              <button type="button" class="bg-gray-200 relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500" role="switch" aria-checked="false">
                <span class="sr-only">Agree to policies</span>
                <!-- Enabled: "translate-x-5", Not Enabled: "translate-x-0" -->
                <span aria-hidden="true" class="translate-x-0 inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200"></span>
              </button>
            </div>
            <div class="ml-3">
              <p class="text-base text-gray-500">
                By selecting this, you agree to the
                <a href="#" class="font-medium text-gray-700 underline">Privacy Policy</a>
                and
                <a href="#" class="font-medium text-gray-700 underline">Cookie Policy</a>.
              </p>
            </div>
          </div>
        </div>
        <div class="sm:col-span-2">
          <button type="submit" class="w-full inline-flex items-center justify-center px-6 py-3 border border-transparent rounded-md shadow-sm text-base font-medium text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
            Let's talk
          </button>
        </div>
      </form>
    </div>
  </div>
</div>

Mar
26
1 month ago
Activity icon

Started a new Conversation Modal Using Alpine.js To Auto Close And Reset On Add To Cart Click

Hi, we are having an issue in using Tailwind Modal to show repeatedly on product add to cart button. We get it to show once, but won't show again on same button? We are currently using @click and now this below, but maybe this is incorrect?

We are simply after click Add To Cart Button, Modal to display 'Successfully Added To Cart' display for 2000 then auto reset. Allowing customer to press same button again if required to add further quantity to cart.


<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected]/dist/alpine.min.js" defer></script>

 <div x-data="{ cartConfirm: false }" x-init="setTimeout(() => cartConfirm = false, 2000)">

Feb
19
2 months ago
Activity icon

Started a new Conversation Spark QueryException; Subscriptions.user_id

It says to run migrations, that does not fix it. This is the error I get when I go to /billing

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'subscriptions.user_id' in 'where clause' (SQL: select * from subscriptions where subscriptions.user_id = 1 and subscriptions.user_id is not null order by created_at desc)

The database contains the subscriptions table.

Feb
17
2 months ago
Activity icon

Started a new Conversation Spark: Bad Method Call

Laravel gives the error "Call the undefined method App\Models\User::sparkConfiguration()"

I followed the tutorial.

The solution says "Did you mean App\Models\User::setConnection()"

What have I missed or what should I do?