[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.
User avatar
KhurramMunawar
Registered User
Posts: 534
Joined: Tue Mar 25, 2014 2:20 am
Location: Islamabad, Pakistan
Name: Khurram Munawar
Contact:

Re: [BETA] Quick Ads

Post by KhurramMunawar » Thu Jan 22, 2015 1:22 pm

If ad timing is controlled by cookies. i.e 1 minute or 5 minute. and user close the ad by close button.

Ad comes up for a second and disappear upon refresh or click on any other link within the forum.

Have a look at this issue as well.
My forum:
DearHelper.org
Get Free Traffic To Your Website
Trafficonic.com - Free Traffic To Your Website

User avatar
OmkePom
Registered User
Posts: 205
Joined: Tue Jul 15, 2014 8:38 am
Name: IJsbrand Nijboer

Re: [BETA] Quick Ads

Post by OmkePom » Thu Jan 22, 2015 1:42 pm

Dutch tranlation "quick_ads.php",

Code: Select all

<?php
/**
*
* Quick Ads extension for the phpBB Forum Software package [British English]
*
* @copyright (c) 2014 o0johntam0o
* @license GNU General Public License, version 2 (GPL-2.0)
*
*/

/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
	exit;
}

if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

$lang = array_merge($lang, array(
	'QUICK_ADS_TITLE'					=> 'Snel Advertenties maken',
	'QUICK_ADS_TITLE_SETTINGS1'			=> 'Algemene instellingen',
	'QUICK_ADS_TITLE_SETTINGS2'			=> 'Details instellingen',
	
	'QUICK_ADS_ENABLE'					=> 'Schakel Advertenties in',
	'QUICK_ADS_ENABLE_EXPLAIN'			=> 'Als Ja, zal de Advertenties worden getoont',
	'QUICK_ADS_ALLOW_BOT'				=> 'Bots toestaan',
	'QUICK_ADS_ALLOW_BOT_EXPLAIN'		=> 'Bots hebben toegang tot Advertenties',
	'QUICK_ADS_CUSTOM_ID'				=> 'Gebruik ID',
	'QUICK_ADS_CUSTOM_ID_EXPLAIN'		=> 'Gebruik <em style="color:#ff0000">a-z</em>, <em style="color:#ff0000">0-9</em> en <em style="color:#ff0000">underline</em> _ (laat leeg voor standaard instellingen).<br />Voorbeeld: mijn_1ste_advertentie',
	'QUICK_ADS_ZINDEX'					=> 'Z-Index (Integer)',
	'QUICK_ADS_ZINDEX_EXPLAIN'			=> 'Plaats Advertenties "achter" of "boven" een ander element',
	'QUICK_ADS_CLOSEBT'					=> 'Laat X zien',
	'QUICK_ADS_CLOSEBT_EXPLAIN'			=> 'Uitzetten door gebruiker mogelijk.',
	'QUICK_ADS_COOKIE'					=> 'Zet Cookie aan',
	'QUICK_ADS_COOKIE_EXPLAIN'			=> 'Het aantal weergeven van advertenties opslaan',
	'QUICK_ADS_COOKIE_TIME'				=> 'Cookie tijd (Integer)',
	'QUICK_ADS_COOKIE_TIME_EXPLAIN'		=> 'Hoe lang de advertenties zal worden verborgen (in minuten)',

	'QUICK_ADS_LEGEND'					=> '%s [%d]',
	'QUICK_ADS_ITEM_TOGGLE'				=> 'Klik om in te schakelen',
	'QUICK_ADS_MORE_PROP'				=> '<em style="color:#0000ff">Uitgebreid (Klik om in te schakelen)</em>',
	'QUICK_ADS_NAME'					=> 'Advertentie Titel',
	'QUICK_ADS_NAME_EXPLAIN'			=> 'Naam Advertentie',
	'QUICK_ADS_POS'						=> 'Positie',
	'QUICK_ADS_POS_EXPLAIN'				=> 'Bepaal positie van Advertentie <br/>Kies eerste waarde om Advertenties te verbergen',
	'QUICK_ADS_TOP'						=> 'Bovenaan',
	'QUICK_ADS_LEFT'					=> 'Links',
	'QUICK_ADS_BOTTOM'					=> 'Onderaan',
	'QUICK_ADS_RIGHT'					=> 'Rechts',
	
	'QUICK_ADS_ONPAGE'					=> 'Welke Forums',
	'QUICK_ADS_ONPAGE_EXPLAIN'			=> 'Welke Forums wordt Advertentie getoont',
	'QUICK_ADS_ONPAGE_ITEM_FAQ'			=> 'Veel gestelde vragen (FAQ)',
	'QUICK_ADS_ONPAGE_ITEM_INDEX'		=> 'Forumoverzicht',
	'QUICK_ADS_ONPAGE_ITEM_MCP'			=> 'Moderatorpaneel(MCP)',
	'QUICK_ADS_ONPAGE_ITEM_MEMBERLIST'	=> 'Ledenlijst',
	'QUICK_ADS_ONPAGE_ITEM_POSTING'		=> 'Berichten',
	'QUICK_ADS_ONPAGE_ITEM_REPORT'		=> 'Meldingen',
	'QUICK_ADS_ONPAGE_ITEM_SEARCH'		=> 'Zoeken',
	'QUICK_ADS_ONPAGE_ITEM_UCP'			=> 'Gebruikerspaneel (UCP)',
	'QUICK_ADS_ONPAGE_ITEM_VIEWFORUM'	=> 'Bekijk Forum',
	'QUICK_ADS_ONPAGE_ITEM_VIEWONLINE'	=> 'Wie is online',
	'QUICK_ADS_ONPAGE_ITEM_VIEWTOPIC'	=> 'Bekijk Onderwerp',
	// Custom pages
	// 'QUICK_ADS_ONPAGE_ITEM_YOUR_STUFF'	=> 'Your stuff',
	// Custom pages
	
	'QUICK_ADS_GROUP'					=> 'Groeppermissies',
	'QUICK_ADS_GROUP_EXPLAIN'			=> 'Welke Groepen kunnen Advertentie zien',
	'QUICK_ADS_HREF'					=> 'Link',
	'QUICK_ADS_HREF_EXPLAIN'			=> 'Welke link wordt geopend als je op Advertentie klikt',
	
	'QUICK_ADS_BG_IMG'					=> 'Achtergrond Afbeelding',
	'QUICK_ADS_BG_IMG_EXPLAIN'			=> 'Link naar de Afbeelding (www)',
	'QUICK_ADS_BG_COLOR'				=> 'Achtergrond Kleur',
	'QUICK_ADS_BG_COLOR_EXPLAIN'		=> 'Voorbeeld: #ffffff, #000000, wit, zwart,...',
	
	'QUICK_ADS_TEXT'					=> 'Advertentie tekst',
	'QUICK_ADS_TEXT_EXPLAIN'			=> 'Gebruik Opmaak (JS/HTML toegestaan).
											<br/>U kunt ook de variabelen hieronder gebruiken:
											<br/><em>{S_USERNAME}</em> = <em>%s</em>
											<br/><em>{S_USER_ID}</em> = <em>%s</em>
											<br/><em>{S_CURRENT_TIME}</em> = <em>%s</em>
											<br/><em>{SITE_URL}</em> = <em>%s</em>
											<br/><em>{FORUM_URL}</em> = <em>%s</em>
											<br/><em>{SITENAME}</em> = <em>%s</em>
											<br/><em>{SITE_DESCRIPTION}</em> = <em>%s</em>',
	'QUICK_ADS_SIZE'					=> 'Formaat (Integer)',
	'QUICK_ADS_SIZE_EXPLAIN'			=> 'Stel formaat in van deze Advertentie(Breedte x Hoogte) in pixel. (0) is Automatisch',
	'QUICK_ADS_MSIZE'					=> 'Minimaal Formaat(Integer)',
	'QUICK_ADS_MSIZE_EXPLAIN'			=> 'Stelt minmale Formaat in van Advertentie Box (Breedte x Hoogte) in pixels',
	'QUICK_ADS_OVERF'					=> 'Overloop',
	'QUICK_ADS_OVERF_EXPLAIN'			=> 'Stelt in wat er gebeurt als de inhoud het formaat overschreid',
	'QUICK_ADS_OVERF_HIDDEN'			=> 'Verborgen',
	'QUICK_ADS_OVERF_VISIBLE'			=> 'Zichtbaar',
	'QUICK_ADS_OVERF_SCROLL'			=> 'Scroll',
	'QUICK_ADS_OVERF_AUTO'				=> 'Auto',
	'QUICK_ADS_PRIORITY'				=> 'Prioriteit (Integer)',
	'QUICK_ADS_PRIORITY_EXPLAIN'		=> 'Hoe <strong>lager</strong> het nummer, hoe <strong>hoger</strong> prioriteit',

	'QUICK_ADS_NEW_ADS'					=> 'Nieuwe Advertentie',
	'QUICK_ADS_NEW_ADS_NAME'			=> 'Advertentie Titel',
	'QUICK_ADS_DEL_FIELD'				=> 'Verwijder deze Advertentie',
	'QUICK_ADS_DEL_FIELD_EXPLAIN'		=> '<strong style="color:#ff0000">Let Op! Dit kan niet ongedaan worden gemaakt</strong>',
	
	'QUICK_ADS_SAVED'					=> 'Advertentie Bewaard',
	'QUICK_ADS_LOG_MSG'					=> '<strong>Advertentie instellingen Aangepast</strong>',
));
;)
You got Brains like a Peanut, OMG i insulted a Peanut!

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 Jan 24, 2015 3:23 pm

