[rellect] AdBlock Detector [Deleted]

Hi

Just tried installing this and got this error. Not sure where I've gone wrong, all files have been uploaded.


Server Error
Mysqli prepare error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 10

  1. Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
  2. Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
  3. Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
  4. Zend_Db_Adapter_Abstract->query() in rellect/AdblockDetector/Install/Controller.php at line 55
  5. rellect_AdblockDetector_Install_Controller::version2() in rellect/AdblockDetector/Install/Controller.php at line 35
  6. rellect_AdblockDetector_Install_Controller::runStep() in rellect/AdblockDetector/Install/Controller.php at line 13
  7. rellect_AdblockDetector_Install_Controller::install()
  8. call_user_func() in XenForo/Model/AddOn.php at line 215
  9. XenForo_Model_AddOn->installAddOnXml() in XenForo/Model/AddOn.php at line 169
  10. XenForo_Model_AddOn->installAddOnXmlFromFile() in XenForo/ControllerAdmin/AddOn.php at line 187
  11. XenForo_ControllerAdmin_AddOn->actionInstall() in XenForo/FrontController.php at line 347
  12. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  13. XenForo_FrontController->run() in /var/www/vhosts/<snip>/httpdocs/forum/admin.php at line 13
Hey,
Possibly you have downloaded v1.6.1?
I'm still testing it, hence why I haven't announced about this update.

Please use v1.6.0 for now.
 
rellect updated [rellect] AdBlock Detector with a new update entry:

v1.6.1

Few important changes in this update
  1. Fresh installation no longer will add permissions for admins to bypass the adblock detection. Based on feedback, I've noticed this is mostly confusing for the first time, as the detection alert is not shown for admins. The necessary permissions will need to be set manually from now.
    Note: this is only applies to new installation, if you upgrade from older version, your permissions will stay the same.

  2. Fixed detection of AdBlock Plus...

Read the rest of this update entry...
 
Thanks @rellect

This has always worked perfectly for me but since upgrading from 1.6.0 to 1.6.1, I can't get any Alert Type to show. I've tested using Adblock with Google Chrome. See here

Any ideas?
I can see the notice in your site
upload_2015-1-17_19-10-50.webp

Make sure your user should see the alert and isn't excluded by the permissions.
Another thing to check is that the adblocker is active (and not temporarily disabled, which is a common case in these situations) and the domain isn't whitelisted in the settings.
 
I can see the notice in your site
View attachment 95210

Make sure your user should see the alert and isn't excluded by the permissions.
Another thing to check is that the adblocker is active (and not temporarily disabled, which is a common case in these situations) and the domain isn't whitelisted in the settings.

Well, this is embarrassing! It never used to exclude admins but suddenly it did - it's now showing perfect, as always.

Thank you!
 
My Guest user can't Dismiss alerts but the Close button is still there, but not functioning.
I think it should be hidden for user's that can't Dismiss alerts.
 
My Guest user can't Dismiss alerts but the Close button is still there, but not functioning.
I think it should be hidden for user's that can't Dismiss alerts.
The close button shouldn't be visible if dismiss is disallowed.
What alert type do you use?
 
I would like to hear more reviews on this. In my eyes it would just irk guests/members who wouldn't click any ad anyway.
 
Seems like I forgot to add the condition to remove the button when I moved the notice into the JS file (previously it was stored in the templates system).
I've uploaded v1.6.2 beta to fix this.
I would like to hear more reviews on this. In my eyes it would just irk guests/members who wouldn't click any ad anyway.
The main purpose of this addon is to make people aware of the implications of using an adblock.
When they understand that without the income of ads the site won't be able to keep running, they may think again about using adblock.
From the feedback I receive privately, most of the sites starts to see increasement in ads revenue within few days. Depends how big and active the site is.

If you think this may be annoying for some users, there are many options to configure to make sure it's not too aggressive. Including:
1. Different variety of alerts, some friendlier and some less.
2. You can exclude usergroups, some sites prefer to show the alert only to guests.
3. You can exclude pages, for example, the alert won't be shown in the registration page.
 
Seems like I forgot to add the condition to remove the button when I moved the notice into the JS file (previously it was stored in the templates system).
I've uploaded v1.6.2 beta to fix this.
Thanks a lot :)
On my site, can you please view the js if it's already there?
Maybe cached by ngx_pagespeed.
 
@rellect, do the updates come via email? Reason I ask is that I've been checking my paypal linked account and my others, and haven't seen hide nor hair of the update. I figured in 12 hours it would have been delivered if coming via email.
 
@rellect, do the updates come via email? Reason I ask is that I've been checking my paypal linked account and my others, and haven't seen hide nor hair of the update. I figured in 12 hours it would have been delivered if coming via email.

^ Yes, they do. I've not received my email either.
Hey,

The service I'm using to manage the orders (FetchApp) has delays in the mailing system.
I'm looking for alternatives as that annoys me as well.

What I can suggest until the mail will be finally sent is to find a previous mail and use the download link from there, the download link is always the same per order.

Anyone who has troubles finding it, please contact me with the email address you've purchased with and I'll send you your download link.

Really sorry for the inconvenience. Hope to resolve it soon.
 
Back
Top Bottom