[rellect] AdBlock Detector [Deleted]

The add-on can be coded to move (and remove) a user to a user group immediately, "Promotions" are a different feature of Xenforo and not applicable here.

But @rellect already announced above that v2 of this add-on will have exactly this feature. ;-)
If it is possible then that's great and all the better if it's planned for v 2. :)
 
Ah I didn't realise he'd already announced it. Excellent. Thing is that we would *really* like to get this working ASAP.
I'm sat here waiting for it, basically :)

It's not too difficult to code. So I expect we may see it soon. ;)
(Hopefully)
 
Honestly, at first I was against the idea to allow user group manipulation.

1. The detection code is written in JS, so the user group change will must be triggered via AJAX request. Since this is a client-side check, anyone can manipulate the value and resend the request, baisically bypassing the detection.

2. Besides passing a false value, it can be used to abuse the server (calling the request multiple times and force the server to write into the database).

3. I don't deny a possibility that the detection code itself will give a false result, and then the user will be limited for no good reason.

Eventually I figured out how to overcome the main issues here, it's not perfect but it's the best to get here.

To overcome #2, there will be time limitation between tries. So for example, after 3 attempts the user will be stuck in adblock usergroup for some specified time.

About #1, I couldn't think of a verification method, but on second thought I figured this can be handled by the solution of #2. After few tries the user will be stuck and the attempts to trick the request won't work.

There is not much to do about #3, I've tried to make the detection as reliable as possible, and I'm still improving it when I have a new idea. This is a risk each one will need to take when using this option.
 
Last edited:
rellect updated [rellect] AdBlock Detector with a new update entry:

v1.6.0

This update will allow creating custom alert types without messing with the detector code.
- Using a predefined class ".AdBlockOn"
- Listening to a js event $(document).bind('AdBlockOn', function(){});

This was planned for v2, but I'm releasing it now due to few recent requests and suggestions for new alert types and positions.
The above methods should allow you to show alerts anywhere you'd want.

If that's sounds interesting, check out the full...

Read the rest of this update entry...
 
Currently the alert and it's notification text can be seen and also will be indexed by Google.

So I have a feature request: Hide alert and notification text from Google and other search engines.
 
Currently the alert and it's notification text can be seen and also will be indexed by Google.

So I have a feature request: Hide alert and notification text from Google and other search engines.
Just to be sure, do you use the notice alert type?
 
  • Like
Reactions: rdn
We used the "Floating Message" type.
The only way I can see it happen is with the notice alert type since it's an hidden div (and I can resolve it), the other alerts are created using JS which can't be seen by robots.
Can you show me an example how did you checked that google index the alert?
 
We deactivated the add-on because of this problem. All our Results in Google started with the Ad-Block alert.

This is why I cannot send any examples, but you can trust me, it happend. ;-)
 
We deactivated the add-on because of this problem. All our Results in Google started with the Ad-Block alert.

This is why I cannot send any examples, but you can trust me, it happend. ;-)
I've checked with a site that runs the floating message, and I can't confirm this.
It may be something specific in your site/environment as I haven't received any similar reports.

Can you send me a link to your site? I'll the addon to be enabled for a little while to check few things.
Also, what kind of cachers do you use?
 
I've checked with a site that runs the floating message, and I can't confirm this.
It may be something specific in your site/environment as I haven't received any similar reports.

Can you send me a link to your site? I'll the addon to be enabled for a little while to check few things.
Also, what kind of cachers do you use?

No cache. Just plain Xenforo, this add-on and Google.
I'll try to find anything that may help you.
 
I have installed many add-ons, and I'm pretty much 100% sure I've uploaded the files correctly; as they are just like any other addon files, with the same method. Yet, no matter how many times I try, or even start over from scratch and try, I run into this issue.
16dcfeb5c113f1e537d2f2572f393497.png

"Error - The files associated with this add-on could not be found. Please upload them and try again."

Which, trust me, I have done many times.
Perhaps the last update may have messed it up for new people trying to install the addon?
I've never had this add-on before, so I didn't go through the update process.
 
I have installed many add-ons, and I'm pretty much 100% sure I've uploaded the files correctly; as they are just like any other addon files, with the same method. Yet, no matter how many times I try, or even start over from scratch and try, I run into this issue.
16dcfeb5c113f1e537d2f2572f393497.png

"Error - The files associated with this add-on could not be found. Please upload them and try again."

Which, trust me, I have done many times.
Perhaps the last update may have messed it up for new people trying to install the addon?
I've never had this add-on before, so I didn't go through the update process.
I will look into this in few hours when I'll have access to a PC.
 
I have installed many add-ons, and I'm pretty much 100% sure I've uploaded the files correctly; as they are just like any other addon files, with the same method. Yet, no matter how many times I try, or even start over from scratch and try, I run into this issue.
16dcfeb5c113f1e537d2f2572f393497.png

"Error - The files associated with this add-on could not be found. Please upload them and try again."

Which, trust me, I have done many times.
Perhaps the last update may have messed it up for new people trying to install the addon?
I've never had this add-on before, so I didn't go through the update process.
I've tried now to install in fresh xenforo installation, and I didn't get this error.
Log into your FTP please, enter into /library/ and make sure you have there a folder named /rellect/, and inside a folder named /AdblockDetector/.

Let me know.
 
I figured it out.

It turns out my FTP Browser, Filezilla, wasn't transferring all of the files I needed over completely.
Instead, it had them looping in a neverending queue.
So the xml file didn't have anything to look for when it was time for me to install the add-on.

Sorry for the misunderstanding.
Great plugins, my friend.
You do nice work. (y)
 
I think, the version of AdBlock I'm using is different than the one you displayed in the Overview, therefore not actually executing any type of notification for me.
With some of them, they are just disabled without notification.

https://chrome.google.com/webstore/search/adblock
The first one on that list, under extensions, is the one I'm using, and it removes the ads completely, and AdBlock Detection doesn't do anything about it.
 
Last edited:
I think, the version of AdBlock I'm using is different than the one you displayed in the Overview, therefore not actually executing any type of notification for me.
With some of them, they are just disabled without notification.

https://chrome.google.com/webstore/search/adblock
The first one on that list, under extensions, is the one I'm using, and it removes the ads completely, and AdBlock Detection doesn't do anything about it.
The addon designed to work with any AdBlocker extension there is. Even some that you probably have not heard about (AdMuncher, Ghostery, Adguard, and more).

What I would suggest now is to analyze your permissions (Users > Permissions > Analyze Permissions) and make sure you have set the expected values for the permissions in the AdBlock Detection section.
Note that by default the install process adds permissions for admins to bypass the AdBlock Detection, therefore you won't see any alert about it.
 
I have the same exact permissions as another person using my forums, and they are having different results as I am.
I even logged out, as an unregistered user, and still the ads were blocked, without notifications.
Perhaps you can tell me your experience when you view the homepage of my site. ( www.earth2luke.com )
 
I have the same exact permissions as another person using my forums, and they are having different results as I am.
I even logged out, as an unregistered user, and still the ads were blocked, without notifications.
Perhaps you can tell me your experience when you view the homepage of my site. ( www.earth2luke.com )
I don't see the adblock detection code in the site, so this is definitely something in the permissions or the settings.
Please analyze your permissions (I explained above how to get there), and screenshot the results.
 
f8d0a50c0d948ea9a10fcf3ea1cb22a8.png


(Analyzed myself)
That's how they are for my groupset currently; I setup the permissions right after installing. All groups have been set this way, and not one person has seen notifications.
 
Last edited:
Back
Top Bottom