Forum Anasayfa

  Portal Anasayfa    AramaArama  Üye ListesiÜye Listesi   Cesur Türk Üye Kayıt Sözleşmesi (Kuralları Okuyunuz) Cesur Türk Üye Kayıt Sözleşmesi (Kuralları Okuyunuz) 
 
Hesabınız Hesabınız   Kişisel Mesajlar Kişisel Mesajlar   Oturum Aç Oturum Aç 
Cevapsız mesajlar

Etiketler: ---VBULLETIN, DOKÜMAN, v1.0---
---VBULLETIN DOKÜMAN v1.0---

 
 

Yeni Başlık Gönder   Cevap Gönder    Forum Anasayfa -> Web tabanlı uygulamalar -> Vbulletin
« Önceki başlık :: Sonraki başlık »  
Yazar Mesaj
Sistem
Cesur Türk
Cesur Türk

Durum: Çevrimdışı
Kayıt: 19.01.2006
Sistem herkes için örnek biri Sistem herkes için örnek biri Sistem herkes için örnek biri Sistem herkes için örnek biri Sistem herkes için örnek biri Sistem herkes için örnek biri Sistem herkes için örnek biri Sistem herkes için örnek biri Sistem herkes için örnek biri Sistem herkes için örnek biri Sistem herkes için örnek biri Sistem herkes için örnek biri 
Mesajlar: 12294

Level: 69
Aktiflik: 226 / 566  
 39%
Seviye: 0 / 27802  
 0%
Deneyim: 12842 / 12842  
 100%

MesajTarih: Fri Jan 20, 2006 2:37 pm    Mesaj konusu: ---VBULLETIN DOKÜMAN v1.0---

Bu uygulama üyelerin foruma katılımını sağlamak içindir...


Burada 30'un anlamı şudur; üye bu konuya cevap yazsa bile, forumda en az 30 mesajı yoksa, gizli metni gene göremez.... Tabi 30 yerine istediğiniz değeri verebilirsiniz... Şimdi kuralım.....

Not : php dosyaları üzerinde değişiklik yapmadan önce, her ihtimale karşı yedeklerini alın..!!!!

includes/functions.php 'yi açın. Dosyadaki en son ?>, kodunun önüne şunları ekleyin;
PHP Kodu:
// ###################### Start parseHide #######################
function parseHide($text) {

// #########################################################################################
// ### CONFIGURATION
// #########################################################################################

// ### Do not set for 0, otherwise it will make no sense using this tag ###
// ### What should [hide:b2bb573c4a] without number of posts assumed as? ###
$hidetag['default_posts_to_view'] = 5;

// #########################################################################################
// ### END CONFIGURATION
// #########################################################################################

// ### apply the default value. user preg-replace since it is case-insensitive ###

$text = preg_replace("/\[hide\]/siU", "[hide=".$hidetag['default_posts_to_view']."]", $text);

// ### apply the parser ###

$text = preg_replace_callback("/\[hide=([0-9]*)\](.*)\[\/hide\]/siU",
create_function(
'$matches',
'return parseHide2($matches[1],$matches[2]);'
),
$text);

// ### return parsed text to original caller variable ###

return $text;
}

