Code: Select all
$coppa = ( ( !$HTTP_POST_VARS['coppa'] && !$HTTP_GET_VARS['coppa'] ) || $mode == "register") ? 0 : TRUE;
$s_hidden_fields = '<input type="hidden" name="mode" value="edit" /><input type="hidden" name="agreed" value="true" /><input type="hidden" name="coppa" value="' . $coppa . '" />';
$s_hidden_fields .= '<input type="hidden" name="id" value="' . $user_id . '" />';
Code: Select all
{
$s_hidden_fields = '<input type="hidden" name="mode" value="save" /><input type="hidden" name="agreed" value="true" /><input type="hidden" name="coppa" value="' . $coppa . '" />';
$s_hidden_fields .= '<input type="hidden" name="id" value="' . $this_userdata['user_id'] . '" />';
if( !empty($user_avatar_local) )
Code: Select all
{
$s_hidden_fields = '<input type="hidden" name="mode" value="save" /><input type="hidden" [color=red]name="AgrEEd" value="true" [/color]/><input type="hidden" name="coppa" value="' . $coppa . '" />';
$s_hidden_fields .= '<input type="hidden" name="id" value="' . $this_userdata['user_id'] . '" />';
if( !empty($user_avatar_local) )
espicom wrote: Visual confirmation is not a requirement for either my modification or Instant Ban. The work equally well with versions pre-dating 2.0.11.
[snip]
The problem is, if using subSilver makes the VC setting appear, your regular theme will need updating to make the Visual Confirmation graphic appear during registration. I haven't looked around at the other themes, so I've got no idea what is involved with that.
It is just a matter of "find an replace ALL" in the the files?
espicom wrote: With a text editor, search for "agreed", and replace it with your own choice of mixed case, or even something like "IAmInAgreement". As long as all references to this variable are identical, registration and profile changes work as before... except for those trying to bypass the system.
Just thinking it can be easily bypassed by simple checking.
Code: Select all
$sql = "SELECT username, user_id, user_viewemail, user_posts, user_regdate, user_from, \"\" as user_website, user_email, user_icq, user_aim, user_yim, user_msnm, user_avatar, user_avatar_type, user_allowavatar
FROM " . USERS_TABLE . "
WHERE user_id <> " . ANONYMOUS . " AND user_active = 1
ORDER BY $order_by";
Next, we make it so that inactive member's records do not appear in the Membership list.