[ABD] Quick Ads

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
Locked
User avatar
o0johntam0o
Registered User
Posts: 228
Joined: Thu Sep 23, 2010 3:53 pm
Location: Viet Nam
Name: Tam
Contact:

Re: [BETA] Quick Ads

Post by o0johntam0o » Sat May 02, 2015 2:28 pm

Komanche wrote:Is there any possibility to add margin-top when in right position? The ad-box overflows login box and it makes my users angry... :)
Please try this:
Open .\ext\o0johntam0o\quickads\styles\all\template\event\overall_footer_after.html
Find:

Code: Select all

							if (selfHeight <= windowHeight)
							{
								el.animate({top:scrollTop+5}, {duration:800,queue:false});
							}
							else
							{
								if (selfHeight <= windowHeight + scrollTop)
								{
									tmp = windowHeight - selfHeight + scrollTop;
									el.animate({top:tmp}, {duration:800,queue:false});
								}
								else
								{
									el.animate({top:5}, {duration:800,queue:false});
								}
							}
Replace {top:scrollTop+[color=#FF0000]5[/color]} with {top:scrollTop+[color=#FF0000]50[/color]}
Replace {top:[color=#FF0000]5[/color]} with {top:[color=#FF0000]50[/color]}

User avatar
umarizal
Registered User
Posts: 174
Joined: Mon Mar 17, 2008 2:03 am
Location: São Paulo - SP - Brasil
Name: Leandro dos Santos
Contact:

Re: [BETA] Quick Ads

Post by umarizal » Sun May 03, 2015 8:40 pm

How do ads appear in the forum, before or after the posts?

Another thing is how to make the ad appear beside to the first post?

Thank you!
EN: Do to others what you would want them to do to you.
ES: Haz a los demás todo lo que quieras que te hagan a ti.
PT: Faça aos outros o que você gostaria que fizessem a você.

User avatar
o0johntam0o
Registered User
Posts: 228
Joined: Thu Sep 23, 2010 3:53 pm
Location: Viet Nam
Name: Tam
Contact:

Re: [BETA] Quick Ads

Post by o0johntam0o » Mon May 04, 2015 2:54 am

umarizal wrote:How do ads appear in the forum, before or after the posts?
Hi umarizal, see the screenshots here https://www.phpbb.com/customise/db/mod/quick_ads_1_0_0
umarizal wrote:Another thing is how to make the ad appear beside to the first post?
It's not easy to do that, you'll need to use the Javascript and HTML to arrange it.
Maybe I'll make a tutorial for that later ;)

User avatar
umarizal
Registered User
Posts: 174
Joined: Mon Mar 17, 2008 2:03 am
Location: São Paulo - SP - Brasil
Name: Leandro dos Santos
Contact:

Re: [BETA] Quick Ads

Post by umarizal » Mon May 04, 2015 12:19 pm

o0johntam0o wrote:
umarizal wrote:How do ads appear in the forum, before or after the posts?
Hi umarizal, see the screenshots here https://www.phpbb.com/customise/db/mod/quick_ads_1_0_0
umarizal wrote:Another thing is how to make the ad appear beside to the first post?
It's not easy to do that, you'll need to use the Javascript and HTML to arrange it.
Maybe I'll make a tutorial for that later ;)
First I would like to say that their work was fantastic, congratulations.

But the problem which I refer is that the banner is displayed on the content.

It would be interesting to be displayed with the content, look in my forum using the Advertisement Management Mod: http://www.guiadaobra.net/forum/viewtopic.php?f=11&t=59

You see? Thus, the banners do not interfere at all viewing of the content and there is no need visitor "close" the banner.
EN: Do to others what you would want them to do to you.
ES: Haz a los demás todo lo que quieras que te hagan a ti.
PT: Faça aos outros o que você gostaria que fizessem a você.

Komanche
Registered User
Posts: 248
Joined: Thu Aug 02, 2007 10:49 am
Location: Czech Republic

Re: [BETA] Quick Ads

Post by Komanche » Mon May 04, 2015 7:19 pm

o0johntam0o wrote:
Komanche wrote:Is there any possibility to add margin-top when in right position? The ad-box overflows login box and it makes my users angry... :)
Please try this:
Open .\ext\o0johntam0o\quickads\styles\all\template\event\overall_footer_after.html
Find:

Code: Select all

							if (selfHeight <= windowHeight)
							{
								el.animate({top:scrollTop+5}, {duration:800,queue:false});
							}
							else
							{
								if (selfHeight <= windowHeight + scrollTop)
								{
									tmp = windowHeight - selfHeight + scrollTop;
									el.animate({top:tmp}, {duration:800,queue:false});
								}
								else
								{
									el.animate({top:5}, {duration:800,queue:false});
								}
							}
Replace {top:scrollTop+[color=#FF0000]5[/color]} with {top:scrollTop+[color=#FF0000]50[/color]}
Replace {top:[color=#FF0000]5[/color]} with {top:[color=#FF0000]50[/color]}
it works partially, when I load the page, it is on top, when I scroll down and up, it scrolls max to "+50"... possibility to load it "+50"?

Komanche
Registered User
Posts: 248
Joined: Thu Aug 02, 2007 10:49 am
Location: Czech Republic

Re: [BETA] Quick Ads

Post by Komanche » Mon May 04, 2015 7:21 pm

Code: Select all

	<div id="{S_QUICK_ADS_CUSTOM_ID}r" style="display:none; position:absolute; top:5px; right:5px; z-index:{S_QUICK_ADS_ZINDEX};">
-->

Code: Select all

	<div id="{S_QUICK_ADS_CUSTOM_ID}r" style="display:none; position:absolute; top:50px; right:5px; z-index:{S_QUICK_ADS_ZINDEX};">

User avatar
o0johntam0o
Registered User
Posts: 228
Joined: Thu Sep 23, 2010 3:53 pm
Location: Viet Nam
Name: Tam
Contact:

Re: [BETA] Quick Ads

Post by o0johntam0o » Wed May 06, 2015 2:27 pm

Komanche wrote:

Code: Select all

	<div id="{S_QUICK_ADS_CUSTOM_ID}r" style="display:none; position:absolute; top:5px; right:5px; z-index:{S_QUICK_ADS_ZINDEX};">
-->

Code: Select all

	<div id="{S_QUICK_ADS_CUSTOM_ID}r" style="display:none; position:absolute; top:50px; right:5px; z-index:{S_QUICK_ADS_ZINDEX};">
Yes, that's it ;)

Komanche
Registered User
Posts: 248
Joined: Thu Aug 02, 2007 10:49 am
Location: Czech Republic

Re: [BETA] Quick Ads

Post by Komanche » Thu May 07, 2015 9:33 pm

thanks. But I have policy violation with rigth side banner vs. adsense... Probably no solution for it... I will move banner to another position... :?

User avatar
o0johntam0o
Registered User
Posts: 228
Joined: Thu Sep 23, 2010 3:53 pm
Location: Viet Nam
Name: Tam
Contact:

Re: [BETA] Quick Ads

Post by o0johntam0o » Sun May 10, 2015 2:16 am

umarizal wrote:But the problem which I refer is that the banner is displayed on the content.

It would be interesting to be displayed with the content, look in my forum using the Advertisement Management Mod: http://www.guiadaobra.net/forum/viewtopic.php?f=11&t=59
The solution was made here viewtopic.php?f=456&t=2248311&start=45#p13941311
umarizal wrote:You see? Thus, the banners do not interfere at all viewing of the content and there is no need visitor "close" the banner.
There's an option to disable the close button in the ACP ;)

Komanche
Registered User
Posts: 248
Joined: Thu Aug 02, 2007 10:49 am
Location: Czech Republic

Re: [BETA] Quick Ads

Post by Komanche » Sun May 10, 2015 11:56 am

o0johntam0o: is there poddibility to disable showing ad on the mobile phones? Something like "if the screen has lower resolution than 1024x768, don't show ad"? When I have banner on bottom of the screen, mobile users has problem with width...

User avatar
o0johntam0o
Registered User
Posts: 228
Joined: Thu Sep 23, 2010 3:53 pm
Location: Viet Nam
Name: Tam
Contact:

Re: [BETA] Quick Ads

Post by o0johntam0o » Mon May 11, 2015 12:15 pm

Komanche wrote:o0johntam0o: is there poddibility to disable showing ad on the mobile phones? Something like "if the screen has lower resolution than 1024x768, don't show ad"? When I have banner on bottom of the screen, mobile users has problem with width...
Yes Komanche, please take a look at "Minimum size" in the ACP

Komanche
Registered User
Posts: 248
Joined: Thu Aug 02, 2007 10:49 am
Location: Czech Republic

Re: [BETA] Quick Ads

Post by Komanche » Tue May 12, 2015 10:02 am

ah, really, missed this setting :mrgreen:

thanks 8-)

Komanche
Registered User
Posts: 248
Joined: Thu Aug 02, 2007 10:49 am
Location: Czech Republic

Re: [BETA] Quick Ads

Post by Komanche » Wed May 13, 2015 7:49 am

AdSense wrote:Drawing unnatural attention to ads includes placing Google ads in a floating box script that causes the ad to appear in a “sticky" position on the page as the user scrolls down. This type of ad implementation is not permitted.
:( Is it possible to stick the floating window (in right position) to top?

User avatar
o0johntam0o
Registered User
Posts: 228
Joined: Thu Sep 23, 2010 3:53 pm
Location: Viet Nam
Name: Tam
Contact:

Re: [BETA] Quick Ads

Post by o0johntam0o » Wed May 13, 2015 9:46 am

Hi Komanche, the solution was made here viewtopic.php?f=456&t=2248311&start=45#p13941311

Komanche
Registered User
Posts: 248
Joined: Thu Aug 02, 2007 10:49 am
Location: Czech Republic

Re: [BETA] Quick Ads

Post by Komanche » Wed May 13, 2015 9:58 am

Hi Tam,
thank you, but I want to use your ext, just stop scrolling in page...

Locked

Return to “Abandoned Extensions”