Advertisement:

Author Topic: [MOD][PENDING] Anti-Adblock Plugin for SMF - My first SMF plugin  (Read 82144 times)

Offline karde

  • Semi-Newbie
  • *
  • Posts: 10
    • https://www.facebook.com/pages/Job-Form/3460878488 on Facebook
    • @jobformorg on Twitter
    • Job Form
Re: [MOD] Anti-Adblock Plugin for SMF - My first SMF plugin
« Reply #20 on: April 22, 2013, 03:09:56 PM »
thats really great idea. i will install once it's listed in the smf mods index.
come and join us on UK jobseekers [nofollow] forums.

Offline PLAYBOY

  • SMF Hero
  • ******
  • Posts: 2,019
  • Livephotoshop.com & Lullabyabc.com
    • Lullabies and Us
Re: [MOD] Anti-Adblock Plugin for SMF - My first SMF plugin
« Reply #21 on: April 24, 2013, 04:40:19 AM »
thats really great idea. i will install once it's listed in the smf mods index.

Same here. That is what i am waiting for also

Offline Pandos

  • Jr. Member
  • **
  • Posts: 151
  • Gender: Male
Re: [MOD][PENDING] Anti-Adblock Plugin for SMF - My first SMF plugin
« Reply #22 on: September 04, 2013, 09:57:08 AM »
A better solution imho will be to hide Attachements to AdBlock-Users.

Offline ryan_dwight

  • Jr. Member
  • **
  • Posts: 279
Re: [MOD][PENDING] Anti-Adblock Plugin for SMF - My first SMF plugin
« Reply #23 on: September 09, 2013, 06:01:32 AM »
thanks for this brilliant idea. ill be waiting for this mod

Offline die2mrw007

  • Jr. Member
  • **
  • Posts: 266
    • GizmoLord on Facebook
    • @Gizmo_Lord on Twitter
    • GizmoLord
Re: [MOD][PENDING] Anti-Adblock Plugin for SMF - My first SMF plugin
« Reply #24 on: October 06, 2013, 03:07:59 AM »
I was on a long vacation and good to see some suggestions and responses here. I will have to learn something more about the working of the mod and would be finishing it off soon. Before submissions, can I have some beta submission like method? I dont want the plugin to be a FAIL after publishing (like for some it works and for some it doesnt).

Offline sneakers

  • Semi-Newbie
  • *
  • Posts: 62
Re: [MOD][PENDING] Anti-Adblock Plugin for SMF - My first SMF plugin
« Reply #25 on: February 19, 2014, 05:05:43 PM »
Hello,
Is the mod still being developed?

Offline live627

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,265
  • Gender: Male
  • Cat: Destroy!
    • live627 on Facebook
    • live627 on GitHub
    • live627 on LinkedIn
    • @live627 on Twitter
    • livemods
Re: [MOD][PENDING] Anti-Adblock Plugin for SMF - My first SMF plugin
« Reply #26 on: February 19, 2014, 07:12:17 PM »
Hello,
Is the mod still being developed?

Last Active:
    October 28, 2013

Doubtful...
Try not to become a man of success, but rather try to become a man of value.
- Albert Einstein

TheListener

  • Guest
Re: [MOD][PENDING] Anti-Adblock Plugin for SMF - My first SMF plugin
« Reply #27 on: February 19, 2014, 07:16:05 PM »
The OP now uses IP Board for their forum.   :-X

Offline sneakers

  • Semi-Newbie
  • *
  • Posts: 62
Re: [MOD][PENDING] Anti-Adblock Plugin for SMF - My first SMF plugin
« Reply #28 on: February 20, 2014, 08:34:46 AM »
Thanks!
It's too bad. Missing mod with similar capabilities..Nothing like this has?

Offline ryan_dwight

  • Jr. Member
  • **
  • Posts: 279
Re: [MOD] Anti-Adblock Plugin for SMF - My first SMF plugin
« Reply #29 on: March 20, 2014, 05:41:23 AM »
In the absence of the mod being finished, heres a small peice of code I use on my site.

This was shamelessly lifted from playonlinux.com

Code: [Select]
<p id="ads">

<--REPLACE THIS WITH ADSENSE CODE-->

</p>

<script type="text/javascript"><!--
if(document.getElementsByTagName("iframe").item(0) == null)
{

document.write("<div style='width:250px; height:250px; padding-top: 10px; margin-left:5px;border:1px solid #666666; color:#FFF; background-color:#666; text-align:center; font-family:Maven Pro,century gothic, arial, helvetica, sans serif;padding-left:5px;padding-right:5px;border-radius:7px;font-size:18px;'>Advertising seems to be blocked by your browser.<br /><br /><span style='font-size:12px'>We would appreciate it if you would whitelist this site as we depend on ads to fund our server fees, domain costs etc. </br></br>Alternatively please consider donating towards our costs and receive 12 months ad free membership. Many thanks</span></br></br><img src='http://i38.tinypic.com/10z4hz6.png' alt='Adblock Plus' /></div>");
};
--></script>

Then set the styling to match the ad in question, dimensions etc.

This basically puts a hidden panel behind the add as demonstrated in the screenshots.

In the example its grey, but it could equally be a plain background with text.

As a note, I would advise only using it once per page at most. Users who dont block ads dont mind seeing ads, users who block ads dont want their browsing experience ruined by countless messages. Once is enough.

thanks for this

is it possible to convert the bbcode you tag and put it in this code?

just a thought.

Offline dimspace

  • Jr. Member
  • **
  • Posts: 343
    • @dimspace on Twitter
    • Velorooms.com
Re: [MOD][PENDING] Anti-Adblock Plugin for SMF - My first SMF plugin
« Reply #30 on: June 01, 2014, 11:55:57 AM »
Not sure i follow?

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 68,061
    • Arantor on GitHub
Re: [MOD][PENDING] Anti-Adblock Plugin for SMF - My first SMF plugin
« Reply #31 on: June 01, 2014, 11:56:53 AM »
Presumably for having unblockable ads in a post?
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.