News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Quick register form for SMF 1.0.x (probably works with 1.1.x too)

Started by Ivan Minic, July 31, 2005, 04:46:33 AM

Previous topic - Next topic

tarkhorani

Quote from: JshLnsctt on June 10, 2006, 08:32:03 AM
How did you get that right under please login or register?

would you please explain what you need or mean?
Get a Free SMForum on http://www.myboards.com (Ver 1.1.1)



JshLnsctt

Quote from: tarkhorani on June 10, 2006, 11:47:17 AM
Quote from: JshLnsctt on June 10, 2006, 08:32:03 AM
How did you get that right under please login or register?

would you please explain what you need or mean?

How did you get the quick register under guest please login or register on your test forum?

tarkhorani

inser this code in Themes/default/index.template.php:





if( $context['user']['is_guest'] )
{
echo '<br><strong>Quick Register:</strong><br />
<form action="', $scripturl, '?action=register2" method="post" style="margin: 3px 1px 1px 0; text-align:left;">
Username: <input type="text" name="user" size="10" /> Password: <input type="password" name="passwrd1" size="10" /> Confirm Password: <input type="password" name="passwrd2" size="10" /> Email: <input name="email" size="20" type="text" /><input name="regagree" type="hidden" value="checked" />
<input type="submit" value="I Agree with Terms; Register Me!" />
';
}


after this code:
                           <input type="submit" value="', $txt[34], '" /><br />
                           <span class="middletext">', $txt['smf52'], '</span>
                           <input type="hidden" name="hash_passwrd" value="" />
                        </form>';
   }


Get a Free SMForum on http://www.myboards.com (Ver 1.1.1)





husmen73 (Gulhin)

Quote from: Harro on June 05, 2006, 07:36:12 PM
Try this code:
if( $context['user']['is_guest'] )
{
echo '<br /><div class="tborder"><div class="windowbg2"><form action="'. $scripturl. '?action=register2" method="post" style="margin: 3px 1px 1px 0; text-align:left;" name="creator" id="creator">
<table>
<tr>
<td colspan="6"><strong>Quick Register:</strong></td>
</tr>
<tr>
<td>Username:</td>
<td> <input type="text" name="user" size="10"  maxlength="25" /></td>
<td>Password:</td>
<td> <input type="password" name="passwrd1" size="10" /></td>
<td> Confirm Password: </td><td><input type="password" name="passwrd2" size="10" /></td>

</tr>
<tr>
<td>Email:</td>
<td colspan="2"><input name="email" type="text" /></td>
<td colspan="3"><input name="regagree" type="hidden" value="checked" /></td>
</tr>
<tr>
<td colspan="6" align="center"><input type="submit" value="Register" /></td>
</tr>
</table>
</form></div></div>
';
}


thanx Harro
-Kurumsal Kimlik Web Tasarım Hizmeti.
Gülhin Portal Sistemi hakkında yorumlarınızı bekliyorum.
SMF
Referanslar --> http://www.gulhin.com/referanslar-portfoy/
-Web Tasarımı ve Tema Tasarımı Sitesi www.gulhin.com
-TOPLU MAİL GÖNDERİMİ --> http://www.toplumailsms.com
E-Ticaret Sistemi yaptırmak mı istiyorsunuz?

husmen73 (Gulhin)

sorry for double post.

I made mod, If you want install it, download on this link
-Kurumsal Kimlik Web Tasarım Hizmeti.
Gülhin Portal Sistemi hakkında yorumlarınızı bekliyorum.
SMF
Referanslar --> http://www.gulhin.com/referanslar-portfoy/
-Web Tasarımı ve Tema Tasarımı Sitesi www.gulhin.com
-TOPLU MAİL GÖNDERİMİ --> http://www.toplumailsms.com
E-Ticaret Sistemi yaptırmak mı istiyorsunuz?

Advertisement: