Advertisement:

Author Topic: Real Popup with AdBlock Detection  (Read 11941 times)

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,688
  • Mod King
    • XPtsp.com Community
Re: Real Popup with AdBlock Detection
« Reply #40 on: September 12, 2017, 10:48:19 AM »
Uploaded v1.4 - September 12th, 2017
o Added code so that contents of body tags are used instead of whole document.



@maglix04:  I've updated the code so that when the sample code given is used, the contents of the body tag are used instead of the entire sample.  This should prevent future confusion of this kind using this mod.  Thank you for the question!
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Offline maglix04

  • Semi-Newbie
  • *
  • Posts: 13
Re: Real Popup with AdBlock Detection
« Reply #41 on: September 14, 2017, 03:11:01 PM »
Thank you for update. Great mod!

Offline Ian Mc

  • Semi-Newbie
  • *
  • Posts: 33
  • Gender: Male
Re: Real Popup with AdBlock Detection
« Reply #42 on: September 24, 2017, 05:36:47 AM »
First of all, great mod !!  I've been using it for some time now as a drop down to encourage registration and had great results.

I've encountered a minor problem recently having moved the site over to a new server and url. I've set up a 301 redirect in htaccess on the old site which takes visitors straight to the new site, the problem I'm having is when redirected to the new site the drop down appears straight away (I have it set at 60 seconds) and only partially loads as in the information box doesn't appear just a little unhappy face in it's place !!  Hope that makes sense !!

Is there anything I can change so that the mod doesn't activate straight away when redirected to the site?

Thanks in advance.

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,688
  • Mod King
    • XPtsp.com Community
Re: Real Popup with AdBlock Detection
« Reply #43 on: November 19, 2017, 11:08:09 PM »
Uploaded v1.5 - November 19th, 2017
o Added check to make sure the optincontent.txt file exists before continuing.
o Removed the forum path from the Javascript calling the Blossum Opt-in code.



@Ian Mc:  Sorry to address your bug report so late!  Hopefully, this update should fix the issue that you're experiencing!  If not, please let me know!
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Offline Cola-Coca

  • SMF Hero
  • ******
  • Posts: 3,560
  • Gender: Male
Re: Real Popup with AdBlock Detection
« Reply #44 on: January 10, 2018, 08:59:43 AM »
Helo,

This mode has problems if you have the 'PrettyURL' installed. If you have 'PrettyURL' installed then the popup message does not come out, I just get this sign ' :-( '
I leave you a picture as a proof in the attach.

When I shut down 'PrettyURL' then the mod 'Real Popup with AdBlock Detection' works properly.
How to solve this problem?
I LOVE SMF

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,688
  • Mod King
    • XPtsp.com Community
Re: Real Popup with AdBlock Detection
« Reply #45 on: January 10, 2018, 10:54:46 AM »
Uploaded v1.6 - January 10th, 2018
o Added option to use optincontent.txt inline with HTML output.



@Cola-Cola:  Thank you for the bug report!  This update should solve the issue you reported.
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Offline Cola-Coca

  • SMF Hero
  • ******
  • Posts: 3,560
  • Gender: Male
Re: Real Popup with AdBlock Detection
« Reply #46 on: January 10, 2018, 05:36:20 PM »
Uploaded v1.6 - January 10th, 2018
o Added option to use optincontent.txt inline with HTML output.



@Cola-Cola:  Thank you for the bug report!  This update should solve the issue you reported.

@dougiefresh
I have installed your last 1.6 version but the problem is the same if i have it turned on 'PrettyURL' mod.
If I have it turned on 'PrettyURL' mod and 'Real Popup with AdBlock Detection v1.6' the popup is displayed correctly only on home page, for example: 'www.smfforumsite.com/index.php'. If I go on board or post forum page I get error ' :-( ' which I have described before.

When it was turned off 'PrettyURL' the mod works 'Real Popup with AdBlock Detection' normally in all parts (board page, post page) of forum.

EDIT:
I solved the problem because i got activated option 'Include popup contents in each page load'.
But there is another problem, when i turn on the option ''Include popup contents in each page load' at the bottom of the forum on all forum pages (home page, board page, post page, etc...) a popup message is displayed. I leave the picture in attach.
I repeat, this message goes out on all forum pages at the bottom.