function parseHide2($postsrequired,$text) {
global $bbuserinfo,$thread;

$bbuserinfo[posts] = intval($bbuserinfo[posts]);

// #########################################################################################
// ### CONFIGURATION ###
// ### NOTE: Specify both bbcode & html versions - they'll be required for some scripts ###
// #########################################################################################

// ### specifies scripts to use html version - just for compatibility's sake ###
$hidetag['htmlscripts'] = array('showthread', 'showpost');
// ### choose color to be applied to hidden text ###
$hidetag['color'] = "blue";

// ### text to be returned when user is an admin, supermoderator or moderator of a given forum ###
$hidetag['admin_view_html'] = "<font color='".$hidetag['color']."'><b>Hidden Content ($postsrequired posts are required, you have ".$bbuserinfo['posts']."):</b><br />".$text."</font>";
$hidetag['admin_view_bbcode'] = "[color=".$hidetag['color']."][b]Hidden Content ($postsrequired posts are required, you have ".$bbuserinfo['posts']."):
\n".$text."";

// ### text to be returned when user is a regular user and has enough posts ###
$hidetag['user_view_html'] = "<font color='".$hidetag['color']."'><b>Hidden Content ($postsrequired posts are required, you have ".$bbuserinfo['posts']."):</b><br />".$text."</font>";
$hidetag['user_view_bbcode'] = "[color=".$hidetag['color']."]Hidden Content ($postsrequired posts are required, you have ".$bbuserinfo['posts']."):\n".$text."[/color]";

// ### text to be returned when user is a regular user and does NOT have enough posts ###
$hidetag['user_deny_html'] = "<font color='".$hidetag['color']."'><b>Hidden Content ($postsrequired posts are required, you only have ".$bbuserinfo['posts'].")</b></font>";
$hidetag['user_deny_bbcode'] = "[color=".$hidetag['color']."]Hidden Content ($postsrequired posts are required, you only have ".$bbuserinfo['posts'].")[/color]";

// ### text to be returned when user is a guest ###
$hidetag['guest_deny_html'] = "<font color='".$hidetag['color']."'><b>Hidden Content (you need to be registered ".iif($postsrequired > 0, "and have $postsrequired posts", "")." to see it)</b></font>";
$hidetag['guest_deny_bbcode'] = "[color=".$hidetag['color']."]Hidden Content (you need to be registered ".iif($postsrequired > 0, "and have $postsrequired posts", "")." to see it)[/color]";

// #########################################################################################
// ### END OF CONFIGURATION ###
// #########################################################################################

if ($bbuserinfo[userid] == 0) {
$text = iif(in_array(THIS_SCRIPT, $hidetag['htmlscripts']), $hidetag['guest_deny_html'], $hidetag['guest_deny_bbcode']);
} elseif (in_array($bbuserinfo[usergroupid], array(5,6)) OR (can_moderate($thread['forumid']) AND THIS_SCRIPT == 'showthread')) {
$text = iif(in_array(THIS_SCRIPT, $hidetag['htmlscripts']), $hidetag['admin_view_html'], $hidetag['admin_view_bbcode']);
} elseif ($bbuserinfo[posts] >= $postsrequired) {
$text = iif(in_array(THIS_SCRIPT, $hidetag['htmlscripts']), $hidetag['user_view_html'], $hidetag['user_view_bbcode']);
} else {
$text = iif(in_array(THIS_SCRIPT, $hidetag['htmlscripts']), $hidetag['user_deny_html'], $hidetag['user_deny_bbcode']);
}

// ### return parsed text to parseHide() ###
return $text;
}

// ###################### Start stripHide #######################
// strips hidden content from where it should not be shown
// ##############################################################

function stripHide($text,$where='') {

// #########################################################################################
// ### CONFIGURATION
// #########################################################################################

$hidetag['editor_text'] = "You may not quote hidden text";
$hidetag['email_text'] = "(there is a hidden text in this post - please visit the thread to see it if you have \\1 posts, or if you are an admin or a moderator)";

// #########################################################################################
// ### END OF CONFIGURATION
// #########################################################################################

if ($where == 'editor') {
$replacement = $hidetag['editor_text'];
} else {
$replacement = $hidetag['email_text'];
}

$text = preg_replace("/\[hide\](.*)\[\/hide\]/siU", $replacement, $text);
$text = preg_replace("/\[hide=([0-9]*)\](.*)\[\/hide\]/siU", $replacement, $text);

return $text;
}

Dosyayı kaydedip upload edin.

archive/index.php 'yi açın. Alttaki komut satırını bulun;

PHP Kodu:
$post['pagetext'] = strip_bbcode($post['pagetext']);

Üst kısmına şunu ekleyin;

PHP Kodu:
$post['pagetext'] = parseHide($post['pagetext']);

Dosyayı kaydedip upload edin.

functions/functions_digest.php 'yi açın. Alttaki kod satırını bulun;

PHP Kodu:
$post['pagetext'] = unhtmlspecialchars(strip_bbcode($post['pagetext']));

