Ashus.ashus.net
Google AdSense Extension for PhpBB 3.1.x - Printable Version

+- Ashus.ashus.net (https://ashus.ashus.net)
+-- Forum: My creations (https://ashus.ashus.net/forum-3.html)
+--- Forum: Other (https://ashus.ashus.net/forum-9.html)
+--- Thread: Google AdSense Extension for PhpBB 3.1.x (/thread-169.html)

Pages: 1 2 3 4


Google AdSense Extension for PhpBB 3.1.x - Ashus - 27.4.2015

An extension for phpBB 3.1 that allows administrators to easily add their Google AdSense ads after first post in topic display details.

Modified from this extension: Google Analytics from phpBB team
Thanks guys.


Quick Install


You can install this on the latest release of phpBB 3.1 by following the steps below:

  1. Download the latest release
  2. Unzip the downloaded release.
  3. Copy the `ashus` directory to `phpBB/ext/ashus/` (if done correctly, you'll have the main composer JSON file at (your forum root)/ext/ashus/adsense/composer.json).
  4. Navigate in the ACP to `Customise -> Manage extensions`.
  5. Look for `Google AdSense` under the Disabled Extensions list, and click its `Enable` link.
  6. Set up and configure Google AdSense by navigating in the ACP to `General` -> `Board Configuration` -> `Board Settings`.

Uninstall


  1. Navigate in the ACP to `Customise -> Extension Management -> Extensions`.
  2. Look for `Google AdSense` under the Enabled Extensions list, and click its `Disable` link.
  3. To permanently uninstall, click `Delete Data` and then delete the `/ext/ashus/adsense` directory.

Support


License


GNU General Public License v2


Re: Google AdSense Extension for PhpBB 3.1.x - lws96 - 13.6.2015

Can this be put on the index page, or can I limit it to not be viewable by users who donate to the forums?


Re: Google AdSense Extension for PhpBB 3.1.x - Ashus - 13.6.2015

lws96: No, the extension can't do that.


Re: Google AdSense Extension for PhpBB 3.1.x - Doc Color - 16.6.2015

Is there a way to choose the audience ? Can adsense be disabled for registered users ?


Re: Google AdSense Extension for PhpBB 3.1.x - Ashus - 16.6.2015

Doc Color: No, but thanks for the interesting idea.


Re: Google AdSense Extension for PhpBB 3.1.x - zoser - 18.6.2015

Hi.

How i can center the banner. I tried with but is not possible.

Is very interesting the option to show banners guests or members.

thanks.


Re: Google AdSense Extension for PhpBB 3.1.x - Ashus - 18.6.2015

zoser: Try this CSS:
Code:
.adsense .postbody .content {
    text-align: center;
}



Re: Google AdSense Extension for PhpBB 3.1.x - Guest - 18.6.2015

zoser Wrote:Hi.

How i can center the banner. I tried with but is not possible.

Is very interesting the option to show banners guests or members.

thanks.

I tried too with this code, but not working :-(

Code:
....adsense code...



Re: Google AdSense Extension for PhpBB 3.1.x - zoser - 18.6.2015

Ashus Wrote:zoser: Try this CSS:
Code:
.adsense .postbody .content {
    text-align: center;
}
Directly on the textbox of the extension?


Re: Google AdSense Extension for PhpBB 3.1.x - Ashus - 18.6.2015

No, inside your template's CSS styles files.