« Last Edit: January 10, 2018, 06:20:28 PM by Cola-Coca »
I LOVE SMF

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,688
  • Mod King
    • XPtsp.com Community
Re: Real Popup with AdBlock Detection
« Reply #47 on: January 11, 2018, 11:02:04 AM »
Uploaded v1.7 - January 11th, 2018
o Moved RealPopup files under the Themes directory.



@Cola-Cola:  I can't reproduce this issue that you reported.  However, since it appears that the CSS files aren't being loaded, I moved the RealPopup support files under Themes.  Hopefully, that'll stop your forum from interfering with the CSS loading statements.  It might even stop the issue that caused me to insert the "insert inline into HTML" stuff from last update....  Let me know if this solves the problem for you!  Thanks!
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Offline Cola-Coca

  • SMF Hero
  • ******
  • Posts: 3,560
  • Gender: Male
Re: Real Popup with AdBlock Detection
« Reply #48 on: January 11, 2018, 11:24:14 AM »
Uploaded v1.7 - January 11th, 2018
o Moved RealPopup files under the Themes directory.



@Cola-Cola:  I can't reproduce this issue that you reported.  However, since it appears that the CSS files aren't being loaded, I moved the RealPopup support files under Themes.  Hopefully, that'll stop your forum from interfering with the CSS loading statements.  It might even stop the issue that caused me to insert the "insert inline into HTML" stuff from last update....  Let me know if this solves the problem for you!  Thanks!

Thanks for your reply. Do I have to download again 'Real Popup with AdBlock Detection' mod and install it ?

Thanks.


I LOVE SMF

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,688
  • Mod King
    • XPtsp.com Community
Re: Real Popup with AdBlock Detection
« Reply #49 on: January 11, 2018, 12:13:33 PM »
Yup, actually recommended.  Unless you want to manually move the RealPop folder to underneath the Themes, and alter the Sources/Subs-RealPopup.php file and change all occurrances of /RealPopup to /Themes/RealPopup....
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Offline skb

  • Charter Member
  • Jr. Member
  • *
  • Posts: 259
    • Metabolically Challenged
Re: Real Popup with AdBlock Detection
« Reply #50 on: February 22, 2018, 03:49:02 AM »
Thanks for the Mod.

I'm using it on the forum index page to urge Guests to register. My forum is located at www.diabetic.pub/forum.

Is there a way to also use it on the website page/s ?
Learning, every day.
Forum - The Diabetic Pub
Because every diabetic needs help
SMF 2.0.15 (default theme) / TP 1.42

Offline Rock Lee

  • SMF Hero
  • ******
  • Posts: 1,544
  • Gender: Male
  • Digitalizando un nuevo mundo :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Real Popup with AdBlock Detection
« Reply #51 on: February 22, 2018, 05:24:22 AM »
This comes to me as a ring to the finger I'm just progando some things and notice the adblock blocks more than just advertising if to use it: D


Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2018
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

Offline RFD

  • Jr. Member
  • **
  • Posts: 235
Re: Real Popup with AdBlock Detection
« Reply #52 on: April 01, 2018, 09:50:11 AM »
can't get this to work as a one time popup by setting the popup as immediate but only once, with a 365 day replay.  i can drop the browser, open it back up, enter the forum and the popup displays.  i'd expect it shouldn't / wouldn't .... ?  smf 2.0.15

mod list attached, too.


Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,688
  • Mod King
    • XPtsp.com Community
Re: Real Popup with AdBlock Detection
« Reply #53 on: April 03, 2018, 07:06:23 PM »
Uploaded v1.8 - April 3rd, 2018
o Fixed Subs-RealPopup.php so that days duration setting works properly.



@RFD:  Thank you for reporting this bug!  It's been fixed for this version!
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Offline RFD

  • Jr. Member
  • **
  • Posts: 235
Re: Real Popup with AdBlock Detection
« Reply #54 on: April 03, 2018, 07:48:39 PM »
thanx dougie!