loshMiS

loshMiS supports this item

Supported

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

472 comments found.

Hey,

went through the documentation in detail provided in discussion. Confused about “Redirecting to Custom Page After Login” . I think i would not be able to implement it as i don’t know laravel. Kindly explain redirectTo(‘login?to=’ . $to);

What i would be adding or replacing in “redirectTo” ? if custom page after login is in localhost/public/a/index.php

Thankyou

Hey,

You can add the full URL there, and it will work just fine. So,


$to = "http://localhost/public/a/index.php";

redirectTo(‘login?to=’ . $to); 

will redirect you to “localhost/public/a/index.php” after successful authentication.

You can also do it like

$to = "/public/a/index.php"; 
//...

Regards,

Milos

well i am definitely purchasing your script now.. Thankyou for creating such a hot script.. Goodluck with your sales.. Regards and wishes..

gamadev

gamadev Purchased

i want to use arabic language for my site how to add rtl support for this script

Hey,

Vanguard uses twitter bootstrap on frontend, so you will have to use some bootstrap “plugin” to do the work for you, like this one for example: https://github.com/morteza/bootstrap-rtl

It’s nothing Vanguard specific there though and adding rtl support is the same as you would add it in any bootstrap powered website.

In order to include css files, you will have to edit the main layout file: /resources/views/layouts/app.blade.php

Regards,

Milos

Hello I amm trying to add a drop down for departments in the add users tab. Please advise

Hey,

Well you will have to edit the db and few other files to achieve that. It’s pretty easy thing to do, but it requires at least some basic knowledge of Laravel.

I would suggest you to go thorough the following section inside the docs to get some understanding how things work: https://docs.vanguardapp.io/registration-form.html

Once you understand that section, you should be able to apply the same logic to add user page. Two main files that you will need to modify is UsersController and resources/views/user/add.blade.php layout file which also include some partials.

Regards,

Milos

Hi,

With PHP Version 5.6.29 works…?

Thanks

3913d3a9-43a2-4835-9aad-4f4db163be1a – 27 Jan 2017

Hey,

Yeah, it does. Minimum PHP version required is 5.6.4.

Regards,

Milos

Hi Milos, I have an existing PHP application where I have a page displaying all registered users. Is there a way for me to display on the list each of the users’ avatars based on their user.id? Thanks

Hey,

If you are using Vanguard’s codebase and Vanguard’s User class, then just call $user->present()->avatar() to get the avatar URL.

If not, you will have to fetch the avatar field for each user and build the url by yourself (check app/Presenters/UserPresenter.php to see how it is implemented in Vanguard).

Regards,

Milos

Hi,

Have someone used this script to integrate into Wordpress yet ?

cheers,

Hey,

Since this is Laravel application, I don’t think that anyone used it and integrated it with wordpress. However, even if someone did that, chances that he will see this post are very low, since only I get the notification when someone post here.

Regards,

Milos

wjm69

wjm69 Purchased

Can I change the title of the login page? If so where is it?

Thanks, Wiley

Hey Wiley,

Of course you can. Just open resources/views/auth/login.blade.php file and modify the page title section to fit your needs:

@section('page-title', 'This is my page title!')

As you can see, currently it is using the translated string value (which you can find inside /resources/lang/en/app.php file, which means that you can modify it there too.

Regards,

Milos

komputa

komputa Purchased

Hello,

The activity logger logs 127.0.0.1 for all users instead of their ACTUAL IP address.

Please, how do I make it to log the real IP?

Regards

Hey,

Your support for this item has expired, please extend the support if you need my help.

Your server is detecting the IP as 127.0.0.1 for two possible reason:

1) You are running the app on localhost

2) You are running the app with some proxy which does not pass the user IP to the application.

Regards,

Milos

hi , I tried to integrate the script for my login page, and I get this error : Whoops, something went wrong! :( Something went wrong and we could not proceed… Please try again or contact website owner.

Hey,

You probably made some small mistake during the integration. Make sure that you enable development mode (https://docs.vanguardapp.io/development-mode.html) so you can see the errors on the screen, and that you follow the documentation for integrating Vanguard with existing website: https://docs.vanguardapp.io/existing-website.html

Regards,

Milos

sinaghazi

sinaghazi Purchased

Hi,

We have done an automated source code review and the results can be downloaded from: https://goo.gl/6P0JaJ

It would be great if you can check it out and plan addressing the issues in future versions.

Thank you,

Hey,

Thank you for letting me know. I’ve checked and, with all the respect, but this report is really not relevant at all. You have scanned all the files, including all the packages from vendor folder and their test suites, so the results you get are simply wrong. You will probably get similar results if you scan pure Laravel installation.

Those automated tools cannot really provide the accurate information about the software itself, especially not if you scan everything with all tests, examples and stuff included.

Regards,

Milos

brainHAx

brainHAx Purchased

hi,

i am about to buy this script .. I have a simple php application which is no built in Laravel .

Will I be able to connect it with the simple php application ?

Great system

Can I use Auth::user()->can(’’) inside controllers and models?

I’ve few forms and I want to assign separated permissions for some fields in these forms

And I know that using @permision in the blade files surround the inputs will not be enough

another question

I don’t find any tips in the documentations for the possibility of adding Activity Log for the modules

or it is only for user management system?

by
by
by
by
by
by