iosman001

iosman001

Member Since 2 Weeks Ago

Experience Points
150
Total
Experience

4,850 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 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-in-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 Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist 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 1
150 XP
May
27
2 days ago
Activity icon

Started a new Conversation Could Not Open Input File: Composer.phar?.

Hello,

it try to run command given below,and it shows the error,while my composer is installed globally and composer.phar is there,here is the command i'm trying to run,

php composer.phar require intervention/image

thanks iosman

May
23
6 days ago
Activity icon

Started a new Conversation How To Insert Multiple Row Images Using Js?

Hello,

if ($image = $request->file($row['receipt_upload']) {

    foreach ($image as $files) {
        $files = $request->file('receipt_upload');
        $name = time() . $files->getClientOriginalName();
        $files->move(public_path('uploads/receipt'), $name);
        $receipt = "public/uploads/receipt/{$name}";
    }

}

whats wrong in this code..could u plz clarify this problem becoz last two days i spend my time for this issue but can't.

thanks iosman

May
10
2 weeks ago
Activity icon

Started a new Conversation Authorize In App.js + Owns In Authorization.js Not Working, Buttons Doesn't Shows?.

Hello,

in build forum tutorial, in order to update/delete a thread, or update/delete/favorite a reply, you need to be signed if and be the owner of the thread/reply, i used an "authorize method", declared in app.js but it doesn't work at all, as a result all my buttons are not displayed even if i'm the owner of the thread/reply , here's the full code

notice : it also using vue2js

this is in app.js, authorize :

let authorizations = require('./authorization');

Vue.prototype.authorize = function (...params) { if (! window.app.signedIn) return false;

if (typeof params[0] === 'string') {
    return authorizations[params[0]](params[1]);
}

return params[0](window.app.user);

};

Vue.prototype.signedIn = window.app.signedIn; and this is authorization.js

let user = window.app.user;

module.exports = { owns (model, prop = 'user_id') { return ! model[prop] === user.id; },

};

reply.vue :

said https://fmovies.buzz https://putlocker.tips https://huiledericin.co
    <div class="card-body">
        <div v-if="editing">
            <div class="form-group">
                <form @submit.prevent="update">
                    <div class="form-group">
                        <wysiwyg v-model="body"></wysiwyg>
                    </div>

                    <button class="btn btn-sm btn-primary">Update</button>
                    <button class="btn btn-sm btn-link" @click="editing = false" type="button">Cancel</button>
                </form>
            </div>
        </div>
        <article v-html="body" v-else></article>
    </div>

    <div class="card-footer d-flex justify-content-between" v-if="authorize('owns', reply) || authorize('owns', reply.thread)">
        <div v-if="authorize('owns', reply)">
            <button class="btn btn-sm btn-success mr-1" @click="editing = true">Edit</button>
            <button class="btn btn-danger btn-sm" @click="destroy">Delete</button>
        </div>
        <button class="btn btn-sm btn-outline-primary ml-a" @click="markBestReply" v-if="authorize('owns', reply.thread)">Best Reply?</button>
    </div>
</div>
import Favorite from './Favorite.vue'; import moment from 'moment'; export default { props: ['reply'], components: {Favorite}, data() { return { editing: false, id: this.reply.id, body: this.reply.body, isBest: this.reply.isBest, }; }, created() { window.events.$on('best-reply-selected', id => { this.isBest = (id === this.id); }); }, computed: { ago() { return moment(moment.utc(this.reply.created_at)).fromNow(); }, signedIn() { return window.app.signedIn; }, canUpdate() { return this.authorize(user => this.data.user_id == user.id) } }, methods: { update() { axios.patch( '/replies/' + this.data.id, { body: this.body }) .catch(error => { flash(error.response.data, 'danger'); }); this.editing = false; flash('Updated!'); }, destroy() { axios.delete('/replies/' + this.id); this.$emit('deleted', this.id) }, markBestReply() { axios.post('/replies/' + this.id + '/best'); window.events.$emit('best-reply-selected', this.id); } } }

thanks iosman