reg. agreement - do NOT agree

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
Colliope
Registered User
Posts: 67
Joined: Sat Feb 05, 2005 3:16 am
Contact:

reg. agreement - do NOT agree

Post by Colliope »

I followed the instructions here

http://www.phpbb.com/kb/article.php?article_id=65

for changing my registration agreement, and I understand how to change the link for over/under 13, but what I don't see how to change is the link for "do not agree". Right not, choosing "do not agree" sends me back to the main index page. I'd like to change it to send folks to another one of my pages that is not part of the phpBB forum.

Thanks,
Col

StefanL
Registered User
Posts: 2265
Joined: Wed Jul 23, 2003 10:10 pm

Post by StefanL »

/templates/xxxxxx/agreement.tpl

Colliope
Registered User
Posts: 67
Joined: Sat Feb 05, 2005 3:16 am
Contact:

Post by Colliope »

Thanks, Stefan. Now that I know where to change it, can you tell me how to change it? I'm totally new to this php stuff and don't understand the relationship between these two files, so I don't know how to re-write the link to just a regular url without breaking any connections.

/templates/xxxxxx/agreement.tpl

Code: Select all

<tr>
				<td><span class="genmed"><br />{AGREEMENT}<br /><br /><br /><div align="center"><a href="{U_AGREE_OVER13}" class="genmed">{AGREE_OVER_13}</a><br /><br /><a href="{U_AGREE_UNDER13}" class="genmed">{AGREE_UNDER_13}</a><br /><br /><a href="{U_INDEX}" class="genmed">{DO_NOT_AGREE}</a></div><br /></span></td>
			</tr>

/includes/usercp_register.php

Code: Select all

$template->assign_vars(array(
		'REGISTRATION' => $lang['Registration'],
		'AGREEMENT' => $lang['Reg_agreement'],
		"AGREE_OVER_13" => $lang['Agree_over_13'],
		"AGREE_UNDER_13" => $lang['Agree_under_13'],
		'DO_NOT_AGREE' => $lang['Agree_not'],

		"U_AGREE_OVER13" => append_sid("profile.$phpEx?mode=register&agreed=true"),
		"U_AGREE_UNDER13" => append_sid("profile.$phpEx?mode=register&agreed=true&coppa=true"))
Col

StefanL
Registered User
Posts: 2265
Joined: Wed Jul 23, 2003 10:10 pm

Post by StefanL »

' <a href="{U_INDEX}" ' to ' <a href="http://www.mydomain.com" '

Colliope
Registered User
Posts: 67
Joined: Sat Feb 05, 2005 3:16 am
Contact:

Post by Colliope »

Thanks! Now that i see what needed to be changed, it makes sense.

Locked

Return to “2.0.x Support Forum”