Anasayfa FORUMLAR Üye Girişi Dosyalar Dersler İpuçları Yardımcı Araçlar Hakkımızda
KİMLER BAĞLI
Toplam Üye: 32638
Aktif Üye: 0
Aktif Ziyaretçi: 915
Üye Adı
Şifre
Beni Hatırla
          Yeni Üye KayıtYeni Üye Kayıt
          Şifremi UnuttumŞifremi Unuttum
FORUMLAR
 ME_Haber 2.3..
(108324 okuma, 145 yanıt)
 Resim Galerisi Modülü 2.0..
(121215 okuma, 173 yanıt)
 Ustalardan Bir Ricam Olac..
(13554 okuma, 6 yanıt)
 nukecode.com will close..
(11148 okuma, 5 yanıt)
 super youtube player a lo..
(6317 okuma, 1 yanıt)
 Need good PHP Haber port..
(5582 okuma, 0 yanıt)
 Forum Nasil Tam Sayfa Olu..
(34956 okuma, 40 yanıt)
 Php nuke Forumu Düzenleme..
(9891 okuma, 6 yanıt)
 Yeni Üyelik Aktivasyon Li..
(10942 okuma, 6 yanıt)
 Aşk Flashları Modülü..
(6948 okuma, 2 yanıt)
 resim galeri 2.0 da kateg..
(11364 okuma, 9 yanıt)
 Yeni iki modul: Merhumlar..
(32221 okuma, 36 yanıt)
 ürün tanıtım modülü..
(25177 okuma, 23 yanıt)
 PHP Nuke is out..
(14912 okuma, 13 yanıt)
 MSN Video Bing Video oldu..
(5180 okuma, 0 yanıt)
 haberhit.com..
(5768 okuma, 1 yanıt)
 Bilgi Yarışması 1.0 tama..
(51688 okuma, 72 yanıt)
 Musıc Box elinde olan var..
(6657 okuma, 2 yanıt)
 Online Okey , Batak , Tav..
(172504 okuma, 340 yanıt)
 Emlak Modül ve Blockları ..
(12231 okuma, 8 yanıt)
 WM who ist shampions..
(5022 okuma, 1 yanıt)
 coppermine resim galerisi..
(5466 okuma, 1 yanıt)
 Forumda Teşekkür Eklentis..
(9030 okuma, 7 yanıt)
 free wordpress themes..
(5554 okuma, 1 yanıt)
 JW image rotator for nsn ..
(7619 okuma, 4 yanıt)
 need Iletisim module..
(10962 okuma, 8 yanıt)
 Yeni modul: İletişim modu..
(27556 okuma, 33 yanıt)
 Başvuru Modulu ve Etkinli..
(5800 okuma, 1 yanıt)
 world cup flash..
(5023 okuma, 0 yanıt)
 ..:: Php Nuke FTP link Ha..
(4925 okuma, 0 yanıt)
 yeni phpnuke youtube 2.0..
(5148 okuma, 1 yanıt)
 Content Plus Önceki Konu ..
(4751 okuma, 0 yanıt)
 Php nuke Tickets Modülü..
(7944 okuma, 5 yanıt)
 need help to news time..
(4526 okuma, 0 yanıt)
 NSN News v3.0 new plugin..
(4814 okuma, 0 yanıt)
 how to save flash as imag..
(6019 okuma, 2 yanıt)
 Video Blok Yardım Lütfen...
(5958 okuma, 2 yanıt)
 gazete ara..
(9742 okuma, 5 yanıt)
 Bizim Yazarlar ve Bizim Ş..
(14868 okuma, 14 yanıt)
 Nuke Reflections v2 Türkç..
(14489 okuma, 14 yanıt)
 CNB Your Account 750 442 ..
(14176 okuma, 13 yanıt)
 Admin panelindeki simge ç..
(12293 okuma, 9 yanıt)
 Hosting Modülü..
(13954 okuma, 13 yanıt)
 Bizim şairler Modülü..
(5161 okuma, 1 yanıt)
 new plugin for nsn news v..
(4740 okuma, 1 yanıt)
 php nuke 8.0 türkce dil s..
(6888 okuma, 3 yanıt)
 Kan Bankası Modül istek..
(6115 okuma, 2 yanıt)
 Haber Konulari Sayfasinda..
(5724 okuma, 2 yanıt)
 Kan Bankası Modülünde İsi..
(7027 okuma, 3 yanıt)
 sonhaberler flash block ..
