vBulletin Harici Sayfa ve Bulunduğu yer belirlenemiyor hatası - Havas Okulu
 

Go Back   Havas Okulu > Serbest Bölüm > Web & internet > vBulletin

Acil işlemleriniz için instagram: @HavasOkulu
Cevapla
 
LinkBack Seçenekler Stil
  #1  
Alt 16.10.17, 01:21
HeartLess - ait Kullanıcı Resmi (Avatar)
Administrator
 
Üyelik tarihi: 18.08.14
Bulunduğu yer: Dip..
Mesajlar: 3,564
Etiketlendiği Mesaj: 2192 Mesaj
Etiketlendiği Konu: 0 Konu
Standart vBulletin Harici Sayfa ve Bulunduğu yer belirlenemiyor hatası

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.
__________________
öLürüm yoLuna öLürümde yine boyun eğmem, yakarım dünyayı uğruna ama sana eğiLmem.. öyLe sInIrsIz öyLe Derin öyLe Çok Severim ki KORKARSIN!! Kuruyup çöLe dönsemde Pare Pare oLsamda YENiLMEM!!..
Alıntı ile Cevapla
  #2  
Alt 01.05.18, 09:39
Daimi Üye
 
Üyelik tarihi: 28.04.15
Bulunduğu yer: Nefes Aldığım Yerde
Mesajlar: 15,058
Etiketlendiği Mesaj: 884 Mesaj
Etiketlendiği Konu: 0 Konu
Standart

Sayın HeartLess, konu paylaşımınız için teşekkür ederiz.
__________________
Sözün kıymetini '' Lal'' olandan,
Ekmeğini kıymetini ''Aç '' olandan,
Aşkın kıymetini ''Hiç'' olandan öğren..

Alıntı ile Cevapla
Cevapla

Etiketler
belirlenemiyor, bulunduu, harici, hatasi, sayfa, vbulletin, yer

Seçenekler
Stil

Yetkileriniz
Konu Acma Yetkiniz Yok
Cevap Yazma Yetkiniz Yok
Eklenti Yükleme Yetkiniz Yok
Mesajınızı Değiştirme Yetkiniz Yok

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


Benzer Konular
Konu Konuyu Başlatan Forum Cevap Son Mesaj
Vbulletin taşıma sonrası vbseo hatası alanlar HeartLess vBulletin 0 08.10.18 11:30
vBulletin Easy page - Sayfa Oluşturucu HeartLess vBulletin 2 07.05.18 09:17
Harici Sayfa HeartLess vBulletin 1 02.05.18 09:07
vBulletin arşivde adsense - vBulletin archive ad HeartLess vBulletin 3 01.05.18 09:25


Tüm Zamanlar GMT +3 Olarak Ayarlanmış. Şuanki Zaman: 01:41.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
HavasOkulu.Com

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147