14, February 2012

I'm new, dutch and have a question - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Miscellaneous scripts or snippets (Moderator: Olaf)
Topic: I'm new, dutch and have a question
« previous next »
Pages: [1] Print

Author Topic: I'm new, dutch and have a question  (Read 2450 times)
Kill the googlebot
*
Gender: Male
Posts: 6
40 credits
Members referred : 0


What is in a name?


« on: Jul 29, 2007, 10:40:35 pm »

Hello,

My website is www.englandspiel.eu On that site I try to use count_visitor_statistics what I found on Internet. Everything is working exept the graphic "lines" in count_visitor_class.php. I don't have much experience with js, try and error is one possebility.

What to change?

Thanks in advance Adri
Global Moderator
Internet Junkie
*****
Gender: Male
Posts: 1807
9006 credits
Members referred : 6



« Reply #1 on: Jul 29, 2007, 10:47:43 pm »

Where did you get the count_visitor_class.php Adri?

(Oh and welcome to webdigity!)


Last blog : Are You Stumbling Yet?
Kill the googlebot
*
Gender: Male
Posts: 6
40 credits
Members referred : 0


What is in a name?


« Reply #2 on: Jul 29, 2007, 11:00:42 pm »

Thanks,

I found it on website: http://scripts.ringsworld.com/web-traffic-analysis/count-visitors-class/visitor-statistics.php.html
So I think it's coming from this site(?)

Global Moderator
Internet Junkie
*****
Gender: Male
Posts: 1807
9006 credits
Members referred : 6



« Reply #3 on: Jul 29, 2007, 11:22:04 pm »

Ah yes, thats one of Olaf's scripts.

Do you have it implemented into a page? What exactly isn't working, do you get any errors?


Last blog : Are You Stumbling Yet?
Kill the googlebot
*
Gender: Male
Posts: 6
40 credits
Members referred : 0


What is in a name?


« Reply #4 on: Jul 29, 2007, 11:31:29 pm »

No, I use it separate, only for me. The structure is http://www.englandspiel.eu/classes/count_visitor_statistics/visitor_statistics.php

This is where the IMG will be "draw" $month_tbl .= "      <td align=\"center\" valign=\"bottom\"><img src=\"".IMG."\" width=\"10\" height=\"".round($height, 0)."\"></td>\n";

The result in source is:   <td align="center" valign="bottom"><img src="blok.png" width="10" height="4"></td>

In config.php is written: define ("IMG", "blok.png"); // change this constant to use dif. image/path

I have put in every directory that picture

I'm using Opera and see nothing, in IE I see only an empty "picture".

Hope is there!!
Adri

Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #5 on: Jul 29, 2007, 11:51:44 pm »

you need to change the path for the image (or check if the file is in the same map than the script)


Last blog : A new Wordpress theme for our blog
Kill the googlebot
*
Gender: Male
Posts: 6
40 credits
Members referred : 0


What is in a name?


« Reply #6 on: Jul 30, 2007, 09:44:59 am »

Thanks Olaf,

I was thinking also that that should solve the problem. For that reason I put in every directory that picture. I my case blok.png, because I thought may be it may not have a number (1) in the name and also I though "px" is used in HTML. In the source file when I read it from the brouwser the right picture is given.
I made a small HTML example and I get the picture (blok.png). So that is real.

I also found a discussion between you and Nikolas called: "passing values from html/js to remote php script". The date 23 and 24 of July 2006. The answer is to complex for me to understand now. I have to get more experience. Solve that the problem and can you tell me what where to put.

Thanks in advance, Adri
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #7 on: Jul 30, 2007, 10:47:30 am »

if you start using all files in the same folder it should work, don't forget to use the latest version:

http://www.finalwebsites.com/snippets.php?id=8


Last blog : A new Wordpress theme for our blog
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #8 on: Jul 30, 2007, 10:49:38 am »

Important!

check the three links on this page http://www.englandspiel.eu/

this way your whole website will be invisible for search engines, you need to use real links, don't use javascript for linking pages


Last blog : A new Wordpress theme for our blog
Kill the googlebot
*
Gender: Male
Posts: 6
40 credits
Members referred : 0


What is in a name?


« Reply #9 on: Aug 12, 2007, 10:52:10 am »

Hi Olaf,
Back from a short break.
Let be honnest, I was making a very simple mistake. I tried it first on a white page with a lightblue block. In the program I made the bgcolor the same. Isn't stupid?

What did you mean with: "check the three links on this page http://www.englandspiel.eu/"?
I use in PHP an includefile for the menu because of the language. Explain me more or where can I find more about this "problem"?

Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #10 on: Aug 12, 2007, 11:17:43 am »

Hi Olaf,
Back from a short break.
Let be honnest, I was making a very simple mistake. I tried it first on a white page with a lightblue block. In the program I made the bgcolor the same. Isn't stupid?

What did you mean with: "check the three links on this page http://www.englandspiel.eu/"?
I use in PHP an includefile for the menu because of the language. Explain me more or where can I find more about this "problem"?



this

<a href="javascript:void(0)" onclick="href='introductie.php?taal=nl'">

must be:

<a href="href='introductie.php?taal=nl'">

the first one keeps search engines outside


Last blog : A new Wordpress theme for our blog
Kill the googlebot
*
Gender: Male
Posts: 6
40 credits
Members referred : 0


What is in a name?


« Reply #11 on: Aug 12, 2007, 12:52:32 pm »

Thanks Olaf,
As I said, I'm starting and have to learn, even on my age, a lot and that happens every day.
By try, help and error Wink
Adri
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=6961
Tags : count visitor Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Miscellaneous scripts or snippets (Moderator: Olaf)
Topic: I'm new, dutch and have a question
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Feb 14, 2012, 09:48:54 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.