bootstrapguru

bootstrapguru

Member Since 4 Years Ago

Experience Points 17,885
Experience Level 4

2,115 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 198
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.

10 Jun
1 month ago

bootstrapguru started a new conversation Create Temporary Table And Assign It To Model

I have a model called SaleTemp which needs a temporary table sales_temp that creates an on the fly by joining 5 or more other tables like sales, sale_items, customers, sale_payments, sale_taxes. I have added the raw query to the construct method of the model to create a temporary table before the model initializes, but with that approach, when I try to get sales by pagination it shows that query is executed more than 30 times and just to get the 100 results from 15K rows of table, it is taking more than 29s. So to fix this, I have created a couple of methods createTable and destroyTable to create and delete the table before I try to fetch and after I get the data like below.

        $saleTemp = new SaleTemp($params);
        $saleTemp->createTable($params);
        
        $summaryData = $saleTemp->select([
                                DB::raw('sum(sub_total) as sub_total'),
                                DB::raw('sum(tax) as taxes'),
                                DB::raw('sum(total) as total'),
                                DB::raw('sum(profit) as profit'),
                                DB::raw('count(*) as count'),
                              ])
                            ->get()->toArray();
        $saleTemp->deleteTable();

I know this solves a problem to some extent but I am not sure if this is the right approach, I hate to call the method before and after trying to fetch the data and also I lose many laravel features to run on the model. Is there any way that I could do it better? Please let me know if I need to explain it better.

04 Dec
7 months ago

bootstrapguru left a reply on Laravel Relations

Hey @arvisto thanks for your reply. Currently I am actually using timeline capabilities by extending to user, group and model.

so now I have a requirement to get timelines/{username} and to do that I want to add relation in timeline.php for users, groups and pages. What their claim is, keeping these methods in timeline itself will make everything api call slow. It doesn't make sense right? I mean it effects only if we are calling this relation in the controller. Just want to hear from you. The other team don't want to have relation in Timeline.php and they are mobile team

bootstrapguru started a new conversation Laravel Relations

I am working on a social network application, which has timeline types User, Page and Group. I have an argument with another team that they don't feel to have user relation in Timeline. I have all the relation methods in the Timeline.php so that I can fetch timeline and its respective type.

For example I have an endpoint of api\timelines\{username} and want to get the data as follows

$timeline = Timeline::where('username', $username)->with('user')->first();

so that is the best way to go right? and the argument here is that defining the relation would make the other api calls using in mobile will make it slow. I know this is so stupid to think like that but I want to know other laravel players view on this. Your reply would be highly appreciated

23 Feb
2 years ago

bootstrapguru left a reply on Routes And Groups

sorry why it did not take the mark down but you can paste the answer in this link http://dillinger.io/

bootstrapguru left a reply on Routes And Groups

This is what I would do :)

| Method | Url | Route Name | Controller Method | Middleware | | ------------- | ------------- | ------------- | ------------- | ------------- | | DELETE | api/customers | api.customers.delete | App\Http\Controllers\API\[email protected] | api,cors,auth:api | | POST | api/customers | api.customers.store | App\Http\Controllers\API\[email protected] | api,cors,auth:api | | GET|HEAD | api/customers | api.customers.index | App\Http\Controllers\API\[email protected] | api,cors,auth:api | | GET|HEAD | api/customers/create | api.customers.create | App\Http\Controllers\API\[email protected] | api,cors,auth:api | | DELETE | api/customers/{customer} | api.customers.destroy | App\Http\Controllers\API\[email protected] | api,cors,auth:api | | PUT|PATCH | api/customers/{customer} | api.customers.update | App\Http\Controllers\API\[email protected] | api,cors,auth:api | | GET|HEAD | api/customers/{customer} | api.customers.show | App\Http\Controllers\API\[email protected] | api,cors,auth:api | | GET|HEAD | api/customers/{customer}/edit | api.customers.edit | App\Http\Controllers\API\[email protected] | api,cors,auth:api |

16 Nov
2 years ago

bootstrapguru left a reply on Laracasts Refresh

