Aşağıda forumunuza vBulletin şablonlarını kullanarak özel sayfa oluşturmayı anlatmaya çalıştım. Umarım işinize yarar.
ilk önce php dosyasını oluşturalım:
Kod:
<?php
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'egitimciler'); // change this depending on your filename
// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array(
);
// get special data templates from the datastore
$specialtemplates = array(
);
// pre-cache templates used by all actions
$globaltemplates = array(
'egitimciler',
);
// pre-cache templates used by specific actions
$actiontemplates = array(
);
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
// ################################################## #####################
// ######################## START MAIN SCRIPT ############################
// ################################################## #####################
$navbits = array();
$navbits[$parent] = 'Deneme Sayfası';
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('egitimciler') . '");');
?>
----------------------------------------------
Burada "egitimciler" yazan yerler şablon ismidir. Bu ismi oluşturacağınız sayfa türüne göre kendiniz belirleyebilirsiniz. Deneme Sayfası yazan yer sayfanızın başlığıdır. Şimdi de temamıza yeni şablon ekleyelim: Admin CP'den stil yönetimine girip kullandığınız temanın yanında bulunan Bütün Ayarları menüsünden Yeni şablon ekle seçeneğine tıklayın ve açılan yere aşağıdaki kodları ekleyin, şablon ismini yazın ve kaydedin:
----------------------------------------------
Kod:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]" xmlns="[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]">
<head>
<title>Deneme Sayfası $vboptions[bbtitle]</title>
$headinclude
</head>
<body>
$header
$navbar
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">Deneme Sayfası</td>
</tr>
<tr>
<td class="alt1">Sayfa içeriğine ekleyeceğiniz içerikler buraya eklenecek</td>
</tr>
</table>
$footer
<br /><div style="z-index:3" class="smallfont" align="center"><a href="http://www.forums.com/sitemap/f-1.html">1</a> <a href="http://www.forums.com/sitemap/f-3.html">2</a> <a href="http://www.forums.com/sitemap/f-2.html">3</a> <a href="http://www.forums.com/sitemap/f-108.html">4</a> <a href="http://www.forums.com/sitemap/f-95.html">5</a> <a href="http://www.forums.com/sitemap/f-102.html">6</a> <a href="http://www.forums.com/sitemap/f-97.html">7</a> <a href="http://www.forums.com/sitemap/f-98.html">8</a> <a href="http://www.forums.com/sitemap/f-101.html">9</a> <a href="http://www.forums.com/sitemap/f-96.html">10</a> <a href="http://www.forums.com/sitemap/f-99.html">11</a> <a href="http://www.forums.com/sitemap/f-100.html">12</a> <a href="http://www.forums.com/sitemap/f-4.html">13</a> <a href="http://www.forums.com/sitemap/f-5.html">14</a> <a href="http://www.forums.com/sitemap/f-71.html">15</a> <a href="http://www.forums.com/sitemap/f-114.html">16</a> <a href="http://www.forums.com/sitemap/f-72.html">17</a> <a href="http://www.forums.com/sitemap/f-73.html">18</a> <a href="http://www.forums.com/sitemap/f-93.html">19</a> <a href="http://www.forums.com/sitemap/f-6.html">20</a> <a href="http://www.forums.com/sitemap/f-80.html">21</a> <a href="http://www.forums.com/sitemap/f-81.html">22</a> <a href="http://www.forums.com/sitemap/f-85.html">23</a> <a href="http://www.forums.com/sitemap/f-113.html">24</a> <a href="http://www.forums.com/sitemap/f-84.html">25</a> <a href="http://www.forums.com/sitemap/f-91.html">26</a> <a href="http://www.forums.com/sitemap/f-107.html">27</a> <a href="http://www.forums.com/sitemap/f-88.html">28</a> <a href="http://www.forums.com/sitemap/f-89.html">29</a> <a href="http://www.forums.com/sitemap/f-90.html">30</a> <a href="http://www.forums.com/sitemap/f-104.html">31</a> <a href="http://www.forums.com/sitemap/f-7.html">32</a> <a href="http://www.forums.com/sitemap/f-8.html">33</a> <a href="http://www.forums.com/sitemap/f-9.html">34</a> <a href="http://www.forums.com/sitemap/f-10.html">35</a> <a href="http://www.forums.com/sitemap/f-11.html">36</a> <a href="http://www.forums.com/sitemap/f-12.html">37</a> <a href="http://www.forums.com/sitemap/f-13.html">38</a> <a href="http://www.forums.com/sitemap/f-14.html">39</a> <a href="http://www.forums.com/sitemap/f-15.html">40</a> <a href="http://www.forums.com/sitemap/f-16.html">41</a> <a href="http://www.forums.com/sitemap/f-105.html">42</a> <a href="http://www.forums.com/sitemap/f-29.html">43</a> <a href="http://www.forums.com/sitemap/f-30.html">44</a> <a href="http://www.forums.com/sitemap/f-31.html">45</a> <a href="http://www.forums.com/sitemap/f-65.html">46</a> <a href="http://www.forums.com/sitemap/f-92.html">47</a> <a href="http://www.forums.com/sitemap/f-103.html">48</a> <a href="http://www.forums.com/sitemap/f-116.html">49</a> <a href="http://www.forums.com/sitemap/f-120.html">50</a> <a href="http://www.forums.com/sitemap/f-115.html">51</a> <a href="http://www.forums.com/sitemap/f-66.html">52</a> <a href="http://www.forums.com/sitemap/f-63.html">53</a> <a href="http://www.forums.com/sitemap/f-64.html">54</a> <a href="http://www.forums.com/sitemap/f-67.html">55</a> <a href="http://www.forums.com/sitemap/f-22.html">56</a> <a href="http://www.forums.com/sitemap/f-23.html">57</a> <a href="http://www.forums.com/sitemap/f-24.html">58</a> <a href="http://www.forums.com/sitemap/f-25.html">59</a> <a href="http://www.forums.com/sitemap/f-26.html">60</a> <a href="http://www.forums.com/sitemap/f-27.html">61</a> <a href="http://www.forums.com/sitemap/f-28.html">62</a> <a href="http://www.forums.com/sitemap/f-109.html">63</a> <a href="http://www.forums.com/sitemap/f-110.html">64</a> <a href="http://www.forums.com/sitemap/f-111.html">65</a> <a href="http://www.forums.com/sitemap/f-119.html">66</a> <a href="http://www.forums.com/sitemap/f-32.html">67</a> <a href="http://www.forums.com/sitemap/f-33.html">68</a> <a href="http://www.forums.com/sitemap/f-34.html">69</a> <a href="http://www.forums.com/sitemap/f-35.html">70</a> <a href="http://www.forums.com/sitemap/f-36.html">71</a> <a href="http://www.forums.com/sitemap/f-37.html">72</a> <a href="http://www.forums.com/sitemap/f-38.html">73</a> <a href="http://www.forums.com/sitemap/f-39.html">74</a> <a href="http://www.forums.com/sitemap/f-40.html">75</a> <a href="http://www.forums.com/sitemap/f-41.html">76</a> <a href="http://www.forums.com/sitemap/f-42.html">77</a> <a href="http://www.forums.com/sitemap/f-43.html">78</a> <a href="http://www.forums.com/sitemap/f-44.html">79</a> <a href="http://www.forums.com/sitemap/f-45.html">80</a> <a href="http://www.forums.com/sitemap/f-46.html">81</a> <a href="http://www.forums.com/sitemap/f-47.html">82</a> <a href="http://www.forums.com/sitemap/f-48.html">83</a> <a href="http://www.forums.com/sitemap/f-49.html">84</a> <a href="http://www.forums.com/sitemap/f-82.html">85</a> <a href="http://www.forums.com/sitemap/f-50.html">86</a> <a href="http://www.forums.com/sitemap/f-51.html">87</a> <a href="http://www.forums.com/sitemap/f-52.html">88</a> <a href="http://www.forums.com/sitemap/f-53.html">89</a> <a href="http://www.forums.com/sitemap/f-54.html">90</a> <a href="http://www.forums.com/sitemap/f-112.html">91</a> <a href="http://www.forums.com/sitemap/f-55.html">92</a> <a href="http://www.forums.com/sitemap/f-56.html">93</a> <a href="http://www.forums.com/sitemap/f-57.html">94</a> <a href="http://www.forums.com/sitemap/f-58.html">95</a> <a href="http://www.forums.com/sitemap/f-59.html">96</a> <a href="http://www.forums.com/sitemap/f-61.html">97</a> <a href="http://www.forums.com/sitemap/f-118.html">98</a> <a href="http://www.forums.com/sitemap/f-62.html">99</a> </div>
</body>
</html>
-------------------------------------------
Sayfamızı oluşturduk. Şimdi oluşturduğunuz .php dosyasını ftp'ye upload edin ve siteniz.com/sayfaismi.php olarak girdiğinizde özel sayfanız karşınızda.
Kimler Çevrimiçi listesi ayarı :
Sayfamızı ekledik fakat bir baktınız çevrimiçi listesinde 'Bulunduğu yer belirlenemiyor' gibi bir yazıyla karşılaştınız. Yapmanız gereken çok basit.
Admin CP'den Plug-in yönetimine girip Plug-in ekle deyin ve aşağıdaki iki plug-in'i ekleyin :
1. Plug-in : Giriş noktası (Hook) : online_location_process
İsim : Deneme Sayfası WOL Gösterim
Aktif : Evet
Kod:
if ($filename == 'credits.php')
$userinfo['activity'] = 'vBCredits';
2. Plug-in : Giriş noktası (Hook) : online_location_unknown
İsim : Deneme Sayfası WOL Unknown
Aktif : Evet
Kod:
if ($userinfo['activity'] == 'vBCredits')
{
$userinfo['where'] = "<a href='credits.php'>vBCredits</a>";
$userinfo['action'] = "Viewing vBCredits";
$handled = true;
}
Arkadaşlar ben kullandım çok harika. Yapımı ise görüldüğü gibi çok basit.
Misal hakkımızda, kullanım şartları, yardım, gizlilik ilkeleri gibi bir çok önemli içerikleri böyle ekleyebilirsiniz.