Üst kısmına şunu ekleyin;
PHP Kodu:
$post['pagetext'] = stripHide($post['pagetext']);

Dosyayı kaydedip upload edin.

functions/functions_forumdisplay.php 'yi açın. Alttaki kısmı bulun;
PHP Kodu:
$thread['preview'] = htmlspecialchars_uni(fetch_trimmed_title(strip_bbcode($thread['preview'], false, true), $vboptions['threadpreview']));

Bunun üst kısmına şunu ekleyin;
PHP Kodu:
$thread['preview'] = parseHide($thread['preview']);

Dosyayı keydedip upload edin.

functions/functions_newpost.php 'yi açın. Alttaki satırı bulun;
PHP Kodu:
$previewmessage = parse_bbcode($newpost['message'], $foruminfo['forumid'], iif($newpost['disablesmilies'], 0, 1));

Bunu şununla değiştirin;
PHP Kodu:
$previewmessage = parseHide($newpost['message']);
$previewmessage = parse_bbcode($previewmessage, $foruminfo['forumid'], iif($newpost['disablesmilies'], 0, 1));

Sonra şu satırı bulun;
Kod:
// strip bbcode and quotes from notification text
Altına şunu ekleyin;
PHP Kodu:
$pagetext = stripHide($pagetext);

Dosyayı kaydedip upload edin.

functions/functions_showthread.php 'yi açın. Alttaki kısmı bulun;
PHP Kodu:
$post['message'] = parse_bbcode($post['pagetext'], 'announcement', $post['allowsmilies']);

Ve şununla değiştirin;
PHP Kodu:
$post['message'] = parseHide($post['pagetext']);
$post['message'] = parse_bbcode($post['message'], 'announcement', $post['allowsmilies']);

Sonra şunu bulun;
PHP Kodu:
$post['message'] = &$post['pagetext_html'];
}

Altına şunu ekleyin;
PHP Kodu:
$post['message'] = parseHide($post['message']);

Sonra şunu bulun;
PHP Kodu:
$post['message'] = parse_bbcode($post['pagetext'], $forum['forumid'], $post['allowsmilie']);

Altına şunu ekleyin;
PHP Kodu:
$post['message'] = parseHide($post['message']);

Dosyayı kaydedip upload edin.

functions/newreply.php 'yi açın. Alttaki kısmı bulun;
PHP Kodu:
$newpost['message'] = "$quotemessage $newpost[message]";

Bunun üstüne şunu ekleyin;
PHP Kodu:
$quotemessage = stripHide($quotemessage, 'editor');

