ok i replaced all , commas with . periods
function template_wap_register()
{
global $context, $settings, $options, $scripturl, $txt;
echo '
<card id="main" title="'. $context['page_title']. '">';
echo '
<p>'. $txt[35]. ':<br />
<input type="text" name="user" /></p>
<p>'. $txt[69]. ':<br />
<input type="text" name="email" /></p>
<p>'. $txt[36]. ':<br />
<input type="password" name="passwrd1" />
<b>Verify Password</b>
<input type="password" name="passwrd2" /></p>
<p>'. $txt[97]. '</p>
<p><do type="accept" label="'. $txt[97]. '">
<go method="post" href="'. $scripturl. '?action=register2;wap">
<postfield name="user" value="$user" />
<postfield name="email" value="$email" />
<postfield name="passwrd1" value="$passwrd1" />
<postfield name="passwrd2" value="$passwrd2" />
</go>
</do></p>
</card>';
}
but still i am unable to register
btw its smf forum
i tried asking help on their forum
but no reply
wap protocol is inbuilt
and this is wap template
btw this is working login script
take a look
function template_wap_login()
{
global $context, $settings, $options, $scripturl, $txt;
echo '
<card id="login" title="', $context['page_title'], '">';
if (isset($context['login_error']))
echo '
<p><b>', $context['login_error'], '</b></p>';
echo '
<p>', $txt[35], ':<br />
<input type="text" name="user" /></p>
<p>', $txt[36], ':<br />
<input type="password" name="passwrd" /></p>
<p><do type="accept" label="', $txt[34], '">
<go method="post" href="', $scripturl, '?action=login2;wap">
<postfield name="user" value="$user" />
<postfield name="passwrd" value="$passwrd" />
<postfield name="cookieneverexp" value="1" />
</go>
</do></p>
</card>';
}