News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Googlebot & Spiders Mod--Arama Motoru ve Botlar Turkce

Started by KraL, June 02, 2006, 06:32:03 PM

Previous topic - Next topic

turkaslan

 Tip Eylem Açıklama
1. Değişiklik Yapılacak ./index.php Test Başarılı
2. Değişiklik Yapılacak ./SSI.php Test Başarılı
3. Değişiklik Yapılacak ./Sources/BoardIndex.php Test Başarılı
4. Değişiklik Yapılacak ./Sources/ManagePermissions.php Test Başarılı
5. Değişiklik Yapılacak ./Sources/ModSettings.php Test Başarısız
6. Değişiklik Yapılacak ./Sources/Subs.php Test Başarılı
7. Değişiklik Yapılacak ./Themes/default/languages/Modifications.turkish.php Dosya bulunamadı
8. Değişiklik Yapılacak ./Themes/default/languages/Modifications.spanish.php Test Başarılı
9. Değişiklik Yapılacak ./Themes/default/index.template.php Test Başarılı
10. Değişiklik Yapılacak ./Themes/default/BoardIndex.template.php Test Başarılı
11. Kod Uygulanacak code.php

ne yapmalıyım yüklerken bu hatayı verdi?
www.teknografiker.net grafikerlerin yeni buluşma noktası...

KraL

ModSettings.php

Bul :

'karma' => 'ModifyKarmaSettings',

yukarı ekle :

'googlebot' => 'ModifyGooglebotSettings',

Bul :

'karma' => array(
'title' => $txt['smf293'],
'href' => $scripturl . '?action=featuresettings;sa=karma;sesc=' . $context['session_id'],
'is_last' => true,
),


altına ekle :

'googlebot' => array(
'title' => $txt['ob_googlebot_modname'],
'href' => $scripturl . '?action=featuresettings;sa=googlebot;sesc=' . $context['session_id'],
),


BuL :

$context['post_url'] = $scripturl . '?action=featuresettings2;save;sa=karma';
$context['settings_title'] = $txt['smf293'];

prepareDBSettingContext($config_vars);
}


yukarısına ekle :

function ModifyGooglebotSettings()
{
global $txt, $scripturl, $context, $settings, $sc;

$config_vars = array(
// Count all instances of spiders?
array('check', 'ob_googlebot_count_all_instances'),
array('check', 'ob_googlebot_display_all_instances'),
array('check', 'ob_googlebot_display_agent'),
array('check', 'ob_googlebot_display_own_list'),
'',
// Count spiders on most online?
array('check', 'ob_googlebot_count_most_online'),
'',
// Redirect PHPSESSID URLs?
array('check', 'ob_googlebot_redirect_phpsessid'),
);

// Saving?
if (isset($_GET['save']))
{
saveDBSettings($config_vars);
redirectexit('action=featuresettings;sa=googlebot');
}

$context['post_url'] = $scripturl . '?action=featuresettings2;save;sa=googlebot';
$context['settings_title'] = $txt['ob_googlebot_modname'];

prepareDBSettingContext($config_vars);
}


Zip Dosyası içerisindeki

Modifications.turkish.php dosyasınıda
Themes/default/languages/ klasörüne at aynından varsa yedek al ve bu dosyayada manuel ekleme yapman gerekebilir..

turkaslan

www.teknografiker.net grafikerlerin yeni buluşma noktası...

mosmankoc

ben smf 1.1.4 e kurdum bir sorun vermedi fakat ayarlar nereden yapılacak onu bulamadım yani nasıl çalışacak sadece kurmak yeterlimi.


turkaslan

www.teknografiker.net grafikerlerin yeni buluşma noktası...

mosmankoc

#146
<Modifications.turkish.php dosyasınıda >
bu dosya yok lütfen yerini bildirirmisiniz

mosmankoc


mosmankoc

Quote from: turkaslan on April 12, 2008, 02:20:24 PM
benim temada ModSettings.php yok bulamadım
sourcs dosysında
Quote from: mosmankoc on April 13, 2008, 04:33:55 AM
Quote from: turkaslan on April 12, 2008, 02:20:24 PM
benim temada ModSettings.php yok bulamadım
sourcs dosysında
<Modifications.turkish.php>
bu dosya sizde varsa göndersenize

