NameSilo

Poll Script and Stats Script

Spacemail by SpaceshipSpacemail by Spaceship
Watch

killerid

Account Suspended
Impact
0
Hi,
I am looking for a poll script (free one ) along with a who is online and the webstats script which will show unique hits and the hits for the present day alon g with the total visits so far.

Also please help me out and tell me how to insert those scripts into html page .
I would be placing them on this site:

HELP PLEASE

As you can see there i have put a cgi based script but the thing is that i have to rename all .cgi files into pl files and i am not sure if SSI is enable i will ask the host if its enabled cause most scripts that need to insert virutal path need ssi .

So can someone provide with a working link to the above 2 scripts.

Also is it possible to insert php code into that html file cause i installed a php based poll but i cannot insert it into the html index.html file.

Here is the code:
Code:
<?php
/* Include this before your html code */
include "./poll_cookie.php";
?>
<?php

/* path */
$poll_path = "/home/httpd/vhosts/h-log.com/httpdocs/polls";

require $poll_path."/include/config.inc.php";
require $poll_path."/include/$POLLDB[class]";
require $poll_path."/include/class_poll.php";
require $poll_path."/include/class_pollcomment.php";
$CLASS["db"] = new polldb_sql;
$CLASS["db"]->connect();

$php_poll = new pollcomment();

/* question */
echo $php_poll->get_poll_question(2);


/* poll */
$php_poll->set_template_set("plain");
$php_poll->set_max_bar_length(125);
$php_poll->set_max_bar_height(10);
echo $php_poll->poll_process(2);


/* construct the form */
$php_poll->set_template("poll_form");
$php_poll->set_form_error(array(
    "name" => "Please enter your name.",
// "email" => "You must specify your e-mail address.",
    "message" => "You must specify a message."
));
$html_form = $php_poll->comment_process(2);


/* poll comments */
$php_poll->set_template("poll_comment");
$php_poll->set_comments_per_page(5);
$php_poll->set_date_format("d/m/Y H:i");
$php_poll->data_order_by("time","desc");
echo $php_poll->view_poll_comments(2);
echo $php_poll->get_comment_pages(2);

/* form */
echo $html_form;

?>

Working Example of the above code is :
HERE

Can some one help me insert that code into html if there doesnt exists a free poll based script which can be inserted?

Thanks Guys.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
I'll look more into those scripts in a minute..

The only way I know of inserting PHP into HTML is adding your PHP and renaming the .html file with the .php extension.

I'll go search now for those scripts ;)

-Eric
 
0
•••
SecondVersion said:
I'll look more into those scripts in a minute..

The only way I know of inserting PHP into HTML is adding your PHP and renaming the .html file with the .php extension.

I'll go search now for those scripts ;)

-Eric

Thanks i will be back gotta go to college ..
:wave:
 
0
•••
Hey thanks man i got the polls running used advanced poll script provided in the application vault of the hosting itself . I say that hosting is pretty amazing.

Now i need that Stats Script.
 
0
•••
killerid said:
Hey thanks man i got the polls running used advanced poll script provided in the application vault of the hosting itself . I say that hosting is pretty amazing.

Now i need that Stats Script.
Np bro...glad to help :) I think I may know of where to find you your stats script :tu: Give me a few, I would have gotten both earlier but I had to leave.


-Eric

http://www.refdev.com/free_scripts/PHP/Web_Traffic_Analysis/more4.html

See if you can find anything there. Don't have too much time to look around, but you may find what you need at that link :tu:
 
0
•••
Hey thanks dude , i looked over there but the thing is that they dont provide demo so it would nice if u could remember the name so it would make my life easier instead of downloading all of them and testing one by one .

Thanks Dude. :wave:

And did u vote on my the site ? HEHEHEE.. :wave:
 
0
•••
Ok, well If I get some spare time I'll upload and test a few ;) If not, I'll just search a little, lol
 
0
•••
Thanks again . And i will try some of the script myself mostly those 3 top downloaded ones.

And the thing that disappoints me is that there are so many users registered here and yet only one dude cares to help out.

Its really a sad situation that mostly one or 2 people help out and rest are just sitting ducks who even if they know something or some script they using dont care about telling about it.

Wake up people and realize what u guys are doing to the community here.
 
0
•••
There u go dude , i finally added some script will try to add awstats script for personal viewing of stats but for now i used these scripts:
Advanced Poll Script
UseronlineScript : simple Script to display how many users are online.
For unique and page hits used Some Stats simple script dont remember but will post it in downloads section of site soon.

Well the thing i need to ask is how do u change the color of the lines displayed i want to change the color for the line say page hits to green and size too so how do i change that right now i use this code to instert the stats into the php file:
<? include 'index1.php' ?>

Also is there a script out there to add news section i tried Fnews(Fantastic News) script but it stinks very bad. Sorry if the maker of the script is here .But really i dont like it at all.

