LadyDeathKZN

LadyDeathKZN

Member Since 4 Months Ago

Experience Points 470
Experience Level 1

4,530 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 Your Engines Achievement

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • First Thousand Achievement

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • One Year Member Achievement

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • Two Year Member Achievement

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • Three Year Member Achievement

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • Four Year Member Achievement

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • Five Year Member Achievement

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • School In Session Achievement

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • Welcome To The Community Achievement

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • Full Time Learner Achievement

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • Pay It Forward Achievement

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • Subscriber Achievement

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • Lifer Achievement

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • Laracasts Evangelist Achievement

    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 Achievement

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • Laracasts Veteran Achievement

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • Ten Thousand Strong Achievement

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • Laracasts Master Achievement

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • Laracasts Tutor Achievement

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • Laracasts Sensei Achievement

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • Top 50 Achievement

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

08 May
1 week ago

LadyDeathKZN started a new conversation Load Data For Month Selected

Hi, I am building an application with financial records. My client wants to be able to select a Month and have those "slips" show and have just those exported to an excel.

I currently have a month_id for the slips, and the months are entered manually. Is there a way to have a dropdown with the months and when toggled the table will find the month_id and show only that data? I have tried numerous things and find myself to be still a noob with this. Also how does one export that months data to an excel or pdf?

LadyDeathKZN left a reply on The Page Has Expired Due To Inactivity.Please Refresh And Try Again This Error Comes When Login To Admin Panel

Hi, I had this issue when I didn't add @csrf if there is a form. Just check for that if you have a form on the given page :)

01 Apr
1 month ago

LadyDeathKZN left a reply on Possible Help Configuring .co.za On Laravel Package (Domain Availability)

@CONTINUUM - Lol I am in KZN. I am also a domain reseller, didn't think about the API though. Honestly, I have no idea how it works, will investigate.

Thank you so much for your reply. I hope you have left the country! They are starting stage 5 and 6 load shedding apparently and the politics here have gotten really bad.

30 Mar
1 month ago

LadyDeathKZN left a reply on Weekly Schedule / Timetable

MMMM the way I think of it, is to make a view that has the above information pass through it view the controller in the format that you are looking for. As for a weekly, best way to go about this would be to make a task scheduele that could generate for example a PDF weekly with the above given example. https://laravel.com/docs/5.8/scheduling

Correct me if I'm :)

LadyDeathKZN left a reply on Laravel Likebale Ajax

Last post? Have you tried ::first()->get(); In the controller

LadyDeathKZN left a reply on Can I Send Email When Submit Button

Do you have a controller that is connected to your view?

