• 06-06-2008, 01:58:52
    #1
    Selam arkadaşlar; vbulletin forumun alt kısımında bulunan 'Şuan Forumumuzda' diye başlayan ve altında o an forumda online olan üyelerin listesini sadece kaldırmak veya eğer yapabiliyorsak bu listeyi sadece forum yetkililerinin görmesini sağlamak istiyorum.Yani forumda o an kaç kişi online kısımı gizlemek istiyorum.Yardımcı olursanız sevinirim.
    Çözüm bulan arkadaşa helalinden +rep vericemŞimdiden teşekkürler.
  • 06-06-2008, 02:16:32
    #2
    Platin üye
    Forumhome templatesinde aşağıdaki kodları bulun ;
    <if condition="$show['loggedinusers']">
    <!-- logged-in users -->
    <tbody>
    	<tr>
    		<td class="thead" colspan="2">
    			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
    			<a href="online.php$session[sessionurl_q]" rel="nofollow">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
    		</td>
    	</tr>
    </tbody>
    <tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
    	<tr>
    		<td class="alt2"><a href="online.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
    		<td class="alt1" width="100%">
    			<div class="smallfont">
    				<div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
    				<div>$activeusers</div>
    			</div>
    		</td>
    	</tr>
    </tbody>
    <!-- end logged-in users -->
    </if>
    Bu kodlar ile değiştirin :
    <if condition="is_member_of($bbuserinfo, 4,5,6)">
    <if condition="$show['loggedinusers']">
    <!-- logged-in users -->
    <tbody>
    	<tr>
    		<td class="thead" colspan="2">
    			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
    			<a href="online.php$session[sessionurl_q]" rel="nofollow">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
    		</td>
    	</tr>
    </tbody>
    <tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
    	<tr>
    		<td class="alt2"><a href="online.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
    		<td class="alt1" width="100%">
    			<div class="smallfont">
    				<div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
    				<div>$activeusers</div>
    			</div>
    		</td>
    	</tr>
    </tbody>
    <!-- end logged-in users -->
    </if></if>
    4(moderatör),5(s.moderatör) ve 6(admin) grupları görebilecektir sadece.Görmesini istediğin grupların id numaralarını <if condition="is_member_of($bbuserinfo, 4,5,6)"> buraya eklersen onlarda görebilecekler
  • 06-06-2008, 02:22:27
    #3
    Teşekkürler Onurss .+rep
  • 06-06-2008, 02:33:11
    #4
    edit: denedim oldu tekrar çok teşekkürler.