[3.3][RC] AdBlock Detector - phpBB Extension
[3.3][DEV] AdBlock Detector
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
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
Tested it and seems to be working just fine! Nice work man.
[3.3][DEV] AdBlock Detector - phpBB Extension
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
Not sure I understand what you mean?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.
[3.3][DEV] AdBlock Detector - phpBB Extension
if(! in group_ids, id) || !auth ~ group disables alert message:
display: none;
display: none;
[3.3][DEV] AdBlock Detector - phpBB Extension
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
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:
adjust this part
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 %}
FORUM_ID != 2
to match the ID you want to exclude