Page 2 of 21

Re: [RC] Adsense & Ads for phpBB

Posted: Sat Feb 06, 2016 7:31 pm
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.

Re: [RC] Adsense & Ads for phpBB

Posted: Sun Feb 07, 2016 4:22 pm
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

Re: [RC] Adsense & Ads for phpBB

Posted: Sun Feb 14, 2016 5:08 pm
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.

Re: [RC] Adsense & Ads for phpBB

Posted: Sun Feb 14, 2016 6:52 pm
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.

Re: [RC] Adsense & Ads for phpBB

Posted: Mon Feb 15, 2016 3:16 am
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?

Re: [RC] Adsense & Ads for phpBB

Posted: Wed Feb 17, 2016 3:43 pm
by Stoker 4.0
Updated to 1.0.3
Bugs fixed and added option for blocking entire topics for ad blockers.

Re: [RC] Adsense & Ads for phpBB

Posted: Mon Feb 22, 2016 11:11 am
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?

Re: [RC] Adsense & Ads for phpBB

Posted: Mon Feb 22, 2016 12:16 pm
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()

Re: [RC] Adsense & Ads for phpBB

Posted: Tue Feb 23, 2016 4:12 am
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

Re: [RC] Adsense & Ads for phpBB

Posted: Tue Feb 23, 2016 10:56 am
by panhead
I did the 4 steps, but the result is the same. Just enabling the test mode already causes the error.

Re: [RC] Adsense & Ads for phpBB

Posted: Tue Feb 23, 2016 11:34 am
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.

Re: [RC] Adsense & Ads for phpBB

Posted: Tue Feb 23, 2016 11:48 am
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()

Re: [RC] Adsense & Ads for phpBB

Posted: Tue Feb 23, 2016 3:35 pm
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?

Re: [RC] Adsense & Ads for phpBB

Posted: Tue Feb 23, 2016 3:41 pm
by panhead
All files in the download zip are present in the ext directory.

Re: [RC] Adsense & Ads for phpBB

Posted: Wed Feb 24, 2016 11:27 am
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