Accessible ASP Star Ratings Script Version 0.2

Homepage > ASP Scripts > Accessible ASP Star Ratings Script

I'm sure you've seen the star ratings feature dotted about the web on sites such as Amazon and YouTube. I couldn't find a ready made ASP script for this so decided to make one myself.

The Star Ratings script uses an Access database and should run on just about any ASP enabled Windows server.

If you use this on your website please let me know, I'd love to see it in action elsewhere. I'll also add a link to your site on the demo page.

Features

  • Uses AJAX if Javascript is enabled but functions identically without Javascript.
  • Logs IP addresses to prevent multiple votes for the same page.
  • Block custom IP ranges and/or User Agents to prevent bots and spiders voting.
  • Works with dynamic URLs.
  • Free for personal or commercial use.
  • Quick and easy to set up.

Demonstration

Download script

Installation

Upgrading

If you're upgrading the script from an earlier version simply overwrite the existing files, making sure you don't overwrite your database with the empty one in the .zip file. You will also need to make a note of your settings in common.asp.

First time installation

Download and extract the .zip file above to a directory named "rating" in the root directory of your website.

Add the following code between the <head> tags of your page:

<script type="text/javascript" src="/rating/rating.js"></script>
<link type="text/css" rel="stylesheet" href="/rating/rating.css" />

Add this code wherever you want the rating bar to appear on your page:

<!--#include virtual="/rating/rating.asp"-->

No further setup is required for this script to run "out of the box". However I can't stress strongly enough that you must upload to the "/rating/" directory to the root directory of your website. If you upload the files to anywhere else then the script won't work without further changes (see below).

Database

This script uses a Microsoft Access 2000 database, included in the .zip file. By default the database is located in the "/rating/" directory with all of the other files and as such could be downloaded by anyone. Since the database probably won't contain any sensitive data this shouldn't be a problem.

However, if you would like to store the database outside the web root then alternative connection strings are provided in common.asp.

Uploading the script to a directory other than "/rating/"

If you want to store the files in a directory other than "/rating/", for example "/scripts/rating/", you will need to edit the RATING_DIR constant in common.asp as follows:

RATING_DIR = "scripts/rating"  '- DO NOT start or end with /

You will also need to edit the image paths in rating.css as follows:

#star-rating ul {
  background: url(/scripts/rating/rating.gif) top left repeat-x;
}
#star-rating li.current-rating {
  background: url(/scripts/rating/rating.gif) left bottom;
}
#star-rating li a:hover {
  background: url(/scripts/rating/rating.gif) left center;
}

Change the path to the CSS and Javascript files between the <head> tags of your page:

<script type="text/javascript" src="/scripts/rating/rating.js"></script>
<link type="text/css" rel="stylesheet" href="/scripts/rating/rating.css" />

And finally change the include path to the rating script:

<!--#include virtual="/scripts/rating/rating.asp"-->

Blocking IP Ranges

Open common.asp and scroll down to the "Blocked IP Ranges" section. To block an entire IP range use the AddBlockedIPRange subroutine as shown below and replace the lower and upper IP addresses as required:

AddBlockedIPRange "192.168.0.1", "192.168.0.10"

An excellent list of search engine IP addresses and User Agents can be found at www.IPLists.com.

Blocking User Agents

Open common.asp and scroll down to the "Blocked User Agents" section. To block a User Agent, use the AddBlockedUserAgent subroutine as shown below:

AddBlockedUserAgent "Googlebot"
AddBlockedUserAgent "MSNBOT/0.1"

A list of robot and search engine User Agents can be found here at JafSoft.com.

Blocking User Agent Strings

As well as blocking specific User Agents, you can also block User Agents that contain certain strings, such as "crawler" or "spider".
Open common.asp and scroll down to the "Blocked User Agent Strings" section. To block User Agents containing a certain string, user the AddBlockedUAString as follows:

AddBlockedUAString "crawler"
AddBlockedUAString "spider"

Credits

The XHTML/CSS has been taken from Creating a Star Rater using CSS written by Rogie King at Komodo Media.

The AJAX framework the script uses is the Simple/Basic AJAX Framework by Ric Hardacre at Cyclomedia. It has been tested to work with Internet Explorer 5.0, 5.5, 6.0 and 7.0, Opera 8.0 and 8.5, Netscape 7.0 and Firefox 1.5

Please rate this script!

Rated: ASPIN.com rating by Aspin.com users

What do you think?

Comments (68)

Reply By Wayne Lambright on 30th Sep 2006 at 2:01am
Excellent script, I search everywhere and this was the only ASP Classic Netflix style code I should find.

if you had a "helpfull or not" style example I bet that would be popular also.

keep up the great work.

Wayne
Reply from Chris Hardy on 5th Oct 2006 at 12:26pm
Thanks Wayne. I could probably recycle a lot of this code for a "helpful or not" script, so I'll consider putting one together once the next version of this script is released.
Reply from Chris on 6th Mar 2007 at 16:57pm
This is exactly what I was looking for!
One query though.... is it possible to rate several different products on one page independently using this script? Or can this script only be used once on each page????
Reply By Prakash on 1st Oct 2006 at 16:20pm
Good script, but does not support dynamic URLs, so its of no use if your pages are generated from a database
Reply from Chris Hardy on 5th Oct 2006 at 12:22pm
I wondered if this would be an issue for some people but decided to release the script initially without support for dynamic URLs. I'll be releasing an updated version within the next couple of days which will support them. Thanks for your input!
Reply By sorena on 2nd Oct 2006 at 20:30pm
very nice script but i have problems, firstly i run script in my localhost it was perfect (rate.asp in wwwroot and /rating folder in wwwroot) then i tried to move script up to new folder (script/rate.asp and script/rating/) when i did it script crashed, i configured directories etc. but i didn'' fix it. again i tried to setup root folder again but it is still not workin, when i click on stars there are no action on the page. anyone can help me
Reply from Chris Hardy on 5th Oct 2006 at 12:45pm
Sorena, am I right in thinking when you uploaded the files you changed the directory structure? If you moved the /rating/ directory to /script/rating/, this would cause problems. For the script to work your content pages can be anywhere, but all the script's files must be inside the /rating/ directory in the root folder of your website. If you move them to a different directory you would have to change some file paths in common.asp, rating.asp, rpc.asp and rating.css.

The next version I'm working on will make this change more straightforward, but for now I'd recommend re-uploading the original files to the /rating/ directory in the web root.
Reply By Patrick on 5th Oct 2006 at 23:10pm
http://www.coe.unt.edu/gal/rating/test.asp is the page I'm trying to implement this on right now. If you take a look at it you can see what is going on. The absolute path is printed on the page. Everything was uploaded and kept the same. Any suggestions?

By the way, thanks a TON for this script. Yesterday my boss wanted a new voting system and I hate that we use an ASP server because I only know PHP. I thought I was going to have to settle for something crappy just because I don't know ASP. The fact that you made this days before I needed it is amazing. Thanks!
Reply from Chris Hardy on 6th Oct 2006 at 9:33am
Hi Patrick, the problem is that you have uploaded the rating directory inside the "gal" directory. Try moving the rating directory to the root, i.e. F:\Inetpub\COE\rating\.
http://www.coe.unt.edu/gal/rating/
should be...
http://www.coe.unt.edu/rating/
Reply By Dee on 6th Oct 2006 at 18:00pm
ugh...

good idea, but this querystring logic is blech!
Reply By Chris Hardy on 7th Oct 2006 at 13:00pm
Version 0.2 is now available for download.

The querystring is now taken into account and pages with different querystrings are rated seperately.

I also noticed that Googlebot had been spidering the links and throwing the results off. You can now block voting by IP range, User Agent or by a specific string contained in the User Agent.

You can also set the script to round ratings to the nearest half number by setting the NEAREST_HALF constant in common.asp to True.

The script now uses Ric Hardacre's Simple/Basic AJAX framework.

Click here to download
Reply By Patrick on 7th Oct 2006 at 22:52pm
I don't have access to the root directory. Where in the script could I change it to make it work?
Reply By Patrick on 7th Oct 2006 at 23:45pm
Nevermind, I figured that out (just had to read what you said above).

Now I'm having a problem including multiple rating.asp's. Everything works fine if you've only got one thing on the page to vote for, but I have several.
Reply from Mark on 22nd Jan 2007 at 17:00pm
Patrick,

Did you figure this out? If so can you pass it along.

Thanks

