raviawasti

raviawasti

Member Since 1 Year Ago

Experience Points
5,320
Total
Experience

4,680 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
8
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 2
5,320 XP
Jan
13
1 week ago
Activity icon

Replied to How To Resolve This Issue, In Laravel While Sending Email Via Mailtrap?

already using that..

at Swift_Transport_StreamBuffer->initialize(array('protocol' => 'tcp', 'host' => 'smtp.gmail.net', 'port' => 587, 'timeout' => 30, 'blocking' => 1, 'tls' => true, 'type' => 1, 'stream_context_options' => array()))

Activity icon

Replied to How To Resolve This Issue, In Laravel While Sending Email Via Mailtrap?

I had cleared the config and cache ...but still not working..dont't know how to resolve..help me to resolve it..anyone..

Activity icon

Replied to How To Resolve This Issue, In Laravel While Sending Email Via Mailtrap?

I had cleared the config and cache ...but still not working..dont't know how to resolve..help me to resolve it..anyone..

Jan
11
2 weeks ago
Activity icon

Started a new Conversation How To Resolve This Issue, In Laravel While Sending Email Via Mailtrap?

my .env file

MAIL_DRIVER= smtp MAIL_HOST=smtp.mailtrap.io MAIL_PORT=2525 MAIL_USERNAME=f5c0ff3a839095 MAIL_PASSWORD=ffbb5bfbf5fb88 [email protected] MAIL_FROM_NAME=Example

And i am getting this issue

