Site, Server Genel » AWBS Destek

Awbs Kayıtta Türkçe Karakter Sorununun Çözümü

http://forum.whmdestek.com/

Geri git   WHM cPanel Destek Platformu » Site, Sunucu Sorunlarınız ve Çözümleri » Site, Server Genel » AWBS Destek
 
Firma tanıtımı!
Firmanızın reklamını hemen yapın!
Reklamlar
Reklam Alın!
Günlük 5k tekil ve üzeri sitelerinize reklam!
Fixreklam
Extreme yoksa Sayyac var!
Ücretsiz İstatistik Servisi
Sayyac.com
Türkiye' nin Webmaster Sitesi
Webmaster Araçları, Bilgi ve hizmet alışverişi
Webmaster.com.TR

Cevapla
 
LinkBack Seçenekler Stil
  #1  
Alt 17.05.08, 05:00
marmaradizayn - ait Kullanıcı Resmi (Avatar)
Celeron
 
Üyelik tarihi: Mar 2008
Nerden: türkiye
Mesajlar: 52
Tecrübe Puanı: 1
marmaradizayn is on a distinguished road
marmaradizayn - MSN üzeri Mesaj gönder
Awbs Kayıtta Türkçe Karakter Sorununun Çözümü

Merhaba Arkadaşlar elimden geldiği kadarıyla sizlere yardımcı olmaya çalışıyım. bu konuda birçok firma sıkıntı yaşamakta. awbs kayıt esnasında türkçe karakterleri otomatik olarak ngilizce karaktere dönüştürmeyi göstericem. işlem script koduyla gerçekleşmekte.

örnek için: Web hosting - Domain- AWBS Tasarım - Radyo Hosting - Web Dizayn - Marmara Dizayn


İlk olarak yapmamız gereken kullandığımız awbs temamız hangisiyse onun bulunduğu klasöre gitmek ve createacct.php dosyasını editlemek...

dosyayı açtıktan sonra

<?=$header?>
<?=$top?>

Satırının hemen altına şu kodu ekliyoruz.

Kod:
<head>
<script language="Javascript">
function iso88599Escape(strText)
{
strText=escape(strText);
strText=strText.replace(/%20/g," ");
strText=strText.replace(/Ş/g,"S");
strText=strText.replace(/ş/g,"s");
strText=strText.replace(/%0A/g," ");
strText=strText.replace(/%3A/g,":");
strText=strText.replace(/%2C/g,",");
strText=strText.replace(/%3B/g,";");
strText=strText.replace(/%21/g,"!");
strText=strText.replace(/%5E/g,"^");
strText=strText.replace(/%26/g,"&");
strText=strText.replace(/%28/g,"(");
strText=strText.replace(/%29/g,")");
strText=strText.replace(/%3D/g,"=");
strText=strText.replace(/%3F/g,"?");
strText=strText.replace(/%3C/g,"<");
strText=strText.replace(/%3E/g,">");
strText=strText.replace(/%23/g,"#");
strText=strText.replace(/%24/g,"$");
strText=strText.replace(/%7B/g,"{");
strText=strText.replace(/%5B/g,"[");
strText=strText.replace(/%5D/g,"]");
strText=strText.replace(/%7D/g,"}");
strText=strText.replace(/%7C/g,"|");
strText=strText.replace(/%C7/g,"C");
strText=strText.replace(/%E7/g,"c");
strText=strText.replace(/%BD/g,"½");
strText=strText.replace(/%A3/g,"£");
strText=strText.replace(/%5C/g,"/");
strText=strText.replace(/%D6/g,"O");
strText=strText.replace(/%F6/g,"o");
strText=strText.replace(/%27/g,"'");
strText=strText.replace(/İ/g,"I");
strText=strText.replace(/ı/g,"i");
strText=strText.replace(/%E9/g,"é");
strText=strText.replace(/Ğ/g,"G");
strText=strText.replace(/ğ/g,"g");
strText=strText.replace(/%22/g,'"');
strText=strText.replace(/%DC/g,"U");
strText=strText.replace(/%FC/g,"u");
return strText;
}
</script>
</head>
Kodu ekledikten sonra yapılması gereken işlem basit function kodunu çağırmak hemen bir örnekle anlatmaya çalışıyım.

Mesela Kullanıcı adı:

orjinal kodu şu şekildedir.

Kod:
<td align="right" valign="top"><br> <b class="red">*</b><?=USERNAME?>:&nbsp;&nbsp;</td>
                      <td class="smallblue"><br> <input type="text" class="formfield" name="newuid"  maxlength="16"
        value="<?=$newuid?>"> <br>
Bizim yapacağımız işlem sadece value="<?=$newuid?>"> kısmıdır.

