Adsense & Ads for phpBB

Extensions & Styles for phpBB 3.1.X maintained and supported by Stoker
delv
BBCoder I
BBCoder I
Posts: 4
Joined: 18 May 2017, 09:10
BBCodes: 9

Re: Adsense & Ads for phpBB

Post by delv » 20 Jan 2018, 13:21

Hi,
How can i put the Adsense code between 2 forum categories (in a box) like the box "Adsense" on the index page of this forum?
I suppose with only manual edits?


User avatar
Stoker
Site Admin
Site Admin
Posts: 3535
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark

Re: Adsense & Ads for phpBB

Post by Stoker » 20 Jan 2018, 14:54

delv wrote:
20 Jan 2018, 13:21
Hi,
How can i put the Adsense code between 2 forum categories (in a box) like the box "Adsense" on the index page of this forum?
I suppose with only manual edits?
Yes, you need to create at file named forumlist_body_category_header_before.html and put it in the ext\stoker\adsenseads\styles\prosilver\template\event\ folder

The content of the file:

Code: Select all

<!-- IF U_SEE_ADS or S_ADSENSEADS -->
<!-- IF forumrow.FORUM_ID eq '46' -->
<div class="forabg">
	<div class="inner">
		<ul class="topiclist">
			<li class="header">
				<dl class="row-item">
					<dt><div class="list-inner">Adsense</div></dt>
					<dd>&nbsp;</dd>
				</dl>
			</li>
		</ul>
			<div class="inner">
				<div class="content" style="background-color:#F4F4F4;">
				adsense code here
				</div>
			</div>
	</div>
</div>
<!-- ENDIF -->
<!-- ENDIF -->
Take notice of this part:

Code: Select all

<!-- IF forumrow.FORUM_ID eq '46' -->
You need to edit the number 46
Put in the ID of the category where you want it to appear before.
Purge cache when done
Board rules! No PM support
Sure, I can install the Mod for you ;)
Like the site? Then buy me a bear

delv
BBCoder I
BBCoder I
Posts: 4
Joined: 18 May 2017, 09:10
BBCodes: 9

Re: Adsense & Ads for phpBB

Post by delv » 20 Jan 2018, 16:53

Thank you very much :thumb:
It's working perfect :D

raskan
BBCoder I
BBCoder I
Posts: 1
Joined: 21 Jan 2018, 21:27
BBCodes: 0

Re: Adsense & Ads for phpBB

Post by raskan » 21 Jan 2018, 21:37

Its my first extension but i instaled on my phpbb version 3.2.2 and have a problem...
The extension say me i dont have permisions... when i modify parameters and save, the extension redirectme to 404page and dont save no one the changes i make...
i install the older version (1.0.6) and all work fine.. i dont know if its my fault but i mean not
pls workers look this problem with version 1.0.7

thx all this work i mean its one of the best plugins and its complet

User avatar
Stoker
Site Admin
Site Admin
Posts: 3535
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark

Re: Adsense & Ads for phpBB

Post by Stoker » 22 Jan 2018, 04:41

raskan wrote:
21 Jan 2018, 21:37
Its my first extension but i instaled on my phpbb version 3.2.2 and have a problem...
The extension say me i dont have permisions... when i modify parameters and save, the extension redirectme to 404page and dont save no one the changes i make...
i install the older version (1.0.6) and all work fine.. i dont know if its my fault but i mean not
pls workers look this problem with version 1.0.7

thx all this work i mean its one of the best plugins and its complet
can you update from 1.0.6 to 1.0.7?
Board rules! No PM support
Sure, I can install the Mod for you ;)
Like the site? Then buy me a bear


Pammachio
BBCoder I
BBCoder I
Posts: 3
Joined: 14 Feb 2018, 11:18
BBCodes: 3

Re: Adsense & Ads for phpBB

Post by Pammachio » 14 Feb 2018, 15:15

hello, this plugin works very well.
If, however, instead of a adsense banner, I want to insert an image banner with a link to the site, and that it is all responsive, what code should I enter? graces

User avatar
Stoker
Site Admin
Site Admin
Posts: 3535
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark

Re: Adsense & Ads for phpBB

Post by Stoker » 14 Feb 2018, 17:04

Pammachio wrote:
14 Feb 2018, 15:15
hello, this plugin works very well.
If, however, instead of a adsense banner, I want to insert an image banner with a link to the site, and that it is all responsive, what code should I enter? graces
Something like this

Code: Select all

<a href="url here">
  <img src="image path here" alt="l" style="width:100px;height:100px;border:0;">
</a>
Change width and height for your image
Board rules! No PM support
Sure, I can install the Mod for you ;)
Like the site? Then buy me a bear

Pammachio
BBCoder I
BBCoder I
Posts: 3
Joined: 14 Feb 2018, 11:18
BBCodes: 3

Re: Adsense & Ads for phpBB

Post by Pammachio » 14 Feb 2018, 17:34

now I have tried this, which from pc is okay, but is not responsive so from cell phone is cut off

Code: Select all

<a href="https://www.forumelettrico.it/"><img src="https://www.forumelettrico.it/banner_prova_jeep.jpg"></a>
How can I solve it?
graces

Pammachio
BBCoder I
BBCoder I
Posts: 3
Joined: 14 Feb 2018, 11:18
BBCodes: 3

Re: Adsense & Ads for phpBB

Post by Pammachio » 14 Feb 2018, 17:35

excuse me, I'm writing in both forums, tell me where to continue, whether here or there.
graces

shakoor
BBCoder I
BBCoder I
Posts: 1
Joined: 19 Nov 2017, 15:31

Re: Adsense & Ads for phpBB

Post by shakoor » 12 Jan 2019, 18:44

dear stoker Adsense & Ads for phpBB 1.07 can work on phpbb 3.2.5