Author |
Message |
|
Ok, now it finally seems to work correctly.
There are some new Q's I have:
Is it possible to rebuild the script to show weekly/ monthly hits instead of daily hits?
You see, at my webpage it's currently 2-5 visitors a day in average, and for such small numbers, I would get a MUCH better knowing of traffic at my site, with a file/ display containing visitors over a bigger time ( To avoid visit my page every day just to look at 2 visitors ips and hosts at the list)
Could you try to email the the modification you have made at mette.oyvind@c2i.net instead?
Also, I have get myself a mysql database, and I wondered:
If I manage to install the script running with mysql, will there be a logfile where I can see total hits from day one, because, if so, it's not that important to have rebuild the script to "weekly/monthly counter" .
I ask this because I want to see the data, but avoid log onto my computer and connect to internet every day just for see this data.
But, I guess, another way to do this, would be to set an laaaarge value for the block time? If I set block time to one year, would ip.txt contain all ip's, host's and times from the last year?
Do you have any site you recommend for setting up this script to work with mysql, eventually, any site where I can learn to create the tables i need etc.?
|
 |
|
hi there!
first of all i'm sorry for my english...
i have a problem with advanced guestbook. i made a site with css. now i wanted to include the guestbook in my content-container. and it quite works... i only have two problems:
first: the comment funktion is not working. i've enabled the function in the admin panel. i think there is a problem with the php include command.
i'm no php master... when i click on the comment icon i have a link with to variables to include. for example:
http://www.tvfraubrunnen.ch/default.php?loadContent=guestbook/comment.php?gb_id=12
there is the loadContent variable, and the gb_id variable. i think there is a problem, but i don't know why. perhaps somone can help me.
the second problem is: when i click on "next site" in the guestbook nothing appears. i think there is also a problem with the php include command...
i include the content with this php code:
<?php
$defaultContent = "news.htm";
if(!isset($loadContent)){
$loadContent=$defaultContent;}
?>
ok, you can see my site here:
http://www.tvfraubrunnen.ch/default.php
with click on "Einträge ansehen" you can see the guestbook (index.php) and with click on "Eintrag hinzufügen" you can add an entry.
thanks for your help!
|
 |
|
n/m guys... i just used a different poll script and edited the script to suit my needs. I was having the same problem with this other script as I had with the Advanced Poll. However, I fixed the problem with this other one and I repeated the same process with the Advanced poll script and still got the same error... drove me nuts.. oh well.. if anyone ever wants to attempt to help me.. maybe i will consider switching back.
-AKeith
Once lost but now can see clearly.
|
 |
|
the host supplied it and I've downloaded the zip file from proxy2 to review the code.
So far I haven't seen anything different -- except for my modifications
|
 |
|
Any solution for all the spambots? This guestbook is a oneclick install on the hosting server I use, so I have it on dozens of sites that I maintain, and all of them are getting spam entries regularly...
|
 |
|
I believe I've been getting it from the get-go.
I haven't modified the header and I just have   for the footer.
I can cut and paste the orig. code for both and I still have the same problem.
|
 |
|
sorry ---
forgot this table too
Showing rows 0 - 0 (1 total, Query took 0.0003 sec)
SQL-query:
SELECT *
FROM `book_data`
LIMIT 0 , 30
[Edit] [Explain SQL] [Create PHP Code] [Refresh]
row(s) starting from record #
in horizontal horizontal (rotated headers) vertical mode and repeat headers after cells
id name gender email url date location host browser comment icq aim
1 tester myemail@yahoo.com http://www.shellbird.com 1108847506 Colorado 70-32-151-70.clspco.adelphia.net Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;... testing this message area 0
the comment value for the comment field is
testing this message area
|
 |
|
zero comments
SQL-query
SQL-query:
SELECT count( * )
FROM `book_com`
[Edit] [Explain SQL] [Create PHP Code] [Refresh]
count(*)
0
|
 |
|
Thanks Auron.
I hope u can upload the install guide soon. Thanks for that.
So, i must install db or textfile. I gonna try the textfile, and post the result.
Thanks again.
|
 |
|
yuppers --- that's exactly what I've got.
|
 |
|
Hi,
Before I continue --- thanks for helping me out --- I've been on this all day and my mind is lost....
I did have a blank footer. Fixed that and eliminated one of the error messages.
now I just have
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in ..../lib/gb.class.php(153) : eval()'d code on line 4
|
 |
|
Anonymous wrote:Thank you ET! I was so stupid that I forgotten I had all the files in the same directory, so I had wrote the path to the directory in config.inc.php for the textfile settings, and that was the mistake!
Could you please send me the daily count script modification you have made?
Also when I did a search in the archive, I saw that in one of your previous posts, you wrote about another script modification you had made at the animated counter, and here your script enabled the F5 refresh key function which allows users to increase the counter all the time.
I would be very glad if you can send me that script too!
I also appriciate the good information you gave me about mysql and flat files!
Thanks for the time block information!
My email: rmosta@student.umb.no
PS: It looks like the script only registered the first time I wisited my site, because if I use other computers with different IP's, it wont log that. Also, it doesnt seems like the update function of the table works, and I think maybe this is the problem related to missing log output? So it doesnt update itself every minute, like it should. As I saw yesterday, this one update in minute function worked then, but apperiantly not now... Where is the error? I really cant understand this.
Also, I of course has the "wont set back to 1 at the new day if more than 10 visits yestaerday". But as I can see I also have trouble with the total visits number: today it went back to one or two visits. Was that because I uploaded config.inc.php again?
There are much errors here....
|
 |
|
I forgot to sign
|
 |
|
Yes
Becouse you are using frames and in that case $HTTP_SERVER_VARS['PHP_SELF'] is left.php not index.php
You must change it in class_poll.php, or much better don't use frames.
|
 |
|
Thank you ET! I was so stupid that I forgotten I had all the files in the same directory, so I had wrote the path to the directory in config.inc.php for the textfile settings, and that was the mistake!
Could you please send me the daily count script modification you have made?
Also when I did a search in the archive, I saw that in one of your previous posts, you wrote about another script modification you had made at the animated counter, and here your script enabled the F5 refresh key function which allows users to increase the counter all the time.
I would be very glad if you can send me that script too!
I also appriciate the good information you gave me about mysql and flat files!
Thanks for the time block information!
My email: rmosta@student.umb.no
|
 |
|