Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Google AdSense Extension for PhpBB 3.1.x
#1

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


Attached Files
.zip ashus-adsense.zip Size: 15,44 KB  Downloads: 1 023

[Image: kavove-zrnka-lajna.jpg]
Coffee phreak!
Reply
#2

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

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

[Image: kavove-zrnka-lajna.jpg]
Coffee phreak!
Reply
#4

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

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

[Image: kavove-zrnka-lajna.jpg]
Coffee phreak!
Reply
#6

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.
Reply
#7

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

[Image: kavove-zrnka-lajna.jpg]
Coffee phreak!
Reply
#8

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...
Reply
#9

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

No, inside your template's CSS styles files.

[Image: kavove-zrnka-lajna.jpg]
Coffee phreak!
Reply




Users browsing this thread: 3 Guest(s)