1
senzaciona
istats problem
  • 2005/3/11 17:47

  • senzaciona

  • Just popping in

  • Posts: 64

  • Since: 2005/3/6 1


i add

.statstable { margin:0px; padding:0px; width:auto; font-size: small; font-weight: normal;}
.stats { vertical-align: bottom; width:625px; margin:0; border: 0;}
.statsimg { vertical-align: bottom; width:25px; text-align:center;}
.statsimgweekday { vertical-align: bottom; font-size: small; font-weight: normal;}
.statswords { border-width: 0; font-size: x-small; background-color: transparent; font-weight: normal; text-align:center; width:25px;}
.statsfore { width: 30%; padding:2px;}
.statsdiv { text-align:center; padding:0px;}

to *.css files and in theme.html i add this





<{if $xoops_isadmin != 1}>

<{/if}>




but stats not working. Why not counting my logins.

2
jdseymour
Re: istats problem

In this:

Quote:
"http://YOUR_XOOPS_SITE_URL/


Did you change that to your site URL?

3
senzaciona
Re: istats problem
  • 2005/3/11 18:15

  • senzaciona

  • Just popping in

  • Posts: 64

  • Since: 2005/3/6 1


yes i test in localhost so i write localhost

4
jdseymour
Re: istats problem

So how are you testing exactly. By default istats sets a cookie not to recount the same computer for a certain length of time.

5
senzaciona
Re: istats problem
  • 2005/3/11 18:36

  • senzaciona

  • Just popping in

  • Posts: 64

  • Since: 2005/3/6 1


but i even don't have one record for istats.

all is 0

you can look at http://mitjab.ibfo/xoops-2.0.9.2

6
dilbert166
Re: istats problem
  • 2005/3/11 18:39

  • dilbert166

  • Just popping in

  • Posts: 74

  • Since: 2004/6/4 1


maybe you´re testing as admin? the script is not called, when you´re in the admin group.

7
senzaciona
Re: istats problem
  • 2005/3/11 18:48

  • senzaciona

  • Just popping in

  • Posts: 64

  • Since: 2005/3/6 1


sorry my adress is http://mitjab.info/xoops-2.0.9.2

and it not working even if i loggedout and i am anonymous user

8
sylvainb
Re: istats problem
  • 2005/3/11 19:19

  • sylvainb

  • Not too shy to talk

  • Posts: 168

  • Since: 2003/2/11


Hello senzaciona,

I can't see the javascript code which must be included into your theme.html file (when I edited your website source).
If this javascript isn't present, the module cannot function.

If you're certain that you've added it into your theme.html file, try to erase all files (or at least your *theme.html file) into the templates_c folder of your XOOPS website.

Now, for those which for some time have problems with this module whereas it functioned correctly until now, could you try to see if your webhoster has implemented the mod_security into the apache configuration?
If it is the case, this mod is breaking the module (the url calling by the javascript code is considered as an xss request). I'm actually working on this problem!

9
senzaciona
Re: istats problem
  • 2005/3/11 19:41

  • senzaciona

  • Just popping in

  • Posts: 64

  • Since: 2005/3/6 1














<{$xoops_sitename}> - <{$xoops_pagetitle}>




<{$xoops_module_header}>











 








<{if $xoops_showrblock == 1}>



<{/if}>




<{foreach item=block from=$xoops_lblocks}>
<{include file="default/theme_blockleft.html"}>
<{/foreach}>





<{if $xoops_showcblock == 1}>











<{foreach item=block from=$xoops_ccblocks}>
<{include file="default/theme_blockcenter_c.html"}>
<{/foreach}>





<{foreach item=block from=$xoops_clblocks}>
<{include file="default/theme_blockcenter_l.html"}>
<{/foreach}>





<{foreach item=block from=$xoops_crblocks}>
<{include file="default/theme_blockcenter_r.html"}>
<{/foreach}>




<{/if}>



<{$xoops_contents}>



<{foreach item=block from=$xoops_rblocks}>
<{include file="default/theme_blockright.html"}>
<{/foreach}>








<{if $xoops_isadmin != 1}>

<{/if}>




is that ok

10
sylvainb
Re: istats problem
  • 2005/3/11 20:44

  • sylvainb

  • Not too shy to talk

  • Posts: 168

  • Since: 2003/2/11


