Simple Machines Community Forum

SMF Support => Türkçe Bölümü (Turkish) => Language Specific Support => İpuçları ve Hileler => Topic started by: bolubeyi61 on August 03, 2011, 05:52:06 PM

Title: SMF Sesli Arama - Aramaya Renk Katın
Post by: bolubeyi61 on August 03, 2011, 05:52:06 PM

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.spinabifidaturkey.com%2Fimages%2Fsesli.bmp&hash=10fdc0e67093f335ec43eec5a0b3f1d62b0f8f9f)


index.template.php
Bul:
<input type="text" name="search" value="" class="input_text" />&nbsp;


Değiştir:
<input type="text" name="search" value="" class="input_text"x-webkit-speech="x-webkit-speech" onwebkitspeechchange="this.form.submit();" />&nbsp;




Bu kod yoksa
Şunu bul:
<input class="inputbox" type="text" name="search" value="', $txt['search'], '..." onfocus="this.value = \'\';" onblur="if(this.value==\'\') this.value=\'', $txt['search'], '...\';" />';
Değiş:
        <input class="inputbox" type="text" name="search" value="', $txt['search'], '..." onfocus="this.value = \'\';" onblur="if(this.value==\'\') this.value=\'', $txt['search'], '...\';" x-webkit-speech="x-webkit-speech" onwebkitspeechchange="this.form.submit();"/>';



Arama sayfasına eklemek için:
Search.template.php
Bul:
<input type="text" name="search"', !empty($context['search_params']['search']) ? ' value="' . $context['search_params']['search'] . '"' : '', ' maxlength="', $context['search_string_limit'], '" size="40" class="input_text" />


Değiştir:
<input type="text" name="search"', !empty($context['search_params']['search']) ? ' value="' . $context['search_params']['search'] . '"' : '', ' maxlength="', $context['search_string_limit'], '" size="40" class="input_text" x-webkit-speech="x-webkit-speech" onwebkitspeechchange="this.form.submit();"/>

html5 desteklemeyen tarayıcılarda çalışmaz.


Demo: http://demo.spinabifidaturkey.com/index.php (http://demo.spinabifidaturkey.com/index.php)
Title: Re: SMF Sesli Arama - Aramaya Renk Katın
Post by: Alpay on August 04, 2011, 02:33:25 AM
Ne kadar sağlıklı çalışıyor peki ? Türkçe dil destegi varmı ?
Title: Re: SMF Sesli Arama - Aramaya Renk Katın
Post by: bolubeyi61 on August 04, 2011, 03:36:54 AM
Ben de türkçe çalışıyor. Bazı kelimeleri yanlış algılayabiliyor. Demo sitede kurulu deneyebilirsiniz.
Demo: http://demo.spinabifidaturkey.com/index.php (http://demo.spinabifidaturkey.com/index.php)
Demo: http://www.spinabifidaturkey.com/smf_destek/index.php (http://www.spinabifidaturkey.com/smf_destek/index.php)
Title: Re: SMF Sesli Arama - Aramaya Renk Katın
Post by: hhmercan on August 29, 2011, 09:53:12 AM
sizin demoda Türkçe baya güzel çalıştı. yalnız bizim index.temp. de bu ikiside yok :D
bu curve tabanlı olmasımı ne varmış yeni moda sanırım o yüzden :)