collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 640
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Sohbet Kutusu

Refresh History
  • Destek için kullanmay?n!
  • akorkut: Ama desteklerinizi de bekliyoruz.
    November 18, 2016, 08:41:36 AM
  • akorkut: grafitus hocam, yaklaşık 10 yıl.. smf, sp,  sizin ve diğer paylaşımseverin çalışmalarınızl bize destek oldu. Herşey için çok teşekkür ederiz.
    November 18, 2016, 08:40:38 AM
  • grafitus: Merhabalar herkese. Uzun zaman oldu, hayatlar değişti. Vakit ayıramaz olduk. SMF ve SimplePortal'ın yeri farklı olsa da artık aktif olmadıkları aşikar. Belki bir gün yeniden forumlar doğar. :)) Sevgilerle.
    November 18, 2016, 08:26:32 AM
  • tc bolubeyi: gelen giden yok pek
    July 31, 2016, 02:52:53 PM
  • tekniker974: Neredeyse 1 sene olmuş
    May 12, 2016, 01:05:50 AM
  • tekniker974: Günaydın
    May 12, 2016, 01:05:19 AM
  • tc bolubeyi: merhaba dostlara
    August 28, 2015, 08:56:04 AM
  • mert1i: ker alaka
    August 03, 2015, 10:07:49 AM
  • sonkalem: sa
    July 14, 2015, 03:27:51 PM
  • tc bolubeyi: sağolun ben de iyi allaha şükür
    June 10, 2015, 05:52:54 PM
  • mkuru: Teşekkürler Hasan Bey. Sizi sormalı
    May 27, 2015, 02:53:43 AM
  • tc bolubeyi: selam dostlar nasılsınız
    May 23, 2015, 06:52:15 PM
  • streetfire: Ben seviyorum.
    May 01, 2015, 03:39:22 PM
  • streetfire: Valla bilmiyorum. Sitemde çok kullanıyorum.
    May 01, 2015, 03:39:14 PM
  • mkuru: Evet haklısın
    April 03, 2015, 08:23:32 AM
  • mert1i: portalın en çok istenen ama en aaz talep gören kısmı bu chat
    April 01, 2015, 07:35:31 AM
  • mert1i: Selamun aleyküm ahali..
    January 27, 2015, 05:20:06 AM
  • tekniker974: a.s.
    August 12, 2014, 03:22:53 PM
  • delirium: S.a
    August 02, 2014, 10:24:22 AM
  • tekniker974: :nervous-happy:kimse yok
    July 15, 2014, 01:19:26 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

Welcome to SimplePortal.net! You can download SimplePortal from the Downloads Area!

Author Topic: Üye Ol Blo?u  (Read 6173 times)

0 Members and 1 Guest are viewing this topic.

Offline Evo

  • Jr. Member
  • **
  • Posts: 73
  • Gender: Male
    • Aşkıma...
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Üye Ol Blo?u
« on: April 05, 2009, 12:02:28 AM »
Sinan hocam modunuz olan SSI register modundaki kodlar? ald?m ve blok olarak ekledim. Görüntü itibari ile tüm bölümler ç?k?yor sorun yok ancak iki sorunum var. Birincisi bilgileri girip üye ol dedi?imde bu bölüme eri?ime yetkiniz yok demektedir. ?kinci sorun ise diyelim ziyaretçi de?ilde üye olarak sitede geziyorum formun k?s?mlar? gözükmüyor ancak blo?un ba?l?k k?sm? yine ç?k?yor. Üye olundukdan sonra o k?s?mda gizlense olmaz m? acaba. Kulland???m kodlar bunlar.
Ziyaretçiye Görünen

Giri? Yapan Üyeye Gözüken



Code: [Select]
global $scripturl, $db_prefix, $txt, $settings, $modSettings, $context;

loadLanguage('Login');

