tjnemez wrote:
it would be nice if you could include or exclude user system with admin preferences..
It is what I thought while saying: Users or Groups not to be counted.
tjnemez wrote:
it would be nice if you could include or exclude user system with admin preferences..
Fatal error: Call to a member function on a non-object in /home/sylvain/public_html/modules/system/admin/modulesadmin/main.php on line 361
jamboree wrote:
Thanks Sylvian. three more questions:
1. I use one theme as default (01). There are three other themes in the themes folder. Do I only change the theme.html (not other html files) in the default(01) theme folder?
2. Do i change the *.css files in the default(01) theme folder or or for all the other theme folders too?
3. Do I still need to add the code to the admin / preferences / meta tags & footer - footer block?
We I get it to work, I'll send you a checklist of require changes for XOOPS 2.0.5
Thanks
Ben
jamboree wrote:
SylvianB - I run a site with XOOPS 2.0.5 - does this mean i can use your E XOOPS Stats module? I installed the weather module but i'm also looking for a weather module that just reports the weather around Taiwan (where i am based) any suggestions?
Thanks
Ben
Ps: my XOOPS system does not have a theme.php file so i couldn't even use the stats module as a counter
To do during the I-Stats module installation:
1 - Extract the contents from the archive and upload it in the modules directory of your XOOPS site, then proceed to a traditional installation of a module.
2 - Add in the *.css files of each theme the following classes:
.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;}
I added these classes trying to guaranteeing the same visual aspect of the module with the majority of the XOOPS themes
and also with these browsers (IE, opera, mozilla, konqueror and galeon).
Some imperfections with konqueror.
3 - Go in each theme.html file and add in the footer part of XOOPS the following code:
Example resulting from the Default XOOPS theme:
<table width="100%" cellspacing="0">
<tr id="footerbar">
<td><a href="https://xoops.org/" target="_blank"><img src="<{$xoops_imageurl}>poweredby.gif" alt="" /></a>
<script type="text/Javascript">
<!--
istat = new Image(1,1);
istat.src = "http://YOUR_URL_XOOPS_SITE_/modules/istats/include/counter.php?sw="+screen.width+"&sc="+screen.colorDepth+"&refer="+escape(document.referrer)+"&page="+location.href;
//-->
</script>
</td>
</tr>
</table>
</body>
</html>
This code will allow the stats module to count.
4 - You will also be able to add a visual counter (with images or not), to do that do not hesitate to read the original documentation provided and adapt it to XOOPS
For example, to show -- xxxx pages (the number of total pages) seen by: xxxx visitors -- you can create a personalized block of type php Script
and put the following code in it:
include_once(XOOPS_ROOT_PATH . '/modules/istats/include/function.php');
include_once(XOOPS_ROOT_PATH . '/modules/istats/include/display.php');
$result = CountDays();
$pages = num_to_graphics($result['totalpages'], 8, XOOPS_URL . '/modules/istats/images/default','jpg');
$visitors = num_to_graphics($result['total'], 8, XOOPS_URL . '/modules/istats/images/default','jpg');
echo "<div align=\"center\"> $pages pages<br /> served to:<br /> $visitors visitors </div>";
5 - It should be noted that for the owners of 1024x768 screen, you should not show right blocks on the I-Stats page because it'll broke your screen.
There too, I makes my possible so that visual style is the same one in 1024x768 and in the higher resolutions.
If somebody moreover fixed in css and tables questions managed to do better things than me (what does not seem too difficult to me),
I say: don't hesitate to correct it and to send me the new files.
Sylvain B webmasterhttp://123rando.com