Need a REAL popup mod...

Started by milsou, February 01, 2016, 10:38:41 AM

Previous topic - Next topic

milsou

Hi guys...

Here is an amazing, fantastic plugin for wordpress ... please take 1 minute to see :
http://codecanyon.net/item/ninja-popups-for-wordpress/3476479

I need the same think for SMF.
Can you help please

Thanks

dougiefresh

You might want to contact the author's to see if they would be interested in porting their software to SMF.  Otherwise, there are copyright and license issues with porting it AFTER buying it.  Even if it was ported, it probably could never be distributed, once again, due to copyright/license issues....


dougiefresh


dougiefresh

I'm writing a mod to use this library to create a "real popup" for ya....

Biology Forums

Quote from: dougiefresh on March 09, 2016, 03:42:25 PM
I'm writing a mod to use this library to create a "real popup" for ya....

Awesome, thanks. I can see A LOT of people using this.

milsou


dougiefresh



Portugal

Hi,

It looks very intresting but i cant to instal it, i try for several times and it wont are available on my forum. I use 2.0.11 SMF version with exodus theme (but i tried with core theme too)..

dougiefresh

Quote from: Portugal on March 18, 2016, 05:17:11 PM
It looks very intresting but i cant to instal it, i try for several times and it wont are available on my forum. I use 2.0.11 SMF version with exodus theme (but i tried with core theme too)..
I'm assuming you are saying that it won't install for you, correct?  I don't understand why it wouldn't install for you on SMF 2.0.11, since it's completely hook-based (meaning no modifications to source or template files)...  I tested it on a clean 2.0.11 before uploading it.

What error message(s) is it giving when you try to install it?

Portugal

I can instal it without any error, but when i go to menage them at (Admin, Administration Center » Modification Settings" nothing its there about this MOD, for that i cant to setup them.

Quote from: dougiefresh on March 18, 2016, 06:48:16 PM
Quote from: Portugal on March 18, 2016, 05:17:11 PM
It looks very intresting but i cant to instal it, i try for several times and it wont are available on my forum. I use 2.0.11 SMF version with exodus theme (but i tried with core theme too)..
I'm assuming you are saying that it won't install for you, correct?  I don't understand why it wouldn't install for you on SMF 2.0.11, since it's completely hook-based (meaning no modifications to source or template files)...  I tested it on a clean 2.0.11 before uploading it.

What error message(s) is it giving when you try to install it?

dougiefresh

Quote from: Portugal on March 19, 2016, 01:59:36 PM
I can instal it without any error, but when i go to menage them at (Admin, Administration Center » Modification Settings" nothing its there about this MOD, for that i cant to setup them.
There should be a tab-thingy next to the "Modification Settings" tab, as shown in the attachment in this post.....  That's where the settings are!

Portugal

Yes i supose thats the location, but nothing apears on that (or other) location. I dont know if is becouse i have more mods instaled. See the picture ive attached.

dougiefresh

Quote from: Portugal on March 20, 2016, 12:44:09 PM
Yes i supose thats the location, but nothing apears on that (or other) location. I dont know if is becouse i have more mods instaled. See the picture ive attached.
Yup, sure isn't there....  :P

Can you verify that the file Subs-RealPopup.php is in your Sources folder? 

If that file is present, then unzip the mod package, upload the add_remove_hooks.php to your forum folder, and call the script.  If your forum is at http://www.duh.com, then you would type in the following: http://www.duh.com/add_remove_hooks.php.  Afterwards, you should remove the add_remove_hooks.php script from your forum folder.

If these steps don't produce a solution, then please let me know!

Westwegoman

I am having the same problem. I ran the script add_remove_hooks.php and got the following:

Congratulations! You have successfully installed this mod!

But the settings still do not show.

Illori

in Sources/Subs-RealPopup.php

Code (find) Select
function RPU_Admin($areas)

Code (replace) Select
function RPU_Admin(&$areas)

Westwegoman


dougiefresh

 :o Oh my God.....  I'm freaking blind!  I've uploaded version 1.0.1 with that change made....

Thank you, Illori and Westwegoman!!!

Westwegoman

Works great!

Can it be made visible to guest only?

dougiefresh

#20
 ::)  Just had to ask AFTER I released version 1.0.1, didn't ya?!   :P  Yeah, I can implement that in this mod. 

The Customization Team also wrote me and told me that how this mod does the HTML is a BIG security risk. So I am going to rewrite the HTML content so that it uses bbcode instead....  It'll eliminate a file in the mod, but add more content to output in the page, but I can probably save some processing time by parsing the bbcode and storing it in the settings table....   :-[

Westwegoman

Sounds good. I didn't think of the permissions until I got to playing around with it.

Thanks for the great mods!!

Portugal

Now works good :) I was tested, but i will go to implement soon o my forum, but i see a possibile bug, on my case (using responsive theme) it made some changes to size of screen, i think it reduces de definition.... its possibile?? I see the fonts biggers as a normal... :) I need to see it better.... :)
If its possibile to configure to show only to certain groups on our forums... well will be the must smf mod :)