Now I'm having a problem including multiple rating.asp's. Everything works fine if you've only got one thing on the page to vote for, but I have several.
Reply By Qwaider on 10th Oct 2006 at 10:48am
Amazing script Chris
implemented it and was up and running in 2 minutes flat! I even modified the locations of the database and what not in a heart beat!
Seriously Well done ... Couldn't be any simpler ... I am soooooo excited about it.
This little devil gave my site a face-lift in 2 minutes!! WOW!
A+ man ... A+

Now, were can we submit ideas for improvements? Like for example, modify to use SQL server, or specify the kind of info to be logged (instead of the query string) ...etc
Reply By Ken on 12th Oct 2006 at 1:13am
I've added your script for rating blogs and members on our site.

I use dynamic URLs, and was able to use the script flawlessly!

You can check out the script running on any profile page... or use my site's slideshow feature to rate members in a "slideshow" manner.

http://www.exercisefriends.com/slideShow.aspx

COOL SCRIPT... easy to use and was easy to update / modify for my needs.

Thanks,

Ken Collins
Co-Founder www.eXerciseFriends.com

PS.

I love that you gave the tips about changing your database names and paths to folders. As an experienced designer I would have figured it out and done that myself... but cut and clear directions were REALLY appreciated.

Seriously... it only takes a couple of minutes to add this script to your site.
Reply By ken collins on 12th Oct 2006 at 1:22am
For those using dynamic URLs, or wanting to embed the stars on a page that has multiple ratings...

Here's a tip:

Use Iframes!

Create an Iframe that will actually be the page that the script runs on. Then embed the iframe in the appropriate location, and pass all URL and querystring data down to the Iframe page that runs the script.

Note: when passing your querystring and url to the iframe, do not include the "?" in your querystring and you will be fine.

If you look at my profile on exerciseFriends.com, you will see the that my ratings follow me on other pages (i do this by using the same iframe with the same url passed into it).

This makes the code ULTRA PORTABLE and able to handle dynamic URLS.

Check out my page @

http://www.exercisefriends.com/view_profile.aspx?member_id=1

Don't forget to give me good ratings ;)

I hope this helps,

Ken Collins
Co-Founder www.eXerciseFriends.com
Reply By Bill on 12th Oct 2006 at 22:01pm
Excellent, just what I was looking for.
Reply By Adilost on 18th Oct 2006 at 16:48pm
Dear Chris,

First of all thanx for this very usefull script :)

I'm developing a website including this ratingscript of yours..
So far so good, but when i want to show ONLY the voted results on a pacific page (Score: 5 out of 5) i'm clueles :S

On the rating.asp page it is the code that says: <%=iRatingAverage%>

I have unpacked the entire .rar pack in to a map that is located in the root of my website (name of the map where i stored the pack in the root = rating).

Can you please help me with this "little problem" of mine?

P.S: Sorry for my bad English, but i'm working on it :D

Cheers!
Reply By Matt on 20th Oct 2006 at 16:59pm
Great script - if only I could get it to work properly with mysql. I've converted it across but everytime I go to vote I get the error message "check the manual that corresponds to your mySQL server for the right syntax to use near 'and UserIP like '127.0.0.1'. The strange this is that when I click the back button and then try and vote again it works perfectly...driving me nuts it is.

Has anybody else had a similar problem...I'm afraid I'm well out of my depth when it comes to Ajax.
Reply By Greg McEwan-Marriott on 19th Jan 2007 at 10:19am
I was trying to "bastardise Amazons script until I came across your gracesaving piece of art ........ I will use an IFRAME (http://www.combat360.org/upl/imagelibrary/aircraft/index.asp) if you visit that page what you will see is that I am trying to get the users to "rate" random images as they appear on each reload.

I dont have a problem writing ASP code to do a generic rating system, but what I like about this script of yours is the image/hover thing.... Currently your script gets the current url via a Server Request for the URL... what I would like to do is record the ImageID of the image the user rates to the DB instead ... all images are retrieved from a DB in any case... how do I pass the ImagID to the DB instead of the page URL - i tried changing this as below

sRatingURL = sRatingURL & "?" & sQueryString & "&ImageID=" & timageid

but to no effect - any ID on how to do this?



Reply By Val on 25th Jan 2007 at 20:28pm