// Generate a visual verification code to make sure the user is no bot.
$context['visual_verification'] = empty($modSettings['disable_visual_verification']) || $modSettings['disable_visual_verification'] != 1;
if ($context['visual_verification'])
{
$context['use_graphic_library'] = in_array('gd', get_loaded_extensions());
$context['verificiation_image_href'] = $scripturl . '?action=verificationcode;rand=' . md5(rand());

// Only generate a new code if one hasn't been set yet
if (!isset($_SESSION['visual_verification_code']))
{
// Skip I, J, L, O and Q.
$character_range = array_merge(range('A', 'H'), array('K', 'M', 'N', 'P'), range('R', 'Z'));

// Generate a new code.
$_SESSION['visual_verification_code'] = '';
for ($i = 0; $i < 5; $i++)
$_SESSION['visual_verification_code'] .= $character_range[array_rand($character_range)];
}
}

    // If we have GD, try the nice code.
    elseif (empty($_REQUEST['format']))
    {
        require_once($sourcedir . '/Subs-Graphics.php');

        if (in_array('gd', get_loaded_extensions()) && !showCodeImage($_SESSION['visual_verification_code'])) {
            header('HTTP/1.1 400 Bad Request');
die();
}
        // Otherwise just show a pre-defined letter.
        elseif (isset($_REQUEST['letter']))
        {
            $_REQUEST['letter'] = (int) $_REQUEST['letter'];
            if ($_REQUEST['letter'] > 0 && $_REQUEST['letter'] <= strlen($_SESSION['visual_verification_code']) && !showLetterImage(strtolower($_SESSION['visual_verification_code']{$_REQUEST['letter'] - 1}))) {
                header('HTTP/1.1 400 Bad Request');
die();
}
        }
        // You must be up to no good.
        else {
            header('HTTP/1.1 400 Bad Request');
die();
}
    }
    elseif ($_REQUEST['format'] === '.wav')
    {
        require_once($sourcedir . '/Subs-Sound.php');

        if (!createWaveFile($_SESSION['visual_verification_code'])) {
            header('HTTP/1.1 400 Bad Request');
die();
}
    }

if($output_method = 'echo' && $context['user']['is_guest']) {
echo '
    <div>
        <form action="'. $scripturl. '?action=register2" method="post" style="margin: 0px 1px 1px 0; text-align:left;" name="creator" id="creator">
                <table class="ssi_table">
                    <tr>
                        <td>Kullan?c? Ad?:</td>
                        <td><input type="text" name="user" size="10"  maxlength="30" /></td>
</tr>
<tr>
                        <td>Parola:</td>
                        <td><input type="password" name="passwrd1" size="10" /></td>
</tr>
<tr>
                        <td>Parola: </td>
<td><input type="password" name="passwrd2" size="10" /></td>
</tr>
<tr>
<td>E-Mail:</td>
                        <td><input name="email" type="text" size="10" /><input name="regagree" type="hidden" value="checked" /></td>
                    </tr>';
    if ($context['visual_verification'])
    {
        echo '
                    <tr>
                        <td>
                           Resim Do?rulamas?:
                        </td>
                            <td><input type="text" name="visual_verification_code" size="10" /></td>
</tr>
<tr>';
        if ($context['use_graphic_library'])
            echo '
                            <td colspan="2"><img src="', $context['verificiation_image_href'], '" alt="', $txt['visual_verification_description'], '" id="verificiation_image" /></td>';
        else
            echo '
                            <td colspan="2"><img src="', $context['verificiation_image_href'], ';letter=1" alt="', $txt['visual_verification_description'], '" id="verificiation_image_1" />
                            <img src="', $context['verificiation_image_href'], ';letter=2" alt="', $txt['visual_verification_description'], '" id="verificiation_image_2" />
                            <img src="', $context['verificiation_image_href'], ';letter=3" alt="', $txt['visual_verification_description'], '" id="verificiation_image_3" />
                            <img src="', $context['verificiation_image_href'], ';letter=4" alt="', $txt['visual_verification_description'], '" id="verificiation_image_4" />
                            <img src="', $context['verificiation_image_href'], ';letter=5" alt="', $txt['visual_verification_description'], '" id="verificiation_image_5" /></td>';
        echo '
</tr>
<tr>
                            <td class="smalltext" colspan="2">
<a href="', $context['verificiation_image_href'], ';sound" onclick="return reqWin(this.href, 400, 120);">', $txt['visual_verification_sound'], '</a>
</td>
</tr>';
    }
echo'
                    <tr>
                        <td colspan="2" align="center"><input type="submit" value="Üye Ol" /></td>
                    </tr>
                </table>
        </form>
    </div>';
}
else
return false;

Offline Yağız...

  • Jr. Member
  • **
  • Posts: 80
  • Gender: Male