(6596 okuma, 4 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - Uye Olurken Turkce Karakter Sorunu
 AramaArama   RütbelerRütbeliler   ProfilProfil   GirişGiriş 


Uye Olurken Turkce Karakter Sorunu
Sayfaya git 1, 2  Sonraki
 
Bu forum kilitlendi: mesaj gönderemez, cevap yazamaz ya da başlıkları değiştiremezsiniz   Bu başlık kilitlendi: mesajları değiştiremez ya da cevap yazamazsınız    Netopsiyon Online Forum Ana Sayfa -> Php-Nuke -> Php Nuke Modülleri
Önceki başlık :: Sonraki başlık  
Yazar Mesaj
buket_17
Mesaj: 50+
Mesaj: 50+





Kayıt: Dec 08, 2006
Mesajlar: 55

MesajTarih: 2007-11-16, 21:18:59    Mesaj konusu: Uye Olurken Turkce Karakter Sorunu Alıntıyla Cevap Gönder

Siteme Uye Olmak Istiyenler Turkce Karakter Sectiginde ;

Kayıt Hatası

HATA: Geçersiz Kullanıcı Adı

Bu sekiLde hata cikartiyor... Sitede TUrkce Karakter kuLLanabiliyorum ama Uye Adlari Turkce Karakter KAldirmiyor... Ne yaapabiLirim?

iLgilenen Tum arkadaslara Simdiden TEsekkurLer...
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
Bu Site Google Adsense ile Gelir Elde Ediyor









Tarih: 2024-05-04, 17:42:47    Mesaj konusu: Forum Arası Reklamlar


Başa dön
polibo06
Site Yöneticisi
Site Yöneticisi





Kayıt: Nov 01, 2006
Mesajlar: 2412
Konum: izmirimi özledim

MesajTarih: 2007-11-16, 21:23:43    Mesaj konusu: Alıntıyla Cevap Gönder

http://eski.netopsiyon.com/modules.php?name=Forums&file=viewtopic&p=188980

burada yazan değişiklikleri yaparsan sorun kalmaz
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
buket_17
Mesaj: 50+
Mesaj: 50+





Kayıt: Dec 08, 2006
Mesajlar: 55

MesajTarih: 2007-11-16, 21:36:47    Mesaj konusu: Alıntıyla Cevap Gönder

suan zamanim yok ama size cok tesekkur ederim....
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
AHMET_BALCI
Mesaj: 500+
Mesaj: 500+





Kayıt: Apr 10, 2007
Mesajlar: 766

MesajTarih: 2007-11-16, 22:38:04    Mesaj konusu: Alıntıyla Cevap Gönder

aslında ilgili linkteki tanımlamalar bile sorunu cözmüyor.
php nukenin duayenlerinden aldığım bilgi veritabanınında Türkçeleştirilmesi ile bu sıkıntı temelli hallolabilir.
Bakalım bu çalışmayı kimler yapar
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
alipaksi
PhpBB Sorumlusu
PhpBB Sorumlusu





Kayıt: Jun 22, 2007
Mesajlar: 1028
Konum: Denizli

MesajTarih: 2007-11-16, 22:53:01    Mesaj konusu: Alıntıyla Cevap Gönder

Bende Yaptım flashchat te sorun yarattı acayip karakterler cıktı geri almak zorunda kaldım malesef
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et MSN Messenger
buket_17
Mesaj: 50+
Mesaj: 50+





Kayıt: Dec 08, 2006
Mesajlar: 55

MesajTarih: 2007-11-19, 20:32:20    Mesaj konusu: Alıntıyla Cevap Gönder

Merhaba,
Dediginiz Linkte yazanlari denedim....
YourAccount/index.php'de ara dedikleri bende yoktu.. o yuzden bsi yapamadim...

YourAccount/Function' i degistirdim yazilan gibi ama yinE ayni Hatayi aLdim Sad

Turkce Karakteri KabuL etmiyor...
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
polibo06
Site Yöneticisi
Site Yöneticisi





Kayıt: Nov 01, 2006
Mesajlar: 2412
Konum: izmirimi özledim

MesajTarih: 2007-11-19, 20:47:52    Mesaj konusu: Alıntıyla Cevap Gönder

your account/index.php

kodlarını burada yazabilirmisiniz
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
buket_17
Mesaj: 50+
Mesaj: 50+





Kayıt: Dec 08, 2006
Mesajlar: 55

MesajTarih: 2007-11-19, 20:56:38    Mesaj konusu: Re: Uye Olurken Turkce Karakter Sorunu Alıntıyla Cevap Gönder

Olur...

Kod:
<?php

/*********************************************************************************/
/* CNB Your Account: An Advanced User Management System for phpnuke           */
/* ============================================                               */
/*                                                                            */
/* Copyright (c) 2004 by Comunidade PHP Nuke Brasil                           */
/* http://dev.phpnuke.org.br & http://www.phpnuke.org.br                      */
/*                                                                            */
/* Contact author: escudero@phpnuke.org.br                                    */
/* International Support Forum: http://ravenphpscripts.com/forum76.html       */
/*                                                                            */
/* This program is free software. You can redistribute it and/or modify       */
/* it under the terms of the GNU General Public License as published by       */
/* the Free Software Foundation; either version 2 of the License.             */
/*                                                                            */
/*********************************************************************************/
/* CNB Your Account it the official successor of NSN Your Account by Bob Marion   */
/*********************************************************************************/

if (!eregi("modules.php", $_SERVER['script_NAME'])) {
        die ("You can't access this file directly...");
}
$module_name = basename(dirname(__FILE__));
require_once("modules/Your_Account/includes/constants.php");
if (!defined('CNBYA')) { echo "CNBYA protection"; exit; }
require_once("mainfile.php");
include_once("modules/$module_name/includes/functions.php");

// menelaos: removed because it is already called in /modules/Your_Account/includes/mainfileend.php
$ya_config = ya_get_configs();

get_lang($module_name);
$userpage = 1;
//$index    = 1;
include("modules/$module_name/navbar.php");
include("modules/$module_name/includes/c o o k i echeck.php");
c o o k i edecode($user);

switch($op) {

    case "activate":
        include("modules/$module_name/public/activate.php");
    break;

    case "avatarlist":
        if (is_user($user)) {
            include("modules/$module_name/public/avatarlist.php");
        } else {
            notuser();
        }
    break;

    case "avatarsave":
        if (is_user($user)) {
            include("modules/$module_name/public/avatarsave.php");
        } else {
            notuser();
        }
    break;

    case "avatarlinksave":
        if (is_user($user)) {
            include("modules/$module_name/public/avatarlinksave.php");
        } else {
            notuser();
        }
    break;

    case "broadcast":
        if ($broadcast_msg == 1) {
            include("modules/$module_name/public/broadcast.php");
        } else {
            disabled();
        }
    break;

    case "delete":
        if ($ya_config['allowuserdelete'] == 1) {
            include("modules/$module_name/public/delete.php");
        } else {
            disabled();
        }
    break;

    case "deleteconfirm":
        if ($ya_config['allowuserdelete'] == 1) {
            include("modules/$module_name/public/deleteconfirm.php");
        } else {
            disabled();
        }
    break;

    case "editcomm":
        include("modules/$module_name/public/editcomm.php");
    break;

    case "edithome":
        include("modules/$module_name/public/edithome.php");
    break;

    case "edittheme":
    break;

   case "changemail":
      include("modules/$module_name/public/changemail.php");
      changemail();
   break;


    case "chgtheme":
        if ($ya_config['allowusertheme']==0) {
            include("modules/$module_name/public/chngtheme.php");
        } else {
            disabled();
        }
    break;

    case "edituser":
        include("modules/$module_name/public/edituser.php");
    break;

    case "gfxadminimage":
   // menelaos: dynamically insert the version number in the admin config panel image Copyright (c) 2004 :-)
   $icon      = "images/admin/users.png";
   $image      = ImageCreateFromPNG($icon);
   $text_color   = ImageColorAllocate($image, 0, 0, 0);
   Header("Content-type: image/png");
   ImageString ($image, 1, 7, 38, $cnbyaversion, $text_color);
   ImagePNG($image, '', 75);
   ImageDestroy($image);
      
   break;

    case "gfx":
    // Begin Copyright (c) 2004 by NukeScripts Network
        $datekey = date("F j");
        $rcode = hexdec(md5($_SERVER[HTTP_USER_AGENT] . $sitekey . $random_num . $datekey));
        $code = substr($rcode, 2, $ya_config['codesize']);
        $ThemeSel = get_theme();
        if (file_exists("themes/$ThemeSel/images/code_bg.png")) {
            $codeimg = "themes/$ThemeSel/images/code_bg.png";
            include("themes/$ThemeSel/theme.php");
            $tcolor = str_replace("#", "", $textcolor1);
            $tc_r = hexdec(substr($tcolor, 0, 2));
            $tc_g = hexdec(substr($tcolor, 2, 2));
            $tc_b = hexdec(substr($tcolor, 4, 2));
        } else {
            $codeimg = "images/code_bg.png";
            $tc_r = $tc_g = $tc_b = 0;
        }
        $image = ImageCreateFromPNG($codeimg);
        $text_color = ImageColorAllocate($image, $tc_r, $tc_g, $tc_b);
        Header("Content-type: image/png");
        ImageString ($image, 5, 5, 2, $code, $text_color);
        ImagePNG($image, '', 75);
        ImageDestroy($image);
        die();
    // End Copyright (c) 2004 by NukeScripts Network
    break;

   case "login":
      $result  = $db->sql_query("SELECT * FROM ".$user_prefix."_users WHERE username='$username'");
      $setinfo = $db->sql_fetchrow($result);

      // menelaos: check of the member agreed with the TOS and update the database field
      if (($ya_config['tos'] == intval(1)) AND ($_POST['tos_yes'] == intval(1))) {
      $db->sql_query("UPDATE ".$user_prefix."_users SET agreedtos='1' WHERE username='$username'");
      }
      $forward = ereg_replace("redirect=", "", "$redirect");
      if (ereg("privmsg", $forward)) { $pm_login = "active"; }
   if ($db->sql_numrows($result) == 0) {
      include("header.php");
      Show_CNBYA_menu();
      OpenTable();
      echo "<center><font class='title'>"._SORRYNOUSERINFO."</font></center>\n";
      CloseTable();
      include("footer.php");
   } elseif ($db->sql_numrows($result) == 1 AND $setinfo['user_id'] != 1 AND $setinfo['user_password'] != "" AND $setinfo['user_active'] >0 AND $setinfo['user_level'] >0) {
      $dbpass     = $setinfo[user_password];
      $non_crypt_pass = $user_password;
      $old_crypt_pass = crypt($user_password,substr($dbpass,0,2));
      $new_pass = md5($user_password);
      if (($dbpass == $non_crypt_pass) OR ($dbpass == $old_crypt_pass)) {
         $db->sql_query("UPDATE ".$user_prefix."_users SET user_password='$new_pass'   WHERE username='$username'");
         $result = $db->sql_query("SELECT user_password FROM ".$user_prefix."_users   WHERE username='$username'");
         list($dbpass) = $db->sql_fetchrow($result);
      }
      if ($dbpass != $new_pass) {
         Header("Location: modules.php?name=$module_name&stop=1");
         return;
      }
      $datekey = date("F j");
      $rcode = hexdec(md5($_SERVER['HTTP_USER_AGENT'] . $sitekey . $random_num . $datekey));
      $code  = substr($rcode, 2, $ya_config['codesize']);
      if (extension_loaded("gd") AND $code != $gfx_check AND ($ya_config['usegfxcheck'] == 2 OR $ya_config['usegfxcheck'] == 3)) {
         Header("Location: modules.php?name=$module_name&stop=1");
         die();
      } else {
         // menelaos: show a member the current TOS if he has not agreed yet
         if (($ya_config['tos'] == intval(1)) AND ($ya_config['tosall'] == intval(1)) AND ($setinfo[agreedtos] != intval(1))) {
            if($_POST['tos_yes'] != intval(1)) {
            include("modules/$module_name/public/ya_tos.php");
            exit;
            }
         }
         // menelaos: show a member the current TOS if he has not agreed yet

          yac o o k i e($setinfo[user_id], $setinfo[username], $new_pass, $setinfo[storynum], $setinfo[umode], $setinfo[uorder], $setinfo[thold], $setinfo[noscore], $setinfo[ublockon], $setinfo[theme], $setinfo[commentmax]);
         $uname = $_SERVER["REMOTE_ADDR"];
         $db->sql_query("DELETE FROM ".$prefix."_session WHERE uname='$uname' AND guest='1'");
         if ($Version_Num >= 7.4) $db->sql_query("UPDATE ".$prefix."_users SET last_ip='$uname' WHERE username='$username'");
      }

      // menelaos: the c o o k i echeck is run here
      if ($ya_config['c o o k i echeck']==1) {
      $c o o k i echeck   = yac o o k i echeckresults();
      }
         
      if ($pm_login != "") {
         Header("Location: modules.php?name=Private_Messages&file=index&folder=inbox");
      } else if ($redirect == "" ) {
         Header("Location: modules.php?name=Your_Account&op=userinfo&bypass=1&username=$username");
      } else if ($mode == "") {
         Header("Location: modules.php?name=Forums&file=$forward");
      } else if ($t !="")  {
         Header("Location: modules.php?name=Forums&file=$forward&mode=$mode&t=$t");
      } else {
         Header("Location: modules.php?name=Forums&file=$forward&mode=$mode&f=$f");
      }
      } elseif ($db->sql_numrows($result) == 1 AND ($setinfo['user_level'] < 1 OR $setinfo['user_active'] < 1)) {
         include("header.php");
         Show_CNBYA_menu();
         OpenTable();
         if ($setinfo['user_level'] == 0) {
            echo "<br><center><font class=\"title\"><b>"._ACCSUSPENDED."</b></font></center><br>\n";
         } elseif ($setinfo['user_level'] == -1) {
            echo "<br><center><font class=\"title\"><b>"._ACCDELETED."</b></font></center><br>\n";
         } else {
            echo "<br><center><font class=\"title\"><b>"._SORRYNOUSERINFO."</b></font></center><br>\n";
         }
      CloseTable();
      include("footer.php");
      } else {
      Header("Location: modules.php?name=$module_name&stop=1");
      }
      break;

    case "logout":
        c o o k i edecode($user);
        $r_uid = $c o o k i e[0];
        $r_username = $c o o k i e[1];
        setc o o k i e("user");
        if (trim($ya_config[c o o k i epath]) != '') setc o o k i e("user","expired",time()-604800,"$ya_config[c o o k i epath]"); //correct the problem of path change
        $db->sql_query("DELETE FROM ".$prefix."_session WHERE uname='$r_username'");
        $db->sql_query("OPTIMIZE TABLE ".$prefix."_session");
        //$db->sql_query("DELETE FROM ".$prefix."_bbsessions WHERE session_user_id='$r_uid'");
        //$db->sql_query("OPTIMIZE TABLE ".$prefix."_bbsessions");
        $user = "";
        include("header.php");
        if ($redirect != "") {
            echo "<m e t a HTTP-EQUIV=\"refresh\" content=\"2;URL=modules.php?name=$redirect\">";
        } else {
            echo "<m e t a HTTP-EQUIV=\"refresh\" content=\"2;URL=index.php\">";
        }
        title(_YOUARELOGGEDOUT);
        include("footer.php");
    break;

    case "mailpasswd":
        include("modules/$module_name/public/mailpass.php");
    break;

    case "my_headlines":
        include("modules/$module_name/public/headlines.php");
    break;

    case "new_user":
     if (is_user($user)) {
            mmain($user);
        } else {
if ($ya_config['allowuserreg']==0) {
    if ($ya_config['coppa'] == intval(1)) {
       if($_POST['coppa_yes']!= intval(1)) {
         include("modules/$module_name/public/ya_coppa.php");
         exit;
     }
          }
     if ($ya_config['tos'] == intval(1)) {
       if($_POST['tos_yes'] != intval(1)) {
         include("modules/$module_name/public/ya_tos.php");
         exit;
     }
          }
        if ($ya_config['coppa'] !== intval(1) OR $ya_config['coppa'] == intval(1) AND $_POST['coppa_yes'] = intval(1)){
       if ($ya_config['tos'] !== intval(1) OR $ya_config['tos'] == intval(1) AND $_POST['tos_yes']=intval(1)){       
           if ($ya_config['requireadmin'] == 1) {
                    include("modules/$module_name/public/new_user1.php");
                } elseif ($ya_config['requireadmin'] == 0 AND $ya_config['useactivate'] == 0) {
                    include("modules/$module_name/public/new_user2.php");
                } elseif ($ya_config['requireadmin'] == 0 AND $ya_config['useactivate'] == 1) {
                    include("modules/$module_name/public/new_user3.php");
                }
             }
         }
           }else {
    disabled();   
  }
}
    break;

    case "new_confirm":
        if (is_user($user)) {
            mmain($user);
        } else {
            if ($ya_config['allowuserreg']==0) {
                if ($ya_config['requireadmin'] == 1) {
                    include("modules/$module_name/public/new_confirm1.php");
                } elseif ($ya_config['requireadmin'] == 0 AND $ya_config['useactivate'] == 0) {
                    include("modules/$module_name/public/new_confirm2.php");
                } elseif ($ya_config['requireadmin'] == 0 AND $ya_config['useactivate'] == 1) {
                    include("modules/$module_name/public/new_confirm3.php");
                }
            } else {
                disabled();
            }
        }
    break;

    case "new_finish":
        if (is_user($user)) {
            mmain($user);
        } else {
            if ($ya_config['allowuserreg']==0) {
                if ($ya_config['requireadmin'] == 1) {
                    include("modules/$module_name/public/new_finish1.php");
                } elseif ($ya_config['requireadmin'] == 0 AND $ya_config['useactivate'] == 0) {
                    include("modules/$module_name/public/new_finish2.php");
                } elseif ($ya_config['requireadmin'] == 0 AND $ya_config['useactivate'] == 1) {
                    include("modules/$module_name/public/new_finish3.php");
                }
            } else {
                disabled();
            }
        }
    break;

    case "pass_lost":
        include("modules/$module_name/public/passlost.php");
    break;

    case "saveactivate":
        include("modules/$module_name/public/saveactivate.php");
    break;

    case "savecomm":
        if (is_user($user)) {
            include("modules/$module_name/public/savecomm.php");
        } else {
            notuser();
        }
    break;

    case "savehome":
        if (is_user($user)) {
            include("modules/$module_name/public/savehome.php");
        } else {
            notuser();
        }
    break;

    case "savetheme":
        if (is_user($user)) {
            if ($ya_config['allowusertheme']==0) {
                include("modules/$module_name/public/savetheme.php");
            } else {
                disabled();
            }
        } else {
            notuser();
        }
    break;

    case "saveuser":
        if (is_user($user)) {
            include("modules/$module_name/public/saveuser.php");
        } else {
            notuser();
        }
    break;

    case "userinfo":
        include("modules/$module_name/public/userinfo.php");
    break;
   
   case "ShowCookiesRedirect":
        ShowCookiesRedirect();
    break;

    case "ShowCookies":
        ShowCookies();
    break;

    case "DeleteCookies":
        DeleteCookies();
    break;

    default:
        mmain($user);
    break;

}

?>



dogru yapmisimdir insallah...

simdiden tesekkur ederim
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
Bu Site Google Adsense ile Gelir Elde Ediyor









Tarih: 2024-05-04, 17:42:47    Mesaj konusu: Forum Arası Reklamlar


Başa dön
polibo06
Site Yöneticisi
Site Yöneticisi





Kayıt: Nov 01, 2006
Mesajlar: 2412
Konum: izmirimi özledim

MesajTarih: 2007-11-19, 22:35:11    Mesaj konusu: Alıntıyla Cevap Gönder

buket umarım kızmassın ama bu yanlış. Very Happy

sistemde cnb kurmuşsun. O yüzden

Modules/Your_Account/includes/functions.php

buraya eklersen daha iyi olur Very Happy kusura bakma
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
buket_17
Mesaj: 50+
Mesaj: 50+





Kayıt: Dec 08, 2006
Mesajlar: 55

MesajTarih: 2007-11-20, 18:09:51    Mesaj konusu: Re: Uye Olurken Turkce Karakter Sorunu Alıntıyla Cevap Gönder

yok est.. yanlisi yapan benim.. sen kusura bakma Lutfen...
Ama Function Icin DeniLeni ben yAptim.. Yinede Siz Bakin TAbii...
ISte buyrun


Kod:
<?php

/*********************************************************************************/
/* CNB Your Account: An Advanced User Management System for phpnuke           */
/* ============================================                               */
/*                                                                            */
/* Copyright (c) 2004 by Comunidade PHP Nuke Brasil                           */
/* http://dev.phpnuke.org.br & http://www.phpnuke.org.br                      */
/*                                                                            */
/* Contact author: escudero@phpnuke.org.br                                    */
/* International Support Forum: http://ravenphpscripts.com/forum76.html       */
/*                                                                            */
/* This program is free software. You can redistribute it and/or modify       */
/* it under the terms of the GNU General Public License as published by       */
/* the Free Software Foundation; either version 2 of the License.             */
/*                                                                            */
/*********************************************************************************/
/* CNB Your Account it the official successor of NSN Your Account by Bob Marion   */
/*********************************************************************************/

if (eregi("functions.php", $_SERVER['script_NAME'])) {
    header("Location: ../../../index.php");
    die ();
}

/*************************************************************************************/
// function Show_CNBYA_menu(){ [added by menelaos dot hetnet dot nl]
/*************************************************************************************/
function Show_CNBYA_menu(){
global $stop, $module_name, $redirect, $mode, $t, $f, $ya_config;
OpenTable();
if ($stop) {
echo "<center><font class=\"title\"><b>"._LOGININCOR."</b></font></center>\n";
} else {
echo "<center><font class=\"title\"><b>"._USERREGLOGIN."</b></font></center>\n";
}
CloseTable();
echo "<br>";
OpenTable();
echo "<table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\"><tr><td align=\"left\"><font class=\"content\">\n";
echo "[ <a href=\"modules.php?name=$module_name\">"._LOGIN."</a> \n";
echo "| <a href=\"modules.php?name=$module_name&op=new_user\">"._REGNEWUSER."</a> ]\n";
echo "</td><td align=\"right\"><font class=\"content\">\n";
echo "[ <font class=\"content\"><a href=\"modules.php?name=$module_name&op=pass_lost\">"._PASSWORDLOST."</a> \n";
echo "| <a href=\"modules.php?name=$module_name&op=ShowCookiesRedirect\">"._YA_COOKIEDELALL."</a> ]</font>\n";
echo "</td></tr></table>\n";
CloseTable();
echo "<br>";
}

function ya_userCheck($username) {
    global $stop, $user_prefix, $db, $ya_config;
    // Need to find a way to include extended caracters
    //$username=htmlspecialchars(trim($username));";
    if ((!$username) || ($username=="") || (ereg("[^a-zA-Z0-9_-]",$username))) $stop = "<center>"._ERRORINVNICK."</center><br>";
    if (strlen($username) > $ya_config['nick_max']) $stop = "<center>"._YA_NICKLENGTH."</center>";
    if (strlen($username) < $ya_config['nick_min']) $stop = "<center>"._YA_NICKLENGTH."</center>";
    if ($ya_config['bad_nick'] > "") {
        $BadNickList = explode("\r\n",$ya_config['bad_nick']);
        for ($i=0; $i < count($BadNickList); $i++) {
            if (eregi($BadNickList[$i], $username)) $stop = "<center>"._NAMERESTRICTED."</center><br>";
        }
    }
    if (strrpos($username,' ') > 0) $stop = "<center>"._NICKNOSPACES."</center>";
    if ($db->sql_numrows($db->sql_query("SELECT username FROM ".$user_prefix."_users WHERE username='$username'")) > 0) $stop = "<center>"._NICKTAKEN."</center><br>";
    if ($db->sql_numrows($db->sql_query("SELECT username FROM ".$user_prefix."_users_temp WHERE username='$username'")) > 0) $stop = "<center>"._NICKTAKEN."</center><br>";
    return($stop);
}

function ya_mail($email, $subject, $message, $from) {
global $ya_config, $adminmail;
   if ($ya_config['servermail'] == 0) {
      if (trim($from) == '') $from  = "From: $adminmail\r\n" . "Reply-To: $adminmail\r\n" . "Return-Path: $adminmail\r\n";
      mail("$email", "$subject", "$message", "$from");
   }
}

function ya_mailCheck($user_email) {
    global $stop, $user_prefix, $db, $ya_config;
    $user_email = strtolower($user_email);
    if ((!$user_email) || ($user_email=="") || (!eregi("^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,6}$",$user_email))) $stop = "<center>"._ERRORINVEMAIL."</center><br>";
    if ($ya_config['bad_mail'] > "") {
        $BadMailList = explode("\r\n",$ya_config['bad_mail']);
        for ($i=0; $i < count($BadMailList); $i++) {
            if (eregi($BadMailList[$i], $user_email)) $stop = "<center>"._MAILBLOCKED." <b>".$BadMailList[$i]."</b></center><br>";
        }
    }
    if (strrpos($user_email,' ') > 0) $stop = "<center>"._ERROREMAILSPACES."</center><br>";
    if ($db->sql_numrows($db->sql_query("SELECT user_email FROM ".$user_prefix."_users WHERE user_email='$user_email'")) > 0) $stop = "<center>"._EMAILREGISTERED."</center><br>";
    if ($db->sql_numrows($db->sql_query("SELECT user_email FROM ".$user_prefix."_users WHERE user_email='".md5($user_email)."'")) > 0) $stop = "<center>"._EMAILNOTUSABLE."</center><br>";
    if ($db->sql_numrows($db->sql_query("SELECT user_email FROM ".$user_prefix."_users_temp WHERE user_email='$user_email'")) > 0) $stop = "<center>"._EMAILREGISTERED."</center><br>";
    return($stop);
}

function ya_passCheck($user_pass1, $user_pass2) {
    global $stop, $ya_config;
    if (strlen($user_pass1) > $ya_config['pass_max']) $stop = "<center>"._YA_PASSLENGTH."</center><br>";
    if (strlen($user_pass1) < $ya_config['pass_min']) $stop = "<center>"._YA_PASSLENGTH."</center><br>";
    if ($user_pass1 != $user_pass2) $stop = "<center>"._PASSWDNOMATCH."</center><br>";
    return($stop);
}

function ya_fixtext($ya_fixtext) {
    if ($ya_fixtext == "") { return $ya_fixtext; }
    $ya_fixtext = stripslashes($ya_fixtext);
    $ya_fixtext = ereg_replace("\'","",$ya_fixtext);
   $ya_fixtext = ereg_replace("&acute;","",$ya_fixtext);
    $ya_fixtext = ereg_replace("\"","&quot;",$ya_fixtext);
    $ya_fixtext = strip_tags($ya_fixtext);
    if (!get_magic_quotes_gpc()) { $ya_fixtext = addslashes($ya_fixtext); }; $ya_fixtext = addslashes($ya_fixtext);
    return $ya_fixtext;
}

// function improved by Peter
function ya_save_config($config_name, $config_value, $config_param=""){
   global $prefix, $db;
   if (!get_magic_quotes_gpc()) { $config_value = addslashes($config_value); }
   if($config_param == 'html') {
      $config_name = check_html($config_name, 'nohtml');
      $config_value = check_html($config_value, 'html');
      $db -> sql_query("UPDATE ".$prefix."_cnbya_config SET config_value='$config_value' WHERE config_name='$config_name'");
   }
   if($config_param == 'nohtml') {
      $config_name = check_html($config_name, 'nohtml');
      $config_value = ya_fixtext(check_html($config_value, 'nohtml'));
      $db -> sql_query("UPDATE ".$prefix."_cnbya_config SET config_value='$config_value' WHERE config_name='$config_name'");
   } else {
      $config_name=check_html($config_name, 'nohtml');
      $config_value = intval($config_value);
      $db -> sql_query("UPDATE ".$prefix."_cnbya_config SET config_value='$config_value' WHERE config_name='$config_name'");
   }
}

function ya_get_configs(){
    global $prefix, $db;
    $configresult = $db->sql_query("SELECT config_name, config_value FROM ".$prefix."_cnbya_config");
    while (list($config_name, $config_value) = $db->sql_fetchrow($configresult)) {
      if (!get_magic_quotes_gpc()) { $config_value = stripslashes($config_value); }
        $config[$config_name] = $config_value;
    }
    return $config;
}

function yac o o k i e($setuid, $setusername, $setpass, $setstorynum, $setumode, $setuorder, $setthold, $setnoscore, $setublockon, $settheme, $setcommentmax) {
    global $ya_config, $db, $prefix;
   
    $ip = $_SERVER["REMOTE_ADDR"];
    $result = $db->sql_query("SELECT time FROM ".$prefix."_session WHERE uname='$setusername'");
    $ctime = time();
    if ($setusername!="") {
       $uname = substr("$setusername", 0,25);
       if ($row = $db->sql_fetchrow($result)) {
         $db->sql_query("UPDATE ".$prefix."_session SET uname='$setusername', time='$ctime', host_addr='$ip', guest='$guest' WHERE uname='$uname'");
       } else {
         $db->sql_query("INSERT INTO ".$prefix."_session (uname, time, host_addr, guest) VALUES ('$uname', '$ctime', '$ip', '$guest')");
       }
   }
   
   $info = base64_encode("$setuid:$setusername:$setpass:$setstorynum:$setumode:$setuorder:$setthold:$setnoscore:$setublockon:$settheme:$setcommentmax");
    if ($ya_config[c o o k i etimelife] != '-') {
     if (trim($ya_config[c o o k i epath]) != '') setc o o k i e("user","$info",time()+"$ya_config[c o o k i etimelife]","$ya_config[c o o k i epath]" );
     else setc o o k i e("user","$info",time()+"$ya_config[c o o k i etimelife]");
   }
   else {
     setc o o k i e("user","$info");
   };
}

function YA_CoolSize($size) {
    $mb = 1024*1024;
    if ( $size > $mb ) {
        $mysize = sprintf ("%01.2f",$size/$mb) . " MB";
    } elseif ( $size >= 1024 ) {
        $mysize = sprintf ("%01.2f",$size/1024) . " Kb";
    } else {
        $mysize = $size . " bytes";
    }
    return $mysize;
}

function YA_MakePass() {
    $makepass = "";
    $strs = "abc2def3ghj4kmn5opq6rst7uvw8xyz9";
    for ($x=0; $x < 8; $x++) {
        mt_srand ((double) microtime() * 1000000);
        $str[$x] = substr($strs, mt_rand(0, strlen($strs)-1), 1);
        $makepass = $makepass.$str[$x];
    }
    return($makepass);
}

function amain() {
    global $ya_config, $module_name, $db, $user_prefix, $bgcolor2, $bgcolor1, $textcolor1, $find, $what, $match, $query;
    $cnbyaversion = $ya_config['version'];

   if (!($ya_config['version'] == '4.4.2')) {
      OpenTable();
      echo "<tr bgcolor='$bgcolor1'>\n";
      echo "<td align='center' colspan='4'><center>"._YA_UPDATEYOUTABLE." 4.4.2"._YA_UPDATEYOUTABLE1." $ya_config[version] </center></td>\n";
      echo "</tr>\n";
      CloseTable();
      echo "<br>\n";
   }

    OpenTable();
    $act = $db->sql_numrows($db->sql_query("SELECT * FROM ".$user_prefix."_users WHERE user_level>'0' AND user_id>'1'"));
    $sus = $db->sql_numrows($db->sql_query("SELECT * FROM ".$user_prefix."_users WHERE user_level='0' AND user_id>'1'"));
    $del = $db->sql_numrows($db->sql_query("SELECT * FROM ".$user_prefix."_users WHERE user_level='-1' AND user_id>'1'"));
    $nor = $db->sql_numrows($db->sql_query("SELECT * FROM ".$user_prefix."_users WHERE user_id>'1'"));
    $pen = $db->sql_numrows($db->sql_query("SELECT * FROM ".$user_prefix."_users_temp"));

    echo "<table align='center' cellpadding='2' cellspacing='2' border='0' width='100%'>\n";

    echo "<tr bgcolor='$bgcolor1'>\n";
    echo "<td align='center' colspan='4'><a href='admin.php'>"._YA_ADMINISTRATION."</a></td>\n";   
    echo "</tr>\n";
    echo "<tr bgcolor='$bgcolor1'>\n";
    echo "<td align='center' width='33%'><a href='modules.php?name=$module_name&file=admin&op=addUser'>"._ADDUSER."</a></td>\n";
    echo "<td align='center' width='33%'><a href='modules.php?name=$module_name&file=admin&op=UsersConfig'>"._USERSCONFIG."</a></td>\n";
    echo "<td align='right'><a href='modules.php?name=$module_name&file=admin&op=listnormal&query=1'>"._ACTIVEUSERS.":</a>";
    echo "<td align='left'>($act)</td>\n";
    echo "</tr>\n";
    echo "<tr bgcolor='$bgcolor1'>";
    echo "<td align='center' width='33%'><a href='modules.php?name=$module_name&file=admin&op=addField'>"._YA_ADDFIELD."</a></td>\n";
    echo "<td align='center' width='33%'><a href='modules.php?name=$module_name&file=admin&op=CookieConfig'>"._COOKIECONFIG."</a></td>\n";
    echo "<td align='right'><a href='modules.php?name=$module_name&file=admin&op=listnormal&query=a'>"._NORMALUSERS.":</a>";
    echo "<td align='left'>($nor)</td>\n";
    echo "</tr>\n";
    echo "<tr bgcolor='$bgcolor1'>\n";
    echo "<td align='center' width='33%'><a href='modules.php?name=$module_name&file=admin&op=searchUser'>"._SEARCHUSERS."</a></td>\n";
    echo "<td align='center' width='33%'>&nbsp;</td>\n";
    echo "<td align='right'><a href='modules.php?name=$module_name&file=admin&op=listnormal&query=-1'>"._DELETEUSERS.":</a>";
    echo "<td align='left'>($del)</td>\n";
    echo "</tr>\n";
    echo "<tr bgcolor='$bgcolor1'>\n";
    echo "<td align='center' width='33%'>&nbsp;</td>\n";
    echo "<td align='center' width='33%'>&nbsp;</td>\n";
    echo "<td align='right'><a href='modules.php?name=$module_name&file=admin&op=listnormal&query=0'>"._SUSPENDUSERS.":</a>";
    echo "<td align='left'>($sus)</td>\n";
    echo "</tr>\n";
    echo "<tr bgcolor='$bgcolor1'>\n";
//  echo "<td align='center' width='33%'><a href='modules.php?name=$module_name&file=admin&op=autoSuspend'>"._YA_CHKAUTOSUS."</a></td>";
    echo "<td align='center' width='33%'><a href='modules.php?name=$module_name&file=admin&op=credits'>"._CREDITS."</a></td>\n";
    echo "<td align='center' width='33%'>[CNB Your Account $cnbyaversion]</td>\n";
    echo "<td align='right'><a href='modules.php?name=$module_name&file=admin&op=listpending'>"._WAITINGUSERS.":</a>";
    echo "<td align='left'>($pen)</td>\n";
    echo "</tr>\n";

    echo "</table>\n";
    CloseTable();
}

function asearch() {
    global $module_name, $bgcolor2, $bgcolor1, $textcolor1, $find, $what, $match, $query;
    OpenTable();
    echo "<table align='center' cellpadding='2' cellspacing='2' border='0' bgcolor='$bgcolor1'>\n";
    echo "<form method='post' action='modules.php?name=$module_name&file=admin'>\n";
    echo "<input type='hidden' name='op' value='listresults'>\n";
    echo "<tr>\n";
    echo "<td align='center'><b>"._YA_FIND.":</b></td>\n";
    echo "<td align='center'><b>"._YA_BY.":</b></td>\n";
    echo "<td align='center'><b>"._YA_MATCH.":</b></td>\n";
    echo "<td align='center'><b>"._YA_QUERY.":</b></td>\n";
    echo "</tr>\n<tr>\n";
    if ($find == "tempUser") { $sel1 = ""; $sel2 = " selected"; } else { $sel1 = " selected"; $sel2 = ""; }
    echo "<td align='center'><select name='find'>\n";
    echo "<option value='findUser'$sel1>"._YA_REGLUSER."</option>\n";
    echo "<option value='tempUser'$sel2>"._YA_TEMPUSER."</option>\n";
    echo "</select></td>\n";
    if ($what == "user_email") {
        $sel1 = ""; $sel2 = ""; $sel3 = ""; $sel4 = " selected";
    } elseif ($what == "user_id") {
        $sel1 = ""; $sel2 = ""; $sel3 = " selected"; $sel4 = "";
    } elseif ($what == "name") {
        $sel1 = ""; $sel2 = " selected"; $sel3 = ""; $sel4 = "";
    } else {
        $sel1 = " selected"; $sel2 = ""; $sel3 = ""; $sel4 = "";
    }
    echo "<td align='center'><select name='what'>\n";
    echo "<option value='username' $sel1>"._USERNAME."</option>\n";
    echo "<option value='name' $sel2>"._UREALNAME."</option>\n";
    echo "<option value='user_id' $sel3>"._USERID."</option>\n";
    echo "<option value='user_email' $sel4>"._EMAIL."</option>\n";
    echo "</select></td>\n";
    if ($match == "equal") { $sel1 = ""; $sel2 = " selected"; } else { $sel1 = " selected"; $sel2 = ""; }
    echo "<td align='center'><select name='match'>\n";
    echo "<option value='like' $sel1>"._YA_LIKE."</option>\n";
    echo "<option value='equal' $sel2>"._YA_EQUAL."</option>\n";
    echo "</select></td>\n";
    echo "<td align='center'><input type='text' name='query' value='$query' size='30' maxlength='60'></td>\n";
    echo "<td align='center'><input type='submit' value='"._YA_SEARCH."'></td>\n";
    echo "</tr>\n";
    echo "</form>\n";
    echo "</table>\n";
    CloseTable();
}

function mmain($user) {
    global $stop, $module_name, $redirect, $mode, $t, $f, $ya_config;
    if(!is_user($user)) {
        include("header.php");
        mt_srand ((double)microtime()*1000000);
        $maxran = 10000000;
        $random_num = mt_rand(0, $maxran);
        Show_CNBYA_menu();
        OpenTable();
        echo "<table border=\"0\"><form action=\"modules.php?name=$module_name\" method=\"post\">\n";
        echo "<tr><td>"._NICKNAME.":</td><td><input type=\"text\" name=\"username\" size=\"15\" maxlength=\"25\"></td></tr>\n";
        echo "<tr><td>"._PASSWORD.":</td><td><input type=\"password\" name=\"user_password\" size=\"15\" maxlength=\"20\" AutoComplete=\"off\"></td></tr>\n";
        if (extension_loaded("gd") AND ($ya_config['usegfxcheck'] == 2 OR $ya_config['usegfxcheck'] == 3)) {
            echo "<tr><td>"._YA_SECURITYCODE.":</td><td><img src='modules.php?name=$module_name&op=gfx&random_num=$random_num' border='0' alt='"._YA_SECURITYCODE."' title='"._YA_SECURITYCODE."'></td></tr>\n";
            echo "<tr><td>"._YA_TYPESECCODE.":</td><td><input type=\"text\" name=\"gfx_check\" size=\"10\" maxlength=\"8\" AutoComplete=\"off\"></td></tr>\n";
            echo "<input type=\"hidden\" name=\"random_num\" value=\"$random_num\">\n";
        }
        echo "<input type=\"hidden\" name=\"redirect\" value=$redirect>\n";
        echo "<input type=\"hidden\" name=\"mode\" value=$mode>\n";
        echo "<input type=\"hidden\" name=\"f\" value=$f>\n";
        echo "<input type=\"hidden\" name=\"t\" value=$t>\n";
        echo "<input type=\"hidden\" name=\"op\" value=\"login\">\n";
        echo "<tr><td colspan='2'><input type=\"submit\" value=\""._LOGIN."\">";
        if ($ya_config['useactivate'] == 0) { echo "<br>("._BESUREACT.")\n"; }
        echo "</td></tr></form></table><br>\n\n";
        CloseTable();
        include("footer.php");
    } elseif (is_user($user)) {
        global $c o o k i e;
        c o o k i edecode($user);
        Header("Location: modules.php?name=$module_name&op=userinfo&username=$c o o k i e[1]");
    }
}

function yapagenums($op, $totalselected, $perpage, $max, $find, $what, $match, $query) {
    global $module_name;
    $pagesint = ($totalselected / $perpage);
    $pageremainder = ($totalselected % $perpage);
    if ($pageremainder != 0) {
        $pages = ceil($pagesint);
        if ($totalselected < $perpage) { $pageremainder = 0; }
    } else {
        $pages = $pagesint;
    }
    if ($pages != 1 && $pages != 0) {
        $counter = 1;
        $currentpage = ($max / $perpage);
        echo "<table align='center' border='0' cellpadding='2' cellspacing='2'>\n";
        echo "<tr><form action='modules.php?name=$module_name&file=admin' method='post'>\n";
        echo "<input type='hidden' name='op' value='$op'>\n";
        if ($what > "")   { echo "<input type='hidden' name='what' value='$what'>\n"; }
        if ($find > "")   { echo "<input type='hidden' name='find' value='$find'>\n"; }
        if ($match > "")   { echo "<input type='hidden' name='match' value='$match'>\n"; }
        if ($query > "")   { echo "<input type='hidden' name='query' value='$query'>\n"; }
        echo "<td align='center'><b>"._YA_SELECTPAGE.": </b><select name='min'>\n";
        while ($counter <= $pages ) {
            $cpage = $counter;
            $mintemp = ($perpage * $counter) - $perpage;
            echo "<option value='$mintemp'>$counter</option>\n";
            $counter++;
        }
        echo "</select><b> "._YA_OF." $pages "._YA_PAGES."</b> <input type='submit' value='"._YA_GO."'></td>\n</form>\n</tr>\n";
        echo "</table>\n";
    }
}

function disabled() {
    include("header.php");
    OpenTable();
    echo "<font class='option'>"._ACTDISABLED."</font>";
    CloseTable();
    include("footer.php");
}

function notuser() {
    include("header.php");
    OpenTable();
    echo "<font class='option'>"._MUSTBEUSER."</font>";
    CloseTable();
    include("footer.php");
}

?>
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
polibo06
Site Yöneticisi
Site Yöneticisi





Kayıt: Nov 01, 2006
Mesajlar: 2412
Konum: izmirimi özledim

MesajTarih: 2007-11-21, 03:32:31    Mesaj konusu: Alıntıyla Cevap Gönder

Kod:

<?php

/*********************************************************************************/
/* CNB Your Account: An Advanced User Management System for phpnuke           */
/* ============================================                               */
/*                                                                            */
/* Copyright (c) 2004 by Comunidade PHP Nuke Brasil                           */
/* http://dev.phpnuke.org.br & http://www.phpnuke.org.br                      */
/*                                                                            */
/* Contact author: escudero@phpnuke.org.br                                    */
/* International Support Forum: http://ravenphpscripts.com/forum76.html       */
/*                                                                            */
/* This program is free software. You can redistribute it and/or modify       */
/* it under the terms of the GNU General Public License as published by       */
/* the Free Software Foundation; either version 2 of the License.             */
/*                                                                            */
/*********************************************************************************/
/* CNB Your Account it the official successor of NSN Your Account by Bob Marion   */
/*********************************************************************************/

if (eregi("functions.php", $_SERVER['script_NAME'])) {
    header("Location: ../../../index.php");
    die ();
}

/*************************************************************************************/
// function Show_CNBYA_menu(){ [added by menelaos dot hetnet dot nl]
/*************************************************************************************/
function Show_CNBYA_menu(){
global $stop, $module_name, $redirect, $mode, $t, $f, $ya_config;
OpenTable();
if ($stop) {
echo "<center><font class=\"title\"><b>"._LOGININCOR."</b></font></center>\n";
} else {
echo "<center><font class=\"title\"><b>"._USERREGLOGIN."</b></font></center>\n";
}
CloseTable();
echo "<br>";
OpenTable();
echo "<table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\"><tr><td align=\"left\"><font class=\"content\">\n";
echo "[ <a href=\"modules.php?name=$module_name\">"._LOGIN."</a> \n";
echo "| <a href=\"modules.php?name=$module_name&op=new_user\">"._REGNEWUSER."</a> ]\n";
echo "</td><td align=\"right\"><font class=\"content\">\n";
echo "[ <font class=\"content\"><a href=\"modules.php?name=$module_name&op=pass_lost\">"._PASSWORDLOST."</a> \n";
echo "| <a href=\"modules.php?name=$module_name&op=ShowCookiesRedirect\">"._YA_COOKIEDELALL."</a> ]</font>\n";
echo "</td></tr></table>\n";
CloseTable();
echo "<br>";
}

function ya_userCheck($username) {
    global $stop, $user_prefix, $db, $ya_config;
    // Need to find a way to include extended caracters
    //$username=htmlspecialchars(trim($username));";
    if (strlen($username) > $ya_config['nick_max']) $stop = "<center>"._YA_NICKLENGTH."</center>";
    if (strlen($username) < $ya_config['nick_min']) $stop = "<center>"._YA_NICKLENGTH."</center>";
    if ($ya_config['bad_nick'] > "") {
        $BadNickList = explode("\r\n",$ya_config['bad_nick']);
        for ($i=0; $i < count($BadNickList); $i++) {
            if (eregi($BadNickList[$i], $username)) $stop = "<center>"._NAMERESTRICTED."</center><br>";
        }
    }
    if (strrpos($username,' ') > 0) $stop = "<center>"._NICKNOSPACES."</center>";
    if ($db->sql_numrows($db->sql_query("SELECT username FROM ".$user_prefix."_users WHERE username='$username'")) > 0) $stop = "<center>"._NICKTAKEN."</center><br>";
    if ($db->sql_numrows($db->sql_query("SELECT username FROM ".$user_prefix."_users_temp WHERE username='$username'")) > 0) $stop = "<center>"._NICKTAKEN."</center><br>";
    return($stop);
}

function ya_mail($email, $subject, $message, $from) {
global $ya_config, $adminmail;
   if ($ya_config['servermail'] == 0) {
      if (trim($from) == '') $from  = "From: $adminmail\r\n" . "Reply-To: $adminmail\r\n" . "Return-Path: $adminmail\r\n";
      mail("$email", "$subject", "$message", "$from");
   }
}

function ya_mailCheck($user_email) {
    global $stop, $user_prefix, $db, $ya_config;
    $user_email = strtolower($user_email);
    if ((!$user_email) || ($user_email=="") || (!eregi("^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,6}$",$user_email))) $stop = "<center>"._ERRORINVEMAIL."</center><br>";
    if ($ya_config['bad_mail'] > "") {
        $BadMailList = explode("\r\n",$ya_config['bad_mail']);
        for ($i=0; $i < count($BadMailList); $i++) {
            if (eregi($BadMailList[$i], $user_email)) $stop = "<center>"._MAILBLOCKED." <b>".$BadMailList[$i]."</b></center><br>";
        }
    }
    if (strrpos($user_email,' ') > 0) $stop = "<center>"._ERROREMAILSPACES."</center><br>";
    if ($db->sql_numrows($db->sql_query("SELECT user_email FROM ".$user_prefix."_users WHERE user_email='$user_email'")) > 0) $stop = "<center>"._EMAILREGISTERED."</center><br>";
    if ($db->sql_numrows($db->sql_query("SELECT user_email FROM ".$user_prefix."_users WHERE user_email='".md5($user_email)."'")) > 0) $stop = "<center>"._EMAILNOTUSABLE."</center><br>";
    if ($db->sql_numrows($db->sql_query("SELECT user_email FROM ".$user_prefix."_users_temp WHERE user_email='$user_email'")) > 0) $stop = "<center>"._EMAILREGISTERED."</center><br>";
    return($stop);
}

function ya_passCheck($user_pass1, $user_pass2) {
    global $stop, $ya_config;
    if (strlen($user_pass1) > $ya_config['pass_max']) $stop = "<center>"._YA_PASSLENGTH."</center><br>";
    if (strlen($user_pass1) < $ya_config['pass_min']) $stop = "<center>"._YA_PASSLENGTH."</center><br>";
    if ($user_pass1 != $user_pass2) $stop = "<center>"._PASSWDNOMATCH."</center><br>";
    return($stop);
}

function ya_fixtext($ya_fixtext) {
    if ($ya_fixtext == "") { return $ya_fixtext; }
    $ya_fixtext = stripslashes($ya_fixtext);
    $ya_fixtext = ereg_replace("\'","",$ya_fixtext);
   $ya_fixtext = ereg_replace("&acute;","",$ya_fixtext);
    $ya_fixtext = ereg_replace("\"","&quot;",$ya_fixtext);
    $ya_fixtext = strip_tags($ya_fixtext);
    if (!get_magic_quotes_gpc()) { $ya_fixtext = addslashes($ya_fixtext); }; $ya_fixtext = addslashes($ya_fixtext);
    return $ya_fixtext;
}

// function improved by Peter
function ya_save_config($config_name, $config_value, $config_param=""){
   global $prefix, $db;
   if (!get_magic_quotes_gpc()) { $config_value = addslashes($config_value); }
   if($config_param == 'html') {
      $config_name = check_html($config_name, 'nohtml');
      $config_value = check_html($config_value, 'html');
      $db -> sql_query("UPDATE ".$prefix."_cnbya_config SET config_value='$config_value' WHERE config_name='$config_name'");
   }
   if($config_param == 'nohtml') {
      $config_name = check_html($config_name, 'nohtml');
      $config_value = ya_fixtext(check_html($config_value, 'nohtml'));
      $db -> sql_query("UPDATE ".$prefix."_cnbya_config SET config_value='$config_value' WHERE config_name='$config_name'");
   } else {
      $config_name=check_html($config_name, 'nohtml');
      $config_value = intval($config_value);
      $db -> sql_query("UPDATE ".$prefix."_cnbya_config SET config_value='$config_value' WHERE config_name='$config_name'");
   }
}

function ya_get_configs(){
    global $prefix, $db;
    $configresult = $db->sql_query("SELECT config_name, config_value FROM ".$prefix."_cnbya_config");
    while (list($config_name, $config_value) = $db->sql_fetchrow($configresult)) {
      if (!get_magic_quotes_gpc()) { $config_value = stripslashes($config_value); }
        $config[$config_name] = $config_value;
    }
    return $config;
}

function yac o o k i e($setuid, $setusername, $setpass, $setstorynum, $setumode, $setuorder, $setthold, $setnoscore, $setublockon, $settheme, $setcommentmax) {
    global $ya_config, $db, $prefix;
   
    $ip = $_SERVER["REMOTE_ADDR"];
    $result = $db->sql_query("SELECT time FROM ".$prefix."_session WHERE uname='$setusername'");
    $ctime = time();
    if ($setusername!="") {
       $uname = substr("$setusername", 0,25);
       if ($row = $db->sql_fetchrow($result)) {
         $db->sql_query("UPDATE ".$prefix."_session SET uname='$setusername', time='$ctime', host_addr='$ip', guest='$guest' WHERE uname='$uname'");
       } else {
         $db->sql_query("INSERT INTO ".$prefix."_session (uname, time, host_addr, guest) VALUES ('$uname', '$ctime', '$ip', '$guest')");
       }
   }
   
   $info = base64_encode("$setuid:$setusername:$setpass:$setstorynum:$setumode:$setuorder:$setthold:$setnoscore:$setublockon:$settheme:$setcommentmax");
    if ($ya_config[c o o k i etimelife] != '-') {
     if (trim($ya_config[c o o k i epath]) != '') setc o o k i e("user","$info",time()+"$ya_config[c o o k i etimelife]","$ya_config[c o o k i epath]" );
     else setc o o k i e("user","$info",time()+"$ya_config[c o o k i etimelife]");
   }
   else {
     setc o o k i e("user","$info");
   };
}

function YA_CoolSize($size) {
    $mb = 1024*1024;
    if ( $size > $mb ) {
        $mysize = sprintf ("%01.2f",$size/$mb) . " MB";
    } elseif ( $size >= 1024 ) {
        $mysize = sprintf ("%01.2f",$size/1024) . " Kb";
    } else {
        $mysize = $size . " bytes";
    }
    return $mysize;
}

function YA_MakePass() {
    $makepass = "";
    $strs = "abc2def3ghj4kmn5opq6rst7uvw8xyz9";
    for ($x=0; $x < 8; $x++) {
        mt_srand ((double) microtime() * 1000000);
        $str[$x] = substr($strs, mt_rand(0, strlen($strs)-1), 1);
        $makepass = $makepass.$str[$x];
    }
    return($makepass);
}

function amain() {
    global $ya_config, $module_name, $db, $user_prefix, $bgcolor2, $bgcolor1, $textcolor1, $find, $what, $match, $query;
    $cnbyaversion = $ya_config['version'];

   if (!($ya_config['version'] == '4.4.2')) {
      OpenTable();
      echo "<tr bgcolor='$bgcolor1'>\n";
      echo "<td align='center' colspan='4'><center>"._YA_UPDATEYOUTABLE." 4.4.2"._YA_UPDATEYOUTABLE1." $ya_config[version] </center></td>\n";
      echo "</tr>\n";
      CloseTable();
      echo "<br>\n";
   }

    OpenTable();
    $act = $db->sql_numrows($db->sql_query("SELECT * FROM ".$user_prefix."_users WHERE user_level>'0' AND user_id>'1'"));
    $sus = $db->sql_numrows($db->sql_query("SELECT * FROM ".$user_prefix."_users WHERE user_level='0' AND user_id>'1'"));
    $del = $db->sql_numrows($db->sql_query("SELECT * FROM ".$user_prefix."_users WHERE user_level='-1' AND user_id>'1'"));
    $nor = $db->sql_numrows($db->sql_query("SELECT * FROM ".$user_prefix."_users WHERE user_id>'1'"));
    $pen = $db->sql_numrows($db->sql_query("SELECT * FROM ".$user_prefix."_users_temp"));

    echo "<table align='center' cellpadding='2' cellspacing='2' border='0' width='100%'>\n";

    echo "<tr bgcolor='$bgcolor1'>\n";
    echo "<td align='center' colspan='4'><a href='admin.php'>"._YA_ADMINISTRATION."</a></td>\n";   
    echo "</tr>\n";
    echo "<tr bgcolor='$bgcolor1'>\n";
    echo "<td align='center' width='33%'><a href='modules.php?name=$module_name&file=admin&op=addUser'>"._ADDUSER."</a></td>\n";
    echo "<td align='center' width='33%'><a href='modules.php?name=$module_name&file=admin&op=UsersConfig'>"._USERSCONFIG."</a></td>\n";
    echo "<td align='right'><a href='modules.php?name=$module_name&file=admin&op=listnormal&query=1'>"._ACTIVEUSERS.":</a>";
    echo "<td align='left'>($act)</td>\n";
    echo "</tr>\n";
    echo "<tr bgcolor='$bgcolor1'>";
    echo "<td align='center' width='33%'><a href='modules.php?name=$module_name&file=admin&op=addField'>"._YA_ADDFIELD."</a></td>\n";
    echo "<td align='center' width='33%'><a href='modules.php?name=$module_name&file=admin&op=CookieConfig'>"._COOKIECONFIG."</a></td>\n";
    echo "<td align='right'><a href='modules.php?name=$module_name&file=admin&op=listnormal&query=a'>"._NORMALUSERS.":</a>";
    echo "<td align='left'>($nor)</td>\n";
    echo "</tr>\n";
    echo "<tr bgcolor='$bgcolor1'>\n";
    echo "<td align='center' width='33%'><a href='modules.php?name=$module_name&file=admin&op=searchUser'>"._SEARCHUSERS."</a></td>\n";
    echo "<td align='center' width='33%'>&nbsp;</td>\n";
    echo "<td align='right'><a href='modules.php?name=$module_name&file=admin&op=listnormal&query=-1'>"._DELETEUSERS.":</a>";
    echo "<td align='left'>($del)</td>\n";
    echo "</tr>\n";
    echo "<tr bgcolor='$bgcolor1'>\n";
    echo "<td align='center' width='33%'>&nbsp;</td>\n";
    echo "<td align='center' width='33%'>&nbsp;</td>\n";
    echo "<td align='right'><a href='modules.php?name=$module_name&file=admin&op=listnormal&query=0'>"._SUSPENDUSERS.":</a>";
    echo "<td align='left'>($sus)</td>\n";
    echo "</tr>\n";
    echo "<tr bgcolor='$bgcolor1'>\n";
//  echo "<td align='center' width='33%'><a href='modules.php?name=$module_name&file=admin&op=autoSuspend'>"._YA_CHKAUTOSUS."</a></td>";
    echo "<td align='center' width='33%'><a href='modules.php?name=$module_name&file=admin&op=credits'>"._CREDITS."</a></td>\n";
    echo "<td align='center' width='33%'>[CNB Your Account $cnbyaversion]</td>\n";
    echo "<td align='right'><a href='modules.php?name=$module_name&file=admin&op=listpending'>"._WAITINGUSERS.":</a>";
    echo "<td align='left'>($pen)</td>\n";
    echo "</tr>\n";

    echo "</table>\n";
    CloseTable();
}

function asearch() {
    global $module_name, $bgcolor2, $bgcolor1, $textcolor1, $find, $what, $match, $query;
    OpenTable();
    echo "<table align='center' cellpadding='2' cellspacing='2' border='0' bgcolor='$bgcolor1'>\n";
    echo "<form method='post' action='modules.php?name=$module_name&file=admin'>\n";
    echo "<input type='hidden' name='op' value='listresults'>\n";
    echo "<tr>\n";
    echo "<td align='center'><b>"._YA_FIND.":</b></td>\n";
    echo "<td align='center'><b>"._YA_BY.":</b></td>\n";
    echo "<td align='center'><b>"._YA_MATCH.":</b></td>\n";
    echo "<td align='center'><b>"._YA_QUERY.":</b></td>\n";
    echo "</tr>\n<tr>\n";
    if ($find == "tempUser") { $sel1 = ""; $sel2 = " selected"; } else { $sel1 = " selected"; $sel2 = ""; }
    echo "<td align='center'><select name='find'>\n";
    echo "<option value='findUser'$sel1>"._YA_REGLUSER."</option>\n";
    echo "<option value='tempUser'$sel2>"._YA_TEMPUSER."</option>\n";
    echo "</select></td>\n";
    if ($what == "user_email") {
        $sel1 = ""; $sel2 = ""; $sel3 = ""; $sel4 = " selected";
    } elseif ($what == "user_id") {
        $sel1 = ""; $sel2 = ""; $sel3 = " selected"; $sel4 = "";
    } elseif ($what == "name") {
        $sel1 = ""; $sel2 = " selected"; $sel3 = ""; $sel4 = "";
    } else {
        $sel1 = " selected"; $sel2 = ""; $sel3 = ""; $sel4 = "";
    }
    echo "<td align='center'><select name='what'>\n";
    echo "<option value='username' $sel1>"._USERNAME."</option>\n";
    echo "<option value='name' $sel2>"._UREALNAME."</option>\n";
    echo "<option value='user_id' $sel3>"._USERID."</option>\n";
    echo "<option value='user_email' $sel4>"._EMAIL."</option>\n";
    echo "</select></td>\n";
    if ($match == "equal") { $sel1 = ""; $sel2 = " selected"; } else { $sel1 = " selected"; $sel2 = ""; }
    echo "<td align='center'><select name='match'>\n";
    echo "<option value='like' $sel1>"._YA_LIKE."</option>\n";
    echo "<option value='equal' $sel2>"._YA_EQUAL."</option>\n";
    echo "</select></td>\n";
    echo "<td align='center'><input type='text' name='query' value='$query' size='30' maxlength='60'></td>\n";
    echo "<td align='center'><input type='submit' value='"._YA_SEARCH."'></td>\n";
    echo "</tr>\n";
    echo "</form>\n";
    echo "</table>\n";
    CloseTable();
}

function mmain($user) {
    global $stop, $module_name, $redirect, $mode, $t, $f, $ya_config;
    if(!is_user($user)) {
        include("header.php");
        mt_srand ((double)microtime()*1000000);
        $maxran = 10000000;
        $random_num = mt_rand(0, $maxran);
        Show_CNBYA_menu();
        OpenTable();
        echo "<table border=\"0\"><form action=\"modules.php?name=$module_name\" method=\"post\">\n";
        echo "<tr><td>"._NICKNAME.":</td><td><input type=\"text\" name=\"username\" size=\"15\" maxlength=\"25\"></td></tr>\n";
        echo "<tr><td>"._PASSWORD.":</td><td><input type=\"password\" name=\"user_password\" size=\"15\" maxlength=\"20\" AutoComplete=\"off\"></td></tr>\n";
        if (extension_loaded("gd") AND ($ya_config['usegfxcheck'] == 2 OR $ya_config['usegfxcheck'] == 3)) {
            echo "<tr><td>"._YA_SECURITYCODE.":</td><td><img src='modules.php?name=$module_name&op=gfx&random_num=$random_num' border='0' alt='"._YA_SECURITYCODE."' title='"._YA_SECURITYCODE."'></td></tr>\n";
            echo "<tr><td>"._YA_TYPESECCODE.":</td><td><input type=\"text\" name=\"gfx_check\" size=\"10\" maxlength=\"8\" AutoComplete=\"off\"></td></tr>\n";
            echo "<input type=\"hidden\" name=\"random_num\" value=\"$random_num\">\n";
        }
        echo "<input type=\"hidden\" name=\"redirect\" value=$redirect>\n";
        echo "<input type=\"hidden\" name=\"mode\" value=$mode>\n";
        echo "<input type=\"hidden\" name=\"f\" value=$f>\n";
        echo "<input type=\"hidden\" name=\"t\" value=$t>\n";
        echo "<input type=\"hidden\" name=\"op\" value=\"login\">\n";
        echo "<tr><td colspan='2'><input type=\"submit\" value=\""._LOGIN."\">";
        if ($ya_config['useactivate'] == 0) { echo "<br>("._BESUREACT.")\n"; }
        echo "</td></tr></form></table><br>\n\n";
        CloseTable();
        include("footer.php");
    } elseif (is_user($user)) {
        global $c o o k i e;
        c o o k i edecode($user);
        Header("Location: modules.php?name=$module_name&op=userinfo&username=$c o o k i e[1]");
    }
}

function yapagenums($op, $totalselected, $perpage, $max, $find, $what, $match, $query) {
    global $module_name;
    $pagesint = ($totalselected / $perpage);
    $pageremainder = ($totalselected % $perpage);
    if ($pageremainder != 0) {
        $pages = ceil($pagesint);
        if ($totalselected < $perpage) { $pageremainder = 0; }
    } else {
        $pages = $pagesint;
    }
    if ($pages != 1 && $pages != 0) {
        $counter = 1;
        $currentpage = ($max / $perpage);
        echo "<table align='center' border='0' cellpadding='2' cellspacing='2'>\n";
        echo "<tr><form action='modules.php?name=$module_name&file=admin' method='post'>\n";
        echo "<input type='hidden' name='op' value='$op'>\n";
        if ($what > "")   { echo "<input type='hidden' name='what' value='$what'>\n"; }
        if ($find > "")   { echo "<input type='hidden' name='find' value='$find'>\n"; }
        if ($match > "")   { echo "<input type='hidden' name='match' value='$match'>\n"; }
        if ($query > "")   { echo "<input type='hidden' name='query' value='$query'>\n"; }
        echo "<td align='center'><b>"._YA_SELECTPAGE.": </b><select name='min'>\n";
        while ($counter <= $pages ) {
            $cpage = $counter;
            $mintemp = ($perpage * $counter) - $perpage;
            echo "<option value='$mintemp'>$counter</option>\n";
            $counter++;
        }
        echo "</select><b> "._YA_OF." $pages "._YA_PAGES."</b> <input type='submit' value='"._YA_GO."'></td>\n</form>\n</tr>\n";
        echo "</table>\n";
    }
}

function disabled() {
    include("header.php");
    OpenTable();
    echo "<font class='option'>"._ACTDISABLED."</font>";
    CloseTable();
    include("footer.php");
}

function notuser() {
    include("header.php");
    OpenTable();
    echo "<font class='option'>"._MUSTBEUSER."</font>";
    CloseTable();
    include("footer.php");
}

?>
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
buket_17
Mesaj: 50+
Mesaj: 50+





Kayıt: Dec 08, 2006
Mesajlar: 55

MesajTarih: 2007-12-06, 04:16:55    Mesaj konusu: Alıntıyla Cevap Gönder

oncelikle cok tesekkur ederim zamanini ayirip bna yardim ettigin icin ... Ama... Calismadi yaf :)
yaptigini kopyaLadim ama your account calismadi Very Happy beyaz sayfa gozuktu... ne yaptin biLmiorum ama calisamadi... Yinede Tesekkur Ederim...
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
minol
Mesaj: 100+
Mesaj: 100+