Awsome mod, but cant get it to work on my site (www.lotusclub.org), but would love to.

From reading above looks like it doesnt work with mySQL....

Best regards.
Reply By briiiiiiiin on 27th Jan 2007 at 18:23pm
Hey chris kool script, how do i make it run on asp.net using VB?
Reply from ric hardacre on 30th Jan 2007 at 10:57am
BTW, to run the script in .Net shouldnt require much tweaking as a .Net server should support vanilla ASP out of the box. The way this ajax framework works is to get the script on the server to return a small slice of HTML, which is then reinserted into the page. ASP.Net scripts generated by Visual Studio however are geared towards returning a complete HTML web page - you'd have to strip out the HTML, HEAD and BODY tags to get to the core of the response. It can be done, but the hardest part will be hacking around the __viewstate and one-big-form approach that VS.Net throws at you
Reply from Joe on 19th Mar 2007 at 17:04pm
Good question. I'm trying to include it within a pre-existing aspx page (following the documentation to the letter) and I get this error:

CS1010: Newline in constant

The line in question is the first (commented) line of common.asp!

Hmm ... clues please? A cursory web search revealed very little.
Reply from Joe on 19th Mar 2007 at 18:13pm
OK - I'm now using the iframe trick (mainly to work around the issue of being unable to do an SSI of .asp content inside a C# .aspx page).

The UI shows up just fine! However, the RPC bails out (and yes, the 200 is up top - not shown here):

Microsoft JET Database Engine error '80040e09'
Cannot update. Database or object is read-only.
/rating/common.asp, line 122

The .ldb file has to be created during any updates, so I made sure the directory and files had appropriate permissions (IUSR_ and IWAM_):

http://databases.aspfaq.com/database/how-do-i-solve-operation-must-use-an-updateable-query-errors.html

Still no luck! So I moved the database file to C:\Inetpub\db\ (and tried as-is and with permission changes). No suck luck.

Clues (still) welcome ... :-o
Reply By ric hardacre on 30th Jan 2007 at 10:52am
Nice script, glad you kept the "200\n" AJAX response prefix in there as I was wandering if that would go over some user's heads. I didn't explain it particularly well in the article :-)
Reply By snjha on 1st Mar 2007 at 4:27am
Dear,

i am using this script to install star rating, but finding dificult to handle. I tell you how I am doing this.

First i copied the directory rating into root then gone to my folder ayurveda where i copied the coding for js and css into the page with proper change in path. I changed the path for common.asp also. But how can i connect my file with mdb. is there any code left.

pls help me this regard
Reply By Nick on 7th Mar 2007 at 7:58am
When does the next version of the rating script come out? I have a game script that uses querystring and I want to be able to rate each game.
Reply By Darom on 14th Mar 2007 at 21:05pm
Chris your script roks!

The onlY question I have is that is it possible to reduce te size of the stars.
I tried to modify the gif size, but it doesnt work! I realized that the I should modify the CSS, But I dont' what to do.
Coul you give me any advice?

PS You shoud install a CAPTCHA in this form
Reply By Faizan on 20th Mar 2007 at 12:24pm
Hi Chris,
i want to download accessible-star-ratings scrit but ur website download link is not working so is any other web from where i download it or somone do me favor that please email me the zip file on my email : fainaqvi@hotmail.com Please i search all scripts website but i did'nt found.
waiting for a positive reply..
Thanks
bYe
Reply By Wayne on 28th Mar 2007 at 19:23pm
I know this might sound like a stupid questions, but how do I center the stars? I need the look to be centered. The foreground stars (reddish stars) will center without a problem. The background stars (yellow) justify to the right when the script is centered. Thanks!
Reply By Zach Evans on 11th Apr 2007 at 2:35am
I'm curious if you've added support for dynamic URLs yet? I currently have a rating system on my web site (www.shoebug.com) but, although it does account for dynamic URLs, it isn't NEARLY as nice looking as your script. Any help would be GREATLY appreciated. Thanks.
Reply By Debasish Upadhyey on 17th May 2007 at 7:31am
Dear Chris, I sent you an email. The script is not working on my site - www.symphony-notes.com/songsandscores.html

My server supports ASP scripts. Please let me know how to make it work.