public function frontContactStore(Request $request){
        $contact = Contact::create([
            'name' => $request->input('name'),
            'surname' => $request->input('surname'),
            'email' => $request->input('email'),
            'message' => $request->input('message')
        ]);
        $emails = [$contact->email, '[email protected]'];
        Mail::to($emails)->send(new ContactSend($contact));
        if ($contact) {
            return redirect()->route('contact')
            ->with('success', 'Awesome!! Thank you, we will get back to you shortly');
        }

LadyDeathKZN left a reply on Can I Send Email When Submit Button

The best method to do this will be to create a function in a controller or directly in your web.php (routes file)

Example: Route::post('/contact-us', 'Admin\[email protected]')->name('contactsend');

Function: public function frontContactStore(Request $request){ $contact = Contact::create([ 'name' => $request->input('name'), 'surname' => $request->input('surname'), 'email' => $request->input('email'), 'message' => $request->input('message') ]); $emails = [$contact->email, '[email protected]']; Mail::to($emails)->send(new ContactSend($contact)); if ($contact) { return redirect()->route('contact') ->with('success', 'Awesome!! Thank you, we will get back to you shortly'); }

Then you make the Form as so:

@csrf Your firstname * Your lastname * Your email * Your message for us * Send message

And then the mailable: php artisan make:mail ContactSend

28 Mar
1 month ago

LadyDeathKZN left a reply on Laravel Likebale Ajax

hi,

I followed this tutorial a while ago: https://www.youtube.com/watch?v=FKEWlsNmkD0

27 Mar
1 month ago

LadyDeathKZN left a reply on How To Import .db File In Database

Hi, I personally use Navicat, possibly have alook at that. It can import .db, .sqlite and more.

26 Mar
1 month ago

LadyDeathKZN started a new conversation Possible Help Configuring .co.za On Laravel Package (Domain Availability)

Lot of questions today, and as always I appreciate the individuals that strive to help. I have the following package in my project: https://github.com/HelgeSverre/Domain-Availability; the aim is that when available it is purchasable.

Now I have a problem, I can't get .co.za working, yay South Africa (thumbs down). I have privately emailed the created and he sent me the server or json entry. It does not work, I wrote to the group on the github self, no answer. I have combed the forums, even SA php scripts, used all that is available but can not find anything that works. I have tried whois.shtml, registry.net.za and so many others.

Anyone that understands this package and domain servers please could you possibly assist? I will provide the various places I have posted, if this could help.

https://github.com/HelgeSverre/Domain-Availability/issues/31 https://mybroadband.co.za/vb/showthread.php/352398-Co-za-Whois-Script-Php https://registry.net.za/content.php?gen=1&contentid=171&title=Port+43+WHOIS+Service https://wordpress.org/support/topic/coza-or-za-domain-not-working/ https://www.iana.org/whois?q=co.za

Yes I have tried all options!

LadyDeathKZN left a reply on Coming Soon Page While Admin Can Still Work In Backend

thank you both so much! This has proven to be super handy!!! I was not really wanting to use commands, especially if I had to use a mobile device to switch the site to maintenance mode. Thank you both for the input!!

LadyDeathKZN started a new conversation Create Installation Setup For Laravel Package

Hi again :). I was wondering if there is a package or tutorial series that teaches one how to build an installation for the Laravel project deployment. Example, I buy a web software, I am a client and have no knowledge of terminal or commands. I upload the package and the index.php is an installer, I input my database connection, the script then sets these variables in the .env or a settings page(also would like to know how to build custom settings or config page) and the project is deployed successfully.

The best example I can think of is Laravel BAP. Any advice would be much appreciated!

22 Mar
1 month ago

LadyDeathKZN left a reply on Report Bug Function To Remote Database

Thank you so much for this! This will solve that bridge I have! Thank you for your input

21 Mar
1 month ago

LadyDeathKZN started a new conversation Report Bug Function To Remote Database

I was wondering if there is a way that my "client" could report a bug from their website, and have it register on the main database or store a copy there, so that I will be able to get all the bugs from my different websites on different databases. I have no idea how to write an API.

LadyDeathKZN left a reply on Disable Url If Page Is Not Published

Thank you so much, I had completely forgotten about the slug function inside the model!! Life saver :D

LadyDeathKZN started a new conversation Coming Soon Page While Admin Can Still Work In Backend

Hi again, :D.

I would like to make maintenance or coming soon page that if admin in the backend (www....../admin) enables it they are still able to log into the backend but the rest of the site is not accessible until it is disabled.

Just like WordPress's maintenance mode. Is there a way to do this without the php artisan down or php artisan up function? REF://stackoverflow.com/questions/34821095/laravel-5-maintenance-mode-turn-on-without-artisan

16 Mar
2 months ago

LadyDeathKZN started a new conversation Disable Url If Page Is Not Published

Good day, I have finally managed to get a somewhat stable CMS working, though I don't know how to disable the url in the front end if the page is in draft.

web.php //Cms Page Route::resource('/commander/pages', 'Admin\CmsController'); //Front End Cms Page Route::match(['post', 'get'], '/{url}', 'Admin\[email protected]');

Admin\CmsController.php public function frontPage($url){ $cmspage = CmsPage::where('url', $url)->first(); return view('frontend.frontpage', compact('cmspage')); }

I have no idea how to do this, I have tried ::where('status', 'published)->get('url');

And yes I am a newbie with this so please DO laugh haha, any advice and guidance welcome.

07 Mar
2 months ago

LadyDeathKZN started a new conversation Tutorial On Making Recurring Bank Invoices

Hi, I am new here, and been using Laravel for a while now. I have been requested to create a billing system with recurring invoices payable via EFT or bank. Where can I find a tutorial on how to do this? I know nothing about tasks, queables and cronjobs. Any and all advice would be very much appreciated!