Dołącz do zespołu ekspertów! Backend lub Frontend Developer?

Sprawdź najnowsze oferty pracy naszego partnera - 8lines.io!

Nie moge pisać PW do uzytkownikow

Błąd   Założony przez  ogi123.

wersja skryptu MyBB:1.8.3
adres forum: mf2forum.pl
na czym polega problem (screen, opis, komunikaty):
Nie moge pisać PW do uzytkownikow
ale znalazlem tutaj na forum takie cacko

<table cellspacing="0" cellpadding="{$theme['tablespace']}" width="100%" class="tcat">
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="receivepms" id="receivepms" value="1" {$receivepmscheck} /></td>
<td valign="top"><span class="smalltext"><label for="receivepms">{$lang->receive_pms}</label></span></td>
</tr>
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="pmnotice" id="pmnotice" value="1"{$pmnoticecheck} /></td>
<td valign="top"><span class="smalltext"><label for="pmnotice">{$lang->pm_notice}</label></span></td>
</tr>
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="emailpmnotify" id="emailpmnotify" value="1" {$emailpmnotifycheck} /></td>
<td valign="top"><span class="smalltext"><label for="emailpmnotify">{$lang->email_notify_newpm}</label></span></td>
</tr>
</table>


jestem na tyle zielony ze nie wiem gdzie to dodac by zadzialalo, prosze o pomoc
Należy dodać to do szablonu member_register (podgląd profilu).
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
w acp>style i szablony>szablony>moj szablon>Podgląd profilu - Szablony>member_register

<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->registration}</title>
{$headerinclude}
<script src="{$mybb->asset_url}/jscripts/validate/jquery.validate.min.js"></script>
</head>
<body id="forums">
{$header}
  <div style="width: 80%; margin: auto auto;">
<form action="member.php" method="post" id="registration_form"><input type="text" style="visibility: hidden;" value="" name="regcheck1" /><input type="text" style="visibility: hidden;" value="true" name="regcheck2" />
{$regerrors}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->registration}</strong></td>
</tr>
<tr>
<td width="50%" class="trow1" valign="top">
<fieldset class="trow2">
<legend><strong>{$lang->account_details}</strong></legend>
<table cellspacing="0" cellpadding="{$theme['tablespace']}" width="100%">
<tr>
<td colspan="2"><span class="smalltext"><label for="username">{$lang->username}</label></span></td>
</tr>
<tr>
<td colspan="2"><input type="text" class="textbox" name="username" id="username" style="width: 80%" value="{$username}" /></td>
</tr>
{$passboxes}
<tr>
<td width="50%" valign="top"><span class="smalltext"><label for="email">{$lang->email}</label></span></td>
<td width="50%" valign="top"><span class="smalltext"><label for="email2">{$lang->confirm_email}</label></span></td>
</tr>
<tr>
<td width="50%" valign="top"><input type="text" class="textbox" name="email" id="email" style="width: 80%" maxlength="50" value="{$email}" /></td>
<td width="50%" valign="top"><input type="text" class="textbox" name="email2" id="email2" style="width: 80%" maxlength="50" value="{$email2}" /></td>
</tr>
<tr>
    <td colspan="2" style="display: none;" id="email_status">&nbsp;</td>
</tr>
{$hiddencaptcha}
</table>
</fieldset>
{$requiredfields}
{$customfields}
{$referrer}
{$regimage}
{$questionbox}
</td>
</tr>
</table>
<br />
<div align="center">
<input type="hidden" name="regtime" value="{$time}" />
<input type="hidden" name="step" value="registration" />
<input type="hidden" name="action" value="do_register" />
<input type="submit" class="button" name="regsubmit" value="{$lang->submit_registration}" />
</div>
</form>
  </div>
<script type="text/javascript">
<!--
$().ready(function() {
    // validate registration_form
    $("#registration_form").validate({
        rules: {
          username: {
            required: true,
            minlength: {$mybb->settings['minnamelength']},
            maxlength: {$mybb->settings['maxnamelength']},
            remote:{
                url: "xmlhttp.php?action=username_availability",
                type: "post",
                  dataType: "json",
                data:
                {
                    my_post_key: my_post_key
                },
            },
          },
          email: {
                required: true,
                email: true,
          },
          email2: {
                required: true,
                email: true,
                equalTo: "#email"
          },
        },
        messages: {
            username: {
                      minlength: "{$lang->js_validator_username_length}",
                      maxlength: "{$lang->js_validator_username_length}",
            },
              email: "{$lang->js_validator_invalid_email}",
            email2: "{$lang->js_validator_email_match}",
        }
    });

   {$validator_extra}
});
// -->
</script>
  
{$footer}
</body>
</html>



i dało by rade jakby ktoś mi wkleil ten kod ? i czy wogole o to chodzi?

