umerhassan

Programmer at Lahore Graphic Design

Experience

1,500

0 Best Reply Awards

  • Member Since 5 Months Ago
  • 4 Lessons Completed
  • 0 Favorites

20th June, 2018

umerhassan started a new conversation Property Or Method "message" Is Not Defined On The Instance But Referenced During Render • 2 hours ago

I am just studying vuejs but stuck in this error. I don't know how to get it rid it off

<template>
    <div class="container">
        <div class="row">
            <div class="col-md-8 col-md-offset-2">
                <div class="panel panel-default">
                    <div class="panel-heading">Example Component</div>
                        <div id="app">
                            {{ message }}
                        </div>
                    <div class="panel-body">
                        I'm an example component!
                    </div>
                </div>
            </div>
        </div>
    </div>
</template>

<script>
    $(document).ready(function () {
        var app = new Vue({
            el: '#app',
            data: {
                message: 'Hello Vue!'
            }
        })
    })
</script>

23rd May, 2018

umerhassan left a reply on How Do I Create Chat Like Emailing In Website • 4 weeks ago

yes it could be but not live chat, I need simple like emailing or support ticketing.

umerhassan started a new conversation How Do I Create Chat Like Emailing In Website • 4 weeks ago

I need simple communication channel between user and vendor in website what would be the best way other than rtc (twilio, pvlio etc), I want to create like ticketing but in 1:1 private chat

Thanks

22nd May, 2018

umerhassan started a new conversation Chat Module • 4 weeks ago

I want to make chat feature in laravel app where user can chat with vendors, but need simple chat solution, it will not live. It could be like email process let me know any third party service in this case

Thanks

5th May, 2018

umerhassan started a new conversation Image Compression • 1 month ago

I am trying to follow google insights for page speed, my website has an option that one can upload his/her product, so how can I apply image compression on the time of uploading, that meets google insights standards.

Thanks

27th April, 2018

umerhassan left a reply on Rules Engines • 1 month ago

@Vilfago you are right but that rules are referring to validations rules, I need rules for search.

umerhassan started a new conversation Rule Engine • 1 month ago

I need help about building rule engine, any article that shows logic how I can create simple rules over search.

2nd April, 2018

umerhassan left a reply on Autocomplete Search • 2 months ago

@jcmargentina thank you for your stuff, I already fixed with ajax I just wanted to know the best practice for searches.

31st March, 2018

umerhassan left a reply on Autocomplete Search • 2 months ago

ok sure so, we can go with for now

umerhassan left a reply on Autocomplete Search • 2 months ago

I know about like but i want quick suggestive search in drop down with each input.

umerhassan left a reply on Autocomplete Search • 2 months ago

inside my website, want to search products from my database

umerhassan started a new conversation Search • 2 months ago

I want to implement search in laravel project, any library or suggestion for autocomplete search from database.

23rd March, 2018

umerhassan left a reply on Redirect Request From Ip To Domain • 2 months ago

ok great will check and let you know

umerhassan started a new conversation Redirect Request From Ip To Domain • 2 months ago

I have mapped my forge hosting with godaddy's domain, but still I can access website via ip. How I can redirect requests forcefully from ip to domain?

umerhassan left a reply on SparkPost Setup With Laravel • 2 months ago

Thank you I have change my plan from sparkPost to mailGun and that is working fine

umerhassan left a reply on Session Of A Shopping Cart • 2 months ago

Hello, first why are you using session cart with database, you can use https://github.com/Crinsane/LaravelShoppingcart package that has a lot of required functions, and second, instead of DB use eloquent that will be much easier to figure out the problem

Thanks

umerhassan left a reply on Best Way To Handle MethodNotAllowedHttpException • 2 months ago

I have just solved by checking in Handler.php that if $request->_token is coming null or not. Thanks @Cronix

22nd March, 2018

umerhassan left a reply on Best Way To Handle MethodNotAllowedHttpException • 2 months ago

I know but if someone do refresh page on submitted page it will also throw exception. I just want to redirect, I can check that in controller manually for each request but I am asking is there any way to handle general exceptions like in handler file or anywhere? exception I got

Symfony \ Component \ HttpKernel \ Exception \ 
MethodNotAllowedHttpException

umerhassan started a new conversation Best Way To Handle MethodNotAllowedHttpException • 2 months ago

How to check or redirect if Request object is null, any general or global solution Thanks

13th March, 2018

umerhassan left a reply on SparkPost Setup With Laravel • 3 months ago

I am following that: https://github.com/SparkPost/php-sparkpost in response I get above message.

umerhassan left a reply on SparkPost Setup With Laravel • 3 months ago

I received status

200 Array ( [results] => Array ( ) )

I think 200 is code of ok but nothing happens

umerhassan started a new conversation SparkPost Setup With Laravel • 3 months ago

I need to setup sparkpost with my laravel project I followed all basic steps like: Setup Account of sparkpost, Add sending domain, Verify status with DNS

But still not sending emails. Do anyone have experience/blog of sparkpost setup with laravel?

Thank you.

27th February, 2018

umerhassan left a reply on Class DatabaseSeeder Does Not Exist • 3 months ago

Yes I found that Thank you for help.

26th February, 2018

umerhassan started a new conversation Class DatabaseSeeder Does Not Exist • 3 months ago

I am trying to run

php artisan db:seed

But it says the error

In Container.php line 729:
Class DatabaseSeeder does not exist  

31st January, 2018

