dipakrataniagile

dipakrataniagile

Member Since 1 Year Ago

Ahmedabad

Web Developer at Ahmedabad

Experience Points 61,210
Experience Level 13

3,790 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 597
Lessons
Completed
Best Reply Awards 1
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.

18 Jun
3 weeks ago

dipakrataniagile started a new conversation Laravel Series Count Issue

@JeffreyWay

When i check https://laracasts.com then it shows 20 series on laravel but when I had click on it (https://laracasts.com/skills/laravel) it shows 21 series. CAn you please check it

12 Jun
1 month ago
11 Jun
1 month ago

dipakrataniagile left a reply on Login With Linkedin Using Socialite

Had you checked your API token &its version also?

dipakrataniagile left a reply on Login With Linkedin Using Socialite

please also check linkedin developer forum

dipakrataniagile left a reply on WYSIWYG Blade Editor?

I had implemented CK Editor 4 https://ckeditor.com/ckeditor-4/ in my one of the project. it's free. I will guide you if you want to implement in it

dipakrataniagile started a new conversation Laracast Testimonials

in Laracast Testimonials page, when I was clicked on More Testimonials and when I reached on last testimonials still then scroll bar was not touched on the bottom . @jeffry Sir, can you please check it

23 May
1 month ago

dipakrataniagile left a reply on Multiple OR's In Where Array

Model::where(function ($query) { $query->where('a', '=', 1) ->orWhere('b', '=', 1); })->where(function ($query) { $query->where('c', '=', 1) ->orWhere('d', '=', 1); })

21 May
1 month ago

dipakrataniagile left a reply on Sending Mail Issue

https://accounts.google.com/DisplayUnlockCaptcha

First of all, use ssl in encryption and value 465 in port, because of the two factor authentication do not use your gmail password, but create a gmail APP Password which is better to give access from there to a less secure application, here is the link for creating app passwords.

20 May
1 month ago

dipakrataniagile left a reply on How To Store Array Textbox Value

instead of textbox name, it will be good if you will use class name .so data will be store and fetch i array then you can easily manage it

10 May
2 months ago

dipakrataniagile left a reply on Finding Out If A Table Is Empty

I believe this will do it:

if ($result->count()) { // do something } As the collection returned by the query builder implements PHP's Countable Interface, this should also work:

if (count($result)) { // do something }

09 May
2 months ago

dipakrataniagile left a reply on Insert Selected Id Into Another Table

It looks like you are using an older PHP version or Laravel version. Can you tell us what versions you use?

08 May
2 months ago

dipakrataniagile left a reply on How To Run A Command On A Specific Day At 9:00 Am?

$schedule->command('reminders:send') ->yearly() ->between('2018', '2020');

06 May
2 months ago

dipakrataniagile left a reply on How To Add Export Buttons To Yajra/laravel-datatables?

Please Check below code which I implement for excel.

var question_sample_report = $('#question_sample_report').dataTable({

            "bLengthChange": false,

            "processing": false,

            "serverSide": true,

            "responsive": true,

            "order": [[1, "asc"]],

            "bStateSave": false, //for load back page where edit action was applied

            dom: 'Bfrtip',

            buttons: [

                {
                    extend: 'excel',
                    title: 'Manage Event Forms',
                    text: 'Export To Excel',
                    className: 'exportbutton',
                    exportOptions: {
                        columns: ':visible:not(.not-export-col)'
                    }
                },
                {
                    extend: 'columnsToggle',
                    columns: show_cols,
                },
            ],
            "oLanguage": {"sInfo": "Showing _START_ to _END_ of _TOTAL_ Manage Event Form(s)", "sSearch": "", "sInfoEmpty": "", "sProcessing": "Please Wait...", "sZeroRecords": "No Record found."},

            "ajax": {
                headers: {
                    'X-CSRF-TOKEN': 'ecJnsY78Kh3jagvTfYP9MKQPOw1sGJqE6uYdDA3n',
                },

                'type': 'POST',

                'url': 'your url',

                error: function (jqXHR, textStatus, errorThrown) {
                    //    console.log('ERRORS: ' + textStatus);
                },

            },

            "bFilter": true,

            "fnRowCallback": function (nRow, aData, iDisplayIndex) {

                var oSettings = question_sample_report.fnSettings();
                $("td:first", nRow).html(oSettings._iDisplayStart + iDisplayIndex + 1);

                return nRow;
            },
            "language": {
                "emptyTable": "No Record found.",
                "search": ""
            },
            "columns": [
                {"data": "id", "searchable": false, "bsortable": false, "class": "table_titlecase_record"},
                {"data": "name","name": "sq.name", "class": "table_titlecase_record"},
                {"data": "form_type", "searchable": false, "bsortable": false, "orderable": false},
                {"data": "action", "class": "table_titlecase_record", "searchable": false, "bsortable": false, "orderable": false},
            ],
            aoColumnDefs: [
                {targets: -1, visible: show_action}
            ]
        });

dipakrataniagile left a reply on How To Add Export Buttons To Yajra/laravel-datatables?

Please Check below code which I implement for excel.

var question_sample_report = $('#question_sample_report').dataTable({ "bLengthChange": false, "processing": false, "serverSide": true, "responsive": true, "order": [[1, "asc"]], "bStateSave": false, //for load back page where edit action was applied dom: 'Bfrtip', buttons: [ { extend: 'excel', title: 'Manage Event Forms', text: 'Export To Excel', className: 'exportbutton', exportOptions: { columns: ':visible:not(.not-export-col)' } }, { extend: 'columnsToggle', columns: show_cols, }, ], "oLanguage": {"sInfo": "Showing START to END of TOTAL Manage Event Form(s)", "sSearch": "", "sInfoEmpty": "", "sProcessing": "Please Wait...", "sZeroRecords": "No Record found."}, "ajax": { headers: { 'X-CSRF-TOKEN': 'ecJnsY78Kh3jagvTfYP9MKQPOw1sGJqE6uYdDA3n', }, 'type': 'POST', 'url': 'your url', error: function (jqXHR, textStatus, errorThrown) { // console.log('ERRORS: ' + textStatus); }, }, "bFilter": true, "fnRowCallback": function (nRow, aData, iDisplayIndex) {

                var oSettings = question_sample_report.fnSettings();
                $("td:first", nRow).html(oSettings._iDisplayStart + iDisplayIndex + 1);

                return nRow;
            },
            "language": {
                "emptyTable": "No Record found.",
                "search": ""
            },
            "columns": [
                {"data": "id", "searchable": false, "bsortable": false, "class": "table_titlecase_record"},
                {"data": "name","name": "sq.name", "class": "table_titlecase_record"},
                {"data": "form_type", "searchable": false, "bsortable": false, "orderable": false},
                {"data": "action", "class": "table_titlecase_record", "searchable": false, "bsortable": false, "orderable": false},
            ],
            aoColumnDefs: [
                {targets: -1, visible: show_action}
            ]
        });
22 Apr
2 months ago

dipakrataniagile left a reply on Login Interface Take A Long Time To Display

Goto console. and check your page redirect was not correct. it was redirected many times

dipakrataniagile left a reply on PHP

Yes

dipakrataniagile started a new conversation Work On Maintenance Mode

Hello,

I want to work on my production server site when maintenance is on. means users will not able to access that site on that .they will able to see only maintenance downtime message and as a developer, I can work and debug a problem on the same URL it possible. and how?

16 Apr
2 months ago

dipakrataniagile left a reply on How To Send Mail Attachment (csv File) In Laravel

Check pacakge Details again and its link which i share with you

dipakrataniagile left a reply on How To Send Mail Attachment (csv File) In Laravel

eague\Flysystem\AwsS3v3\AwsS3Adapte

this error is not related to excel or its plugin

dipakrataniagile left a reply on How To Send Mail Attachment (csv File) In Laravel

$file = (new UsersExport)->store('Sales Register 2019 (Cr.xlsx','D');

where is your closing brace ')'?

dipakrataniagile left a reply on How To Send Mail Attachment (csv File) In Laravel

@VANDAN - store function will use in attach. don't use it before that

dipakrataniagile left a reply on How To Send Mail Attachment (csv File) In Laravel

"maatwebsite/excel": "^2.1",

This is my version

you need to find it how to save excel file .use that command it will work

dipakrataniagile left a reply on Laravel SelectRaw

DB::raw('IFNULL(TRIM(e.event_title),"NULL") as EventName')

see above example

dipakrataniagile left a reply on How To Send Mail Attachment (csv File) In Laravel

$transaction_summary_file = Excel::create('North American Transaction Summary') . '', function($excel) use($transaction_record, $export_event_field)

{ //Begin Add Yor Code For Excel //End

      $sendown_mail = Mail::send('emails.birthday_wishes', ['content' => $mail_content], function($message) use (accountatnemail) 
             { 
                      $message->from('[email protected]', 'BK Management'); 
                      $message->to($accountatnemail); $message->replyTo(config('mail.replyTo.address'), config('mail.replyTo.name')); 
                      $message->subject('Subject');
                      $message->attach($transaction_summary_file->store("xlsx", false, true)['full']); });

}

dipakrataniagile left a reply on How To Send Mail Attachment (csv File) In Laravel

yes it's possible I was implemented it

dipakrataniagile left a reply on How To Send Mail Attachment (csv File) In Laravel

$transaction_summary_file = Excel::create('North American Transaction Summary - ' . $checkdate . ' - ' . ucwords(trim($value['country_name'])) . '', function($excel) use($transaction_record, $export_event_field) {

$sendown_mail = Mail::send('emails.birthday_wishes', ['content' => $mail_content], function($message) use ($value, $checkdate, $accountatnemail, $transaction_summary_file) { $message->from('[email protected]', 'BK Management'); $message->to($accountatnemail); $message->replyTo(config('mail.replyTo.address'), config('mail.replyTo.name')); $message->subject('North American Transaction Summary - ' . $checkdate . ' - ' . ucwords(trim($value['country_name'])) . ''); $message->attach($transaction_summary_file->store("xlsx", false, true)['full']); });

}

dipakrataniagile left a reply on How To Send Mail Attachment (csv File) In Laravel

@VANDAN - Why you are downloading excel, just create and attach it in email.

dipakrataniagile left a reply on Database Migrate From MySQL To Azure SQL

@TRAY2 - Thanks Again. which Steps I need to take for migrating

dipakrataniagile left a reply on Modify Email "from" In Laravel 5.1

@JONJIE - Yes. but so of the email are free with their limit.

dipakrataniagile left a reply on Modify Email "from" In Laravel 5.1

@JONJIE - Yes. I had tried. That functionality will work only when you will send email from Gmail account after login. suppose you have personal Gmail account and you want to add your company email account then if that email address is valid then if you will add that email address and when you will send an email to a person then in a form section there will two email shows up and you can select from it.

I implemented third-party email provider sendgrid in my project .it work very fine

dipakrataniagile left a reply on Images Not Saving To Path When I Update My Database?

Try Below One

$ProfileImgPath = base_path() . '/public/uploads/users/';

if (Input::hasFile('photo')) { //To generate rando name of image $fileName = rand(11111, 99999) . str_replace(' ', '_', Input::file('photo')->getClientOriginalName());

        Image::make(Input::file('photo'))->resize(400, 400)->save($ProfileImgPath . $fileName);
    }

dipakrataniagile left a reply on Database Migrate From MySQL To Azure SQL

@TRAY2 - Thank you for your reply . but this tutorial for Azure MySql. I Need For Azure SQL

dipakrataniagile left a reply on Modify Email "from" In Laravel 5.1

@JONJIE - Yes, Bro. If you implemented it With Gmail. Your Gmail email address will be visible in From user. If You want to use your specified email. you may implement third party email like sendgrid.

https://sendgrid.com/docs/for-developers/sending-email/v2-php-code-example/

dipakrataniagile started a new conversation DAtabase Migrate From MySQL To Azure SQL

Hello Friends,

Right now in my project, we are using MySQL Database. Now we want to implement the Azure SQL Database.

This is my current database driver mentioned below:

'default' => env('DB_CONNECTION', 'mysql')

My Question is Which changes in need to apply in the database driver / what value may I set in place of MySQL in DB_Connection value?

Which steps I need to follow for migrate MySQL to Azure SQL. I am new in Azure SQL. Please help me. Thank In Advance.

dipakrataniagile started a new conversation Database Driver For Azure SQL

Hello Friends,

Right now in my project, we are using MySQL Database. Now we want to implement the Azure SQL Database.

This is my current database driver mentioned below:

'default' => env('DB_CONNECTION', 'mysql')

My Question is Which changes in need to apply in the database driver / what value may I set in place of MySQL in DB_Connection value?

Which steps I need to follow for migrate MySQL to Azure SQL. I am new in Azure SQL. Please help me. Thank In Advance.