Pop up join reminder box

I was wondering if anyone knew a way to make something pop up requesting that a user join after they have been on the site for 30 seconds or some preset amount of time.

I have my site set up to allow non members to view blogs, etc & actually have pretty decent amount of times logged in my analytics. I'd like to politely ask them to join with a pop up. 

Quote · 23 May 2013

Add this to the end-of your templates _footer file, remember to clear your cache each time you try something new...

<?php
if(isMember()){}else{?>
<script>
setTimeout(function(){
$(showPopupLoginForm)
}, 30000); // 30 seconds
</script>
<?php } ?>

Quote · 23 May 2013

Awesome.

Thank you. I can't wait to try this tomorrow :)

Quote · 24 May 2013

Worked like a champ. Thank you

Quote · 24 May 2013

Can it be altered so that it does NOT pop up when a guest is at the join page? It does not have a sense if it happens there, does it? :)

Quote · 24 May 2013

 

Can it be altered so that it does NOT pop up when a guest is at the join page? It does not have a sense if it happens there, does it? :)

 Sorry about the delay in replying... I didn't get a notification etc...

This should work, so it doesn't pop on join.php

<?php
if(isMember() || strpos($_SERVER['REQUEST_URI'],'join') !== false){}else{?>
<script>
setTimeout(function(){
$(showPopupLoginForm)
}, 30000); // 30 seconds
</script>
<?php } ?>

Quote · 27 May 2013

Confirmed, it doesn't pop up at join.php. Thanks!

Quote · 27 May 2013

Also, it works for 7.0.X as well.

Quote · 27 May 2013

Wow, so who are you?

Just pop up out of the blue with the cool add on's .

Thanks!

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 27 May 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.