Yeni kodumuz şu şekilde olmalı

Kod:
<td align="right" valign="top"><br> <b class="red">*</b><?=USERNAME?>:&nbsp;&nbsp;</td>
                      <td class="smallblue"><br> <input type="text" class="formfield" name="newuid"  maxlength="16"
        value="" onKeyUp="this.value=iso88599Escape(this.value)"<?=$newuid?>"> <br>
value= den sonra eklenecek kod: "" onKeyUp="this.value=iso88599Escape(this.value) dur


Umarım yeterince açıklayıcı ve faydalı olmuşumdur. işlemde sorun yaşayanlar. buraya yazsınlar yardımcı olmaya çalışalım.
__________________
http://www.marmaradizayn.net - YS-(1012)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #2  
Alt 17.05.08, 09:51
RAMBilisim - ait Kullanıcı Resmi (Avatar)
www.rambilisim.com
 
Üyelik tarihi: Jun 2007
Nerden: Samsun
Mesajlar: 764
Tecrübe Puanı: 43
RAMBilisim has a reputation beyond reputeRAMBilisim has a reputation beyond reputeRAMBilisim has a reputation beyond reputeRAMBilisim has a reputation beyond reputeRAMBilisim has a reputation beyond reputeRAMBilisim has a reputation beyond reputeRAMBilisim has a reputation beyond reputeRAMBilisim has a reputation beyond reputeRAMBilisim has a reputation beyond reputeRAMBilisim has a reputation beyond reputeRAMBilisim has a reputation beyond repute
RAMBilisim - MSN üzeri Mesaj gönder
Daha önce bir konuda ben direk sayfayı vermiştim arkadaşım
__________________
RAMBilişim İnternet Hizmetleri - YS-839
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #3  
Alt 17.05.08, 12:54
marmaradizayn - ait Kullanıcı Resmi (Avatar)
Celeron
 
Üyelik tarihi: Mar 2008
Nerden: türkiye
Mesajlar: 52
Tecrübe Puanı: 1
marmaradizayn is on a distinguished road
marmaradizayn - MSN üzeri Mesaj gönder
direk sayfa çözüm olamayabiliyor. sayfalarını editlemiş kişiler nasıl yapacaklarını bilmiyorlar. bende böyle bir kaynak hazırlama ihtiyacı hissettim. eğer forumda varsa fazlalık yapmasın ve yöneticiler konuyu silsinler lütfen.
__________________
http://www.marmaradizayn.net - YS-(1012)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #4  
Alt 18.05.08, 00:27
Celeron
 
Üyelik tarihi: Jun 2007
Nerden: Turkey
Yaş: 24
Mesajlar: 99
Tecrübe Puanı: 2
youdie is on a distinguished road
halen awbs kullanan varmı
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #5  
Alt 18.05.08, 01:14
Atari
 
Üyelik tarihi: Jun 2007
Mesajlar: 9
Tecrübe Puanı: 0
akarweb is on a distinguished road
akarweb - MSN üzeri Mesaj gönder
anlattıklarınızı uyguladım fakat birçok arkadaşımda daha awbs sinde uygulamama rağmen ç harfleri c ye dönüşüyor fakat ğ,ş,ı harfleri ing. karaktere donusmuyor bunların yerine %u16Fas gibi karakterler geliyor. yardımcı olabilirseniz sevinirim bizimde başımızın belası malesef ki

Yazdım ama galiba cozduk problemi bir arkadaşımız ile tsk ler bilgi için
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #6  
Alt 18.05.08, 01:30
buraq - ait Kullanıcı Resmi (Avatar)
Atari
 
Üyelik tarihi: May 2008
Nerden: TR
Mesajlar: 3
Tecrübe Puanı: 0
buraq is on a distinguished road
Kod:
<head>
<script language="Javascript">