Re: Üye Ol Bloğu
« Reply #1 on: April 05, 2009, 04:15:37 AM »
Yönetim > SimplePortal > Blocks > Üye Ol > > Block Permissions > [ Yetkili Grupları Belirlemek İçin Tıklayınız ] > Sadece Ziyaretçiler grununu seç ve Edit Block butonuna bas.

Offline Evo

  • Jr. Member
  • **
  • Posts: 73
  • Gender: Male
    • Aşkıma...
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Üye Ol Bloğu
« Reply #2 on: April 05, 2009, 11:51:56 AM »
Yağız zaten o şekilde form kısımları yok ancak ikinci resimdeki gibi gözüküyor.

Offline Yağız...

  • Jr. Member
  • **
  • Posts: 80
  • Gender: Male
Re: Üye Ol Bloğu
« Reply #3 on: April 05, 2009, 02:32:35 PM »
Mesajlari tamamen oku ondan sonra yaz.

Selim, eve dönünce deneyip buraya yazarim.

Offline Evo

  • Jr. Member
  • **
  • Posts: 73
  • Gender: Male
    • Aşkıma...
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Üye Ol Bloğu
« Reply #4 on: April 05, 2009, 03:28:34 PM »
Paragaya ilk mesajımın ilk satırını dikkatli okursan sevinirim. Yağız admin hesabını pm olarak atıyorum sana.

Offline Daydreamer

  • Jr. Member
  • **
  • Posts: 59
  • Gender: Male
  • ЯocKayseri
    • mnyk
  • SMF Version: 2 RC1
  • SP Version: 2.2
Re: Üye Ol Bloğu
« Reply #5 on: April 05, 2009, 04:50:36 PM »
Smf sürümünüz nedir ?

Offline Evo

  • Jr. Member
  • **
  • Posts: 73
  • Gender: Male
    • Aşkıma...
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Üye Ol Bloğu
« Reply #6 on: April 06, 2009, 12:43:26 AM »
2.0 RC1

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Üye Ol Blo?u
« Reply #7 on: April 06, 2009, 05:03:23 AM »
SimplePortal yönetim izinlerine sahip kullan?c?lar bütün bloklar? görebilirler, yani o bloku admin oldu?unuz için görüyorsunuz. Di?er kullan?c?lar?n?z görmeyecektir.

Ayr?ca o modifkasyonumu SMF 2.0'a güncelledi?imi hat?rlam?yorum, çal??mayabilir.
And slowly, you come to realize... It's all as it should be...

Offline Evo

  • Jr. Member
  • **
  • Posts: 73
  • Gender: Male
    • Aşkıma...
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Üye Ol Bloğu
« Reply #8 on: April 06, 2009, 05:51:19 AM »
Anladım Sinan hocam aslında bende görmesem fena olmazdı çünkü pek güzel görünmüyor evet 1.1.8 ben direkt olarak kopyaladım form kısmı çıktı ama üye ol dediğimde bu bölüme erişime yetkiniz yok diyor başka sorunu yok gibi Sinan hocam bu modifikasyonu gelecek sürümde portala ilave edebilir misiniz acaba. Sağ ve sol blok için dikine üst ve alt bloklar için yataylamasına bir görüntü oluşturabilirseniz çok güzel olur bence.

Offline Evo

  • Jr. Member
  • **
  • Posts: 73
  • Gender: Male
    • Aşkıma...
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Üye Ol Bloğu
« Reply #9 on: April 07, 2009, 05:22:35 AM »
Sinan hocam bunu 2.0 için güncelleyecek misiniz acaba veya Yağız sen güncelleyebilir misin bunu.:)

Offline Yağız...

  • Jr. Member
  • **
  • Posts: 80
  • Gender: Male
Re: Üye Ol Bloğu
« Reply #10 on: April 07, 2009, 06:25:26 AM »
Sadece dil değişkenlerinin değişmesi gerekiyor sanırım. Bunun içinde ../Sources/FixLanguages.php dosyasını kullanabilirsin.

Offline Evo

  • Jr. Member
  • **
  • Posts: 73
  • Gender: Male
    • Aşkıma...
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Üye Ol Bloğu
« Reply #11 on: April 07, 2009, 01:49:59 PM »
Dil değişkenleriyle ilgili sorunum yok ki Yağız değişkensiz olarak yazdım ben zaten öylesine ama üye ol butonuna tıkladığımda bu bölüme erişime yetkiniz yok diyor tek sorun bu.

