MyBB Community Forums

Full Version: Whant to add a javascript to register page ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi ,

I recenly made a mybb forum .
And now i whant to block my registration page where people agree the registration agreements .

The code i need to add looks like
<script type="text/javascript">var isloaded = false;</script><script type='text/javascript' src='http://www.****.com/mygateway.php?pub=****&amp;gateid=MTUyNTQz'></script><script type="text/javascript">if (!isloaded) { window.location = 'http://****.com/adblock.php?pub=125570'; }</script><noscript><meta http-equiv="refresh" content="0;url=http://****.com/nojava.php?pub=****" /></noscript>

But i dont have any id where i can add this so only this page will be blocked by a widget ?
Is theyre anyoone that could help me ? adding the code to the language file gives me errors
Try adding it to the member_register_agreement template just after {$headerinclude} and before </head>
Thanks i found it i appriciate your help Smile .

Greetz
AdminCP > Tempates and Styles > Templates > Member template Sets > member_register_agreement
yes i found it thanks alot Smile