Thanks for your great work

dougiefresh

@Portugal: What responsive theme are you using?  I'm assuming that I can download it from the SMF website, correct?

Portugal

Hi,

Yes its from SMF. Theme is "Exodus"


Quote from: dougiefresh on March 22, 2016, 05:18:26 PM
@Portugal: What responsive theme are you using?  I'm assuming that I can download it from the SMF website, correct?

dougiefresh

I've installed the Exodus theme, and I don't see any difference in font or screen size with the mod installed or uninstalled.  So I don't think that this mod has anything to do with that....

Now, if you are talking about the contents of the pop-up, likely you will have to make some changes to the CSS file in order to style it the way you want it to be....

milsou

Amazing amazing sir ... thanks a lot

It works almost fine on my forum ... When I hit the close button ...  I can't access to the forum. I have a full screen grey color. And the source code seems to be commented. Maybe it's a problem with my theme ... I will try in another website.
Just another function please... or if it's possible manually... how can we hide the close button please ?
Maybe an option for that in the back-office ?
Thanks a lot

ErtugrulBEKTIK

Quote from: milsou on June 14, 2016, 02:35:06 PM
Amazing amazing sir ... thanks a lot

It works almost fine on my forum ... When I hit the close button ...  I can't access to the forum. I have a full screen grey color. And the source code seems to be commented. Maybe it's a problem with my theme ... I will try in another website.
Just another function please... or if it's possible manually... how can we hide the close button please ?
Maybe an option for that in the back-office ?
Thanks a lot
Me neither.  If I use width, text and background color, adblock functions;  When I hit the close button, I can't access to the forum. Time and effect functions are gread work. My smf version is 2.0.10  If you fix this, I will be very happy.


Biology Forums

Quote from: dougiefresh on August 20, 2016, 08:13:18 PM
I've uploaded this mod to GitHub here: https://github.com/douglasorend/Real_Popup_with_AdBlock_Detection

dougiefresh, I remember you created a mod that displayed errors that a page formed on every page load. Do you still have it available?

dougiefresh

Quote from: Stylus on September 01, 2016, 01:14:58 AM
dougiefresh, I remember you created a mod that displayed errors that a page formed on every page load. Do you still have it available?
You might be looking for my Error Log Upon Exit mod.....  It should still be available on the SMF Customization site....

Biology Forums

That's the one. Where are the errors displayed? At the bottom of the screen? In addition, how hard would it be to port to 1.x?

Kindred

You should be upgrading to 2.0.x anyway...
Слова
Украина

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

dougiefresh

The Error Log Upon Exit mod should work on SMF 1.1.x.  My localhost server is PHP 5.6.x, which doesn't play nice with SMF 1.1.x, so it works but there may be installation issues...  Next time, please post bug reports and feature requests in the appropriate mod thread!  Thank you!

Biology Forums

Quote from: dougiefresh on September 14, 2016, 01:46:09 PM
The Error Log Upon Exit mod should work on SMF 1.1.x.  My localhost server is PHP 5.6.x, which doesn't play nice with SMF 1.1.x, so it works but there may be installation issues...  Next time, please post bug reports and feature requests in the appropriate mod thread!  Thank you!

I will, apologies. Thanks

dougiefresh

New version attached to this post!  Can't post on my website, it is down for now....  :-[  If you want to test, please let me know the results!

I got an bug report from someone and I don't remember who.  But here is the jest:  After installing the mod and enabling it, the forum would show a blank screen and it would be impossible for that user to get access to the forum again without deleting Subs-RealPopup.php from the Sources folder.  I managed to reproduce this bug, and I think it has everything to do with the unclosed html <style> tag.  Anyways, I've fixed it and it should work better now!!

