loshMiS

loshMiS supports this item

Supported

This author's response time can be up to 1 business day.

367 comments found.

dkwollie

dkwollie Purchased

Hi, I bought your app and I need to create a new table in Database as Process. How to use this new table? What kind file I need to create and edit? I need showing the values included in this new database table.

Hey,

Vanguard is Laravel application, which means that at least some basic knowledge of Laravel php framework is required if you want to customize it.

Here are some examples that you can check on how to create database tables and how to fetch the data from DB:

https://docs.vanguardapp.io/new-page.html https://docs.vanguardapp.io/registration-form.html

But, as I said, you will probably have to check Laravel’s documentation too to learn more about database migrations, models, views etc.

Regards,

Milos

Swissv2

Swissv2 Purchased

Hello Ioshmis,

It was refreshing to see clean code with good use of the Laravel framework. Other items I downloaded were extremely messy and buggy. I do have one thing to mention that could pose a problem: one of the permissions of an Admin is the ability to “Manage Users”, but if you assign the “manage users” to a lower ranked account (say, you make a Role of “Manager”), can that Manager technically DELETE the main ADMIN account? I thought that was a bit…weird.

Hey,

Thanks for your comment, I’m glad you like it.

Well you are technically right. The main accent is to permissions and roles are there so you can easily group some users with the same permissions, and there is no “main” admin account. So if you give the permission to someone to manage users, then he will be able to delete all other accounts except his own account.

Manage permission is only there as an example, and if you want to allow some other roles to “manage users”, I would recommend you to either add few more permissions (like it is described here https://docs.vanguardapp.io/working-with-permissions.html) or add another column into users table to indicate if some user is root user, and then check that when someone with “Manage Users” permission try to delete the user.

Regards,

Milos

Hi, I’d like to ask if this one includes a documentation wherein there are a few pointers on how to integrate this with other PHP applications?

Hey,

The documentation is available online, so you can go through it and see if Vanguard fits your needs: https://docs.vanguardapp.io/existing-website.html

Regards,

Milos

Dear Author, is it possible to integrate OpenLDAP as backend for users? That would be awesome and very important for me. If you won’t integrate it: is it easy to integrate it by myself (e.G. do you have any authentication classes that I need to change or is it “more” to do?).

Hey,

Well Vanguard is a Laravel aplication, which means that if you are familiar with Laravel, you would probably be able to easily integrate it by yourself. There are some packages which can you also use, like this one: https://packagist.org/packages/kcchung/l5-openldap-auth

But again, you must be familiar with Laravel do to such customization.

Regards,

Milos

Hi,

I want users to be able to sign up, and then they can display the list of all users en view their profile. Also, I want the users to be able to see all the users on a google map according to the address field of the users.

Is this possible with your plug-in?

Hey,

You can check the demo to see all the features that Vanguard provides: https://demo.vanguardapp.io

It is possible to see the list of al users, and their profiles (depending on your account permissions of course), but you will have to implement google map feature by yourself, since it does not come out of the box.

Btw, don’t forget that, in order to customize Vanguard, you must be familiar with Laravel.

Regards,

Milos

Swissv2

Swissv2 Purchased

Ah, I found a bit of a bug! In the users profile section, the country defaults back to the first value of the pull-down menu instead of reading the value in the database and selecting the value.

For example, I choose United States, but when I check my profile it defaults to Afghanistan. When I hit “update details”, it does parse the proper country code (840) to the database, but the pull-down menu goes back to “Afghanistan” when I revisit my profile page. Unwittingly, when I “update” another detail in my profile, that value “Afghanistan” gets inserted into the database.

Hope this made sense.

Hey,

Thanks for posting it here. Some users pointed that out earlier, and I’ve already fixed it, but still haven’t uploaded it to CodeCanyon since I’m in the middle of implementing some other features. To fix it, just overwrite the “update” method inside ”/app/Repositories/User/EloquentUser.php” class to look like following:

public function update($id, array $data)
    {
        $countryId = array_get($data, 'country_id');

        if ($countryId !== null && (int) $countryId == 0) {
            $data['country_id'] = null;
        }

        return $this->find($id)->update($data);
    }

This should fix your problem, and I will try to upload new version of Vanguard as soon as possible.

Regards,

Milos

JANGO1977

JANGO1977 Purchased

I am getting the error Fatal error: Class ‘Illuminate\Foundation\Application’ not found in /vanguard/bootstrap/app.php on line 14 in production but don’t get the same error in development. Please advise

Hey,

Are you sure that you have uploaded all Vanguard files to your server? Also, check if your server meets minimum Vanguard requirements and has PHP >= 5.6.4.

Regards,

Milos

by
by
by
by
by
by