• 26-08-2007, 15:32:29
    #1
    Kimlik doğrulama veya yönetimden onay bekliyor.
    ajax online user Code Veren Site Varmı
  • 26-08-2007, 16:56:52
    #3
    Yok hocam Alttakileri Aynen uyguluyorum Olmuyor maalesef





    Installation Guide
    ------------------------------------------------------------------------
    1. Upload doc.php, online.txt, and the js folder to the location where
    the script will be running.



    2. Open the file your script will be running on, eg. index.php and
    place the following code in your headers (between <head> and </head>):

    Alıntı
    <script src="js/jquery.js" type="text/javascript"></script>
    <script src="js/spy.js" type="text/javascript"></script>

    <script type="text/javascript" charset="utf-8">
    $(document).ready(function() {
    $('#doc').spy({ limit: 1, fadeLast: 0, ajax: 'doc.php', timeout: 3000});
    });
    </script>

    3. Then insert this code where you would like your counter to be displayed:

    Alıntı
    <div id="doc" style="font-family: Arial, Helvetica, sans-serif; font-size: 12px">
    <div id="online"><strong>online</strong>: 0</div>
    </div>

    Now save your file and enjoy!
  • 26-08-2007, 17:12:12
    #4
    Misafir
    online.txt bu dosyaya yazma izni verdinmi ?
  • 26-08-2007, 17:15:10
    #5
    evet 777
    benim Dosya uzantılarm Php değil TPL bundan dolayı olabilirmi
  • 26-08-2007, 17:19:53
    #6
    Misafir
    evet tpl ye değilde direk index.php dosyana include et.
  • 26-08-2007, 17:23:47
    #7
    şöylemi diyosun yani..

    INDEX.PHP ye BU KODLARI
    Alıntı
    <script src="js/jquery.js" type="text/javascript"></script>
    <script src="js/spy.js" type="text/javascript"></script>

    <script type="text/javascript" charset="utf-8">
    $(document).ready(function() {
    $('#doc').spy({ limit: 1, fadeLast: 0, ajax: 'doc.php', timeout: 3000});
    });
    </script>

    Sayfamın Gösterildiği MAIN.TPL ye de
    Alıntı
    <div id="doc" style="font-family: Arial, Helvetica, sans-serif; font-size: 12px">
    <div id="online"><strong>online</strong>: 0</div>
    </div>
    Bu kodları...
  • 26-08-2007, 17:26:17
    #8
    Misafir
    dene bakalım
  • 26-08-2007, 17:49:18
    #9
    Maalesef. Bu Benim Siteye Yaramadı...

    Başka Bi Alternatif Var mı Acaba..