Offline Daydreamer

  • Jr. Member
  • **
  • Posts: 59
  • Gender: Male
  • ЯocKayseri
    • mnyk
  • SMF Version: 2 RC1
  • SP Version: 2.2
Re: Üye Ol Blo?u
« Reply #12 on: April 07, 2009, 03:03:44 PM »
Code: [Select]

global $scripturl, $db_prefix, $txt, $settings, $modSettings, $context;

   loadLanguage('Login');

   // Generate a visual verification code to make sure the user is no bot.
   $context['visual_verification'] = empty($modSettings['disable_visual_verification']) || $modSettings['disable_visual_verification'] != 1;
   if ($context['visual_verification'])
   {
      $context['use_graphic_library'] = in_array('gd', get_loaded_extensions());
      $context['verificiation_image_href'] = $scripturl . '?action=verificationcode;rand=' . md5(rand());

      // Only generate a new code if one hasn't been set yet
      if (!isset($_SESSION['visual_verification_code']))
      {
         // Skip I, J, L, O and Q.
         $character_range = array_merge(range('A', 'H'), array('K', 'M', 'N', 'P'), range('R', 'Z'));

         // Generate a new code.
         $_SESSION['visual_verification_code'] = '';
         for ($i = 0; $i < 5; $i++)
            $_SESSION['visual_verification_code'] .= $character_range[array_rand($character_range)];
      }
   }

    // If we have GD, try the nice code.
    elseif (empty($_REQUEST['format']))
    {
        require_once($sourcedir . '/Subs-Graphics.php');

        if (in_array('gd', get_loaded_extensions()) && !showCodeImage($_SESSION['visual_verification_code'])) {
            header('HTTP/1.1 400 Bad Request');
      die();
      }
        // Otherwise just show a pre-defined letter.
        elseif (isset($_REQUEST['letter']))
        {
            $_REQUEST['letter'] = (int) $_REQUEST['letter'];
            if ($_REQUEST['letter'] > 0 && $_REQUEST['letter'] <= strlen($_SESSION['visual_verification_code']) && !showLetterImage(strtolower($_SESSION['visual_verification_code']{$_REQUEST['letter'] - 1}))) {
                header('HTTP/1.1 400 Bad Request');
         die();
         }
        }
        // You must be up to no good.
        else {
            header('HTTP/1.1 400 Bad Request');
      die();
      }
    }
    elseif ($_REQUEST['format'] === '.wav')
    {
        require_once($sourcedir . '/Subs-Sound.php');

        if (!createWaveFile($_SESSION['visual_verification_code'])) {
            header('HTTP/1.1 400 Bad Request');
      die();
      }
    }

if($output_method = 'echo' && $context['user']['is_guest']) {
   echo '
       <div>
           <form action="'. $scripturl. '?action=register2" method="post" style="margin: 0px 1px 1px 0; text-align:left;" name="creator" id="creator">
                   <table class="ssi_table">
                       <tr>
                           <td>Kullan?c? Ad?:</td>
                           <td><input type="text" name="user" id="smf_autov_username" size="30" tabindex="', $context['tabindex']++, '" maxlength="25" value="', isset($context['username']) ? $context['username'] : '', '" /><span id="smf_autov_username_div" style="display: none;">
<a id="smf_autov_username_link" href="#">
<img id="smf_autov_username_img" src="', $settings['images_url'], '/icons/field_check.gif" alt="*" />
</a>
</span></td>
                  </tr>
                  <tr>
                           <td>Parola:</td>
                           <td><input type="password" name="passwrd1" id="smf_autov_pwmain" size="30" tabindex="', $context['tabindex']++, '" />
<span id="smf_autov_pwmain_div" style="display: none;">
<img id="smf_autov_pwmain_img" src="', $settings['images_url'], '/icons/field_invalid.gif" alt="*" />
</span></td>
                  </tr>
                  <tr>
                           <td>Parola: </td>
                     <td><input type="password" name="passwrd2" id="smf_autov_pwverify" size="30" tabindex="', $context['tabindex']++, '" />
<span id="smf_autov_pwverify_div" style="display: none;">
<img id="smf_autov_pwverify_img" src="', $settings['images_url'], '/icons/field_valid.gif" alt="*" />
</span></td>
                  </tr>
                  <tr>
                     <td>E-Mail:</td>
                           <td><input type="text" name="email" id="smf_autov_reserve1" size="30" tabindex="', $context['tabindex']++, '" value="', isset($context['email']) ? $context['email'] : '', '" /><input name="regagree" type="hidden" value="checked" /><label for="allow_email"><input type="checkbox" name="allow_email" id="allow_email" tabindex="', $context['tabindex']++, '" class="check" /> ', $txt['allow_user_email'], '</label></td>
                       </tr>';
       if ($context['visual_verification'])
       {
           echo '
                       <tr>
                           <td>
                              Resim Do?rulamas?:
                           </td>
                               <td><input type="text" name="visual_verification_code" size="10" /></td>
                  </tr>
                  <tr>';
           if ($context['use_graphic_library'])
               echo '
                               <td colspan="2"><img src="', $context['verificiation_image_href'], '" alt="', $txt['visual_verification_description'], '" id="verificiation_image" /></td>';
           else
               echo '
                               <td colspan="2"><img src="', $context['verificiation_image_href'], ';letter=1" alt="', $txt['visual_verification_description'], '" id="verificiation_image_1" />
                            <img src="', $context['verificiation_image_href'], ';letter=2" alt="', $txt['visual_verification_description'], '" id="verificiation_image_2" />
                            <img src="', $context['verificiation_image_href'], ';letter=3" alt="', $txt['visual_verification_description'], '" id="verificiation_image_3" />
                            <img src="', $context['verificiation_image_href'], ';letter=4" alt="', $txt['visual_verification_description'], '" id="verificiation_image_4" />
                            <img src="', $context['verificiation_image_href'], ';letter=5" alt="', $txt['visual_verification_description'], '" id="verificiation_image_5" /></td>';
           echo '
                     </tr>
                     <tr>
                               <td class="smalltext" colspan="2">
                           <a href="', $context['verificiation_image_href'], ';sound" onclick="return reqWin(this.href, 400, 120);">', $txt['visual_verification_sound'], '</a>
                        </td>
                     </tr>';
       }
      echo'
                       <tr>
                           <td colspan="2" align="center"><input type="submit" name="regSubmit" value="', $txt['register'], '" tabindex="', $context['tabindex']++, '" /></td>
                       </tr>
                   </table>
           </form>

       <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[';

// Uncheck the agreement thing....
if ($context['require_agreement'] && empty($context['regagree']))
echo '
document.forms.creator.regagree.checked = false;
document.forms.creator.regSubmit.disabled = !document.forms.creator.regagree.checked;';

// Clever registration stuff...
echo '
var regTextStrings = {
"username_valid": "', $txt['registration_username_available'], '",
"username_invalid": "', $txt['registration_username_unavailable'], '",
"username_check": "', $txt['registration_username_check'], '",
"password_short": "', $txt['registration_password_short'], '",
"password_reserved": "', $txt['registration_password_reserved'], '",
"password_numbercase": "', $txt['registration_password_numbercase'], '",
"password_no_match": "', $txt['registration_password_no_match'], '",
"password_valid": "', $txt['registration_password_valid'], '"
};
var verificationHandle = new smfRegister("creator", ', empty($modSettings['password_strength']) ? 0 : $modSettings['password_strength'], ', regTextStrings);
// Update the authentication status.
updateAuthMethod();';

echo '
// ]]></script>
       </div>';
   }
   else
      return false;

Bu ?ekilde dener misin ?

Offline Evo

  • Jr. Member
  • **
  • Posts: 73
  • Gender: Male
    • Aşkıma...
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Üye Ol Bloğu
« Reply #13 on: April 08, 2009, 02:04:33 AM »
Özgür teşekkürler ama aynı hatayı verdi Bu bölüme erişme yetkiniz bulunmamaktadır diyor nedense anlayamadım bende.

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Üye Ol Blo?u
« Reply #14 on: May 04, 2009, 01:02:49 PM »
Bu ?ekilde çal??acakt?r ama kodlar?n biraz düzenlenmesi gerekiyor. Umar?m benden çok vaktiniz vard?r. ;P

Code: [Select]
global $scripturl, $db_prefix, $txt, $settings, $modSettings, $context, $sourcedir;

   loadLanguage('Login');

if (!empty($modSettings['reg_verification']))
{
require_once($sourcedir . '/Subs-Editor.php');
$verificationOptions = array(
'id' => 'register',
);
$context['visual_verification'] = create_control_verification($verificationOptions);
$context['visual_verification_id'] = $verificationOptions['id'];
}
// Otherwise we have nothing to show.
else
$context['visual_verification'] = false;

if($output_method = 'echo' && $context['user']['is_guest']) {
   echo '
       <div>
           <form action="'. $scripturl. '?action=register2" method="post" style="margin: 0px 1px 1px 0; text-align:left;" name="creator" id="creator">
                   <table class="ssi_table">
                       <tr>
                           <td>Kullanıcı Adı:</td>
                           <td><input type="text" name="user" id="smf_autov_username" size="30" tabindex="', $context['tabindex']++, '" maxlength="25" value="', isset($context['username']) ? $context['username'] : '', '" /><span id="smf_autov_username_div" style="display: none;">
                        <a id="smf_autov_username_link" href="#">
                           <img id="smf_autov_username_img" src="', $settings['images_url'], '/icons/field_check.gif" alt="*" />
                        </a>
                     </span></td>
                  </tr>
                  <tr>
                           <td>Parola:</td>
                           <td><input type="password" name="passwrd1" id="smf_autov_pwmain" size="30" tabindex="', $context['tabindex']++, '" />
                     <span id="smf_autov_pwmain_div" style="display: none;">
                        <img id="smf_autov_pwmain_img" src="', $settings['images_url'], '/icons/field_invalid.gif" alt="*" />
                     </span></td>
                  </tr>
                  <tr>
                           <td>Parola: </td>
                     <td><input type="password" name="passwrd2" id="smf_autov_pwverify" size="30" tabindex="', $context['tabindex']++, '" />
                     <span id="smf_autov_pwverify_div" style="display: none;">
                        <img id="smf_autov_pwverify_img" src="', $settings['images_url'], '/icons/field_valid.gif" alt="*" />
                     </span></td>
                  </tr>
                  <tr>
                     <td>E-Mail:</td>
                           <td><input type="text" name="email" id="smf_autov_reserve1" size="30" tabindex="', $context['tabindex']++, '" value="', isset($context['email']) ? $context['email'] : '', '" /><input name="regagree" type="hidden" value="checked" /><label for="allow_email"><input type="checkbox" name="allow_email" id="allow_email" tabindex="', $context['tabindex']++, '" class="check" /> ', $txt['allow_user_email'], '</label></td>
                       </tr>';
       if ($context['visual_verification'])
       {
           echo '
                       <tr>
              </tr> <td colspan="2">', template_control_verification($context['visual_verification_id'], 'all'), '</td>';
       }
      echo'
                       <tr>
                           <td colspan="2" align="center"><input type="submit" name="regSubmit" value="', $txt['register'], '" tabindex="', $context['tabindex']++, '" /></td>
                       </tr>
                   </table>
           </form>

       <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[';

   // Uncheck the agreement thing....
   if ($context['require_agreement'] && empty($context['regagree']))
      echo '
   document.forms.creator.regagree.checked = false;
   document.forms.creator.regSubmit.disabled = !document.forms.creator.regagree.checked;';

   // Clever registration stuff...
   echo '
   var regTextStrings = {
      "username_valid": "', $txt['registration_username_available'], '",
      "username_invalid": "', $txt['registration_username_unavailable'], '",
      "username_check": "', $txt['registration_username_check'], '",
      "password_short": "', $txt['registration_password_short'], '",
      "password_reserved": "', $txt['registration_password_reserved'], '",
      "password_numbercase": "', $txt['registration_password_numbercase'], '",
      "password_no_match": "', $txt['registration_password_no_match'], '",
      "password_valid": "', $txt['registration_password_valid'], '"
   };
   var verificationHandle = new smfRegister("creator", ', empty($modSettings['password_strength']) ? 0 : $modSettings['password_strength'], ', regTextStrings);
   // Update the authentication status.
   updateAuthMethod();';

echo '
// ]]></script>
       </div>';
   }
   else
      return false;
And slowly, you come to realize... It's all as it should be...