• 03-08-2014, 21:46:50
    #1
    Üyeliği durduruldu
    Whmcs kırmızı temada ek sayfa açma, ve sayfaları entegre etme işlemi nasıl yapılıyor bilen arkadaşlar yardımcı olabilir mi?
  • 03-08-2014, 21:50:24
    #2
    Reveloper
    kullandığınız temanın adını ayarlardan bulun örnek:default

    ftp den

    templates/default içerisine girip

    yenisayfa.tpl diye bir dosya açın içerisine "DENEME" yazın.

    sonra whmcs kurulu ana dizine gelin içerisinde

    yenisayfa.php diye bir dosya oluşturup aşağıdaki kodu yapıştırın

    <?php 
      
     define("CLIENTAREA",true); 
     //define("FORCESSL",true); // Uncomment to force the page to use https:// 
      
     require("init.php"); 
      
     $ca = new WHMCS_ClientArea(); 
      
     $ca->setPageTitle("Yeni Sayfa"); 
      
     $ca->addToBreadCrumb('index.php',$whmcs->get_lang('globalsystemname')); 
     $ca->addToBreadCrumb('yenisayfa.php','Yeni Sayfa'); 
      
     $ca->initPage(); 
      
     //$ca->requireLogin(); // Uncomment this line to require a login to access this page 
      
     # To assign variables to the template system use the following syntax. 
     # These can then be referenced using {$variablename} in the template. 
      
     $ca->assign('variablename', $value); 
      
     # Check login status 
     if ($ca->isLoggedIn()) { 
      
       # User is logged in - put any code you like here 
      
       # Here's an example to get the currently logged in clients first name 
      
       $result = mysql_query("SELECT firstname FROM tblclients WHERE id=".$ca->getUserID()); 
       $data = mysql_fetch_array($result); 
       $clientname = $data[0]; 
      
       $ca->assign('clientname', $clientname); 
      
     } else { 
      
       # User is not logged in 
      
     } 
      
     # Define the template filename to be used without the .tpl extension 
      
     $ca->setTemplate('yenisayfa'); 
      
     $ca->output(); 
      
     ?>
  • 03-08-2014, 22:34:23
    #3
    Üyeliği durduruldu
    Kirmizi tema derken ?
  • 03-08-2014, 22:36:25
    #4
    Üyeliği durduruldu
    WHMCSX adlı üyeden alıntı: mesajı görüntüle
    Kirmizi tema derken ?
    bu temadan bahsetmiş sanırım
  • 03-08-2014, 22:45:21
    #5
    Üyeliği durduruldu
    Musterimiz degil varez tema buyuk ihtimalle. Musterimiz olsa bize ticket acardi.
    İncelemeye aldik.
  • 04-08-2014, 20:44:50
    #6
    Üyeliği durduruldu
    Lisanslı piyasada bir tek sen mi satıyorsun temayı?
  • 04-08-2014, 21:16:10
    #7
    Tema whmcsx&whmcstr ye aittir. Tema elbette bize ait ve tek satisini biz yapiyoruz.
    Baska satan biri var ise varez dir ve siz varez kullaniyorsunuz.