Sonra şu kısmı bulun;
PHP Kodu:
if ($_REQUEST['do'] == 'newreply')
{

// falls down from preview post and has already been sent through htmlspecialchars() in build_new_post()
$title = $newpost['title'];

Altına şunu ekleyin;
PHP Kodu:
if (!isset($_POST['submit']) AND !isset($_POST['preview'])) {
$newpost['message'] = stripHide($newpost['message'], 'editor');
}

Daha sonra şu satırı bulun;
PHP Kodu:
$currentpage = urlencode("newreply.php?do=newreply&p=$postinfo[postid]&noquote=" . intval($_REQUEST['noquote']));

Üstüne şunu ekleyin;
PHP Kodu:
$threadreviewbits = parseHide($threadreviewbits);

Dosyayı kaydedip upload edin.

search.php 'yi açın. Alttaki kısmı bulun;
PHP Kodu:
$post['pagetext'] = preg_replace('#\[quote(=(&quot;|"|\'|)??.*\\2)?\](((?>[^\[]*?|(?R)|.))*)\[/quote\]#siUe', "process_quote_removal('\\3', \$display['highlight'])", $post['pagetext']);

Bunun üstüne şunu ekleyin;
PHP Kodu:
$post['pagetext'] = parseHide($post['pagetext']);

Dosyayı kaydedip upload edin.

showthread_quickreply ve editor_toolbar_standard isimli templatelerde her ikisinde de alttaki değişikliği yapın;

Alttaki kısmı bulun;
PHP Kodu:
<td><div class="imagebutton"><a href="#" onclick="return vbcode('U', '')" accesskey="u"><img class="image" src="$stylevar[imgdir_editor]/underline.gif" alt="$vbphrase[underline]" width="21" height="20" border="0" /></a></div></td>

Ve altına şunu ekleyin;
PHP Kodu:
<td><img src="$stylevar[imgdir_editor]/separator.gif" alt="" width="6" height="20" border="0" /></td>
<td><div class="imagebutton"><a href="#" onclick="return vbcode('HIDE', '')" accesskey="h"><img class="image" src="$stylevar[imgdir_editor]/hide.gif" alt="$vbphrase[underline]" width="41" height="20" border="0" /></a></div></td>


Değişiklikler bukadar.. En son olarak eklentideki gif dosyasını; forum dizini/images/editor klasörüne upload edin... Bukadar....



23- NORMAL HIDE HACK [ NORMAL KLASÖRDE 23 ADLI DOSYANIN İÇİNDE İNSTALL I OKUYUN YAPIN Wink ]

24- GOD ADMİN YAPMAK

God admin diye birşey var admin olan birisini admin Cp den silemiyosun buna god admin diyoruz.

config.php dosyasında $undeletableusers ve $superadministrators yazan kısıma, kimin kullanıcı ID'sini yazarsanız dediğiniz özelliklerde olur o kişi...

25- GÖRÜNTÜLENME SAYISI

Admincp >> Server Ayarları & Optimizasyon >> Update Thread Views Immediately >> Evet

26- MAILLIST HAZIRLAMA

Admincp >> Server Ayarları & Optimizasyon >> Update Thread Views Immediately >> Evet

27- BANLANAN KULLANICILARIN MESAJLARI SİLİNSİN

admincp >> Konular & Mesajlar (Threads & Posts ) >> Temizle (Phrune) >> Other Options (Altta) >> Kullanıcı Adına göre temizlenecek >> Kullanıcı adını gir >> Forum seç (Tüm Forumlar) >> Phrune Threads >> Phrune All Of Posts Automaticly
Daha Sonra da

İçeri Al & Bakım (Import & Maintance) >> Sayaçları Güncelle

28- KAYDOLURKEN BAY BAYAN SEÇME

Cinsiyet Eklentisi

Avatarın altında kullanıcının cinsiyeti de görünsün.

- Eklentideki "gender" klasörünü ftp'ye /imges/gender şeklinde upload edin.

- phpMyAdmin veya Admincp'den alttaki SQL döngüsünü gerçekleştirin;
Kod:
ALTER TABLE user ADD gender varchar(7) NOT NULL


- includes/functions_showthread.php 'yi açıp alttaki kısmı bulun;
PHP Kodu:
$show['messageicon'] = iif($post['iconpath'], true, false);

Altına şunları ekleyin;
PHP Kodu:
// gender hack
if ($post[gender] == "0")
{
$gender = "";
}
else
{
if ($post[gender] == "1")
{ $gender = "female"; }
elseif ($post[gender] == "2")
{ $gender = "male"; }
}
eval ( '$gender = "' . fetch_template ( 'postbit_genderbit' ) . '" ;' ) ;
// end gender hack

Kaydedip upload edin.

- showthread.php 'de alttaki kısmı bulun;
PHP Kodu:
'pollresult',

Altına şunu ekleyin;
PHP Kodu:
'gender',


Kaydedip upload edin.

- profile.php 'yi açıp alttaki kısmı bulun;
PHP Kodu:

globalize($_POST, array('resettitle' => STR, 'aim' => STR, 'yahoo' => STR, 'icq' => INT, 'msn' => STR, 'coppauser' => INT, 'parentemail' => STR,
'customtext' => STR, 'day' => INT, 'month' => INT, 'year' => INT, 'homepage' => STR, 'oldbirthday' => STR, 'gotopassword'));

Burada 'parentemail' => STR, yazan komuttan sonra şunu ekleyn arkasına;
PHP Kodu:
'gender' => INT,


Sonra şu kısmı bulun;
PHP Kodu:

parentemail = '" . addslashes(htmlspecialchars_uni($parentemail)) . "',

Altına şunu ekleyin;
PHP Kodu:

gender='$gender',


Kaydedip upload edin.

- postbit_genderbit isminde yeni bir template oluşturun ve içeriği de şu;
HTML Kodu:

<if condition="$post[gender] == 1">
<br>
<div class="smallfont">Cinsiyet: <img src="./images/gender/$gender.gif" alt=""></div>
</if>
<if condition="$post[gender] == 2">
<br>
<div class="smallfont">Cinsiyet: <img src="./images/gender/$gender.gif" alt=""></div>
</if>

- postpit_legacy templatesinde $post[posts] yazan yerin altına şunu ekleyin;
HTML Kodu:

$gender


- modifyprofile_birthday templatesinde alttaki kısmı bulun;
HTML Kodu:

<input type="hidden" name="oldbirthday" value="$bbuserinfo[birthday]" />
</td>
</tr>
</table>
</fieldset>
Altına şunları ekleyin;
HTML Kodu:

<!--- gender field by tnguy3n --->

<fieldset class="fieldset">
<legend>Cinsiyet</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<td colspan="2">Cinsiyetinizi belirleyin.</td>
</tr>
<tr>
<td><select name="gender">
<option value="0" <if condition="$bbuserinfo[gender] == Unknown">selected</if>>----</option>
<option value="1" <if condition="$bbuserinfo[gender] == Female">selected</if>>Bayan</option>
<option value="2" <if condition="$bbuserinfo[gender] == Male">selected</if>>Erkek</option>
</select></td>
</tr>
</table>
</fieldset>

<!--- end gender field --->



29- NAVBARIN ALTINA KAYAN YAZILI DUYURULAR BÖLÜMÜ

Anasayfada nereye isterseniz menü içerisinde kayan yazı şeklinde duyuru ekleme olayı... (Buradaki örneği; bizim anasayfadaki "Duyurular" ın olduğu yerdekine göredir)

FORUMHOME templatesini açıp $navbar satırının altına şunları ekleyin;
PHP Kodu:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b><center>!!! - Duyurular - !!!</center></b></span></td>

<tr><td bgcolor="#F5F5FF"><div><h4><marquee><span style="color: brown;">Kayan yazı şeklindeki duyurunuzu buraya yazın..</span></marquee></h4></div>

</td>
</tr>
</table>

<br />


İçeriğindeki duyuru metnini editleyin...

Not : Eğer banneriniz varsa bu kodları banner kodlarının altına ekleyin. Slında bu kodları nereye eklerseniz FORUMHOME'de, menü orada olacaktır..



30- ÖZEL MESAJ YAZINCA YANIP SÖNSÜN

Oncelikle asagidaki yolu izleyin.

Admincp - > Styles & Templates -> Style Yönetimi - > SIZIN TEMANIZ - > Edit Template - > Navigation / Breadcrumb Templates - > navbar

Asagidaki kodu bulun
Kod:
<td class="alt2" valign="top" nowrap="nowrap">


Bu kod ile degistirin..
Kod:
<td valign="top" nowrap="nowrap" <if condition="$bbuserinfo['pmunread']">id="pmBox"<else />class="alt2"</if>>


yine navbar templateni kapatmiyoruz ve asagidaki kodu buluyoruz..
Kod:
<else />

<td class="alt2" nowrap="nowrap" style="padding:0px">


ve son adim.. yukaridaki kodlarin hemen ustune asagidaki kodlari ekleyin..
Kod:
<if condition="$bbuserinfo['pmunread']">
<script type="text/javascript">
<!--
<!-- blink navbar on new pms -->
pmBox.bgColor='$stylevar[thead_bgcolor]';
setInterval("Timer()", 500);
x=1;
function Timer()
{
set=1;
if (x==0 && set==1)
{
pmBox.bgColor='$stylevar[tcat_bgcolor]';
x=1;
set=0;
}
if (x==1 && set==1)
{
pmBox.bgColor='$stylevar[thead_bgcolor]';
x=0;
set=0;
}
}
-->
</script></if>
31- BUGÜN ONLİNE OLANLAR

ÇOK BASİT YAPACAĞIZ 5 DK DAN FAZLA ZAMANINIZI ALMAZ.YAPACAĞIMIZ TEK ŞEY TEMPLATESLERLE OYNAMA VE INDEXE BAZI KODLAR ATMAK.AMA ÖNCELİKLE HER İHTİMALE KARŞI DEĞİŞTİRECEĞİMİZ BÜTÜN HERŞEYİN YEDEĞİNİ ALIN.

Forum klasoru icindeki index.php dosyasini acin ve asagidaki yazinin oldugu yeri bulun..
Kod:
// ### LOGGED IN USERS ###################

En son Sistem tarafından Thu Jul 05, 2007 1:59 pm tarihinde değiştirildi, toplamda 1 kere değiştirildi.
Başa dön
ferdikoprulu
Vatandaş
Vatandaş

Durum: Çevrimdışı
Kayıt: 22.09.2006
ferdikoprulu şu an tarif edilemez bir durumda 
Mesajlar: 19
Şehir: İstanbul
Level: 3
Aktiflik: 1 / 9  
 11%
Seviye: 0 / 46  
 0%
Deneyim: 141 / 141  
 100%

MesajTarih: Fri Sep 22, 2006 11:59 am    Mesaj konusu:

Saolasın
Başa dön

Yeni Başlık Gönder   Cevap Gönder    Forum Anasayfa -> Web tabanlı uygulamalar -> Vbulletin
1. sayfa (Toplam 1 sayfa)

Benzer Başlıklar
Başlık Yazar Forum Cevap Tarih
Yeni mesaj yok UltraWeb Skin (SequaN) VBulletin Teması CT-YavusZ Vbulletin 2 Mon Apr 21, 2008 7:07 am Son gönderilen mesajlar
Yeni mesaj yok ssincap-special VBulletin Teması CT-YavusZ Vbulletin 1 Mon Apr 21, 2008 7:05 am Son gönderilen mesajlar
Yeni mesaj yok Blues for vBulletin 3.6.x Teması CT-YavusZ Vbulletin 4 Mon Apr 21, 2008 7:03 am Son gönderilen mesajlar
Yeni mesaj yok vBulletin v3.6.8 Pre-Modded [Nulled] ... CT-YavusZ Vbulletin 3 Mon Apr 21, 2008 7:02 am Son gönderilen mesajlar
Yeni mesaj yok Sabit: Elektrik, Elektronik + Bilgisayar 22... balon Kitaplık / KütüpHane / Kitap Özetleri 56 Thu Mar 13, 2008 12:05 am Son gönderilen mesajlar
Sayfanın En Üstüne Çıkmak İçin BURAYA TIKLA !


Cesur Türk
Bu forum phpBB Tabanlıdır.
Privacy (Gizlilik ilkesi)
Copyright © 2005-2007
All right reserved CesurTurk.Org
Cesur Türk Kullanıcı Gizlilik Koşulları ve Site Kullanım Şartları
Bu sayfada yer alan bilgilerin her hakkı, aksi ayrıca belirtilmediği sürece CesurTurk.Org'ye aittir.
Materyallerimizin izin alınmadan kopyalanması ve kullanılması 5846 sayılı Fikir ve Sanat Eserleri Yasasına göre suçtur.
Sitemizde yer alan yazıların telif hakları yazarların kendilerine veya yetki verdikleri kişilere aittir.
Sitemiz hiç bir şekilde kâr amacı gütmemektedir ve sitemizde yer alan tüm materyaller yalnızca bilgilendirme ve eğitim amacıyla sunulmaktadır.
Misyonumuzu buradan okuyabilirsiniz. Sitemizde yazınız bulunuyorsa ve kaldırılmasını istiyorsanız lütfen iletişim  bölümünden irtibata geçiniz.
Yönetim ve Webtasarım SABQCES tarafından yapılmaktadır.
(( Gücümüzü Türk devletini kuran asil Türk ırkından alıyoruz ))
Genel Site Map