Giter Site home page Giter Site logo

5balloons / laravel-smart-ads Goto Github PK

View Code? Open in Web Editor NEW
296.0 296.0 31.0 811 KB

Ads, Banners, Callout Manager and Auto Ad Inserter for Laravel

License: MIT License

PHP 36.60% Blade 60.63% CSS 0.06% JavaScript 2.71%
ad-manager laravel laravel-package

laravel-smart-ads's People

Contributors

5balloons avatar aphoe avatar tushargugnani avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

laravel-smart-ads's Issues

Error on edit

Undefined property: stdClass::$style (View: /var/www/site/vendor/5balloons/laravel-smart-ads/resources/views/smart-ad-manager/edit.blade.php)

Error on edit

Undefined property: stdClass::$style (View: /vendor/5balloons/laravel-smart-ads/resources/views/smart-ad-manager/edit.blade.php)

  1. Add image banner
  2. Change auto insertion
  3. Try edit - error

In DB JSON
[{"position": "afterbegin", "selector": "#banner-1-mid-en"}]
Have not style param.

set prefix

i see your project can set custom prefix in here
image

but there is a problem when calling it with .blade: you don't assign a prefix when calling the route
For example, if I set the prefix to admin, it will be domain.com/admin/smart-ad-manager. However, because the internal url has been hard set, there will be no admin prefix inside.
So what I want is that after setting the prefix, I want the url to look like this: domain.com/admin/smart-ad-manager/ads/create, not domain.com/smart-ad-manager/ads/create
image

And dont forget to name the route

Could not open input file: artisan

Hi
See there are people in this world that are just beginning in Laravel and would like to install your great package, but it's soo annoying that some steps are not specified and of course the whole thing doesn't work!!! :(
I'm one of them and I got this error when running "php artisan vendor:publish --provider="_5balloons\LaravelSmartAds\LaravelSmartAdsServiceProvider" --tag="smart-ads-migrations""
It's not enough I spent a few hours to realize why the project didn't install at all, now I finally managed to install it, but I got this error.

BTW, for the beginners like me, I have to say if it helps anyone, because the "composer require 5balloons/laravel-smart-ads" doesn't work by itself, you have to CLONE the git project first, then REMOVE the damn composer.json file, and only then do the "composer require" command.

So I did all that and now of course there's another issue now.
Firstly, migrations are done in the DB right, but there's absolutely no info about how that's integrated or at least where is the DB connection info...

Anyway, when I did that command I got the "Could not open input file: artisan"

Anyone any help about this please?
Thanks a lot!

Issues List

Description

  • When I initially loaded the page, the design was not loading properly, the instructions to run npm install and npm run dev after publishing the assets are missing in the docs
  • The automatic ad placement feature seems a bit confusing, I tried it but don't see the ad/markup rendered anywhere, maybe there's an issue with it? A proper description of what it is and how it works would be helpful to the package users.
  • Also, since the description supports HTML markup as well, a proper use case about the package usage/how to use the package would be helpful.
  • There's a Clicks statistic for the ads, I tried adding a link tag and tried clicking but the click count didn't increase, so maybe I can't figure out how to use it, so a use case of this feature would also be helpful

Validation error on update

Hi!
In StoreSmartAdRequest
rule
$image_rule = "nullable|image|mimes:jpg,png,jpeg,gif,svg|max:2048";

not working.

count of click is not working

    "php": "^8.1",
    "5balloons/laravel-smart-ads": "^1.1",
    "filament/filament": "^3.0-stable",
    "filament/tables": "^3.0-stable",
    "guzzlehttp/guzzle": "^7.2",
    "laravel/framework": "^10.0",
    "laravel/sanctum": "^3.2",
    "laravel/tinker": "^2.8"

how to restrict admin page to me (the admin)

hey @5balloons, firstofall: awesome package. Love the clean and sweet features.

I'm wondering how i can properly make it accessible for me as an admin only, without editing the vendor files.
Are there any config things i can set?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.