Page 3 of 4
[3.3][DEV] AdBlock Detector
Posted: 15 Jun 2025, 08:58
by deninho32
Very nice!!
[3.3][DEV] AdBlock Detector
Posted: 16 Jun 2025, 05:49
by Stoker
Extension updated!
1.0.1 dev
- Simple messages, a more subtle way to display messages
- Permissions added. Set groups permissions -> Misc in ACP. By default all is off!
Update Instructions:
You may want to copy the text for the custom page before proceeding.
- Disable in ACP
- Delete data in ACP
- Delete folder via FTP
- Upload the new folder
- Enable extension and enjoy
[3.3][DEV] AdBlock Detector - phpBB Extension
Posted: 16 Jun 2025, 11:50
by deninho32
Nice work! Going to test this later today!
[3.3][DEV] AdBlock Detector - phpBB Extension
Posted: 17 Jun 2025, 12:53
by deninho32
Tested it and seems to be working just fine! Nice work man.
[3.3][DEV] AdBlock Detector - phpBB Extension
Posted: 27 Jul 2025, 09:51
by romaamor
I would add another very important function to the extension. Namely, disabling the display of messages asking to disable the ad blocker for selected user groups.
[3.3][DEV] AdBlock Detector - phpBB Extension
Posted: 27 Jul 2025, 10:06
by Stoker
romaamor wrote: 27 Jul 2025, 09:51
I would add another very important function to the extension. Namely, disabling the display of messages asking to disable the ad blocker for selected user groups.
Not sure I understand what you mean?
[3.3][DEV] AdBlock Detector - phpBB Extension
Posted: 27 Jul 2025, 10:13
by Steve
if(! in group_ids, id) || !auth ~ group disables alert message:
display: none;
[3.3][DEV] AdBlock Detector - phpBB Extension
Posted: 27 Jul 2025, 10:24
by romaamor
Stoker wrote: 27 Jul 2025, 10:06
Not sure I understand what you mean?
For example, I have a group of users on the forum - friends. For this group, I disable advertising on the forum. But if someone from this group has an ad blocker enabled, he sees a warning although advertising is disabled for him.
[3.3][DEV] AdBlock Detector - phpBB Extension
Posted: 27 Jul 2025, 10:46
by Stoker
You will have to do this with 2 template edits
overall_footer_after.html and overall_footer_body_after.html
Replace the very first line with this:
Code: Select all
{% if (S_IN_ADBLOCKDETECTOR or ADBLOCKDETECTOR_INLINEABM_ENABLE or ADBLOCKDETECTOR_FIXEDABM_ENABLE or ADBLOCKDETECTOR_MODALABM_ENABLE) and U_ADBLOCKDETECT and FORUM_ID != 2 %}
adjust this part
FORUM_ID != 2
to match the ID you want to exclude
[3.3][DEV] AdBlock Detector - phpBB Extension
Posted: 27 Jul 2025, 11:42
by romaamor
I think it will be cooler this way.