turkaslan

mdsettings i de yaptım arkadaşlar ama yine bi değişim olmadı modifications.turkish.php de bi değğişiklik yapmam da gerekiyor mu ?
www.teknografiker.net grafikerlerin yeni buluşma noktası...

aykt36

arkadaşlar benim siteme bir sürü yahoo bot girio google botta girer dimi

bilasdem

verdiğin modu 2 kere yükledim manuelde yükledim ama birtürlü olmadı hatada vermiyor göstermiyorda index.php de // Load the settings from the settings table, and perform operations like optimizing. reloadSettings(); bu tür bir yazı yok  birde code.php dosyasını bizmi oluşturacağız yoksa otomatik oluşturuyormu ben oluşturacaksam nereye atmalıyım bana bu konuda yardımcı olursanız sevinirim
şu an localde çalışaçağım

bymanyak

Eline emegine saglık çalışmalarında başarılar dilerim

UndercoveR

#153
Temayla uyuşmadı güzel olcaktı ama neyse :(  tema megapolis sürüm 1.1.7 yardımcı olabilecek varsa sevinirim teşekkürler (default temada çalışıyor )

UndercoveR

Quote from: UndercoveR on January 09, 2009, 08:30:09 AM
sorunumu çözdüm buraya yazıyorum bir sorun olmaz sanırım megapolis temada işe yaradı .

index.template.php dosyasında
Bul
Quoteif ($context['show_load_time'])
      echo '
      <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $context['load_queries'], $txt['smf302b'], '</span>';

Sonrasına ekle:
Quoteif (isset($context['ob_googlebot_stats']))
      echo '
      <br /><br /><span class="smalltext">', $txt['ob_googlebot_stats_lastvisit'], timeformat($context['ob_googlebot_stats']['Googlebot']['lastvisit']), '</span>';

BoardIndex.template.php dosyasında

Bul
Quote$context['num_guests'], ' ', $context['num_guests'] == 1

Öncesine ekle:
Quote(empty($context['spiders']) ? '' : $context['num_spiders'] . ' ' . ($context['num_spiders'] == 1 ? $txt['ob_googlebot_spider'] : $txt['ob_googlebot_spiders']) . ', '),

Bul:
Quote', $txt[140], ':<br />', implode(', ', $context['list_users_online']);

Sonrasına ekle:
Quote
   if (!empty($context['spiders']))
   {
      if ($modSettings['ob_googlebot_display_own_list'])
         echo '
            <br />
            ', $txt['ob_googlebot_spiders_last_active'], ':<br />';
      else
      {
         if (empty($context['users_online']))
            echo '
            ', $txt[140], ':<br />';
         else
            echo ', ';
      }
      
      echo implode(', ', $context['spiders']);
   }

1SeVDa

Bunu Yukledıkten sonra bole bır hata aldım Yardım edersenız sevınırım

Fatal error: Cannot redeclare ob_googlebot_getagent() (previously declared in /home/sevdan/public_html/forum/Sources/Subs.php:3786) in /home/sevdan/public_html/forum/Sources/Subs.php on line 4013

Seveni Sev SeVmeYeni terKet....
https://birevlilik.com
https://webdizin.com

tek852

siteden 1.1.9 ındır sızınkı 1.1.9 heral en sonundakını ındırın denyın
http://www.turkdestek.org 
  
  

          Not : Siteme Uye Olana Sitesine Uye OLunur,Dost Site Yapana Dost SIte Sİteme Yapılır,Konu Açana Konu Açılır !!!!!!!!!



Not !!!!!!!!!!!!!!!!!!!!!!!!!!!!      Sitemızde mod alımı başlamıştır !!!!!!!!!! Pm Eksik

KCA

Fatal error: Call to undefined function ob_googlebot_getAgent() in /home/forumars/public_html/index.php on line 82


nerden yukledim bunu forum gitti nasil eski haline getirecegim yardim...


Advertisement: