• 04-03-2009, 20:43:00
    #1
    Üyeliği durduruldu
    Selam arkadaşlar, Smf'de yeniyim....
    Foruma üye olurken Hangi sınıfta olduğunu sormak ıcın kodlar nedir ? ve birde üye olduktan sonra yazdığı mesajlarda gösterilmesini nasıl yapabiliriz ?
  • 04-03-2009, 22:13:23
    #2
    JivaL adlı üyeden alıntı: mesajı görüntüle
    Selam arkadaşlar, Smf'de yeniyim....
    Foruma üye olurken Hangi sınıfta olduğunu sormak ıcın kodlar nedir ? ve birde üye olduktan sonra yazdığı mesajlarda gösterilmesini nasıl yapabiliriz ?
    Çalışma Bana aittir. LÜTFEN YEDEK ALARAK UYGULAMAYI YAPINIZ...Aşağıda Sınıfları Çoğaltmak istersen Modifications.turkish.php de eklentiler yapıp daha sonra Register.template.php açın ve <input type="radio" name="gender" value="2" tabindex="', $context['tabindex']++, '" /> ', $txt[1010], '<br /> burdaki kodları Çoğalatarak yapabilirsiniz...
    Register.template.php’yi açın Bulun

    </tr><tr>
    						<td width="40%">
    							<b>', $txt[82], ':</b>
    						</td>
    						<td>
    							<input type="password" name="passwrd2" size="30" tabindex="', $context['tabindex']++, '" />
    						</td>
    					</tr>';
    Altına ekleyin
    </tr><tr>
    						<td width="40%">
    							<b>', $txt[82], ':</b>
    						</td>
    						<td>
    							<input type="password" name="passwrd2" size="30" tabindex="', $context['tabindex']++, '" />
    						</td>
    					</tr><tr>
    						<td width="40%">
    							<b>Sınıfı:</b>
    						</td>
    						<td>
    							<input type="radio" name="gender" value="0" checked="checked" tabindex="', $context['tabindex']++, '" /> ', $txt[1008], '<br />
    							<input type="radio" name="gender" value="1" tabindex="', $context['tabindex']++, '" /> ', $txt[1009], '<br />
    							<input type="radio" name="gender" value="2" tabindex="', $context['tabindex']++, '" /> ', $txt[1010], '<br />
    <input type="radio" name="gender" value="2" tabindex="', $context['tabindex']++, '" /> ', $txt[1011], '<br />
    <input type="radio" name="gender" value="2" tabindex="', $context['tabindex']++, '" /> ', $txt[1012], '<br />
    						</td>
    					</tr>';
    Modifications.turkish.php yi açın bulun
    ?>
    Öncesine ekleyin
    $txt[1008] = '4';
    $txt[1009] = '5';
    $txt[1010] = '6';
    $txt[1011] = '7';
    $txt[1012] = '8';
    ###########################################
    profilde de göstermek için
    Profile.template.php yi açın bulun
    Bul:
    <td><a href="', $context['member']['website']['url'], '" target="_blank">', $context['member']['website']['title'], '</a></td>
    Sonrasına Ekle:
    				
    				', !empty($context['member']['options']['durumum_tab']) ? '</tr><tr>
    				<td><b>Sınıfı: </b></td>
    				<td>' . $context['member']['options']['durumum_tab'] . '</td>' : '', '
    Bul:
    <td><input type="text" name="websiteUrl" size="50" value="', $context['member']['website']['url'], '" /></td>
    Sonrasına Ekle:
    							</tr><tr>
    							<td><b>Sınıfı: </b></td>
    							<td><select name="default_options[durumum_tab]">
    							<option', @$context['member']['options']['durumum_tab'] == '5' ? ' selected="selected"' : '', '>5</option>
    							<option', @$context['member']['options']['durumum_tab'] == '6' ? ' selected="selected"' : '', '>6</option>
    							<option', @$context['member']['options']['durumum_tab'] == '7' ? ' selected="selected"' : '', '>7</option>
    							<option', @$context['member']['options']['durumum_tab'] == '8' ? ' selected="selected"' : '', '>8</option>
    <option', @$context['member']['options']['durumum_tab'] == '9' ? ' selected="selected"' : '', '>9</option>
    							</select></td>
    Display.template.php yi açın bulun
    // Done with the information about the poster... on to the post itself.
    üstüne ekleyin
    if (empty($message['member']['options']['durumum_tab'])) {
    			    $message['member']['options']['durumum_tab']='5';
    			}
    			echo '
    			   <br/><b>Sınıfı:</b><br/><img src="', $settings['default_images_url'], '/', $message['member']['options']['durumum_tab'], '.gif" /> <br />';
  • 18-03-2009, 14:36:48
    #3
    Acaba üyelik sırasında memleket, yaş, cinsiyet nasıl ekleriz?
  • 18-03-2009, 15:13:45
    #4
    nugre adlı üyeden alıntı: mesajı görüntüle
    Acaba üyelik sırasında memleket, yaş, cinsiyet nasıl ekleriz?
    Register.template.php

    Bul
    	if ($context['visual_verification'])
    	{
    		echo '
    					<tr valign="top">
    						<td width="40%" valign="top">
    							<b>', $txt['visual_verification_label'], ':</b>
    							<div class="smalltext">', $txt['visual_verification_description'], '</div>
    						</td>
    						<td>';
    Üstüne ekleyin

    // Yaş,Cinsiyet,Yer Ve Çoğaltılabilir alan by TURKYORUMCU.COM
    	echo '
    							<tr>
    								<td width="40%">
    									<b>', $txt[563], ':</b>
    									<div class="smalltext">', $txt[565], ' - ', $txt[564], ' - ', $txt[566], '</div>
    								</td>
    								<td class="smalltext">
    									<input type="text" name="bday2" size="2" maxlength="2"  tabindex="', $context['tabindex']++, '"value="', $context['member']['birth_date']['day'], '" />-
    									<input type="text" name="bday1" size="2" maxlength="2"  tabindex="', $context['tabindex']++, '"value="', $context['member']['birth_date']['month'], '" /> -
    									<input type="text" name="bday3" size="4" maxlength="4" tabindex="', $context['tabindex']++, '" value="', $context['member']['birth_date']['year'], '" />
    								</td>
    							</tr><tr>
    
    								<td width="40%"><b>', $txt[227], ': </b></td>
    								<td><input type="text" name="location" size="30"  tabindex="', $context['tabindex']++, '"value="', $context['member']['location'], '" /></td>
    							</tr>
    							<tr>
    								<td width="40%"><b>', $txt[231], ': </b></td>
    								<td>
    									<select name="gender" size="1" tabindex="', $context['tabindex']++, '">
    										<option value="0"></option>
    										<option value="1"', ($context['member']['gender']['name'] == 'm' ? ' selected="selected"' : ''), '>', $txt[238], '</option>
    										<option value="2"', ($context['member']['gender']['name'] == 'f' ? ' selected="selected"' : ''), '>', $txt[239], '</option>
    									</select>
    								</td>
    							</tr><tr>
    								<td colspan="2"><hr width="100%" size="1" class="hrcolor" /></td>
    							</tr>';


    Yine Register.template.php

    Bul

    	if ($context['require_agreement'])
    		echo '
    	function checkAgree()
    	{
    		document.forms.creator.regSubmit.disabled = isEmptyText(document.forms.creator.user) || isEmptyText(document.forms.creator.email) || isEmptyText(document.forms.creator.passwrd1) || !document.forms.creator.regagree.checked;
    		setTimeout("checkAgree();", 1000);
    	}
    	setTimeout("checkAgree();", 1000);';

    Bununla Değiştir.


    	if ($context['require_agreement'])
    		echo '
    	function checkAgree()
    	{
    document.forms.creator.regSubmit.disabled = isEmptyText(document.forms.creator.user) || isEmptyText(document.forms.creator.email) || isEmptyText(document.forms.creator.passwrd1) || isEmptyText(document.forms.creator.gender) || isEmptyText(document.forms.creator.bday3) || isEmptyText(document.forms.creator.location) || !document.forms.creator.regagree.checked;		setTimeout("checkAgree();", 1000);
    	}
    	setTimeout("checkAgree();", 1000);';

    Modifications.turkish.php yi açın bulun



    ?>

    Öncesine ekleyin

    $txt[563] = 'Doğum Tarihi';
    $txt[564] = 'Ay (MM)';
    $txt[565] = 'Gün (DD)';
    $txt[566] = 'Yıl (YYYY)';
  • 18-03-2009, 15:56:19
    #5
    abim tesekkürler. cok işime yaradı +rp
  • 13-11-2012, 12:18:07
    #6
    kayıt olurken universitesini sormak ve bunu profilde göstermeyi nasıl yapabiliriz ..şimdiden teşekkürler...
  • 29-12-2012, 15:28:00
    #7
    teos adlı üyeden alıntı: mesajı görüntüle
    kayıt olurken universitesini sormak ve bunu profilde göstermeyi nasıl yapabiliriz ..şimdiden teşekkürler...
    Güncel SMF sürümlerinde bunlara gerek kalmadı: "Çekirdek Ayarlar" > "Gelişmiş Profil Alanları"nı aktifleştirirseniz, istediğiniz kadar ek bilgi isteyebilirsiniz.