Connection could not be established with host smtp.gmail.net [php_network_getaddresses: getaddrinfo failed: Name or service not known #0]

at Swift_Transport_StreamBuffer->initialize(array('protocol' => 'tcp', 'host' => 'smtp.gmail.net', 'port' => 587, 'timeout' => 30, 'blocking' => 1, 'tls' => true, 'type' => 1, 'stream_context_options' => array()))

Dec
18
1 month ago
Activity icon

Started a new Conversation How Can I Login/access User Account From Admin Panel In Laravel?

How to implement secret login from admin panel to user account..

Oct
01
3 months ago
Activity icon

Started a new Conversation Is It Possible To Make Vedamo.com(live Classroom) Like Platform In Laravel?

i want to make virtual classroom platform with the help of laravel , is it possible and what are the different kind of technology should i have to use along with laravel with servers and every information that i need , can you anyone share with me please ?

Sep
17
4 months ago
Activity icon

Started a new Conversation When I Open These Both Url Is Working And Another Is Not Working In Laravel

Route::get('child-admission-for-{class}','[email protected]')

┬áRoute::get('child-admission-for-{subject}','[email protected]')

Aug
27
4 months ago
Activity icon

Started a new Conversation How Can I Use Two Table For Laravel Notification?

How can i use two table for laravel notification one for user and school

Aug
20
5 months ago
Activity icon

Started a new Conversation How To Get The All City Data Via Json_decode In Laravel

how to get the all city data via json_decode in larvelCity table where are id and city name 2=Newyork 4=New Delhi 5=Tokyo

foreach (json_decode($cities) as $city) {
                  $cities = App\City::where('id', $city)->first()->slug;
                  }

Print_r($cities);
exit();  ```

i want to get all the data of city via json_decode but when i follow above code i am getting the last city name only( New delhi)
want to get like this New-York-New-Delhi-Tokyo
Aug
13
5 months ago
Activity icon

Replied to How To Show 1 Job After Every 5 Posts In Vuejs Laravel?

Thank you for your valuable suggestion..Mr RObstarrrrrrrrrrr

Activity icon

Replied to How To Show 1 Job After Every 5 Posts In Vuejs Laravel?

I am fresher to vuejs and i dont know much about vuejs..ok If you dont the know why are you whispering here..i dont need your suggestion, if you know the answer comment below , if not go and reply to others question, in the same you you had answered me.. hope you understand mr ROBStarrrrrrr

Activity icon

Replied to How To Show 1 Job After Every 5 Posts In Vuejs Laravel?

i am getting all post by the help of laravel api but i dont know how to get one job after every 5 posts , guide me please

public function Allposts()



  $result = Post::with('User','Like')->where('status',1)->orderBy('created_at','desc')->paginate(10);

   return response()->json($result);


} 
Activity icon

Replied to How To Show 1 Job After Every 5 Posts In Vuejs Laravel?

i had not tried anything yet..can you help me out please

Aug
12
5 months ago
Activity icon

Started a new Conversation How To Show 1 Job After Every 5 Posts In Vuejs Laravel?

i have posts table(for discussion forum) and jobs table(To post jobs), in posts table i am saving all the recent post by users and if the users have some jobs/openings they are saved in jobs table , i am already showing all posts by the help of vuejs (laravel API), my question is i want to show one jobs which has been posted recently after every 5 posts.. how can i do it in laravel with the help of vuejs.. please guide

Aug
10
5 months ago
Activity icon

Replied to How Can I Sort User With Highest Number Of Post In Laravel?

i want to show just name not the entire the user fileds

Activity icon

Replied to How Can I Sort User With Highest Number Of Post In Laravel?

sorry there is relationship but i had not mentioned now i had updated the code

Activity icon

Started a new Conversation How Can I Sort User With Highest Number Of Post In Laravel?

I have two table one user and other posts """ fields user: id, name, city, password etc Posts: id, user_id, post_id, title,content etc

I have to show 3 user who have highest number of post with just its name """

Aug
08
5 months ago
Activity icon

Replied to How Can I Use Two Different Template For Same Route In Laravel

wont this affect my seo, actually i am showing different header and footer for loggedin user and not logged in user..

Aug
07
5 months ago
Activity icon

Started a new Conversation How Can I Use Two Different Template For Same Route In Laravel

How can i use two different template for same route in laravel one before login and one after login and does it affect my seo

Activity icon

Started a new Conversation I Want To Sort The Value According To The Points Value In Laravel

[{"user_id":30894,"point":400},{"user_id":35843,"point":100},{"user_id":35901,"point":800}]

how can i do it

Aug
06
5 months ago
Activity icon

Started a new Conversation How Can I Show A Modal With Some Data For Single Time On Page Load Laravel

how can i show a modal with some data for single time on page load laravel

Activity icon

Replied to How To Restrict A User To Post Daily 10 Question Only In Laravel

i have post table where i save id, user_id, title,content created_at and updated_At

onec user can post multiple a day then how can i do this in this scenario, please explain

Activity icon

Started a new Conversation How To Restrict A User To Post Daily 10 Question Only In Laravel

how to restrict a user to post daily 10 question only in laravel

i wanted to let the user post only post 10 question daily

Jul
31
5 months ago
Activity icon

Started a new Conversation How Can I Change Credit_start_date And Credit_end_date Automatically And Increase Credit For User In Laravel.

'''i have two table

users table: id, name, address etc

subscription:id, user_id,credit_no,credit_start_date,credit_end_date etc

I am giving every user one credit to buy 1 exam every month, but if user want to buy more than one exam in the same month he have to pay for it or have to wait another month to get free credit.

here is subscription table: id: 1, user_id: 234, credit_no :1, credit_start_date:2019-03-14 ,credit_end_date:2019-04-14 '''

How can i change credit_start_date and credit_end_date automatically and increase credit for user in laravel.

Jul
27
5 months ago
Activity icon

Started a new Conversation How To Load After Liking Post In Vuejs(laravel) Without Refreshing Page Using Infinite Scroll? Help Me Fix This Issue Laravel Or Vuejs Developer Please

i am able to see all the data after posting data, liking post , commenting on post without page refresh but after using infinite scroll in vuejs, infinite scroll working perfectly fine but not able to see post after liking ,commenting , posting..i have to refresh every time to see the comment/like on post. How can i see ontime like without page refresh ?Please help me figure this out anyone


    el: '#app',

data() {

  return {

  posts: [ ],

  page: 1,
  
    };
  },

 created(){

this.allposts();

    },
}
 methods:{

Before using infinite scroll on app.js


 allposts(){

               axios.get('http://localhost/project/posts')

                .then((response) => {
                    this.posts = response.data;
                    Vue.filter('myOwnTime', function(value){
                    return moment(value).fromNow();
          });
                })
                .catch(() => {
                    console.log('handle server error from here');
                });
    },

After using  vue infinite scroll

https://peachscript.github.io/vue-infinite-loading/guide/start-with-hn.html

 allpost($state) {

      axios.get('http://localhost/project/posts', {

        params: {

          page: this.page,


        },
      })
      .then(({ data }) => {
        if (data.data.length) {
          this.page += 1;
          this.posts.push(...data);
            Vue.filter('myOwnTime', function(value){
                    return moment(value).fromNow();
          });
          $state.loaded();
        } else {
          $state.complete();
        }
      });
    },


like function is same for both 

       likePost(id){
     axios.get('http://localhost/project/posts' + id)     

          .then(response => {
            console.log(response); 
                    this.allposts();//
          })
          .catch(function (error) {
            console.log(error);
          });
   },


} ```

How can i see ontime like without page refresh ?Please help me figure this out
Jul
26
6 months ago
Activity icon

Replied to How To Show Only User Id And Name In Post , Comment And User Relationship Laravel?

You are awesome , your answer solved my all issues , can you help me to apply infinite scroll in in laravel vuejs please

Activity icon

Started a new Conversation How Can I Use Paginate In Laravel Vuejs From The Top?

I am able to sucessfully paginate in laravel vuejs by the help of this turorials https://medium.com/introcept-hub/create-pagination-component-using-laravel-and-vue-js-e5709aac2724

I am showing 10 items in single page, My issue is when i click on paginate button 2 it is working but it doesn't loads from the top means from data no 11