1
sylvainb
Re: iStats without Javascript?
  • 2005/3/11 20:50

  • sylvainb

  • Not too shy to talk

  • Posts: 168

  • Since: 2003/2/11


You're right, they are not counted.



2
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>



3
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!



4
sylvainb
Re: I-Stats not counting issue
  • 2004/12/8 6:23

  • sylvainb

  • Not too shy to talk

  • Posts: 168

  • Since: 2003/2/11


Hello Rhomal

I don't have enough time to resume all I said to Jensclas in the other THREAD...sorry. (I can't edit my previous post to correct the link!!??)

I see that you have put the portion of code but I introduced an error and it shhould be:
<strong><small>
<
a href="http://www.4thefort.com">Anothera> <a href="https://xoops.org">Xoopsa> <a href="http://www.4thefort.com">Theme from 4thefort FortChaosa>small>strong>center>
<
hr>
<
script type="text/Javascript">

script>
body>
html>

Instead of what the xoops2_install.txt said. (Did you noticed the difference -> istat.src = "<{$xoops_url}>/modules/istats/include/counter.php?.... instead of -> istat.src = "http://<{$xoops_url}>/modules/istats/include/counter.php?....)

Again, sorry for the inconvenience.

Kind Regards

[EDIT]
I have just seen that you have already corrected my mistake and that istats is now functional onto your website.
[/EDIT]



5
sylvainb
Re: I-Stats not counting issue
  • 2004/12/7 20:46

  • sylvainb

  • Not too shy to talk

  • Posts: 168

  • Since: 2003/2/11


Hello Rhomal

You emailed me the same question like the one in your first post and answered you by giving a link to another post on xoops.org...this post.

Did you received it?
Is there something you don't understand?
I'm not joking about you or any others but, since Jensclas's posts, I realize that the xoops2_install.txt seems to not be as clear as I thought.

So if you need more explainations, I'll be yours.

P.S: As soon as I will have enough time, I will add a FAQ section onto my website about "all" the modules that I adapted.

Kind Regards



6
sylvainb
Re: Two problems with eCal
  • 2004/12/6 21:19

  • sylvainb

  • Not too shy to talk

  • Posts: 168

  • Since: 2003/2/11


Quote:

hawkeyegop wrote:

That would be awesome, I would appreciate that. My email address is in my profile. Also, if you had any additional documentation I'd appreciate that as well!


I can't see your email address in your profile.
Maybe you could PM it to me.

Also I can tell you it is not a diretory permission problem but an echo with $variable['index'] that should look echo"...{$variable['index']}... (or something like this if I remember it well).

There are also some variables that are not Register_globals=Off compliant, the reason why some actions are not authorized... etc..

I don't understand how this module could be put on line in this state (I was not to be awaked)



7
sylvainb
Re: Two problems with eCal
  • 2004/12/6 19:43

  • sylvainb

  • Not too shy to talk

  • Posts: 168

  • Since: 2003/2/11


Hello Hawkeyegop

I remember to have debuging it for the same problems onto XOOPS FR.
Unfortunately the links where all are the posts seems to be broken.

If you want I could send it to you by email.



8
sylvainb
Re: I-Stats not counting
  • 2004/12/2 22:50

  • sylvainb

  • Not too shy to talk

  • Posts: 168

  • Since: 2003/2/11


Hello Jenny

I'm really confused because I introduced an error into the javascript code you have to add into your theme.html file.

If you use the first option and so decide to add the code into the theme.html, you have to add this before the closing tag :
<script type="text/Javascript">
    
    
script>

Did you see the difference? There isn't the 'http://' before the smarty variable (istat.src = "<{$xoops_url}>....) because it already has it!

Now my second error is with the option two.
I haven't tested before the possibilty of adding the same javascript code into the meta/footer section of xoops!
So I just realize that <{$xoops_url}> is not interpreted.
The code you have to add with the option two is:
<script type="text/Javascript">
          
          
script>


I don't know what to say more...maybe nothing and rather than saying other silly things, it would be better for everybody that I go to sleep.

Now to answer to your several questions:

1 - Because rather than using files into the templates_c folder (a cache) XOOPS will always going to read your theme files into your theme folder and each files will need to be parsed by smarty (more time consuming). (Others can tell me if I'm wrong, I will take no offences. )

2 - You can do such things with your site opened.

3 - You can do this without risks, each file will be rebuilt at the time of its next call.
But if you are really afraid, you can seek only the file(s) *theme.html and erase them/it.
Please note that you don't need to do this if you turn to Yes the option 'Update module template...'.

I hope that this time will be the maid for you and istats and that you will see finally this module functioning.


Sylvain (too tired )



9
sylvainb
Re: help with php config between MDK10 and FC3
  • 2004/12/2 21:48

  • sylvainb

  • Not too shy to talk

  • Posts: 168

  • Since: 2003/2/11


Hello Nuker

Maybe I'm totally wrong but I had some similar problems with my apache server and fedora core 3 and not with mandrake.

The thing was that apache was unabled to write or to read some files even if the good permissions were there.

While making research, I was directed towards protection via SELinux included in fedora.
So I had disabled it for the httpd process and now all is fine.



10
sylvainb
Re: I-Stats not counting
  • 2004/12/1 21:49

  • sylvainb

  • Not too shy to talk

  • Posts: 168

  • Since: 2003/2/11


Hello Jensclas

You've given me a simple but efficient lesson on how to make a good support.

I'm sorry not to have written that but rather to realize that the xoops2_install.txt is not clear enough for newbies.

I want to also add that if you had mentioned that research that you had made had not been effective to answer your questions, I would probably not have begun my response in this way.

But what is fact is made then pass to your problem.


First option

You were right when you had put the javascript code like this:
table>
<
div id="footer"><{$xoops_footer}>div>
<
script type="text/Javascript">

script>

body>
html>


Now I can see that you have the same code between the and tags:

script>
head>
 <
script type="text/Javascript">
          
          
script>

<
body>
<
table cellspacing="0" id="top">


Don't forget that all changes into your theme.html file will not take effect until you have done the last point I mentioned:
Quote:

- Now you have two choices, you can delete all files into your templates_c folder or you can go into the admin section of XOOPS --> system admin -> Preferences -> General settings -> then set Update module template .html files from themes/your theme/templates directory? to yes.

Go to your Home page and if you edit your website source you should be able to view the code.
Don't forget to set the above option back to no after you are sure that your templates are updated.



Second option

By the way, I realize that your theme is using a usefull smarty variable ->> <{$xoops_footer}>.

So you can try another thing:
Go to System Admin -> Preferences -> Meta Tags and Footer and click [Edit].
There, copy the javascript code:
<script type="text/Javascript">

script>

and paste it into the Footer section below what already exist so you should have this:
Powered by XOOPS 2.0 © 2001-2003 <a href="https://xoops.org/" target="_blank">The XOOPS Projecta>
<
script type="text/Javascript">

script>


It'll be simpler but if you change your theme and if it doesn't have the smarty variable <{xoops_footer}> you will have to do the first option.

I hope it is clear enough...at least not to confusing!

Still sorry if I wounded you, it was not my intention.
My English is rather old, I learned it 17 years ago, and I rely sometimes on Google which is not always effective.

Friendly




TopTop
(1) 2 3 4 ... 13 »



Login

Who's Online

548 user(s) are online (319 user(s) are browsing Support Forums)


Members: 0


Guests: 548


more...

Donat-O-Meter

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

Latest GitHub Commits