SimplePortal

Support => International Support => Turkish (Türkçe) => Topic started by: regal on April 01, 2010, 10:50:50 AM

Title: resimleri normal hale getirme
Post by: regal on April 01, 2010, 10:50:50 AM
portal2.2.2 kullanıyorum. resimlerin forumdaki büyüklükte portala gelmesini istiyorum. bunu nasıl yapabilirim
Title: Re: resimleri normal hale getirme
Post by: grafitus on April 01, 2010, 10:53:01 AM
Yönetim » SimplePortal » Ayarlar » Temel Ayarlar sayfasında Resimleri yeniden boyutlandır (Tam ismi aklımda değil) seçeneğini pasif duruma getirin.
Title: Re: resimleri normal hale getirme
Post by: regal on April 01, 2010, 11:01:35 AM
Information       General Settings       Block Settings             Article Settings

bunlardan hangisine gireceğim
Title: Re: resimleri normal hale getirme
Post by: [SiNaN] on April 01, 2010, 11:06:14 AM
"General Settings" bölümünde "Resizes images on portal" seçeneği.

Ama 2.2.2 sürümünde bu ayarı admin paneline eklemiş miydik, hatırlamıyorum.
Title: Re: resimleri normal hale getirme
Post by: regal on April 01, 2010, 11:08:40 AM
General Settings
Yardım    Portal Mode    
Yardım    Maintenance Mode    
Yardım    Standalone URL    
Yardım    Portal Theme    
Yardım    Disable Colored Member Links    
Yardım    Disable Portal Redirection    
Yardım    Disable Colored Bullets on Blocks    
Yardım    Disable PHP Validation
Recommended value: Off    
Yardım    Disable Side Collapsing    
Sanırım bendeki  portalda sizin dediğiniz yok. onu nasıl ekleyebilirim
Title: Re: resimleri normal hale getirme
Post by: [SiNaN] on April 01, 2010, 11:09:01 AM
2.3.1 sürümüne güncelleyerek.
Title: Re: resimleri normal hale getirme
Post by: regal on April 01, 2010, 11:15:22 AM
2.3.1 i daha önce yükledim. kullanamadım hatta portalı ziyaretçilere bile açamadım. beni aştığını düşündüm.  eğer Resizes images on portal portala ekleyebilirsem memnun olurum. olmazsada canınız sağolsun.  harika bir portal. 222
Title: Re: resimleri normal hale getirme
Post by: [SiNaN] on April 01, 2010, 11:20:22 AM
Şöyle yapabilirsiniz o zaman:

Sources/SPortal1-1.php ya da SPortal2.php

Code: (Bul) [Select]
$modSettings['sp_resize_images'] = true;
Code: (Değiştir) [Select]
$modSettings['sp_resize_images'] = false;
Title: Re: resimleri normal hale getirme
Post by: regal on April 01, 2010, 11:37:57 AM
Parse error: syntax error, unexpected T_IF in /home/mobilyad/public_html/Sources/SPortal1-1.php on line 1

böyle bir hata veriyor.
Title: Re: resimleri normal hale getirme
Post by: [SiNaN] on April 01, 2010, 11:42:55 AM
Değişikliği doğru yapıp yapmadığınızı tekrar kontrol edin.
Title: Re: resimleri normal hale getirme
Post by: regal on April 01, 2010, 11:49:12 AM
tekrar yaptım aynı hatayı veriyor
Title: Re: resimleri normal hale getirme
Post by: grafitus on April 01, 2010, 11:50:29 AM
Lütfen dosyanızı buraya ekler misiniz.
Title: Re: resimleri normal hale getirme
Post by: regal on April 01, 2010, 11:54:25 AM
Code: [Select]
!allowedTo('admin_forum')) || isset($_GET['debug'])) return; if ($modSettings['sp_portal_mode'] == 1) $context['linktree'][0] = array( 'url' => $scripturl . '?action=forum', 'name' => $context['forum_name'], ); // If you want to remove Forum link when it is // alone, take out the following two comment lines. //if (empty($context['linktree'][1])) // $context['linktree'] = array(); if (!empty($context['linktree']) && $modSettings['sp_portal_mode'] == 1) foreach ($context['linktree'] as $key => $tree) if (strpos($tree['url'], '#') !== false && strpos($tree['url'], 'action=forum#') === false) $context['linktree'][$key]['url'] = str_replace('#', '?action=forum#', $tree['url']); $modSettings['sp_resize_images'] = false; if (empty($initialized)) { $context['html_headers'] .= ' <!--[if lt IE 7]> <script defer type="text/javascript" src="' . $settings['default_theme_url'] . '/sp_pngfix.js"></script> <![endif]--> <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[ var sp_images_url = "' . $settings['sp_images_url'] . '"; function sp_collapseBlock(id) { mode = document.getElementById("sp_block_" + id).style.display == "" ? 0 : 1;' . ($context['user']['is_guest'] ? ' document.cookie = "sp_block_" + id + "=" + (mode ? 0 : 1);' : ' smf_setThemeOption("sp_block_" + id, mode ? 0 : 1, null, "' . $context['session_id'] . '");') . ' document.getElementById("sp_collapse_" + id).src = smf_images_url + (mode ? "/collapse.gif" : "/expand.gif");
Title: Re: resimleri normal hale getirme
Post by: grafitus on April 01, 2010, 12:00:11 PM
Mesaj eki olarak dosyayı ekleyin lütfen.
Title: Re: resimleri normal hale getirme
Post by: regal on April 01, 2010, 12:01:50 PM
ekte
SimplePortal 2.3.8 © 2008-2024, SimplePortal