[3.2][RC] Anti Adblock 1.2.0

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Scam Warning
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
picaron
Registered User
Posts: 114
Joined: Wed Apr 05, 2006 8:55 am
Location: Spain

Re: [3.2][RC] Anti Adblock 1.0.4

Post by picaron » Sat Jan 05, 2019 5:26 pm

ngaia wrote:
Sat Jan 05, 2019 2:23 pm
i just found out that, the ext doesnt work on phpversion 7.1
Hello ngaia.
You have a problem in your forum.
The extension is checked and works correctly with the following versions:
PHP 5.6 - PHP 7.1.16 - PHP 7.2.10
PHPBB >= 3.2.0
ngaia wrote:
Sat Jan 05, 2019 2:23 pm
how to make warning text to RED, and also can i use html in message box?
What do you need this for if you ensure that the extension does not work?
Last edited by picaron on Sat Jan 05, 2019 5:44 pm, edited 1 time in total.
My extensions: Anti Adblock, PayForLink, SlideWeUni, StoreToMega, SearchBack, ShowSnow, No DEA Emails.

picaron
Registered User
Posts: 114
Joined: Wed Apr 05, 2006 8:55 am
Location: Spain

Re: [3.2][RC] Anti Adblock 1.0.5

Post by picaron » Sat Jan 05, 2019 5:42 pm

If you use the warning message in full screen, edit the file ./Picaron/AntiAdblock/styles/all/theme/css/listentotheair_s.php and replace the following color strings for which you want.

Code: Select all

color: blue;
color: #7a83ce;
color: #4ea5c7;
For security reasons, you can not include HTML in the text boxes.
My extensions: Anti Adblock, PayForLink, SlideWeUni, StoreToMega, SearchBack, ShowSnow, No DEA Emails.

skybound
Registered User
Posts: 128
Joined: Wed Nov 12, 2003 7:11 am
Location: Port Elizabeth - South Africa
Contact:

Re: [3.2][RC] Anti Adblock 1.0.5

Post by skybound » Sat Apr 13, 2019 2:19 pm

Any chance of extending this mod to allow a forum owner to block access to only selected certain forums if the visitor is using an ad blocker?

picaron
Registered User
Posts: 114
Joined: Wed Apr 05, 2006 8:55 am
Location: Spain

Re: [3.2][RC] Anti Adblock 1.0.5

Post by picaron » Sun Apr 21, 2019 1:20 am

skybound, this is already included in version 1.0.5
My extensions: Anti Adblock, PayForLink, SlideWeUni, StoreToMega, SearchBack, ShowSnow, No DEA Emails.

skybound
Registered User
Posts: 128
Joined: Wed Nov 12, 2003 7:11 am
Location: Port Elizabeth - South Africa
Contact:

Re: [3.2][RC] Anti Adblock 1.0.5

Post by skybound » Thu Apr 25, 2019 11:54 am

Excellent. Have tested and works a treat. Thanks picaron. :D

chuppito
Registered User
Posts: 9
Joined: Sun May 26, 2019 2:08 pm

Re: [3.2][RC] Anti Adblock 1.0.5

Post by chuppito » Sun Jun 09, 2019 1:24 pm

Hello I installed it and configured it on a forum 3.2.7.
The problem is that when I try with a test account, I have no messages...
Is there a translation of the extension into French? Once I have misconfigured this one
Thank youThank you

User avatar
null2
Registered User
Posts: 461
Joined: Wed Jan 20, 2010 11:03 am

Re: [3.2][RC] Anti Adblock 1.0.5

Post by null2 » Mon Jun 10, 2019 1:51 pm

chuppito wrote:
Sun Jun 09, 2019 1:24 pm
Hello I installed it and configured it on a forum 3.2.7.
The problem is that when I try with a test account, I have no messages...
Is there a translation of the extension into French? Once I have misconfigured this one
Thank youThank you
You may translate messages to any language in ACP/EXTENSIONS/ANTI ADBLOCK
Sorry for my bad english. I'm from USA.

chuppito
Registered User
Posts: 9
Joined: Sun May 26, 2019 2:08 pm

Re: [3.2][RC] Anti Adblock 1.0.5

Post by chuppito » Mon Jun 10, 2019 1:55 pm

Hello, I translated the application and after contact with the developer, it updated the application. I gave him my translation he should put it in the new version. The problem is solved the extension works nowHello, I translated the application and after contact with the developer, it updated the application. I gave him my translation he should put it in the new version. The problem is solved the extension works now

User avatar
null2
Registered User
Posts: 461
Joined: Wed Jan 20, 2010 11:03 am

Re: [3.2][RC] Anti Adblock 1.0.5

Post by null2 » Mon Jun 10, 2019 2:04 pm

My forum has more than 400 subforuns and its hard to set permission to each one. So, to show antiblock message in all of them I changed file ext/Picaron/AntiAdblock/event/listener.php (line 151 in version 1.0.5):

Code: Select all

        // SHOW warning in forums with permission
        $forum_id =  (int) $this->request->variable('f', '');
        //if ($forum_id > 0) { ($this->auth->acl_get('f_show_antiadblock', $forum_id)) ? '': $show = false; }
I just commented last line and voilá!
Sorry for my bad english. I'm from USA.

picaron
Registered User
Posts: 114
Joined: Wed Apr 05, 2006 8:55 am
Location: Spain

Re: [3.2][RC] Anti Adblock 1.2.0

Post by picaron » Mon Jun 10, 2019 2:36 pm

Updated extension to version 1.2.0.
Hello null2, it is not necessary to apply permissions to each forum.
You can use the forum roles permission.
ACP - PERMISSIONS - PERMISSIONS ROLES - FORUM ROLES - FORUM PERMISSIONS

This will apply to all forums with that role.
My extensions: Anti Adblock, PayForLink, SlideWeUni, StoreToMega, SearchBack, ShowSnow, No DEA Emails.

User avatar
stormo
Registered User
Posts: 15
Joined: Mon Sep 25, 2006 11:06 pm

Re: [3.2][RC] Anti Adblock 1.2.0

Post by stormo » Tue Jun 11, 2019 4:14 pm

Thank you. This extension works well. I particularly like the customization options.

picaron
Registered User
Posts: 114
Joined: Wed Apr 05, 2006 8:55 am
Location: Spain

Re: [3.2][RC] Anti Adblock 1.2.0

Post by picaron » Wed Jun 12, 2019 9:10 pm

Thank you stormo.
My extensions: Anti Adblock, PayForLink, SlideWeUni, StoreToMega, SearchBack, ShowSnow, No DEA Emails.

Post Reply

Return to “Extensions in Development”