Kayıt: Apr 27, 2007
Mesajlar: 151

MesajTarih: 2007-12-06, 07:25:32    Mesaj konusu: Re: Uye Olurken Turkce Karakter Sorunu Alıntıyla Cevap Gönder

BUKET

Modules/Your_Account/İndex.php i aç

aşağıdakini bul:

Kod:
if ((!$username) || ($username=="") || (ereg("[^a-zA-Z0-9_-]",$username))) $stop = "<center>"._ERRORINVNICK."</center><br>";


tekrar yukarda bulduğunun içinde burayı bul:

("[^a-zA-Z0-9_-]",$username)

yukarda harflerin içine örnek ortada A-Z nin sonuna "ı" ve "I" harfini ekle.

ÖRNEK:[^a-zA-ZıI0-9_-]
eğer olmasa "u" harfini ekle
olmasa "ç" harfini ekle
olmasa "ş" harfini ekle


AŞAĞIDA küçük "ı" ve büyük "I" harfinin eklenmişi var.

BU KODU BUL
Kod:
if ((!$username) || ($username=="") || (ereg("[^a-zA-Z0-9_-]",$username))) $stop = "<center>"._ERRORINVNICK."</center><br>";


AŞAĞIDAKİ İLE DEĞİŞTİR.
Kod:
if ((!$username) || ($username=="") || (ereg("[^a-zA-ZıI0-9_-]",$username))) $stop = "<center>"._ERRORINVNICK."</center><br>";
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
buket_17
Mesaj: 50+
Mesaj: 50+