While at it can somone suggest a nice shotbox which can be hid with a click of button and popup when shout button is pressed.
 
Last edited:
0
•••
killerid said:
There u go dude , i finally added some script will try to add awstats script for personal viewing of stats but for now i used these scripts:
Advanced Poll Script
UseronlineScript : simple Script to display how many users are online.
For unique and page hits used Some Stats simple script dont remember but will post it in downloads section of site soon.

Well the thing i need to ask is how do u change the color of the lines displayed i want to change the color for the line say page hits to green and size too so how do i change that right now i use this code to instert the stats into the php file:
<? include 'index1.php' ?>

Also is there a script out there to add news section i tried Fnews(Fantastic News) script but it stinks very bad. Sorry if the maker of the script is here .But really i dont like it at all.

While at it can somone suggest a nice shotbox which can be hid with a click of button and popup when shout button is pressed.
I would have to see your include file (index1.php) :) But to clarify, you're wanting to change the colors on the users online? Looks like a remotely hosted service... If you could show me that file I will show you how to change color etc, if it allows you too :tu:
 
0
•••
Ok dude added download script on site so go to downloads section on site and look at the useronline script . I figured some things about changing color of line by inserting this code into that line :
<font color = "#code"> it worked on the easy download script and i think it would work on the other one too . but maybe if u get time look at the scripts and tell what code to use to change the font color.

Plus i am now looking for password protecting directories. I used to had htedit script but its cgi config are kinda confusing so i couldnt get it to work before does anyone here knows simple way to do the same. Dont tell that its included in cpanel itself, cause i know that but i want a url link to password protect directories not via cpanel all the time.
 
0
•••
The usersonline script:
About the font:
Find this code..Will be in users.php
PHP:
if ($user == 1){
	echo "<b>$user</b> User Online";
} 
else{
	echo "<b>$user</b> Users Online";
}
?>

Replace with:
PHP:
if ($user == 1){
	echo "<font color=color><b>$user</b> User Online</font>";
} 
else{
	echo "<font color=color><b>$user</b> Users Online</font>";
}
?>

About the password protection, there is a PHP script called AngelinaProtect. I will have to find the URL, or just google it.

Hope this helps.
 
0
•••
I found this place it has some nice scripts with demos

http://www.finalwebsites.com/

i cant seem to find the download link for the above script u mentioned.
 
0
•••
Hey dudes does anyone know how to put a scrolling from right to left newsstrip on the header of the site?
 
0
•••
0
•••
SecondVersion said:


Regarding first link i found that link already but u cannot download the script cause the download page is :
http://www.belgradecafe.com/download/php/AngelinaProtect-V1.00.zip
and its 404 error.

Plus yaa that script the horizontaltext mover pretty cool thing an lol u can make it go faster i made it full speed and looked cool :great:


I will installe it today i guess. And fix the cutenews template designs according to main site design..

Plus can i be greddy and ask for a nice cool gallery script and i have still not found a nice statistics script yet which will display complete stats on the main page. can awstats be installed and used on any host?
 
0
•••
SecondVersion said:
I'll look more into those scripts in a minute..

The only way I know of inserting PHP into HTML is adding your PHP and renaming the .html file with the .php extension.

I'll go search now for those scripts ;)

-Eric

You can use .htaccess "Force-type" comamnd to force it to run *.html's through the PHP parser. GOOGLE IT!
 
0
•••
Thanks i did force type google but most of the links came were talking about messing with the apache server if u have and example .htaccess file it would be nice for everyone here also.



And the site is almost done added cutenews script for news as couldnt find any other good news . tried FWnews also which just loooked too awful.


Well i am still looking for a gallery script so does anyone have expereince of any gallery scripts or demo places?

I got enough mods for the forums so wont be bothering u guys about the forums. D-: By the way forums are now open.
 
Last edited:
0
•••
killerid said:
Thanks i did force type google but most of the links came were talking about messing with the apache server if u have and example .htaccess file it would be nice for everyone here also.



And the site is almost done added cutenews script for news as couldnt find any other good news . tried FWnews also which just loooked too awful.


Well i am still looking for a gallery script so does anyone have expereince of any gallery scripts or demo places?

I got enough mods for the forums so wont be bothering u guys about the forums. D-: By the way forums are now open.
Gallery Script? Try 4images.. If you have cpanel w/fantastico It's already there ;)
 
0
•••
SecondVersion said:
Gallery Script? Try 4images.. If you have cpanel w/fantastico It's already there ;)

I have only Plesk and the script in there is some gallery script which i installed on the site but i dont like it though as there is no option for other users to register and post images.
 
0
•••
Dynadot โ€” .com Registration $8.99Dynadot โ€” .com Registration $8.99
Unstoppable Domains
Domain Recover
DomainEasy โ€” Live Options
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back