I have to put the files to the "/httpdocs" folder. So I modified the files u mentioned also. Still things are not working. Can't wait to impliment the script. Thanks for your help in advance!

Debasish Upadhyey
Reply By Urko on 8th Aug 2007 at 10:45am
HI,

Great script!

One question. Is it possible that this script would only rate a complete site?
Example: If i rate a default.asp page and then go to lets say product.asp page, it shows me no voting.

I would like, if some1 has rated my site, then he/she can't rate it again even if he/she went to product.asp or any other page.

I hope u know what i mean :)...
thanks,
Reply By Mo on 16th Aug 2007 at 1:23am
Very nice script indeed. I mplemented the application in less than 5 minutes. I wonder if there is way to prevent script from blocking people coming back for a seconed time (i.e. allow multiple votes)?
Reply By oyunola on 5th Sep 2007 at 23:11pm
Thanks for for .asp one. I just added my site. Live demo on: www.oyunola.com you can check any game page to see live demo. (i modified rating.gif)
Reply By John on 26th Oct 2007 at 0:48am
It's another hosted rating system you might be interested
http://www.rating-system.com
Reply By Isaac on 13th Dec 2007 at 5:05am
So did anyone every figure out how to integrate thins into an existing asp.Net page?
Reply By Sam on 30th Dec 2007 at 12:56pm
hi chris,

your script rocks, but somehow i am not able to fix it up. can u pls. help me dood .. i hav it up on this test link, can u come to my rescue

http://partners.shailesshvalia.com/rating/testing.asp


thanx in advance. cheers and have a rocking news year !!
Reply from Glenn on 9th Jan 2008 at 12:48pm
Chris -