ok dalem sobie juz rade, dziala, temat do zamkniecia :)
Snake_ napisał 23.12.2014, 16:11:
Kody umieszczamy w tagach [code], bądź [php]. Nie [quote].
<html>
<
head>
<
title>{$mybb->settings['bbname']} - {$lang->registration}</title>
{
$headerinclude}
<
script src="{$mybb->asset_url}/jscripts/validate/jquery.validate.min.js"></script>
</
head>
<
body id="forums">
{
$header}
  <
div style="width: 80%; margin: auto auto;">
<
form action="member.php" method="post" id="registration_form"><input type="text" style="visibility: hidden;" value="" name="regcheck1" /><input type="text" style="visibility: hidden;" value="true" name="regcheck2" />
{
$regerrors}
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder">
<
tr>
<
td class="thead" colspan="2"><strong>{$lang->registration}</strong></td>
</
tr>
<
tr>
<
td width="50%" class="trow1" valign="top">
<
fieldset class="trow2">
<
legend><strong>{$lang->account_details}</strong></legend>
<
table cellspacing="0" cellpadding="{$theme['tablespace']}width="100%">
<
tr>
<
td colspan="2"><span class="smalltext"><label for="username">{$lang->username}</label></span></td>
</
tr>
<
tr>
<
td colspan="2"><input type="text" class="textbox" name="username" id="username" style="width: 80%" value="{$username}/></td>
</
tr>
{
$passboxes}
<
tr>
<
td width="50%" valign="top"><span class="smalltext"><label for="email">{$lang->email}</label></span></td>
<
td width="50%" valign="top"><span class="smalltext"><label for="email2">{$lang->confirm_email}</label></span></td>
</
tr>
<
tr>
<
td width="50%" valign="top"><input type="text" class="textbox" name="email" id="email" style="width: 80%" maxlength="50" value="{$email}/></td>
<
td width="50%" valign="top"><input type="text" class="textbox" name="email2" id="email2" style="width: 80%" maxlength="50" value="{$email2}/></td>
</
tr>
<
tr>
    <
td colspan="2" style="display: none;" id="email_status">&nbsp;</td>
</
tr>
{
$hiddencaptcha}
</
table>
</
fieldset>
{
$requiredfields}
{
$customfields}
{
$referrer}
{
$regimage}
{
$questionbox}
</
td>
</
tr>
</
table>
<
table cellspacing="0" cellpadding="{$theme['tablespace']}width="100%" class="tcat">
<
tr>
<
td valign="top" width="1"><input type="checkbox" class="checkbox" name="receivepms" id="receivepms" value="1" {$receivepmscheck} /></td>
<
td valign="top"><span class="smalltext"><label for="receivepms">{$lang->receive_pms}</label></span></td>
</
tr>
<
tr>
<
td valign="top" width="1"><input type="checkbox" class="checkbox" name="pmnotice" id="pmnotice" value="1"{$pmnoticecheck} /></td>
<
td valign="top"><span class="smalltext"><label for="pmnotice">{$lang->pm_notice}</label></span></td>
</
tr>
<
tr>
<
td valign="top" width="1"><input type="checkbox" class="checkbox" name="emailpmnotify" id="emailpmnotify" value="1" {$emailpmnotifycheck} /></td>
<
td valign="top"><span class="smalltext"><label for="emailpmnotify">{$lang->email_notify_newpm}</label></span></td>
</
tr>
</
table>
<
br />
<
div align="center">
<
input type="hidden" name="regtime" value="{$time}/>
<
input type="hidden" name="step" value="registration" />
<
input type="hidden" name="action" value="do_register" />
<
input type="submit" class="button" name="regsubmit" value="{$lang->submit_registration}/>
</
div>
</
form>
  </
div>
<
script type="text/javascript">
<!--
$().
ready(function() {
    
// validate registration_form
    
$("#registration_form").validate({
        
rules: {
          
username: {
            
requiredtrue,
            
minlength: {$mybb->settings['minnamelength']},
            
maxlength: {$mybb->settings['maxnamelength']},
            
remote:{
                
url"xmlhttp.php?action=username_availability",
                
type"post",
                  
dataType"json",
                
data:
                {
                    
my_post_keymy_post_key
                
},
            },
          },
          
email: {
                
requiredtrue,
                
emailtrue,
          },
          
email2: {
                
requiredtrue,
                
emailtrue,
                
equalTo"#email"
          
},
        },
        
messages: {
            
username: {
                      
minlength"{$lang->js_validator_username_length}",
                      
maxlength"{$lang->js_validator_username_length}",
            },
              
email"{$lang->js_validator_invalid_email}",
            
email2"{$lang->js_validator_email_match}",
        }
    });

   {
$validator_extra}
});
// -->
</script>
  
{
$footer}
</
body>
</
html
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.



Użytkownicy przeglądający ten wątek:

1 gości