All Good Things Must Come To An End

As you all know, I have been doing WordPress plugins and supporting it for the past 6 years. These 6 years of my life, I have been through my polytechnic education, my national service as well as my university education.

I just graduated from university in December 2009 and have been looking for full-time jobs. I am offered a full-time job and will be starting work on 1st February 2010.

I regret to say that I am NOT ABLE to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

However, I WILL still update my plugins whenever I can and you still can report bugs to me via email and I will try to fix it.

Author Topic: Make wp-ban compatible with the Supercache plugin ?  (Read 2969 times)

0 Members and 1 Guest are viewing this topic.

Offline sabin

  • Newbie
  • *
  • Posts: 5
    • View Profile
Hello,

At the present time, I had to deactivate the wp-ban plugin, because, while my traffic growth forced me to resort to using the wp-supercache plugin, it proved to be partially incompatible with wp-ban.

More precisely : with the two plugins active at the same time, random users will be shown the ban page on random occasions. Quite often, it seems. Not respecting the wp-ban rules.
It seems the ban rules (by IP, hostname etc...) are not respected anymore, the cached ban page being shown randomly, no matter the IP or hostname of the visitors.

Both these plugins are really, really useful, and in my case, really, really needed, so do you think, Gamerz, there is a possibility you could find a way to make these two plugins capable of working together ? Or would you know what wp-supercache setting to update to make it compatible ?

I know that supercache is the culprit, and it is not your plugin, however I received no reply from the supercache plugin writer, so I'm asking you just in case.
I have read somewhere you can take custom developments in exchange of money, I still have roughly 50$ left on my paypal account, if that can convince you to magically produce a supercache compatible wp-ban plugin, Gamerz, they're yours :)

Best regards,
Sabin

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: Make wp-ban compatible with the Supercache plugin ?
« Reply #1 on: 17 June 2009, 00:49 »
Hi Sabin,

 I don't think WP-Ban will work with SuperCache. If order for things to be dyamic to work with SuperCache, it has to be in Javascript and AJAX. Unfortunately, WP-Ban could not be done using that as it is banned before the pages gets loaded.

Perhaps you can ban them using the htaccess method http://www.marcofolio.net/how_to/ban_users_from_your_website_using_.htaccess_file.html

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline bart

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Make wp-ban compatible with the Supercache plugin ?
« Reply #2 on: 20 July 2009, 21:56 »
I don't think WP-Ban will work with SuperCache.

The newest version of SuperCache recognizes a constant called DONOTCACHEPAGE, which prohibits the plugin from, well, caching the page. So maybe there's a chance? :)

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: Make wp-ban compatible with the Supercache plugin ?
« Reply #3 on: 21 July 2009, 00:52 »
For WP-Ban to work, all the pages need to be dynamic and hence it makes no difference whether you are using WP-SuperCache or not. As long as there is a static page, there is no way to block users from visiting the website. Unless you are blocking at server level using htaccess.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.