Popup Box on Join Page?

Hey everyone.

I was wondering if anyone knew how to get a confirmation popup to come up when the join page loads...

I want it so that members can choose to either confirm that they are at least 18 years old and join or admit that they are not at least 18 and back out of the site. Like this:::

"!!!No Minors Allowed!!!

I certify that I am at least 18 years old

and am aware that this site may contain adult content

that some people could find offensive.

!!!No Minors Allowed!!!"

| OK |    |CANCEL|

Any idea how to do that lol? I'm not too good with php so please be as precise as possible indicating which files to edit and where I should put that edit if you happen to suggest one. As always any help what so ever is appreciated.

Thanks!

Quote · 2 Mar 2009

make new file with this:

__include _header.html__
<script language="javascript">
<!-- hide the script from old browsers --
function loadalert ()
{alert("THIS IS WHERE YOUR MESSAGE GOES!")
}
// --end hiding here -->
</script>
<body onLoad="loadalert()"> 
__page_main_code__
__include _footer.html__

replace:
THIS IS WHERE YOUR MESSAGE GOES!

save as page_3.html

upload to templates/tmpl_uni/

join and see

You should really update the Language string:
_FieldCaption_TermsOfUse_Join
admin/settings/languages settings as most lawyers you get to view your site will want the
text on the page.

I have video tutorials to help you mrpowless.com
Quote · 2 Mar 2009

Thanks a million!

I'm going to give this a try pretty soon.

Quote · 12 Mar 2009

Worked perfectly. How'd you know to name it page_3.html? Because of the name_index=3 property in the join.php file? What if I wanted to add some text to the join page, similar to the "Why Join" section of the Dolphin 7 join.php I want to be able to give my members pointers like "Your real name will never be shown" and "You dont have to upload a picture of your face but you must upload a picture" without them having to perform any kinda actions. Thanks in advance.

Quote · 13 Mar 2009
 
 
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.