Advertisement:

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

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,550
    • 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!
NOTICE:  My website is back up!

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,550
    • 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!
NOTICE:  My website is back up!

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,540
  • 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,550
    • 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.
NOTICE:  My website is back up!

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,540
  • 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,550
    • 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!
NOTICE:  My website is back up!

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,540
  • 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,550
    • 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....
NOTICE:  My website is back up!

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!