[3.3][RC] AdBlock Detector - phpBB Extension
-
- BBCoder II
- Posts: 18
- Joined: 05 Feb 2025, 08:35
- Local time: 07 Sep 2025 05:54
- Last active: -
- Location: The Netherlands
- Contact:
[3.3][DEV] AdBlock Detector
Very nice!!
https://forum.negentiendertien.nl - Voor supporters, door supporters.
- Stoker Offline
- Site Admin
- Posts: 4,561
- Joined: 12 May 2008, 21:26
- Local time: 07 Sep 2025 05:54
- Last active: -
- Favourite EXT: Forum Goal
- Location: Denmark
- Contact:
[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
~ The greatest achievement in life is to inspire ~
Regards Stoker
Regards Stoker
-
- BBCoder II
- Posts: 18
- Joined: 05 Feb 2025, 08:35
- Local time: 07 Sep 2025 05:54
- Last active: -
- Location: The Netherlands
- Contact:
[3.3][DEV] AdBlock Detector - phpBB Extension
Nice work! Going to test this later today!
https://forum.negentiendertien.nl - Voor supporters, door supporters.
-
- BBCoder II
- Posts: 18
- Joined: 05 Feb 2025, 08:35
- Local time: 07 Sep 2025 05:54
- Last active: -
- Location: The Netherlands
- Contact:
[3.3][DEV] AdBlock Detector - phpBB Extension
Tested it and seems to be working just fine! Nice work man.
https://forum.negentiendertien.nl - Voor supporters, door supporters.
-
- BBCoder II
- Posts: 19
- Joined: 02 Jun 2025, 18:27
- Local time: 07 Sep 2025 06:54
- Last active: -
[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.
- Stoker Offline
- Site Admin
- Posts: 4,561
- Joined: 12 May 2008, 21:26
- Local time: 07 Sep 2025 05:54
- Last active: -
- Favourite EXT: Forum Goal
- Location: Denmark
- Contact:
[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.
~ The greatest achievement in life is to inspire ~
Regards Stoker
Regards Stoker
- Steve Offline
- Donator
- Posts: 1,589
- Joined: 04 Mar 2010, 23:10
- Local time: 07 Sep 2025 04:54
- Last active: -
- Favourite BBCode: {
- Favourite EXT: {
- Location: { .
[3.3][DEV] AdBlock Detector - phpBB Extension
if(! in group_ids, id) || !auth ~ group disables alert message:
display: none;
display: none;
stokers bugs: {.23%t>
my bugs: .
my bugs: .
-
- BBCoder II
- Posts: 19
- Joined: 02 Jun 2025, 18:27
- Local time: 07 Sep 2025 06:54
- Last active: -
[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.
- Stoker Offline
- Site Admin
- Posts: 4,561
- Joined: 12 May 2008, 21:26
- Local time: 07 Sep 2025 05:54
- Last active: -
- Favourite EXT: Forum Goal
- Location: Denmark
- Contact:
[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~ The greatest achievement in life is to inspire ~
Regards Stoker
Regards Stoker
-
- BBCoder II
- Posts: 19
- Joined: 02 Jun 2025, 18:27
- Local time: 07 Sep 2025 06:54
- Last active: -