Kayıt: Dec 08, 2006
Mesajlar: 55

MesajTarih: 2007-12-06, 18:53:18    Mesaj konusu: Alıntıyla Cevap Gönder

dediginizi eve gidince yapicam :) insallah bu ise yarar yaf :) CNB de mi hata yaptik ne anlamadimki?
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
buket_17
Mesaj: 50+
Mesaj: 50+





Kayıt: Dec 08, 2006
Mesajlar: 55

MesajTarih: 2007-12-06, 20:59:06    Mesaj konusu: Alıntıyla Cevap Gönder

buL dedigin sey benim index.php 'de yok ne yazikki : )

ama function'da buLdum.. oraya turkce "i" ekledim fakat uye oL diyip o harfi kulllandigimda hata verdi Sad
buda calismadi : )


En son buket_17 tarafından 2007-12-06, 21:04:39 tarihinde değiştirildi, toplam 1 kere değiştirildi
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
minol
Mesaj: 100+
Mesaj: 100+





Kayıt: Apr 27, 2007
Mesajlar: 151

MesajTarih: 2007-12-06, 21:04:36    Mesaj konusu: Alıntıyla Cevap Gönder

biraz beklersen bakıyorum.
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
buket_17
Mesaj: 50+
Mesaj: 50+





Kayıt: Dec 08, 2006
Mesajlar: 55

MesajTarih: 2007-12-06, 21:05:26    Mesaj konusu: Alıntıyla Cevap Gönder

tabii ama en son msji editledim :) bi bak istersen
bende Cnb var
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
minol
Mesaj: 100+
Mesaj: 100+





Kayıt: Apr 27, 2007
Mesajlar: 151

MesajTarih: 2007-12-06, 21:17:27    Mesaj konusu: Alıntıyla Cevap Gönder

aşağıdakini aç:

ikitane alt alta var functions.php de ikisinide değiştir.
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
minol
Mesaj: 100+
Mesaj: 100+





Kayıt: Apr 27, 2007
Mesajlar: 151

MesajTarih: 2007-12-06, 21:30:00    Mesaj konusu: Alıntıyla Cevap Gönder

ben dede var yeni kurdum CNB modülünü. nicki incirli yaptım kullanıcı adınıda incirli yaptım bende oldu ozmaan cnb modülünde sorun yok sorunu başka yerde ...
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
buket_17
Mesaj: 50+
Mesaj: 50+





Kayıt: Dec 08, 2006
Mesajlar: 55

MesajTarih: 2007-12-06, 21:45:42    Mesaj konusu: Alıntıyla Cevap Gönder

incirli diye olur ama ıncır oLmuor...
alt alta iki tane yok bende.. yukarida ekledim ztn dosyayi... polibo ya yazmistim...
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
minol
Mesaj: 100+
Mesaj: 100+





Kayıt: Apr 27, 2007
Mesajlar: 151

MesajTarih: 2007-12-06, 23:13:20    Mesaj konusu: Re: Uye Olurken Turkce Karakter Sorunu Alıntıyla Cevap Gönder

tamam ozmaan sende sessiz harleri yani küçük [ı] ve büyük [I] harflerini ekliycektin.. sesli harfleri(i ve İ) değil yani.
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
buket_17
Mesaj: 50+
Mesaj: 50+





Kayıt: Dec 08, 2006
Mesajlar: 55

MesajTarih: 2007-12-08, 06:26:38    Mesaj konusu: Alıntıyla Cevap Gönder

yaf zaten turkce karakter.. [ı] ve büyük [I] ekLedim :)
oLmadiki ...
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
demirsah
Mesaj: 1+
Mesaj: 1+





Kayıt: Oct 30, 2007
Mesajlar: 10

MesajTarih: 2008-01-10, 12:00:07    Mesaj konusu: Re: Uye Olurken Turkce Karakter Sorunu Alıntıyla Cevap Gönder

ARKADAŞLAR SORUN FORUMDA ÇÖZÜLMÜŞ ZATEN
http://eski.netopsiyon.com/modules.php?name=Forums&file=viewtopic&p=188980
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
buket_17
Mesaj: 50+
Mesaj: 50+





Kayıt: Dec 08, 2006
Mesajlar: 55

MesajTarih: 2008-01-20, 05:26:58    Mesaj konusu: Alıntıyla Cevap Gönder

demirsah'cim.. o linki poliboda verdi ama ise yaramadigini beLLi etmistim :)

bu arada bu sorunu hala halledemedim Sad huehue
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
demirsah
Mesaj: 1+
Mesaj: 1+





Kayıt: Oct 30, 2007
Mesajlar: 10

MesajTarih: 2008-01-29, 22:26:38    Mesaj konusu: Re: Uye Olurken Turkce Karakter Sorunu Alıntıyla Cevap Gönder

Bu arada sitedeki isimler türkçe ok ama bende flashchat var orada üyelikler türkçe çıkmıyor Evil or Very Mad Evil or Very Mad değişik karekterler oluyor delireceğim YARDIM eden olursa sevinirim
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
Önceki mesajları göster:   
Bu forum kilitlendi: mesaj gönderemez, cevap yazamaz ya da başlıkları değiştiremezsiniz   Bu başlık kilitlendi: mesajları değiştiremez ya da cevap yazamazsınız    Netopsiyon Online Forum Ana Sayfa -> Php-Nuke -> Php Nuke Modülleri Tüm zamanlar GMT + 3 Saat
Sayfaya git 1, 2  Sonraki
1. sayfa (Toplam 2 sayfa)

 
Geçiş Yap:  
Bu forumda yeni başlıklar açamazsınız
Bu forumdaki başlıklara cevap veremezsiniz
Bu forumdaki mesajlarınızı değiştiremezsiniz
Bu forumdaki mesajlarınızı silemezsiniz
Bu forumdaki anketlerde oy kullanamazsınız

Benzer Konular

Başlık Yazar Forum Cevaplar Tarih
Yeni mesaj yok Mavimsn_C46 temasına haber ekleme sorunu anzerhoneybee Php Nuke Tema Paylaşımları 1 2010-07-19, 01:30:20 Son Mesajı Görüntüle
Yeni mesaj yok Türkçe KArakter Hatası :S qombat Php Nuke Sorunlarınız 7 2010-07-16, 16:41:55 Son Mesajı Görüntüle
Yeni mesaj yok Resimli Menü Block Sorunu populerdeli Php Nuke Sorunlarınız 9 2010-07-11, 18:59:34 Son Mesajı Görüntüle
Yeni mesaj yok Yeni Üyelik Aktivasyon Linki Sorunu P... hakan10 Php Nuke Modülleri 6 2010-07-11, 03:49:50 Son Mesajı Görüntüle
Yeni mesaj yok Center Block Sorunu populerdeli Php Nuke Sorunlarınız 3 2010-07-09, 22:39:27 Son Mesajı Görüntüle

Copyright © 2002-2024 Netopsiyon Bilişim Teknolojileri San. Tic. Ltd.Şti. - Bütün hakları saklıdır!
Bu site Netopsiyon.com.tr Sunucularında Barındırılmaktadır.
Netopsiyon Bilişim Teknolojileri San. Tic. Ltd.Şti. Netopsiyon Copyright