| Author |
Message |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2736 Location: Germany |
|
|
| Wed Mar 14, 2007 4:22 pm |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
asson
Joined: 24 Nov 2006 Posts: 46 Location: Karlstad, Sweden |
|
|
|
Very nice, thanks FI-DD
|
|
| Wed Mar 14, 2007 9:56 pm |
|
 |
astrostart

Joined: 11 Feb 2007 Posts: 124 Location: The Netherlands |
|
|
| Wed Mar 14, 2007 10:25 pm |
|
 |
astrostart

Joined: 11 Feb 2007 Posts: 124 Location: The Netherlands |
|
|
|
Also, if I activate the Ratings (Ajax) script, it doesn't show {views} in my news.
_________________ My site: http://www.astrostart.nl | Thanks to everyone here who has helped me! |
|
| Wed Mar 14, 2007 10:29 pm |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2736 Location: Germany |
|
|
|
 |  | It looks brilliant! But I just can't seem to get it to work. |
Oh sorry, I forgot to let you include the css file.
Put this between the <head> tags of your news page:
 |  | <link href="<?=$config_http_script_dir; ?>/plugins/rating/star.css" rel="stylesheet" type="text/css" media="screen" /> |
(I updated the instructions above.)
|
|
| Wed Mar 14, 2007 11:28 pm |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2736 Location: Germany |
|
|
|
 |  | Also, if I activate the Ratings (Ajax) script, it doesn't show {views} in my news. |
Fixed in the download above.
Last edited by FI-DD on Wed Mar 14, 2007 11:44 pm; edited 1 time in total |
|
| Wed Mar 14, 2007 11:30 pm |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1843 Location: US |
|
|
|
Now you're turning into the php and ajax guru FI-DD. This is one of the coolest additions to cutenews.ru it works sooo incredibly smoothly. Plus, I really like that it doesn't need to refresh the page (making {views} calculate again just for a rating).
You are the man.
_________________ www.scottdizzle.com uses cnr
last update: 07-22-08: 8:30 pm |
|
| Wed Mar 14, 2007 11:40 pm |
|
 |
astrostart

Joined: 11 Feb 2007 Posts: 124 Location: The Netherlands |
|
|
| Thu Mar 15, 2007 12:14 am |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2736 Location: Germany |
|
|
|
 |  | When I vote and I refresh, then it shows all this weird dots (see attachment) |
I guess the star.css is clashing with your other css file.
Make sure you set list-style:none; for the <ul> and <li> tag in your css file.
 |  | Is there also a way to get rid of the horizontal line below it? |
Remove border-bottom:1px solid #999; three times from star.css.
|
|
| Thu Mar 15, 2007 12:37 am |
|
 |
WellWho

Joined: 09 Jan 2007 Posts: 62
|
|
|
| Thu Mar 15, 2007 1:49 am |
|
 |
astrostart

Joined: 11 Feb 2007 Posts: 124 Location: The Netherlands |
|
|
|
Vielen Dank! It works!
I'm so happy!
_________________ My site: http://www.astrostart.nl | Thanks to everyone here who has helped me! |
|
| Thu Mar 15, 2007 3:01 am |
|
 |
astrostart

Joined: 11 Feb 2007 Posts: 124 Location: The Netherlands |
|
|
|
Try to refresh. You see that you cannot vote anymore. It may look like you can vote one, five or even ten times, but after one vote, the system already blocks you out. You just have to refresh to notice it.
_________________ My site: http://www.astrostart.nl | Thanks to everyone here who has helped me! |
|
| Thu Mar 15, 2007 3:02 am |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1843 Location: US |
|
|
|
 |  | You just have to refresh to notice it. |
Oh that's neat. I hadn't noticed that!
_________________ www.scottdizzle.com uses cnr
last update: 07-22-08: 8:30 pm |
|
| Thu Mar 15, 2007 5:56 am |
|
 |
PJR
Joined: 17 Oct 2005 Posts: 161 Location: Czech republic |
|
|
|
I would like use it in only some posts (categories), concurrently with the standard rating, is it possible somehow?
(fe. I would like users could rate the record in music reviews with ajax version).
|
|
| Thu Mar 15, 2007 9:38 am |
|
 |
astrostart

Joined: 11 Feb 2007 Posts: 124 Location: The Netherlands |
|
|
|
HELP! I did something wrong, but I don't know what it is.
Users with Internet Explorer (7.0, i don't know about earlier versions) cannot vote lower than the average score on my site. The yellow stars seem to overlap the clickable stars.
For instance: http://www.astrostart.nl/index.php/2005/01/21/discussieer-mee-met-polls.html
This is weird, because it seems to work on FI-DD's example site. So it must have to do something with what I've done.
Does someone know which part must be altered? Thanks!

_________________ My site: http://www.astrostart.nl | Thanks to everyone here who has helped me! |
|
| Thu Mar 15, 2007 10:03 am |
|
 |
|