[ABD] Adsense & Ads for phpBB

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
alhitary
Registered User
Posts: 868
Joined: Wed Jan 17, 2007 7:51 am
Location: ROY
Name: Basil Taha Alhitary
Contact:

Re: [RC] Adsense & Ads for phpBB

Post by alhitary »

Code: Select all

Adsense code for the Adblock Detector. You need Adsense here for this to work, or another javascript ad. Cant be responsive. I suggest a text link banner.
Can you plz clarify or explain more this line so as I understand it very well.
User avatar
Stoker 4.0
Registered User
Posts: 1487
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [RC] Adsense & Ads for phpBB

Post by Stoker 4.0 »

alhitary wrote:

Code: Select all

Adsense code for the Adblock Detector. You need Adsense here for this to work, or another javascript ad. Cant be responsive. I suggest a text link banner.
Can you plz clarify or explain more this line so as I understand it very well.
Well, I can try :)
It is the part that detects if users are blocking your ads. The code to put in here MUST be from an ad which get blocked by default by the ad blockers.
Also needs to be something that has a height, so responsive adsense ads wont do the job
drooid
Registered User
Posts: 81
Joined: Tue Mar 31, 2009 9:15 am

Re: [RC] Adsense & Ads for phpBB

Post by drooid »

There is a problem in ad block warning text. It doesn't display UTF8 chars in the warrning box, even in ACP text box after saving settings.
drooid
Registered User
Posts: 81
Joined: Tue Mar 31, 2009 9:15 am

Re: [RC] Adsense & Ads for phpBB

Post by drooid »

Can anybody explain me what should I include in Adsense Code textbox?
When I put there my adsense code - like on example jpg - I have advertise displayed under header. I don't want it to be visible.
User avatar
Stoker 4.0
Registered User
Posts: 1487
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [RC] Adsense & Ads for phpBB

Post by Stoker 4.0 »

drooid wrote:There is a problem in ad block warning text. It doesn't display UTF8 chars in the warrning box, even in ACP text box after saving settings.
That is a missing feature in version 1.0.2 and will be fixed in 1.0.3
drooid wrote:Can anybody explain me what should I include in Adsense Code textbox?
When I put there my adsense code - like on example jpg - I have advertise displayed under header. I don't want it to be visible.
Dont get that question?
User avatar
Stoker 4.0
Registered User
Posts: 1487
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [RC] Adsense & Ads for phpBB

Post by Stoker 4.0 »

Updated to 1.0.3
Bugs fixed and added option for blocking entire topics for ad blockers.
ikpoko
Registered User
Posts: 10
Joined: Mon Feb 22, 2016 10:51 am

Re: [RC] Adsense & Ads for phpBB

Post by ikpoko »

Hi guys

This extension look good for but I can't seems to make it work.

This is what I get each time I add my adsense code and press submit.

No route found for "GET /adm/index.php"

What could be wrong?
panhead
Registered User
Posts: 772
Joined: Sat Dec 20, 2003 8:17 pm

Re: [RC] Adsense & Ads for phpBB

Post by panhead »

I get this error if I enable testmode:

Code: Select all

General Error
SQL ERROR [ mysqli ]

Duplicate entry 'adblock_warn_text' for key 1 [1062]

SQL

INSERT INTO phpbb_config_text (config_name, config_value) VALUES ('adblock_warn_text', '')

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 193
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/phpbb/config/db_text.php
LINE: 111
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/ext/stoker/adsenseads/acp/adsenseads_module.php
LINE: 104
CALL: phpbb\config\db_text->set_array()

FILE: [ROOT]/includes/functions_module.php
LINE: 674
CALL: stoker\adsenseads\acp\adsenseads_module->main()

FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()
User avatar
Stoker 4.0
Registered User
Posts: 1487
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [RC] Adsense & Ads for phpBB

Post by Stoker 4.0 »

ikpoko wrote:Hi guys

This extension look good for but I can't seems to make it work.

This is what I get each time I add my adsense code and press submit.

No route found for "GET /adm/index.php"

What could be wrong?
panhead wrote:I get this error if I enable testmode:

Code: Select all

General Error
SQL ERROR [ mysqli ]

Duplicate entry 'adblock_warn_text' for key 1 [1062]

SQL