function iso88599Escape(strText)
{

strText=escape(strText);
strText=strText.replace(/%20/g," ");
strText=strText.replace(/%u015E/g,"S");
strText=strText.replace(/%u015F/g,"s");
strText=strText.replace(/%0A/g," ");
strText=strText.replace(/%3A/g,":");
strText=strText.replace(/%2C/g,",");
strText=strText.replace(/%3B/g,";");
strText=strText.replace(/%21/g,"!");
strText=strText.replace(/%5E/g,"^");
strText=strText.replace(/%26/g,"&");
strText=strText.replace(/%28/g,"(");
strText=strText.replace(/%29/g,")");
strText=strText.replace(/%3D/g,"=");
strText=strText.replace(/%3F/g,"?");
strText=strText.replace(/%3C/g,"<");
strText=strText.replace(/%3E/g,">");
strText=strText.replace(/%23/g,"#");
strText=strText.replace(/%24/g,"$");
strText=strText.replace(/%7B/g,"{");
strText=strText.replace(/%5B/g,"[");
strText=strText.replace(/%5D/g,"]");
strText=strText.replace(/%7D/g,"}");
strText=strText.replace(/%7C/g,"|");
strText=strText.replace(/%C7/g,"C");
strText=strText.replace(/%E7/g,"c");
strText=strText.replace(/%BD/g,"½");
strText=strText.replace(/%A3/g,"£");
strText=strText.replace(/%5C/g,"/");
strText=strText.replace(/%D6/g,"O");
strText=strText.replace(/%F6/g,"o");
strText=strText.replace(/%27/g,"'");
strText=strText.replace(/%u0130/g,"I");
strText=strText.replace(/%u0131/g,"i");
strText=strText.replace(/%E9/g,"é");
strText=strText.replace(/%u011E/g,"G");
strText=strText.replace(/%u011F/g,"g");
strText=strText.replace(/%u011E/g,"G");
strText=strText.replace(/%u011F/g,"g");
strText=strText.replace(/%22/g,'"');
strText=strText.replace(/%DC/g,"U");
strText=strText.replace(/%FC/g,"u");
return strText;
}
</script>
</head>
Düzeltim kodu böyle eklerseniz bbir problem vermiyor denendi test edildi
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #7  
Alt 18.05.08, 16:54
marmaradizayn - ait Kullanıcı Resmi (Avatar)
Celeron
 
Üyelik tarihi: Mar 2008
Nerden: türkiye
Mesajlar: 52
Tecrübe Puanı: 1
marmaradizayn is on a distinguished road
marmaradizayn - MSN üzeri Mesaj gönder
Alıntı:
akarweb yazmış Mesajı göster
anlattıklarınızı uyguladım fakat birçok arkadaşımda daha awbs sinde uygulamama rağmen ç harfleri c ye dönüşüyor fakat ğ,ş,ı harfleri ing. karaktere donusmuyor bunların yerine %u16Fas gibi karakterler geliyor. yardımcı olabilirseniz sevinirim bizimde başımızın belası malesef ki

Yazdım ama galiba cozduk problemi bir arkadaşımız ile tsk ler bilgi için


verdiğim kodlar aynen uygulanarak verilmiştir. örnek linkinden test edebilirsiniz.
__________________
http://www.marmaradizayn.net - YS-(1012)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #8  
Alt 31.05.08, 01:55
byilyas - ait Kullanıcı Resmi (Avatar)
Athlon
 
Üyelik tarihi: Mar 2008
Nerden: istanbul
Mesajlar: 120
Tecrübe Puanı: 11
byilyas has much to be proud ofbyilyas has much to be proud ofbyilyas has much to be proud ofbyilyas has much to be proud ofbyilyas has much to be proud ofbyilyas has much to be proud ofbyilyas has much to be proud ofbyilyas has much to be proud of
Alıntı:
RAMBilisim yazmış Mesajı göster
Daha önce bir konuda ben direk sayfayı vermiştim arkadaşım

Fazla blgiden ne zarar gelir nede gözümüz çıkar ve bir ata sözü derki balık tutup verme balık tutmasını öğret...

ata sözü olmayabilir kusura bakmayın çok yerinde bir anlatım tşk ediyoruz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #9  
Alt 03.06.08, 17:19
Atari
 
Üyelik tarihi: May 2008
Mesajlar: 7
Tecrübe Puanı: 0
marjikal is on a distinguished road
Arkadaşım nasıl bir hayra geçti bilsen testini yaptım çok iyi çalışıyor
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #10  
Alt 03.06.08, 17:32
Intermedya BTA - ait Kullanıcı Resmi (Avatar)
Celeron
 
Üyelik tarihi: Feb 2008
Mesajlar: 96
Tecrübe Puanı: 1
Intermedya BTA is on a distinguished road
ellerinize sağlık, firefox da çalışmıyor sanırım...
__________________
Biz Sadece İşimizi Yapıyoruz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
Cevapla


Seçenekler
Stil

Yetkileriniz
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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

Benzer Konular
Konu Konuyu Başlatan Forum Cevap Son Mesaj
Türkçe karakter duyartic AWBS Destek 3 26.03.08 00:53
sql yedeğimde türkçe karakter hatası efe seyit Database 13 17.03.08 23:46
Awbs için mail şablonları ve türkçe karakter hataları Tickhi AWBS Destek 5 26.02.08 19:33
Türkçe Karakter Sorunu PaRaDoKS Soru ve Cevaplar 1 24.09.07 15:25
Türkçe Karakter Sorunu goodboy AWBS Destek 2 16.09.07 00:05


Sign up for PayPal and start accepting credit card payments instantly.

Navigasyon
Menü