AdPlus is a simple advertisement module for Drupal 8.x

The module provides two content type ImageAd and TextAd to create Ad content. Ad will displayed in the block. The Ad block can be placed anywhere in the site. For ImageAd, if multiple image is uploaded, it will display as slideshow using jQuery Cycle 2 plug-in which can be downloaded from here: http://jquery.malsup.com/cycle2/download/

Other ad module similar to this is https://www.drupal.org/project/ad, which is still in D7 version and no news to upgrade to D8.

The project can be downloaded from here:
git clone --branch 8.x-1.x https://git.drupal.org/sandbox/shafiqhossain/2784733.git adplus

An initial issue is reported here https://www.drupal.org/node/2788087, patch also provided there.

Comments

shafiqhossain created an issue. See original summary.

PA robot’s picture

Issue summary: View changes
Status: Active » Needs work

There are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpsgitdrupalorgsandboxshafiqhossain2784733git

Fixed the git clone URL in the issue summary for non-maintainer users.

We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)

Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).

I'm a robot and this is an automated message from Project Applications Scraper.

yogeshmpawar’s picture

Title: Simple Ad Module » [D8] Simple Ad Module
shafiqhossain’s picture

Issue summary: View changes
shafiqhossain’s picture

All issues are fixed there:
http://pareview.sh/pareview/httpsgitdrupalorgsandboxshafiqhossain2784733git

Please have a look.

thanks

PA robot’s picture

Status: Needs work » Closed (won't fix)

Closing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).

I'm a robot and this is an automated message from Project Applications Scraper.

shafiqhossain’s picture

Status: Closed (won't fix) » Needs review

Sorry!, All the issues are fixed. Please have a look on it. thanks.

NeuQuest’s picture

The download link provided doesn't work. Is this an official project yet or is it still in Sandbox. I need it in order to move a Drupal 6 project to Drupal 8, otherwise I guess I"ll have to move it to Drupal 7 for the meantime (sure don't want to migrate twice).

shafiqhossain’s picture

Its in sandbox, try with

git clone --branch 8.x-1.x https://git.drupal.org/sandbox/shafiqhossain/2784733.git adplus

sandip27’s picture

Category: Task » Bug report

Upon Installation and then clicking any of links under tools (for instance, /admin/adplus/active), hits an error :

Recoverable fatal error: Argument 5 passed to Drupal\adplus\Controller\AdPlusReportController::__construct() must be an instance of Drupal\adplus\Controller\EntityManagerInterface, instance of Drupal\Core\Entity\EntityManager given, called in /var/www/html/drupal-8.2.4/modules/contrib/adplus/src/Controller/AdPlusReportController.php on line 83 and defined in Drupal\adplus\Controller\AdPlusReportController->__construct() (line 68 of /var/www/html/drupal-8.2.4/modules/contrib/adplus/src/Controller/AdPlusReportController.php)

Also, I found there are two taxonomies created, viz Front and Inner, however, upon using one of those taxonomies e.g. 'Front' for ad locations, I assumed, I would be able to see the ad on front page ? But for some reason, it didn't. Not sure about it. Would be great if you could provide hook_help() to guide how to use the module rather than guessing it throughout.

Please have a fix to it.
Thanks

sandip27’s picture

Few more updates needs/suggested to be fixed :

1. Tables created in hook_schema() should be dropped off in hook_uninstall()
2. Upon module un-installations, delete the contents created for the content type.

Thanks

itamair’s picture

I run a pareview.sh automatic test on this: https://git.drupal.org/sandbox/shafiqhossain/2784733.git
and found many (many) errors in many code files. Here is the review: https://pareview.sh/node/547

I guess you should fix them, isn't it?

sriharsha.uppuluri’s picture

Status: Needs review » Needs work
sriharsha.uppuluri’s picture

Getting WSOD while installing the module.

klausi’s picture

Category: Bug report » Task
Status: Needs work » Needs review

A WSOD means you have not configured your PHP development setup correctly. See https://www.drupal.org/node/158043 and post the error message you get here.

sriharsha.uppuluri’s picture

I have tried the module on vanila instance drupal 8.2.5 and getting this error

"Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "router.route_provider.old". Did you mean one of these: "router.route_provider", "router.route_preloader"? in Drupal\Component\DependencyInjection\Container->get() (line 157 of /var/www/html/drupal-8.2.5/core/lib/Drupal/Component/DependencyInjection/Container.php)."

sriharsha.uppuluri’s picture

Its a core issue or module issue I'm unable to test. @klausi Do I need to test the module with the patch available in https://www.drupal.org/node/2788087.

PA robot’s picture

Status: Needs work » Closed (won't fix)

Closing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).

I'm a robot and this is an automated message from Project Applications Scraper.