INSERT INTO phpbb_config_text (config_name, config_value) VALUES ('adblock_warn_text', '')

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 193
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/phpbb/config/db_text.php
LINE: 111
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/ext/stoker/adsenseads/acp/adsenseads_module.php
LINE: 104
CALL: phpbb\config\db_text->set_array()

FILE: [ROOT]/includes/functions_module.php
LINE: 674
CALL: stoker\adsenseads\acp\adsenseads_module->main()

FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()
I havent seen any of these errors before. Im not sure the first one is related to this ext.
But you can both try:
Disable ext
Delete data
Purge cache
Enable ext
panhead
Registered User
Posts: 772
Joined: Sat Dec 20, 2003 8:17 pm

Re: [RC] Adsense & Ads for phpBB

Post by panhead »

I did the 4 steps, but the result is the same. Just enabling the test mode already causes the error.
User avatar
Stoker 4.0
Registered User
Posts: 1487
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [RC] Adsense & Ads for phpBB

Post by Stoker 4.0 »

The error you posted is not about testmode. Its about enable adblock warn text?
I will investigate this later and see what i can find.
panhead
Registered User
Posts: 772
Joined: Sat Dec 20, 2003 8:17 pm

Re: [RC] Adsense & Ads for phpBB

Post by panhead »

All I did was after enabling the extension enabling testmode and click submit. That gave this error:

Code: Select all

General Error
SQL ERROR [ mysqli ]

Duplicate entry 'adblock_warn_text' for key 1 [1062]

SQL

INSERT INTO phpbb_config_text (config_name, config_value) VALUES ('adblock_warn_text', '')

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 193
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/phpbb/config/db_text.php
LINE: 111
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/ext/stoker/adsenseads/acp/adsenseads_module.php
LINE: 104
CALL: phpbb\config\db_text->set_array()

FILE: [ROOT]/includes/functions_module.php
LINE: 674
CALL: stoker\adsenseads\acp\adsenseads_module->main()

FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()
User avatar
Stoker 4.0
Registered User
Posts: 1487
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [RC] Adsense & Ads for phpBB

Post by Stoker 4.0 »

panhead wrote:All I did was after enabling the extension enabling testmode and click submit. That gave this error:

Code: Select all

General Error
SQL ERROR [ mysqli ]

Duplicate entry 'adblock_warn_text' for key 1 [1062]

SQL

INSERT INTO phpbb_config_text (config_name, config_value) VALUES ('adblock_warn_text', '')

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 193
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/phpbb/config/db_text.php
LINE: 111
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/ext/stoker/adsenseads/acp/adsenseads_module.php
LINE: 104
CALL: phpbb\config\db_text->set_array()

FILE: [ROOT]/includes/functions_module.php
LINE: 674
CALL: stoker\adsenseads\acp\adsenseads_module->main()

FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()
Could you have forgotten to update all files when updating?
panhead
Registered User
Posts: 772
Joined: Sat Dec 20, 2003 8:17 pm

Re: [RC] Adsense & Ads for phpBB

Post by panhead »

All files in the download zip are present in the ext directory.
ikpoko
Registered User
Posts: 10
Joined: Mon Feb 22, 2016 10:51 am

Re: [RC] Adsense & Ads for phpBB

Post by ikpoko »

Stoker 4.0 wrote:
ikpoko wrote:Hi guys

This extension look good for but I can't seems to make it work.

This is what I get each time I add my adsense code and press submit.

No route found for "GET /adm/index.php"

What could be wrong?
panhead wrote:I get this error if I enable testmode:

Code: Select all

General Error
SQL ERROR [ mysqli ]

Duplicate entry 'adblock_warn_text' for key 1 [1062]

SQL

INSERT INTO phpbb_config_text (config_name, config_value) VALUES ('adblock_warn_text', '')

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 193
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/phpbb/config/db_text.php
LINE: 111
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/ext/stoker/adsenseads/acp/adsenseads_module.php
LINE: 104
CALL: phpbb\config\db_text->set_array()

FILE: [ROOT]/includes/functions_module.php
LINE: 674
CALL: stoker\adsenseads\acp\adsenseads_module->main()

FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()
I havent seen any of these errors before. Im not sure the first one is related to this ext.
But you can both try:
Disable ext
Delete data
Purge cache
Enable ext
I have done all of the suggestions but I still gt the error
Locked

Return to “Abandoned Extensions”