umerhassan left a reply on Build Tool In Laravel • 4 months ago

Thank let you know after checking these

umerhassan left a reply on Build Tool In Laravel • 4 months ago

I have already done with forge, I mean about built tool to compress all files like js, css automatically as 'Grunt' https://gruntjs.com/ do.

umerhassan started a new conversation Build Tool In Laravel • 4 months ago

I am developing application in laravel and now need to deploy, I am looking for any built tool best for laravel.

16th January, 2018

umerhassan left a reply on Get Id Of Specific Item In List • 5 months ago

Simple.. :) actually I was used to jQuery it is my first try in vue thank you

umerhassan left a reply on Get Id Of Specific Item In List • 5 months ago

<croppa v-model="myCroppa[1]" :quality="5" id="image-1" @file-choose="handleCroppaFileChoose" @image-remove="handleImageRemove" :show-loading="true" :width="180" :height="180" :prevent-white-space="true" canvas-color="transparent"></croppa>

umerhassan left a reply on Get Id Of Specific Item In List • 5 months ago

I am using vue js image cropper, I initiated 6 instances from one component as above. It assigned dynamically id to each instance. On each click I call "handleCroppaFileChoose" method but I want handler or element selector of clicked instance. If I use $(this) it returns "#imagesDiv" element.

umerhassan left a reply on Get Id Of Specific Item In List • 5 months ago

did you understand my problem?

umerhassan left a reply on Get Id Of Specific Item In List • 5 months ago

Can you give any hint that, how to pass?

umerhassan left a reply on Get Id Of Specific Item In List • 5 months ago

var app = new Vue({
    el: '#imagesDiv',
    data: {
        myCroppa:[],
        imgUrl: '',
        numberFiles:0,
    },
    methods: {
        handleCroppaFileChoose: function(e){
        // here I want id of specific item lets say I get id for 3rd instance
        console.log(this.myCroppa[3]._uid);             
        },
})

12th January, 2018

umerhassan left a reply on Get Id Of Specific Item In List • 5 months ago

var app = new Vue({
    el: '#imagesDiv',
    data: {
        myCroppa:[],
        imgUrl: '',
        numberFiles:0,
    },
    methods: {
        handleCroppaFileChoose: function(e){
        // here I want id of specific item lets say I get id for 3rd instance
        console.log(this.myCroppa[3]._uid);             
        },
})

umerhassan started a new conversation Get Id Of Specific Item In List • 5 months ago

I am using vue-croppa library for image cropping https://github.com/zhanziyang/vue-croppa I have multiple initiated multiple images with same model. I defined instances in list, but want to get id of specific item on triggering function "handleCroppaFileChoose"

30th December, 2017

umerhassan left a reply on Image Cropper Before Uploading • 5 months ago

check the same issue at git: https://github.com/Foliotek/Croppie/issues/287

umerhassan left a reply on Image Cropper Before Uploading • 5 months ago

I am using the code like

$uploadCrop[j].croppie('result', {
    type: 'canvas',
        size: 'orignal',
        format: 'jpeg'
}).then(function (resp) {
    // upload via ajax
}); 

and after uploading it still becomes 3 times bigger.

29th December, 2017

umerhassan left a reply on Is Ajax Call Route Is Secure? • 5 months ago

yes you right there, I need suggestion to make ajax call secure because the code of js is public for all and anyone can get the idea of logic behind.

umerhassan started a new conversation Is Ajax Call Route Is Secure? • 5 months ago

I am just wanted to know that is the use of ajax to call routes is secure?

umerhassan left a reply on Image Cropper Before Uploading • 5 months ago

Ok thank you I was doing the same, but found there was another issue.

27th December, 2017

umerhassan started a new conversation Image Cropper Before Uploading • 5 months ago

I am looking for any library in jQuery for image crop before upload. like: http://foliotek.github.io/Croppie/ but it makes images size 6 to 7 times bigger. i.e. image of 800kb would be upload of 7mb or 8mb.

25th December, 2017

umerhassan left a reply on Best Way To Store Product Images • 5 months ago

Yea same here locally it save almost immediately. But If we switch to s3 it slows down. I was curious that is there anything wrong with my process of uploading.

23rd December, 2017

umerhassan left a reply on Best Way To Store Product Images • 5 months ago

Thank you @goatshark for reply actually I am handling s3 perfectly. But the issue I am facing with s3 uploading. It is taking too much time. suppose one image of 800kb takes about 1.5 or 2 mins to upload. Thats why I am asking the best practice for image storing.

Is there any other thing that can be creating issue while uploading, like forge, nginx ??

umerhassan left a reply on Best Way To Store Product Images • 5 months ago

ok let me check that.

umerhassan left a reply on S3 Server Batch Processing • 5 months ago

laravel queue? or is there any option in S3?

umerhassan left a reply on Best Way To Store Product Images • 5 months ago

I tried both s3 and local but S3 is talking too much time? and sometime it says 504 gateway time out.

umerhassan started a new conversation S3 Server Batch Processing • 5 months ago

Is there any way to upload batch images to amazon S3 servers? I am uploading multiple images in sequence but it is talking too much time. Anybody help me about how I can improve performance in uploading.

umerhassan started a new conversation Best Way To Store Product Images • 5 months ago

I am creating an eCommerce solution in laravel and I need to store product Image, I need suggestions what would be the best way to store product images? Is local storage where files are hosting or any other cloud storage would be better?

Edit Your Profile
Update

Want to change your profile photo? We pull from gravatar.com.