Search Problem : I tried to search for Laravel 5.3, which has given suggestions and I did choose whats new in laravel 5.3. After I hit enter, I got the results which are not related. try the following link @JeffreyWay

https://laracasts.com/search?q=What%27s+New+in+Laravel+5.3

02 Nov
2 years ago

bootstrapguru left a reply on Submitting Form In Vue.js With Ajax

well the form object is normal data that usually posts :) which means you can read the data like below

function catchThePostData(Request $request)
{
    dd($request->all());
}

bootstrapguru left a reply on Submitting Form In Vue.js With Ajax

I have recently upgraded my vue application to 2.0 and it almost took more than 20 hours, since I got large size app with all vuex in it. anyways I have fixed the directive in the new version , so find the updated code that works like a charm :)

export default {
    bind: function (el, binding, vnode) {
        el.addEventListener(
            'submit', function(e){
                e.preventDefault();
                
                let button = el.querySelector('button[type="submit"]');
                button.disabled = true;
                let resetForm = true
                let formData = new FormData(el)

                let formInstance = el
                let method = el.method.toLowerCase();
                Vue.http[method](el.action, formData)
                    .then(function(response){

                        if(response.data.success && resetForm)
                        {
                            formInstance.reset();

                            // show success message here, I prefer noty
                        }
                        
                        button.disabled = false;              
                    })
            }
        );
    }
}
<form method="POST" accept-charset="UTF-8"  autocomplete="off" v-ajax :action="apiUrl + '/api/suppliers'" id="supplierForm"  :reset="true">
</form>
25 Oct
2 years ago

bootstrapguru left a reply on Pusher And Vuejs , Problem Modifying Props

Thanks for the answer but I solved it later that day :)

09 Oct
2 years ago

bootstrapguru left a reply on Submitting Form In Vue.js With Ajax

@Alma I didn't try that yet in Vue 2.0

bootstrapguru left a reply on Submitting Form In Vue.js With Ajax

@ArneetSingh you can add the csrf/acces token in resource headers like below.

Vue.http.interceptors.push((request, next) => {
    request.headers.set('X-CSRF-TOKEN', 'yourCsrfToken');
});

or you could do with cookies for single page applications where it takes jwt token for consuming API

// Attach the token on every request
Vue.http.interceptors.push((request, next) => {

    let token = Cookies.get('jwt.token')
    if (token) {
        request.headers = request.headers || {}
        request.headers.set('Authorization','Bearer ' + token)
    }   

    next()
})

After login make sure to save token

23 Sep
2 years ago

bootstrapguru left a reply on (how To) CRUD With Vue Ajax And Laravel

I just answered how to post vue form data using directives in Single Page Applications. Its simple and its been explained by Jeff already. check the below link

https://laracasts.com/discuss/channels/vue/submitting-form-in-vuejs/replies/245610

bootstrapguru left a reply on Submitting Form In Vue.js With Ajax

You can use directives and it works great for me

Create a file called ajax.js

export default {
    params: ['complete'],

    bind: function () {
        this.el.addEventListener(
            'submit', this.onSubmit.bind(this)
        );
    },

    onSubmit: function (e) {
        e.preventDefault();
        let button = this.el.querySelector('button[type="submit"]');
        button.disabled = true;

        let formData = new FormData(this.el)
        let formInstance = this.el
        this.vm.$http[this.getRequestType()](this.el.action, formData)
            .then(function(response){

                let response_message = response.data.message
                let message = '';
                if(typeof response_message === 'object')
                {
                    for (var key in response_message) {
                      if (response_message.hasOwnProperty(key)) {
                        message += key + " : " + response_message[key] + " <br> ";
                        }
                    }
                }
                else
                {
                    message = response.data.message;
                }
                
                if(response.data.success)
                {
                    formInstance.reset();  

                    // show success message here
                }
                
                button.disabled = false;              

              
            })
    },
    getRequestType: function () {
        var method = this.el.querySelector('input[name="_method"]');

        return (method ? method.value : this.el.method).toLowerCase();
    },
}

and in main js file , import and define the directive in Vue instance.

import ajax from './directives/ajax'
Vue.directive('ajax', ajax);

Finally you can call this in your form as below

<form method="POST" accept-charset="UTF-8" enctype="multipart/form-data" v-ajax action="http://example.dev/api/user">
<fieldset class="form-group">
                                    <label for="productName">item name</label>
                                    <input class="form-control" placeholder="Enter item name" name="name" type="text" />
                                </fieldset>
                                <fieldset class="form-group">
                                    <label for="description">item description</label>
                                    <textarea class="form-control" rows="8" placeholder="Write description about the item" name="description" cols="50" id="description"></textarea>
                                </fieldset>
                                
</form>

v-ajax is the magic that does the trick in the above code and also you don't need to put v-model to each input , since in the directive we are already fetching the whole form data using the below code

        let formData = new FormData(this.el)

Hope this helps, if you find this complex , I can post simple version without using directives :)

bootstrapguru left a reply on Can I Use Laravel 5.3 Passport As General Auth For A SPA To Laravel API?

@changalberto I ended up doing like this

  • Admin logs in to the app where he will get client secret id and password.
if(Auth::attempt(['username' => $request->username, 'password' => $request->password]))
        {
            $passwordClient = Client::where('password_client',1)->first();
            $data = array(
                        'password_client_id' => $passwordClient->id,
                        'password_client_secret' => $passwordClient->secret,
                        'success'=>true,
                        'message' => ' authorized successfully'
                    );
            return response()->json($data, 200);

        }

and if that returns success and then another request using vue-resource and get the access token. I am pretty sure its the bad way to do but I had no other choice at the moment.

Another thing is : I can return access token during the first request but my problem is, I am developing SPA where the front end is used to in cordova and also the electron for desktop apps. This is multi vendor application where people will have their own instance of database. so customer signup on my site to create his instance of subdomain and then he need to authorize the first party app(desktop or mobile) by providing the subdomain name , username and password. Once the admin authorizes the app, the local app will have client id and secret which is stored in localstorage. If any employee or team member of the same company wants to login, they can just provide username and password to get the accesstoken(using password grant), here client id and secret from localstorage is posted to password grant route.

Also I really like to know the better way to handle this, its not really safe to store accesstoken in localStorage right ? I am really looking answers :)

20 Aug
2 years ago

bootstrapguru left a reply on StyleCI

Just spend 20 min with StyleCI and it is awesome. I signed for 10 private repo plan and tried on one of my private repo. It went like magic. I liked it a lot and recommend it for sure @jbrooksuk

it changed 141 files with almost 5000 lines fixes :D and everything done in 2 seconds

03 Aug
2 years ago

bootstrapguru left a reply on Get Latest Messages And Then Reverse The Order

Then it looses pagination data and returns only the items array. I don't want loose attributes like last_page, total,etc

Thanks for replying

bootstrapguru left a reply on Get Latest Messages And Then Reverse The Order

nope I am using VueJs to render the view

02 Aug
2 years ago

bootstrapguru started a new conversation Get Latest Messages And Then Reverse The Order

Hi Guys, Hope everyone doing great. I am stuck with some query which seems to be easy but still I am not able to get it.

I have Private chat system where I am trying to get latest messages from conversation with pagination. The problem is I can get latest 10 messages but unable to reverse them

        $thread->conversationMessages = $thread->messages()->latest()->with('user')->paginate(10);

above line gives me the data with paginator collection so if I use reverse method on collection, I am loosing the pagination properties. Please let me know if have explained bad,

31 Jul
2 years ago

bootstrapguru left a reply on Foreach Users Who Clicked Like On Post.

if you have table that says post_like with post_id and user_id and you can do the following in user.php

    public function postLikes()
    {
        return $this->belongsToMany('App\Post','post_like','user_id','post_id');
    }

and you can always do

$user->postLikes()->get()

I have this working already with my application

bootstrapguru left a reply on Laravel 5.3 Elixir Gives Error When I Run Gulp For First Time

Hi @adiachenko Thanks for your reply. I am using 3.10.6 and downloaded the laravel as it is and tried it without any changes. can you try installing and try it for me ?

composer create-project laravel/laravel laravel53 dev-develop

also npm install gives me lot of errors

npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to [email protected] as soon as possible.Use 'npm ls graceful-fs' to find it in the tree.

npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

npm WARN deprecated [email protected]: [email protected]<3.0.0 is no longer maintained. Upgrade to [email protected]^4.0.0.

npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0.

Please update to [email protected]^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN prefer global [email protected] should be installed with -g
npm WARN prefer global [email protected] should be installed with -g

I have tried installing them too but no luck

30 Jul
2 years ago

bootstrapguru started a new conversation Laravel 5.3 Elixir Gives Error When I Run Gulp For First Time

Thanks in advance for your help, I have seen new video of Laravel Javascript Suggestion ( https://laracasts.com/series/whats-new-in-laravel-5-3/episodes/4 ). I tried to install laravel 5.3 using

composer create-project laravel/laravel laravel53 dev-develo

and then

npm install

when I run gulp I have an error, did I miss something?

/Applications/MAMP/htdocs/laravel53/node_modules/laravel-elixir-vue/main.js:3
Elixir.ready(() => {
              ^
SyntaxError: Unexpected token )
    at exports.runInThisContext (vm.js:73:16)
    at Module._compile (module.js:443:25)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/Applications/MAMP/htdocs/laravel53/gulpfile.js:3:1)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
15 Jul
3 years ago

bootstrapguru left a reply on Pusher And Vuejs , Problem Modifying Props

@Jeffrey got few seconds for me? I am really trying this to get it done. any help would be highly appreciated

14 Jul
3 years ago

bootstrapguru left a reply on Pusher And Vuejs , Problem Modifying Props

I managed to get this to the following code, now it says

Uncaught TypeError: this.newNotification is not a function

 Vue.component('notificationsDropdown', {
    template: '#notifications-list',
    props : ['notifications','unreadNotifications','pusher'],
    ready : function(){
        
    },
    created : function() {
        this.$http.post(base_url + 'ajax/get-unread-notifications').then((response) => {
            this.unreadNotifications = JSON.parse(response.body).unread_notifications;
        }, (response) => {
              // error callback
        });    
        this.subscribeToChannel(this);
    },
    methods : {
        showNotifications : function()
        {
            this.$http.post(base_url + 'ajax/get-notifications').then((response) => {
                  this.notifications = JSON.parse(response.body).notifications.data;
            }, (response) => {
                  // error callback
            });    
        },
        subscribeToChannel()
        {
            // pusher configuration
            this.pusher = new Pusher(pusherConfig.PUSHER_KEY, {
                encrypted: true,
                auth: {
                    headers: {
                        'X-CSRF-Token': pusherConfig.token
                    },
                    params: {
                        username: "vijay"
                    }
                }
            });

            this.NotificationChannel = this.pusher.subscribe(current_username + '-notification-created');

            this.NotificationChannel.bind('App\\Events\\NotificationPublished', function(data) {
                this.newNotification(data);
            });
            
        },
        newNotification : function(data) {
            console.log(data);
        },

    }    
});

bootstrapguru left a reply on Pusher And Vuejs , Problem Modifying Props

could some one help me please? I am still trying on this, but no use, I am unable to fix it

bootstrapguru started a new conversation Pusher And Vuejs , Problem Modifying Props

Hi Guys, Thanks in advance for helping me out, I have a problem modifying the unreadNotifications prop in a component after I get data from pusher.js Please let me know where I am doing wrong, I did try my best to find it but I am new to Vuejs , any help would be highly appreciated. Thanks once again

// extend and register in one step
var notificationsComponent = Vue.component('notificationsDropdown', {
    template: '#notifications-list',
    props : ['notifications','unreadNotifications'],
    ready : function(){
        
    },
    created : function(){
        this.$http.post(base_url + 'ajax/get-unread-notifications').then((response) => {
            this.unreadNotifications = JSON.parse(response.body).unread_notifications;
            // console.log(JSON.parse(response.body));
        }, (response) => {
              // error callback
        });    

        // pusher configuration
        var pusher = new Pusher(pusherConfig.PUSHER_KEY, {
            encrypted: true,
            auth: {
                headers: {
                    'X-CSRF-Token': pusherConfig.token
                },
                params: {
                    username: "vijay"
                }
            }
        });
        var noticccccc = this;
        var NotificationChannel = pusher.subscribe(current_username + '-notification-created');
        NotificationChannel.bind('App\\Events\\NotificationPublished', function(data) {
            this.unreadNotifications = this.unreadNotifications + 1;
        });
    },
    methods : {
        showNotifications : function()
        {
            this.$http.post(base_url + 'ajax/get-notifications').then((response) => {
                  this.notifications = JSON.parse(response.body).notifications.data;
            }, (response) => {
                  // error callback
            });    
        }
    }    
});

11 Jul
3 years ago

bootstrapguru left a reply on Vue : How To Attach Comments To Post Dynamically

@Holm its possible way but I want to lazy load the comments only when user hits the comment button. This is for social script where there will be many records and each post will have comments. Assume something like facebook. Thanks for the comment :)

10 Jul
3 years ago

bootstrapguru left a reply on Vue : How To Attach Comments To Post Dynamically

I have done ton of research but couldn't help myself, any help would be highly appreciated please

bootstrapguru started a new conversation Assign Child Object To Parent Object In Vue Data Ajax

Hi Everyone, I have started working on VueJs recently and its awesome. I have a problem assigning comments to the posts data. I am trying to trigger a method in the component when user clicks on show comments link and that needs to fetch data and assign it to the posts object. Thanks for any help in advance, I am trying this for the past few hours for now .My js code as follows ,

Vue.component('post',{
    template : '#post',
    props : ['list'],
    created : function(){
      this.$http.post(base_url + 'ajax/get-posts').then((response) => {
          // set data on vm
          this.$set('list', response.json());
          setTimeout(function(){
            jQuery("time.timeago").timeago();
          },10);
      }, (response) => {
          // error callback
      });
     
    },
     methods: {
        showComments : function(post,key)
        {
            this.$http.post(base_url + 'ajax/get-comments', {post_id: post.id}).then((response) => {
                // I want to assign comments fetched as response.json to one of the posts attribute "comment"
            }, (response) => {
                  // error callback
            });
        }
    }

});

new Vue({
    el: 'body',
    data: {
        message: 'Hello Vue.js!',
    }
});

27 May
3 years ago

bootstrapguru left a reply on Create Authentification

You should create a new middleware and write the logic for checking either he is admin or user, there are bunch of ways to do this, before that you should really learn about middle wares

bootstrapguru left a reply on Create Authentification

I use like this

    // This is for admin routes, to pass through this admin routes, user should have a role admin
    Route::group(['prefix' => 'admin','middleware' => ['auth','role:admin']], function () {
        Route::get('/login', function(Request $request)
        {
            // load your custom login view here
            return view('dashboard');
        });
    });

    // This is normal authentication provided by the laravel
    Route::auth();
21 May
3 years ago

bootstrapguru left a reply on Fetch Posts Of Logged In User And People He Is Following Orderby Date

@StormShadow yeah thats what I am looking for :) thanks for the post

20 May
3 years ago

bootstrapguru left a reply on Fetch Posts Of Logged In User And People He Is Following Orderby Date

yeah looks almost like my answer but I see you are not attaching logged in user id and also pluck which I see a better alternative, thanks for your answer :) I am going to update this

bootstrapguru left a reply on Fetch Posts Of Logged In User And His Followers Basing On Date

I have managed to get this but please let me know if there is a better solution, I have a feeling that my solution is not right, I want to run with single eloquent if possible...

    $following = Auth::user()->following()->lists('leader_id')->toArray();
    $following[] = Auth::user()->id;
    $posts = App\Post::whereIn('user_id',$following)->orderBy('created_at','desc')->get();

so I got posts of the user and the people whom he is following..

bootstrapguru started a new conversation Fetch Posts Of Multiple Users

Hello everyone, In short , I am trying to show the posts of user and his followers ordering by latest date. Exactly like Facebook feed.

I have User model with followers and posts methods as follows

    public function followers()
    {
        return $this->belongsToMany('App\User','followers','leader_id','follower_id');
    }
   public function posts()
    {        
      return $this->hasMany('App\Post');
    }

also I have Post model

now I am trying to fetch posts of logged in user and his followers, I tried many ways but couldn't crack it, please help me with this. Thanks in advance for the community with great people

28 Nov
3 years ago

bootstrapguru left a reply on Sending Token From Mobile App To Laravel Api

I found a solution to disable csrf for some urls by defining $except in Http/Middleware/VerifyCsrfToken.php

class VerifyCsrfToken extends BaseVerifier
{
    /**
     * The URIs that should be excluded from CSRF verification.
     *
     * @var array
     */
    protected $except = [
        // 'api/*'
    ];
}

bootstrapguru started a new conversation Sending Token From Mobile App To Laravel Api

How do I generate token to send post/put data to the api which is created on top of laravel? I want to post the data from android app . Any help would be highly appreciated.

22 Feb
4 years ago

bootstrapguru left a reply on Laravel 5 Generators

+1 for scaffolding!

11 Dec
4 years ago

bootstrapguru left a reply on Vimeo Api Using Laravel Best Package

all I am looking is to get a video link using video id and permission thing(api key).

both are saved in my application database

bootstrapguru left a reply on Vimeo Api Using Laravel Best Package

Custom video player, I will post video on demand stuff for price, so its almost like laracasts.com The videos will be related to movies

bootstrapguru left a reply on Vimeo Api Using Laravel Best Package

yeah I used vinkla/vimeo , seems like you are the one who created it. I did not find much documentation, so I should refer to vimeo official api repo ? and also let me clearly explain you my requirement, so that you can really suggest me right path.

I am trying to create a video streaming site which is similar to laracasts.com , I mean I will manually add videos to vimeo pro account and when visitor pays for the video I need to able to show the video bringing the vimeo video source with some api key. not just the url (http:://vimeo.com/video_id).

let me know if I am bad at explaining this, I will try better.

By the way thanks a lot for replyign

10 Dec
4 years ago

bootstrapguru left a reply on Navigation Panel Button Like Laravel.com

and one more , I am sorry to miss this . Below one helps if you really need deep navigation and also search. You can append sub menus during ajax calls http://mmenu.frebsite.nl/

bootstrapguru left a reply on Navigation Panel Button Like Laravel.com

I like both of the links given below. They worked great with Twitter bootstrap too http://www.berriart.com/sidr/ http://ascott1.github.io/bigSlide.js/

bootstrapguru started a new conversation Vimeo Api Using Laravel Best Package

Can anyone suggest me the best package for vimeo using laravel? please don't google and give me the answer, I did that already. Just looking for answer if any had earlier experience and found to be good for the project?

Thanks in advance for trying to help me

09 Dec
4 years ago

bootstrapguru left a reply on Dash In Domain?

personally I hate to see special characters in domain names except (.) I would prefer without hyphen :)

30 Nov
4 years ago

bootstrapguru started a new conversation Json Formatting Problem

I am using selectize plugin and I am trying to get feature something like Remote Source — Github : http://brianreavis.github.io/selectize.js/#select-repo

I am trying to output the result using Response:json like below

    return Response::json(array(
        'dat'=>$movies->toArray()
    ));

what I get : https://www.dropbox.com/s/i9hk16a29k6bxi3/Screenshot%202014-12-01%2002.47.54.png?dl=0

what my plugin needs : https://www.dropbox.com/s/zh6rigakfji7zi9/Screenshot%202014-12-01%2002.49.08.png?dl=0

Selectize plugin is unable to recognize my json format. Any help would be highly appreciated. thanks

27 Nov
4 years ago

bootstrapguru started a new conversation Model Where Condition Always

I want to retrieve some records always where status=1, can I declare this in the Model class? and if I want to retrieve pending items something like status=0 , I want to fetch these pending by specifying status.

Let me know if you want me to explain better, hope to get help :)