Awesome utility! Had it running in minutes, had it moved to a secure folder minutes later, and have it reading from the SQL 2K5 server now, too. (struggling with my meager SQL skills to figure out how to allow write, but that's on-me.) I'm investigating the IFrame solution to allow voting on the page that manages the display of multiple scripts/functions on my site. Should have it functioning soon - just need more play time.

Sam -

Looks like it's installed correctly - did you allow WRITE permission for the IUSR_MachineName account on the Ratings folder? Seems to be the most common issue when the stars display but you can't vote. The IUSR account already has READ perms to the web strucutre. I added WRITE access directly to the MDB file and had no problems, but saw comments elsewhere that the directory where DB files are kept should be writable as well. That would be true if temp or backup files needed to be created, but don't think it applies here to the Ratings db. My rule is to only relax security as much as needed ,nothing more.

Glenn
Reply By Scott on 17th Jan 2008 at 19:16pm
Great script and very easy to implement for basic use. To complicate things some, what if I have multiple things on the page that I want to have the rating on. How would I do that? I know that I could do an IFRAME and create several different pages that include the ratings.asp, but I thought it would be alot easier if I could just have the one page and include the ratings.asp page multiple times on the page. I am assuming that it does not work that way currently because it is grabbing the URL. Would I need to change that to maybe grab some other type of unique ID for each part of the page instead of the URL for the page?

Any help you can give would be greatly appreciated!

Thanks
Reply By Richard on 20th Jan 2008 at 17:53pm
Dear Chris,

I have implemented your excellent star rating script, and managed to put multiple id on any page, I have also re-drawn the star so it has a transparent background. I have however run into a slight problem and that is making the whole star bar smaller, obviously I understand that the image needed to be reduced and the css in suit with that, butwhatever I do I cannot get the rollovers to re-act correctly with my new image.

Is there any way you could amend your css for me based on the image but a third smaller ???

I would be hugely grateful If you could have a look for me. Or point me in the right direction.

Cheers
Richard
Reply By Brad Thorne on 22nd Jan 2008 at 16:33pm
Same problem as some of the others. Just downloaded the code and did a virgin install. No response when the stars are clicked. HELP! Love the code, but need it work...
Reply from Brad Thorne on 23rd Jan 2008 at 20:15pm
Just realized and didn't see it mentioned but MAKE SURE full read/write permissions are granted on the rating folder. Won't work without it.
Reply By Dan on 26th Jan 2008 at 15:53pm
I moved everything into a sub folder and am pretty sure I have all my paths right. I made sure permissions on the 'ratings' folder are set to read/write as well as the database. When I select a star though, nothing happens. It doesn't record.

Any ideas?

http://www.petcaregroup.com/everyone/50ways.asp
Reply By Kumar on 31st Jan 2008 at 14:50pm
Is this going to work for ASP.Net. This controls is entirely different frm the ASP.Net one.
Reply By oyunlar on 1st Feb 2008 at 23:09pm
Its refreshing my page with firefox. How can i fix it.
Reply By En Güzel Oyunlar on 1st Feb 2008 at 23:11pm
perfect I am using it on my flash game site. thnx
Reply By Randy on 26th Feb 2008 at 0:40am
Ok i have installed this script perfectly. i followed the directions as you wrote them but it is still not working on my website.
can you please help me
i have put them in the right directory.
i have put the code on my page for the rating system to be on my page.
i actually use dreamweaver to do this.

but when i put the "<scripttype="text/javascript"src="/rating/rating.js"></script>
<link type="text/css" rel="stylesheet" href="/rating/rating.css" />"
what do you mean by between the head tags of your page.. can you show me an example because i think that is my problem.
Reply By erkan on 18th Mar 2008 at 18:27pm
The largest online games site where you can play free flash games, sports games, brain games, puzzle games, action games, and more. Updated frequently.

www.chipoyun.com
Reply By fixthemad on 18th Apr 2008 at 18:14pm
K guys. About the problem that when someone clicks on the stars nothing happens.
Its seems to happen when:
• There is no Read/Write permission on the rating folder or the folder where the data base is
• If you installed the script in a different folder than /script and then don’t reference it in the correct form on the code
• Observe that wrong referencing in the commom.asp File
At Line:
30 Const RATING_DIR = "lojan/rating"
Can still makes everything appears to be fine , but in fact it will screw up the path used to reference the rpc.asp file on the OnClick event

To find out if the correct path is being passed to the function variable is the corret one, do the following:

Open the Page where the Star Rating System is being displayed on your browser.
Click The View Code option
Find Out where is the code is the Star Rating Tags , find the LIST tags, that will look like this:

<ul>
<li class="current-rating" style="width:0px;">Currently 0/5 Stars.</li>
<li><a href="/everyone/50ways.asp?rating=1#star-rating" onclick="fAJAXRequest('star-rating','/everyone/rating/rpc.asp?rating=1&amp;url=/everyone/50ways.asp','nocache','',''); return false;" title="Rate this 1 stars out of 5" class="star-1">1</a></li>
<li><a href="/everyone/50ways.asp?rating=2#star-rating" onclick="fAJAXRequest('star-rating','/everyone/rating/rpc.asp?rating=2&amp;url=/everyone/50ways.asp','nocache','',''); return false;" title="Rate this 2 stars out of 5" class="star-2">2</a></li>
<li><a href="/everyone/50ways.asp?rating=3#star-rating" onclick="fAJAXRequest('star-rating','/everyone/rating/rpc.asp?rating=3&amp;url=/everyone/50ways.asp','nocache','',''); return false;" title="Rate this 3 stars out of 5" class="star-3">3</a></li>
<li><a href="/everyone/50ways.asp?rating=4#star-rating" onclick="fAJAXRequest('star-rating','/everyone/rating/rpc.asp?rating=4&amp;url=/everyone/50ways.asp','nocache','',''); return false;" title="Rate this 4 stars out of 5" class="star-4">4</a></li>
<li><a href="/everyone/50ways.asp?rating=5#star-rating" onclick="fAJAXRequest('star-rating','/everyone/rating/rpc.asp?rating=5&amp;url=/everyone/50ways.asp','nocache','',''); return false;" title="Rate this 5 stars out of 5" class="star-5">5</a></li>
</ul>

Now, look close at the parameters being passed to the the fAJAXRequest() Function
The first one seems to be the 'star-rating' string . OK this is Default

The Second One Seems to have on its first part Before the Semicolon a Reference to the .rfc file. Look if these files are being referenced in the proper manner.

Mine was wrong because I messed with the RATING_DIR = "mysitesubfolder/ rating" Declaration on Common.asp

Looking at the source code will help you identify if the URL references are correct or NOT.

I Hope I could help.

Reply By fixthemad on 18th Apr 2008 at 18:19pm
So maybe for DAN the correct RATING_DIR should be
="everyone/50ways/rating"

Reply By Javed on 19th May 2008 at 10:40am
Hi Chris Hardy,

You have made a great and successful effort. Thanks for taking so much pain in developing this script and most high allowing anyone to use it and FREELY. I also like to use this script of yours if you allow me too. But without any reply from you, I've downloaded it and start to use it. I sorry for that. But Im getting some problem. Please visit here http://go2bollywood.tv/kajol/testRating.asp

You will see yourself that the "star" image is not visible. Also if i click star, with the help of tooltip, voting doesnt done. Ive installed the script as per the instruction, in "rating" directory, and also didnt made any changes but still it is not giving right output. Please help me in this because I want to use it in my site. You can check it http://go2bollywood.tv/kajol/index.asp.

Moreover, I want to know about Blocking IP, User Agents and User Agent Strings. Could you just tell something more about it. Hope Im not bothering you!!!!

Trust to have a positive and early reply from you side.

Thanks for all and ever,
Javed Iqbal.
Reply By Cathy on 31st May 2008 at 1:29am
I've implemented the code and it works in Firefix, but not IE. For my application, I am letting users rate someone, so the initial state is 5 empty stars. But, the stars do NOT appear on the page when using IE. Is there some bug in IE with CSS???

Thanks,
Cathy
Reply By India Webdesigners on 9th Jun 2008 at 7:53am
Great Script!!
Reply By Ash on 21st Jun 2008 at 19:56pm
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'URLID= and UserIP='81.141.34.999'.

/common.asp, line 146

getting the above error, but when i refresh the page it has in fact worked?

thanks in advanced

Reply By Peter on 3rd Jul 2008 at 17:39pm
Can anyone give me the code for displaying top 20 best rated?

I have tried almost everything! Thanks in advance!!!
Reply By Glenn on 4th Jul 2008 at 0:39am
Common questions about this script:
Can I change the directory where the script resides?
Can I use SQL or mySQL server instead of Access?
Can I change the graphic to airplanes/rockets/cars/my logo/etc?
Can I change the size of the rating graphic?
Can I rate more than one object on a page?
Can I change the position of the rating images?

For detailed answers, see the FAQ at www.innotechcg.com/forestblog - published in the scripting section on 7/3/08. Hope you find it helpful.

Glenn
Reply By bayrak on 20th Jul 2008 at 18:02pm
thank you so much


<a href="http://www.bayrakline.com">bayrak</a>
<a href="http://www.aybayrak-tr.com">türk bayrağı</a>
<a href="http://www.aybayrak-tr.com">bayrakçı</a>
Reply By Pazouni on 20th Jul 2008 at 20:15pm
when i to test the script i got the following error message

Erreur d'exécution Microsoft VBScript erreur '800a000d'

Type incompatible: 'GetRating'

/tee-shops/rating/rating.asp, ligne 33
Reply By Pazouni on 20th Jul 2008 at 20:17pm
sorry i got this message not the first

Erreur de compilation Microsoft VBScript erreur '800a03ea'

Erreur de syntaxe

/rating/common.asp, ligne 74

Sub RatingConnOpen
^
Reply By IzmirNews on 28th Jul 2008 at 20:53pm
Hello there. Your asp rating script really cool. But it doesnt work on IE7 i guess. Pls check it out:
http://www.izmirnews.com/haberic.asp?id=454

It works corectly on IE6 and Firefox. The script breaks fAJAXRequest() Function.

Thank you for your help.
Reply By oyunlar on 31st Jul 2008 at 8:45am
thanks alot very nice site
Reply By oyun on 31st Jul 2008 at 8:46am
thanks
Reply By oyun oyna on 31st Jul 2008 at 8:46am
ello there. Your asp rating script really cool. But it doesnt work on IE7 i guess. Pls check it ou
Reply By karl hemmings on 13th Aug 2008 at 13:14pm
Hi there Chris,

Just wondered if you have any helpfiles so that the script can be adapted and used for dynamic urls, using more than once instance on a page and grabbing a unique ID rather than the URL?

If you have links to this solution it would be appreciated. I can see from the comments on your website that this question has already been raised but i cannot seem to locate the solution.

Your help will be appreciated.

All teh best, good looking script ;-)
Reply By india-realestate on 24th Aug 2008 at 15:37pm
Thanks

Add a comment

Don't enter anything in this field:

Privacy policy