Quote from: Portugal on March 22, 2016, 07:23:29 AM
Now works good :) I was tested, but i will go to implement soon o my forum, but i see a possibile bug, on my case (using responsive theme) it made some changes to size of screen, i think it reduces de definition.... its possibile?? I see the fonts biggers as a normal... :) I need to see it better.... :)
If its possibile to configure to show only to certain groups on our forums... well will be the must smf mod :)
I think I've fixed this issue with this new version.

Biology Forums

Thanks for this. How does it detect adblock?

dougiefresh

Quote from: Stylus on September 23, 2016, 01:03:15 AM
Thanks for this. How does it detect adblock?
You're welcome!  It uses the BlockAdBlock script on GitHub.  I think it basically creates a DIV with a whole bunch of bait classes and styles, just so AdBlock will hide the DIV.  The script can figure out if the DIV has a height of 0, which will trigger a positive for AdBlock.

coltp45

Im using exodus theme with version 2.0.11.
In my test server works ok, but the online forum don't work.... Im using firefox.

If i use this option
Use black overlay on AdBlock detection?
At the top appers this error
div.blossomfeaturebox:before{ opacity: 1.0; }

dougiefresh

My Real Popup with Adblock Detection mod has been approved by the SMF Customization Team!  Thanks, SMF Customization Team!!!

coltp45

I tried it on curver theme and does not work either. 

dougiefresh

I just updated the mod to version 1.1, fixed a few issues and adding a feature...  Please give that a try....

coltp45

#42
Quote from: dougiefresh on September 25, 2016, 10:34:48 PM
I just updated the mod to version 1.1, fixed a few issues and adding a feature...  Please give that a try....


Installs ok but still don't work and gives this error.

2: fclose() expects parameter 1 to be resource, boolean given

EDIT:  ok, now is working.

Uninstall this mod   Adk Back To Top   and problem solved. 

dougiefresh

@Everybody: All mod-related discussion should take place in the Real Popup with AdBlock Detection thread.

Quote from: Westwegoman on March 20, 2016, 08:56:07 PM
Can it be made visible to guest only?
Done as of version 1.2....

Quote from: coltp45 on September 23, 2016, 09:17:57 PM
If i use this option
Use black overlay on AdBlock detection?
At the top appers this error
div.blossomfeaturebox:before{ opacity: 1.0; }
Issue has been fixed as of version 1.1....

Quote from: milsou on June 14, 2016, 02:35:06 PM
It works almost fine on my forum ... When I hit the close button ...  I can't access to the forum. I have a full screen grey color. And the source code seems to be commented. Maybe it's a problem with my theme ... I will try in another website.
Issue has been fixed as of version 1.0.3....

Quote from: milsou on June 14, 2016, 02:35:06 PM
Just another function please... or if it's possible manually... how can we hide the close button please ?
Maybe an option for that in the back-office ?
Done as of version 1.2.....

Quote from: ErtugrulBEKTIK on July 06, 2016, 06:42:41 AM
Me neither.  If I use width, text and background color, adblock functions;  When I hit the close button, I can't access to the forum. Time and effect functions are gread work. My smf version is 2.0.10  If you fix this, I will be very happy.
Issue has been fixed as of version 1.0.3...

Quote from: coltp45 on September 25, 2016, 10:44:15 PM
Installs ok but still don't work and gives this error.

2: fclose() expects parameter 1 to be resource, boolean given

EDIT:  ok, now is working.

Uninstall this mod   Adk Back To Top   and problem solved.
Let's move this discussion into the  Real Popup with AdBlock Detection thread.  Thanks!

godinperson

I can't seem to make it work. I have a forum and I use uBlock Origin. It doesn't detect uBlock.

Thanks

Illori

Quote from: dougiefresh on September 26, 2016, 09:25:52 AM
Let's move this discussion into the  Real Popup with AdBlock Detection thread.  Thanks!

please post in the mods support topic as linked to above.

dougiefresh

Quote from: godinperson on November 15, 2016, 03:28:07 PM
I can't seem to make it work. I have a forum and I use uBlock Origin. It doesn't detect uBlock.
This mod doesn't support uBlock at this time.  It may in the future, if I can figure out how to adapt the code.....

Advertisement: