41
sylvainb
Re: Statistics module?
  • 2004/6/24 17:05

  • sylvainb

  • Not too shy to talk

  • Posts: 168

  • Since: 2003/2/11


Quote:

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.



42
sylvainb
Re: Statistics module?
  • 2004/6/24 5:10

  • sylvainb

  • Not too shy to talk

  • Posts: 168

  • Since: 2003/2/11


Hello Cmatt,
I don't know if I'll succeed but I'll try to add those features in istats:
- Server timezone utilization
- Users or Groups not to be counted
- Number of pages viewed per month, per year
And others minors things.
For the moment, I have no idea when it'll be done.



43
sylvainb
Re: help needed with a block
  • 2004/6/8 20:45

  • sylvainb

  • Not too shy to talk

  • Posts: 168

  • Since: 2003/2/11


Ok,
you can forget my question.
I have uninstalled istats and then installed it again and now template for the block is compiled.
I can now work on smarty in it, but I'm still asking myself why a simple update after adding template in xoops_version.php isn't working??



44
sylvainb
Re: help needed with a block
  • 2004/6/8 20:05

  • sylvainb

  • Not too shy to talk

  • Posts: 168

  • Since: 2003/2/11


Hello everybody,
I have the same problem when I try to add smarty template to a block.
I have rewrited istats to add smarty in it and all is fine but it's not the same thing with his block.
I added $modversion['blocks'][1]['template'] = 'istats_block_show.html'; in xoops_version.php and the html file is in modules/istats/templates/blocks.
Each time I'm trying to update the module I obtain this
Quote:
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
.
Did I miss something important to add smarty in a block?
I hope that you'll have some indications to provide to me or better...a solution.
Thanks in advance



45
sylvainb
Re: News v1.2 RC1
  • 2004/5/22 8:36

  • sylvainb

  • Not too shy to talk

  • Posts: 168

  • Since: 2003/2/11


1 - Sorry, the next time I'll try to make my posts more readable.
2 - I corrected typo in the groupperm.php and it works fine (sorry again to haven't noticed this bug report before ).
3 - As the Webmaster/Submitter of an article (and with corrects permissions), I still can't see the upload option while submitting an article through the admin section with 'Approvers Only' selected.
4 - I understand your point of view concerning the redirection but what about if you have to approve several news? (this is only a reflexion)
5 - Is this post sufficiently divided?



46
sylvainb
News v1.2 RC1
  • 2004/5/22 7:50

  • sylvainb

  • Not too shy to talk

  • Posts: 168

  • Since: 2003/2/11


First of all, I really want to say that you have both done a good work on it.

Now time for question, is it a wanted thing that we are redirected to the main news page after submitting a news through the admin section of the module?
If I'm going into the 'Submit/Approve Permissions' menu and set up permissions by category (approve then submit and then view), only the last category appear to be set up!
In preferences if I choose in 'Authorized groups to upload' -> Approvers Only, even if I had set up correctly permissions for Webmasters, I can't see the upload option in the form.
But if I choose -> Submitters and Approvers then it's ok.
The mini calendar used to select a start and/or end date isn't working with opera browser and is starting each time on January, 2000.

Just my modest contribution to your great work.



47
sylvainb
Re: Weather module for Boston Area
  • 2004/5/15 8:00

  • sylvainb

  • Not too shy to talk

  • Posts: 168

  • Since: 2003/2/11


Hello Busta,
There is, at least, MS-Weather with this city code to be included into the database.
USMA0046



48
sylvainb
Re: Statistics module?
  • 2004/5/10 15:03

  • sylvainb

  • Not too shy to talk

  • Posts: 168

  • Since: 2003/2/11


Quote:

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?

If anonymous or members users can access to the two others themes than the default one, you should also add the portion of code into those themes.

Quote:

2. Do i change the *.css files in the default(01) theme folder or or for all the other theme folders too?

Same kind of answer as above concerning style.css, styleNN.css and styleMAC.css in your themes.

Quote:

3. Do I still need to add the code to the admin / preferences / meta tags & footer - footer block?

The answer for that is very simple: NO!

Quote:

We I get it to work, I'll send you a checklist of require changes for XOOPS 2.0.5
Thanks
Ben

Why not?!

Friendly Yours



49
sylvainb
Re: Statistics module?
  • 2004/5/9 17:16

  • sylvainb

  • Not too shy to talk

  • Posts: 168

  • Since: 2003/2/11


Hi Jamboree,
you only have to follow the instructions included into xoops2_install.txt or those mentioned above in my last post (they're the same).
I left the originals documents (for e-xoops) because of some others possibilities with istats code and because I didn't want to rewrite the original manual but, basically, you don't have to read another file than xoops2_install.txt to proceed to a normal installation of the I-Stats module into your XOOPS site.

Friendly Yours



50
sylvainb
Re: Statistics module?
  • 2004/5/7 5:12

  • sylvainb

  • Not too shy to talk

  • Posts: 168

  • Since: 2003/2/11


Quote:

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

Hi Jamboree,
I don't know if the I-Stats module I adapted from e-xoops is working under XOOPS 2.0.5 as I done all the work with XOOPS 2.0.6, but I think it should be ok.
About your other question concerning the theme.php file, your right, you didn't have one but here is what you can read in the xoops2_install.txt included in the package:
Quote:
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

Now, if your talking about MS-Weather, try to see on http://weather.yahoo.com/regional/TWXX.html if there is the city your looking for and simply add his code in your database through the admin section of the module.

Friendly Yours




TopTop
« 1 2 3 4 (5) 6 7 8 ... 13 »



Login

Who's Online

200 user(s) are online (123 user(s) are browsing Support Forums)


Members: 0


Guests: 200


more...

Donat-O-Meter

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

Latest GitHub Commits