FomenkoAndrey wrote:Another proposal.
Now you can only create and delete ads.
Make option for ads, that could just turn off and they did not participate in shows (does not delete them).
Is it?

Code: Select all

Set position for this Ads
Choose first value to hide this Ads
Holger wrote:It would be cool if I could set a time range "date to date" when the ad should show.
Yes Holger, that's a good idea.
KhurramMunawar wrote:Have a look at this issue as well.
Still looking for a solution :)

FomenkoAndrey
Registered User
Posts: 367
Joined: Thu Aug 19, 2010 10:44 am

Re: [BETA] Quick Ads

Post by FomenkoAndrey » Sat Jan 24, 2015 4:05 pm

Choose first value to hide this Ads
i think, yes, thank U.

Bernd R.
Registered User
Posts: 26
Joined: Fri Feb 06, 2015 5:01 pm

Re: [BETA] Quick Ads

Post by Bernd R. » Fri Feb 06, 2015 7:30 pm

Wood be nice to have the adds on one fixed point within the forum-tabels (eg between header and forum-body)where different banners show up randomised. Those moving banners whitch disappears on klick are not a good solution. See this phpbb3 mod: viewtopic.php?f=69&t=1146135&start=1185 used in this forum: http://www.angelforum.bilderschuppen.net/index.php refresh the page and see the banner change.
A big thank you to all the people, spending time to keep phpBB running