Again, going to visit your site (http://mitjab.info/xoops-2.0.9.2/modules/news/) I can't see the javascript into the website source.

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml" xml:lang="sl" lang="sl">
<
head>
<
meta http-equiv="content-type" content="text/html; charset=ISO-8859-2" />
<
meta http-equiv="content-language" content="sl" />
<
meta name="robots" content="index,follow" />
<
meta name="keywords" content="news, technology, headlines, xoops, xoop, nuke, myphpnuke, myphp-nuke, phpnuke, SE, geek, geeks, hacker, hackers, linux, software, download, downloads, free, community, mp3, forum, forums, bulletin, board, boards, bbs, php, survey, poll, polls, kernel, comment, comments, portal, odp, open, source, opensource, FreeSoftware, gnu, gpl, license, Unix, *nix, mysql, sql, database, databases, web site, weblog, guru, module, modules, theme, themes, cms, content management" />
<
meta name="description" content="XOOPS is a dynamic Object Oriented based open source portal script written in PHP." />
<
meta name="rating" content="general" />
<
meta name="author" content="XOOPS" />
<
meta name="copyright" content="Copyright © 2001-2003" />
<
meta name="generator" content="XOOPS" />
<
title>Mitja Bstran Novicetitle>
<
link href="http://localhost/xoops-2.0.9.2/favicon.ico" rel="SHORTCUT ICON" />
<
link rel="stylesheet" type="text/css" media="screen" href="http://localhost/xoops-2.0.9.2/xoops.css" />
<
link rel="stylesheet" type="text/css" media="screen" href="http://localhost/xoops-2.0.9.2/themes/default/styleNN.css" />



<
script type="text/javascript">

script>
head>
<
body>
  <
table cellspacing="0">
    <
tr id="header">
      <
td id="headerlogo"><a href="http://localhost/xoops-2.0.9.2/"><img src="http://localhost/xoops-2.0.9.2/themes/default/logo.gif" width="150" height="80" alt="" />a>td>
      <
td id="headerbanner"><div><a href="http://localhost/xoops-2.0.9.2/banners.php?op=click&bid=1" target="_blank"><img src="http://localhost/xoops-2.0.9.2/images/banners/xoops_banner.gif" alt="" />a>div>td>
    tr>

    <
tr>
      <
td id="headerbar" colspan="2">&nbsp;td>
    tr>
  table>

  <
table cellspacing="0">
    <
tr>
      <
td id="leftcolumn">
        

                  <
div class="blockTitle">Prijavadiv>
<
div class="blockContent"><form style="margin-top: 0px;" action="http://localhost/xoops-2.0.9.2/user.php" method="post">
    
Uporabniško ime: <br />
    <
input type="text" name="uname" size="12" value="" maxlength="25" /><br />
    
Geslo: <br />
    <
input type="password" name="pass" size="12" maxlength="32" /><br />
    
    
<input type="hidden" name="xoops_redirect" value="/xoops-2.0.9.2/modules/news/" />

    <
input type="hidden" name="op" value="login" />
    <
input type="submit" value="Prijava" /><br />
    
form>
<
a href="http://localhost/xoops-2.0.9.2/user.php#lost">Ste izgubili geslo?a>
<
br /><br />
<
a href="http://localhost/xoops-2.0.9.2/register.php">Registriraj se!a>div>                  <div class="blockTitle">Glavni menidiv>
<
div class="blockContent"><table cellspacing="0">
  <
tr>
    <
td id="mainmenu">

      <
class="menuTop" href="http://localhost/xoops-2.0.9.2/">Domova>
      
            <
class="menuMain" href="http://localhost/xoops-2.0.9.2/modules/articles/">&#268;lanki
                    
<class="menuMain" href="http://localhost/xoops-2.0.9.2/modules/contact/">Kontaktirajte mea>
                    <
class="menuMain" href="http://localhost/xoops-2.0.9.2/modules/mylinks/">Spletne povezavea>
                    <
class="menuMain" href="http://localhost/xoops-2.0.9.2/modules/news/">Novicea>

                  <
class="menuSub" href="http://localhost/xoops-2.0.9.2/modules/news/submit.php">Pošlji novicoa>
                  <
class="menuSub" href="http://localhost/xoops-2.0.9.2/modules/news/archive.php">Arhiva>
                    <
class="menuMain" href="http://localhost/xoops-2.0.9.2/modules/xoopspoll/">Anketea>
                    <
class="menuMain" href="http://localhost/xoops-2.0.9.2/modules/istats/">Statistike obiskova>
                    
    td>
  tr>

table>div>                  <div class="blockTitle">Števec obiskovdiv>
<
div class="blockContent"><script language="JavaScript" src='http://localhost/xoops-2.0.9.2/modules/count/index.php?id=count&s=1'>script>div>                

      td>

      <
td id="centercolumn">

        
        
        <
table cellspacing="0">

          <
tr>
            <
td id="centerCcolumn" colspan="2">

            
                        

            td>
          tr>
          <
tr>
            <
td id="centerLcolumn">

            
                          

            td><td id="centerRcolumn">

            
                              <
div style="padding: 0px 5px 0px 0px;">
  <
fieldset>
    <
legend class="blockTitle">Nedavni &#269;lanki

    
<div class="blockContent"><ul>
    <
li> <a href="http://localhost/xoops-2.0.9.2/modules/articles/article.php?id=2">MySQL ukaziali>
    <
li> <a href="http://localhost/xoops-2.0.9.2/modules/articles/article.php?id=1">Namestitev Apache...ali>
ul>div>
  fieldset>
div>                          

            td>
          tr>
        table>

                

        <
div id="content">
            <
div style="text-align: center;">
    <
form name="form1" action="index.php" method="get">

    <
select name='storytopic'>
<
option value='0'>----option>
<
option value='1'>Svet ra&#269;unalništva
select>
 <
select name="storynum"><option value="5" selected="selected">5option><option value="10">10option><option value="15">15option><option value="20">20option><option value="25">25option><option value="30">30option>select> <input type="submit" value="Pojdi!" />form>
  div>


  <
div class="item">
  <
div class="itemHead"><span class="itemTitle"><a href='http://localhost/xoops-2.0.9.2/modules/news/index.php?storytopic=1'>Svet ra&#269;unalništva :  PostgreSQL 8.0

  <div class="itemInfo">
    <
span class="itemPoster">Avtor <a href='http://localhost/xoops-2.0.9.2/userinfo.php?uid=1'>senzacionalea>span> <span class="itemPostDate">ob 7.3.2005 9:43:41span> (<span class="itemStats">1 prebranospan>)
  div>

  <
div class="itemBody">
    <
a href='http://localhost/xoops-2.0.9.2/modules/news/index.php?storytopic=1'><img src='http://localhost/xoops-2.0.9.2/modules/news/images/topics/favicon.gif' alt='Svet računalništva' hspace='10' vspace='10' align='right' />a>
    <
class="itemText"><p align=justify><br />Izšla je nova razli&#269;ica podatkovne baze PostgreSQL, ki nosi oznako 8.0. Prinaša obilico novosti: dolgo pričakovano podporo za operacijski sistem Windows, možnost uporabe "savepointov", ki omogočajo razveljavitev samo določenega dela transakcije, na področju varovanja pred izgubo podatkov je na voljo "point-in-time recovery", za razdelitev podatkovne baze na več diskov pa podpora za podatkovne prostore. Prav tako je povečana zmogljivost ob visokih obremenitvah; precejšen del aplikacij pa je tudi poslovenjen.Več informacij je na voljo na postgresql.org in na pg-si.com.


  
div>
  <
div class="itemFoot">

    <
span class="itemAdminLink">span> <span class="itemPermaLink"><a href="http://localhost/xoops-2.0.9.2/modules/news/article.php?storyid=2">Komentar?a>span>
  div>
div>  <br />
  <
div class="item">
  <
div class="itemHead"><span class="itemTitle"><a href='http://localhost/xoops-2.0.9.2/modules/news/index.php?storytopic=1'>Svet ra&#269;unalništva
 : Microsoft trdi, da je varnost Linuxa mit

  <div class="itemInfo">

    <
span class="itemPoster">Avtor <a href='http://localhost/xoops-2.0.9.2/userinfo.php?uid=1'>senzacionalea>span> <span class="itemPostDate">ob 6.3.2005 18:21:18span> (<span class="itemStats">2 prebranospan>)
  div>
  <
div class="itemBody">
    <
a href='http://localhost/xoops-2.0.9.2/modules/news/index.php?storytopic=1'><img src='http://localhost/xoops-2.0.9.2/modules/news/images/topics/favicon.gif' alt='Svet računalništva' hspace='10' vspace='10' align='right' />a>
    <
class="itemText"><p align="justify"><br />Predstavnik Microsofta v Veliki BritanijiNick McGrathje pred dnevi medije obvestil <a href="http://www.vnunet.com/news/1160853/">o grozni napakia>, ki jo dela strokovna javnost v zvezi s poudarjanjem pregovorno varnega Linux okolja v primerjavi z Windows okoljemPredvsem izpostavi dejstvoda v svetu Linuxa nih&#269;e ni odgovoren za napake, ki se pojavijo v jedru. Tako Red Hat ne more sprejeti odgovornosti za te napake, saj sam ne programira jedra, ampak pripravlja le distribucijo. (Pri tem pozablja, da Red Hat sprotno popravlja odkrite napake in ima lasten sistem za zagotavljanje kakovosti za stranke, ki takšno podporo potrebujejo.)Prav tako ga moti kopica dejstev, ki nimajo nič z varnostjo Linuxa. Prepričan je, da Linux ni pripravljen za t.i. mission-critical naloge, pri katerih si ne moremo privoščiti niti sekundnega izpada. To argumentira z dejstvi, da ni enotnega sistema za prijavo (Microsoft ima .Net Passport) in pomanjkanje enotnega razvojnega okolja.Vsekakor je vrhunec prispevka njegova omemba dejstva, da "odprtokodni razvojni model ustvarja varnostne probleme že v samem bistvu." Kakšni pa so ti problemi, nam žal v prispevku ne uspe razkriti.



  
div>
  <
div class="itemFoot">
    <
span class="itemAdminLink">span> <span class="itemPermaLink"><a href="http://localhost/xoops-2.0.9.2/modules/news/article.php?storyid=1">Komentar?a>span>
  div>
div>  <br />


<
div style="text-align: right; margin: 10px;">div>

        div>

      td>

      
      <
td id="rightcolumn">
        
                  <
div class="blockTitle">&#269;i

<div class="blockContent"><form style="margin-top: 0px;" action="http://localhost/xoops-2.0.9.2/search.php" method="get">
  <
input type="text" name="query" size="14" /><input type="hidden" name="action" value="results" /><br /><input type="submit" value="Išči" />
form>
<
a href="http://localhost/xoops-2.0.9.2/search.php">Napredno iskanjea>div>                  <div class="blockTitle">Prisotni uporabnikidiv>

<
div class="blockContent"><b>2buporabnikov povezanih (<b>1buporabnikov brska po <b>Noviceb>)<br /><br />&#268;lani: 0Gosti: 2 več...
                  Novi člani

<div class="blockContent"><table cellspacing="1" class="outer">
      <
tr class="even" valign="middle">

      <
td align="center">
            <
a href="http://localhost/xoops-2.0.9.2/userinfo.php?uid=2">Juventusa>
      td>
      <
td align="center">7.3.2005td>
    tr>
      <
tr class="odd" valign="middle">
      <
td align="center">
            <
a href="http://localhost/xoops-2.0.9.2/userinfo.php?uid=1">senzacionalea>

      td>
      <
td align="center">6.3.2005td>
    tr>
  table>div>                  <div class="blockTitle">Anketediv>
<
div class="blockContent"><form style="margin-top: 1px;" action="http://localhost/xoops-2.0.9.2/modules/xoopspoll/index.php" method="post">
<
table class="outer" cellspacing="1">
  <
tr>
    <
th align="center" colspan="2"><input type="hidden" name="poll_id" value="1" />Kdo bo letos osvojil Scudeto?th>

  tr>

    <
tr class="even">
    <
td align="center"><input type="radio" name="option_id" value="1" />td>
    <
td align="left">Juventustd>
  tr>
    <
tr class="odd">
    <
td align="center"><input type="radio" name="option_id" value="2" />td>
    <
td align="left">Milantd>

  tr>
    <
tr class="even">
    <
td align="center"><input type="radio" name="option_id" value="3" />td>
    <
td align="left">Fiorentinatd>
  tr>
    <
tr class="odd">
    <
td align="center"><input type="radio" name="option_id" value="4" />td>
    <
td align="left">Laziotd>

  tr>
    <
tr class="even">
    <
td align="center"><input type="radio" name="option_id" value="5" />td>
    <
td align="left">Laziotd>
  tr>
    <
tr class="odd">
    <
td align="center"><input type="radio" name="option_id" value="6" />td>
    <
td align="left">Parmatd>

  tr>
    <
tr class="even">
    <
td align="center"><input type="radio" name="option_id" value="7" />td>
    <
td align="left">Intertd>
  tr>
    <
tr class="odd">
    <
td align="center"><input type="radio" name="option_id" value="8" />td>
    <
td align="left">Kdo drugitd>

  tr>
  
  <
tr>
    <
td class="foot" align="center" colspan="2"><input type="submit" value="Glasuj!" /> <input type="button" value="Rezultati" onclick="location='http://localhost/xoops-2.0.9.2/modules/xoopspoll/pollresults.php?poll_id=1'" />td>
  tr>
table>
form>
div>                
      td>

      
    tr>

  table>

  <
table cellspacing="0">
    <
tr id="footerbar">
      <
td><a href="https://xoops.org/" target="_blank"><img src="http://localhost/xoops-2.0.9.2/themes/default/poweredby.gif" alt="" />a>td>
    tr>
  table>
body>
html>

Login

Who's Online

174 user(s) are online (104 user(s) are browsing Support Forums)


Members: 0


Guests: 174


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits