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 />';