Paylaşım Sitesi  

Geri git   Paylaşım Sitesi > Webmaster & vBulletin > Hazır Sistemler > ASP Sistemler
Kayıt ol Yardım Üye Listesi Ajanda Forumları Okundu Kabul Et

Tags:

Cevapla
 
LinkBack Seçenekler Stil
  #1 (permalink)  
Alt 06-25-2008, 12:05
By_OmeR - ait Kullanıcı Resmi (Avatar)
Administrator
 
Üyelik tarihi: Apr 2007
Yaş: 25
Mesajlar: 1.381
Tecrübe Puanı: 10000000
By_OmeR isimli üye Tecrübe puanını kapatmıştır.
By_OmeR - MSN üzeri Mesaj gönder
Standart Linklerin Ziyaretçilere Gizlenmesi

functions/functions_format_post.asp dosyasinı açın ve bu satırları Ekleyin


PHP- Kodu:
'******************************************'***       Link Hide Block   ***'****************************************** ' +"This function formats the hide blocksFunction AntiLinkForGuest(strMessage,lngTopicID,lngLoggedInUserID) Dim strHideMessage Dim lngStartPos Dim lngEndPos Dim strBuildHideBlock Dim strOriginalHideBlockif lngLoggedInUserID = 2 Then Do While InStr(1, strMessage, "<a", 1) > 0 AND InStr(1, strMessage, "</a>", 1) > 0 lngStartPos = InStr(1, strMessage, "<a", 1) + 2 lngEndPos = InStr(lngStartPos, strMessage, "</a>", 1) If lngEndPos < lngStartPos Then lngEndPos = lngStartPos + 2 If lngEndPos > lngStartPos Then    strBuildHideBlock = " <b>Linki gore bilmek icin uye olmani gerekmektedir<b" End if lngStartPos = InStr(1, strMessage, "<a", 1) lngEndPos = InStr(lngStartPos, strMessage, "</a>", 1) + 4 If lngEndPos < lngStartPos Then lngEndPos = lngStartPos + 2 strOriginalHideBlock = Trim(Mid(strMessage, lngStartPos, lngEndPos-lngStartPos)) If strBuildHideBlock <> "" Then   strMessage = Replace(strMessage, strOriginalHideBlock, strBuildHideBlock, 1, -1, 1) Else   strMessage = Replace(strMessage, strOriginalHideBlock, Replace(strOriginalHideBlock, "[", "[", 1, -1, 1), 1, -1, 1) End If Loopend if AntiLinkForGuest = strMessageEnd Function 
forum_posts.asp dosyasini acın ve onun icinde [/code] kelimesini aratın ve hemen altına ekleyin ;

PHP- Kodu:
If InStr(1strMessage"<a"1) > AND InStr(1strMessage"</a>"1) > 0 Then strMessage AntiLinkForGuest(strMessage,lngTopicID,lngLoggedInUserID
__________________
[Linkleri sadece üyelerimiz görebilir. Üye olmak için tıklayın...]


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Alıntı ile Cevapla
Cevapla



Seçenekler
Stil

Yetkileriniz
Yeni Mesaj yazma yetkiniz aktif değil dir.
Mesajlara Cevap verme yetkiniz aktif değil dir.
Eklenti ekleme yetkiniz aktif değil dir.
Kendi Mesajınızı değiştirme yetkiniz aktif değil dir.

Smileler Açık
[IMG] Kodları Açık
HTML-KodlarıKapalı
Trackbacks are Açık
Pingbacks are Kapalı
Refbacks are Açık


Style Webmasteriz
Powered by vBulletin® ~ Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0