User avatar
GoBieN
Registered User
Posts: 541
Joined: Fri Mar 05, 2004 5:22 pm
Location: Belgium
Contact:

Re: [BETA] Quick Ads

Post by GoBieN » Fri Feb 06, 2015 11:08 pm

You can use the custom code extension to just insert an advertisement on a fixed position. See that topic for examples.

Bernd R.
Registered User
Posts: 26
Joined: Fri Feb 06, 2015 5:01 pm

Re: [BETA] Quick Ads

Post by Bernd R. » Sat Feb 07, 2015 8:45 pm

Thanks, but I think my knowledge is to poor to randmise the apperance of several banners at one position. But I will try...
A big thank you to all the people, spending time to keep phpBB running

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 Feb 08, 2015 2:28 am

Bernd R. wrote:Thanks, but I think my knowledge is to poor to randmise the apperance of several banners at one position. But I will try...
Hi Bernd, with the latest commit of this project, now you can start with:
+ Top

Code: Select all

Document.GetElementById("<Your custom ID>ft").InnerHTML = Document.GetElementById("<Your custom ID>ft").InnerHTML + "Your html code";
+ Bottom

Code: Select all

Document.GetElementById("<Your custom ID>fb").InnerHTML = Document.GetElementById("<Your custom ID>fb").InnerHTML + "Your html code";
By default:
+ Top

Code: Select all

Document.GetElementById("quick_ads_ft").InnerHTML = Document.GetElementById("quick_ads_ft").InnerHTML + "Your html code";
+ Bottom

Code: Select all

Document.GetElementById("quick_ads_fb").InnerHTML = Document.GetElementById("quick_ads_fb").InnerHTML + "Your html code";

FomenkoAndrey
Registered User
Posts: 367
Joined: Thu Aug 19, 2010 10:44 am

Re: [BETA] Quick Ads

Post by FomenkoAndrey » Sun Feb 08, 2015 9:00 am

updated.

made RU translation.
what will better: PR on github or zip-archive in post?

UPD:
hidden ads sometimes still blink in firefox, and always in google chrome. problem viewtopic.php?f=456&t=2248311&start=30#p13899296 not resolved.

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 Feb 08, 2015 1:31 pm

FomenkoAndrey wrote:what will better: PR on github or zip-archive in post?
What is PR?
FomenkoAndrey wrote:hidden ads sometimes still blink in firefox, and always in google chrome. problem viewtopic.php?f=456&t=2248311&start=30#p13899296 not resolved.
Will be fixed in next versions ;)

FomenkoAndrey
Registered User
Posts: 367
Joined: Thu Aug 19, 2010 10:44 am

Re: [BETA] Quick Ads

Post by FomenkoAndrey » Sun Feb 08, 2015 1:34 pm

pull request

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 Feb 08, 2015 3:48 pm

FomenkoAndrey wrote:pull request
The link to the zip-archive in this topic is the lastest commit of this extension on GitHub. So "pull request" is not what we need.

FomenkoAndrey
Registered User
Posts: 367
Joined: Thu Aug 19, 2010 10:44 am

Re: [BETA] Quick Ads

Post by FomenkoAndrey » Tue Feb 10, 2015 5:13 am


jonasj
Registered User
Posts: 101
Joined: Tue Jan 06, 2009 8:06 pm
Location: Stockholm, Sweden
Contact:

Re: [BETA] Quick Ads

Post by jonasj » Tue Feb 10, 2015 7:17 am

Bernd R. wrote:Wood be nice to have the adds on one fixed point within the forum-tabels (eg between header and forum-body)where different banners show up randomised. Those moving banners whitch disappears on klick are not a good solution. See this phpbb3 mod: viewtopic.php?f=69&t=1146135&start=1185 used in this forum: http://www.angelforum.bilderschuppen.net/index.php refresh the page and see the banner change.
Should also like to have banner inside page instead ;)

Gets a HTTP 500 empty page when checking after update...

The image size setting is not working 100%, a image 609x120 needs setting 599x109 :roll:

I add more then one banner it show up together inside bottom of the page :(

FomenkoAndrey
Registered User
Posts: 367
Joined: Thu Aug 19, 2010 10:44 am

Re: [BETA] Quick Ads

Post by FomenkoAndrey » Wed Feb 11, 2015 10:05 pm

If I turn OFF the extension, variables are still displayed on the page extensions.
QUICK_ADS_TITLE
QUICK_ADS_TITLE_SETTINGS1
QUICK_ADS_TITLE_SETTINGS2

Locked

Return to “Abandoned Extensions”