| Author |
Message |
PJR
Joined: 17 Oct 2005 Posts: 161 Location: Czech republic |
|
|
|
And what about the overall rating? It could count all ratings into one general - it could be one simple line in admin area. Is it possible? 
|
|
| Wed Feb 01, 2006 10:42 pm |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
SwiZZeR
Moderator
Joined: 24 Oct 2005 Posts: 71
|
|
|
|
Yeah, it's possible and easy. I'll do it especially for you, but answer me: What this thing for?
|
|
| Wed Feb 01, 2006 10:50 pm |
 |
 |
PJR
Joined: 17 Oct 2005 Posts: 161 Location: Czech republic |
|
|
|
Simple...I think it's good to know how readers rate your posts, generally. It tells a lot about what people think about your site.
|
|
| Wed Feb 01, 2006 11:08 pm |
|
 |
PepeT
Joined: 11 Nov 2005 Posts: 92 Location: Finland |
|
|
|
So this will now work with CuteNews.RU 2.4.1?
Last edited by PepeT on Sun Feb 05, 2006 4:43 pm; edited 1 time in total |
|
| Sat Feb 04, 2006 3:19 pm |
|
 |
SwiZZeR
Moderator
Joined: 24 Oct 2005 Posts: 71
|
|
|
|
2.4.1? Now is 2.6 beta (New name of CuteNews.RU: Strawberry)
strawberry.goodgirl.ru welcome!!!!
|
|
| Sat Feb 04, 2006 3:28 pm |
 |
 |
PepeT
Joined: 11 Nov 2005 Posts: 92 Location: Finland |
|
|
|
well i still use version 2.4.1
|
|
| Sun Feb 05, 2006 4:41 pm |
|
 |
snoopy
Joined: 28 Mar 2006 Posts: 25
|
|
Error |
|
Hi Ive just installed script but doesn 't seem to be working. shows in Pluggin folder as active.
But I have a few problems on installation it says
- Switch on plugin in admin-panel
- Goto plugin menu in admin-panel and push "Create table!" I Cant find Create table.....
im using version CuteNews.RU 2.5.4
|
|
| Tue Mar 28, 2006 12:59 pm |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1943 Location: US |
|
|
|
soooo good. you have no idea what doors this opens to me. i could never be more greatful.
_________________ www.scottdizzle.com uses cnr
last update: 07-22-08: 8:30 pm |
|
| Fri May 05, 2006 2:15 pm |
|
 |
zumbuluk
Joined: 26 Sep 2005 Posts: 43
|
|
|
|
 |  | Goto plugin menu in admin-panel and push "Create table!" I Cant find Create table..... |
In the options panel you'll find the News rating link. In it you'll find the "Create table"
Now, SwizzEr; I've accidentally deleted the table and created it anew. Is that a problem.
And how do I apply rating to specific articles? I don't actually understand how to use this plugin.
What if I wanted to have the votes reset once a week, so I could make "best game of the week" overview and have the users vote again next week, even the ones who already voted?
|
|
| Fri Jun 16, 2006 9:40 am |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2801 Location: Germany |
|
|
|
Check out the demo page (templates) to see how to put the rating form to each article.
Specific article won't work. But you can put it to a specific template - all articles with this template will have the rating form.
|
|
| Fri Jun 16, 2006 10:04 am |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1943 Location: US |
|
|
|
You'd have to make double categories then wouldn't you? Like 'Games' and 'Games-norating' then specify your templates accordingly
_________________ www.scottdizzle.com uses cnr
last update: 07-22-08: 8:30 pm |
|
| Sat Jun 17, 2006 12:03 am |
|
 |
x-byte
Joined: 14 Nov 2005 Posts: 170
|
|
|
|
Is it possible to modify this so you get up to 10 in rating? I'm thinking of using this for game reviews. And 1-5 is a little low in scale 
|
|
| Mon Jun 19, 2006 1:10 am |
|
 |
SS
Joined: 09 Jun 2006 Posts: 23
|
|
half in ratings |
|
(sorry for my English)
I have thought that would be good to add display of half in a rating. Who wishes, able to do it as is described below.
Sample for 1.5:
In folder plugins/rating add your half images. You can load it from http://www.sgallery.net/artnews/plugins/rating/
In file plugins/rating.php find
 |  | if ($rating == 0) {$mark .= sprintf($echo['ImgRate0'], $config_http_script_dir);}
elseif ($rating == 1) {$mark .= sprintf($echo['ImgRate1'], $config_http_script_dir);}
elseif ($rating == 2) {$mark .= sprintf($echo['ImgRate2'], $config_http_script_dir);}
elseif ($rating == 3) {$mark .= sprintf($echo['ImgRate3'], $config_http_script_dir);}
elseif ($rating == 4) {$mark .= sprintf($echo['ImgRate4'], $config_http_script_dir);}
elseif ($rating == 5) {$mark .= sprintf($echo['ImgRate5'], $config_http_script_dir);} |
and replace with
 |  | if ($rating == 0) {$mark .= sprintf($echo['ImgRate0'], $config_http_script_dir);}
elseif ($rating > 0 && $rating < 1) {$mark .= sprintf($echo['ImgRate05'], $config_http_script_dir);}
elseif ($rating == 1) {$mark .= sprintf($echo['ImgRate1'], $config_http_script_dir);}
elseif ($rating > 1 && $rating < 2) {$mark .= sprintf($echo['ImgRate15'], $config_http_script_dir);}
elseif ($rating == 2) {$mark .= sprintf($echo['ImgRate2'], $config_http_script_dir);}
elseif ($rating > 2 && $rating < 3) {$mark .= sprintf($echo['ImgRate25'], $config_http_script_dir);}
elseif ($rating == 3) {$mark .= sprintf($echo['ImgRate3'], $config_http_script_dir);}
elseif ($rating > 3 && $rating < 4) {$mark .= sprintf($echo['ImgRate35'], $config_http_script_dir);}
elseif ($rating == 4) {$mark .= sprintf($echo['ImgRate4'], $config_http_script_dir);}
elseif ($rating > 4 && $rating < 5) {$mark .= sprintf($echo['ImgRate45'], $config_http_script_dir);}
elseif ($rating == 5) {$mark .= sprintf($echo['ImgRate5'], $config_http_script_dir);} |
Also find  |  | $rating = @round(($row['rating'] / $row['votes']), 0); |
and replace with  |  | $rating = @round(($row['rating'] / $row['votes']), 1); |
In file /inc/lang/en/plugins/rating.ini find
 |  |
ImgRate0 = "<img src='%s/plugins/rating/0.gif' border='0' align='absmiddle'>"
ImgRate1 = "<img src='%s/plugins/rating/1.gif' border='0' align='absmiddle'>"
ImgRate2 = "<img src='%s/plugins/rating/2.gif' border='0' align='absmiddle'>"
ImgRate3 = "<img src='%s/plugins/rating/3.gif' border='0' align='absmiddle'>"
ImgRate4 = "<img src='%s/plugins/rating/4.gif' border='0' align='absmiddle'>"
ImgRate5 = "<img src='%s/plugins/rating/5.gif' border='0' align='absmiddle'>"
|
and replace with
 |  |
ImgRate0 = "<img src='%s/plugins/rating/0.gif' border='0' align='absmiddle'>"
ImgRate05 = "<img src='%s/plugins/rating/0+.gif' border='0' align='absmiddle'>"
ImgRate1 = "<img src='%s/plugins/rating/1.gif' border='0' align='absmiddle'>"
ImgRate15 = "<img src='%s/plugins/rating/1+.gif' border='0' align='absmiddle'>"
ImgRate2 = "<img src='%s/plugins/rating/2.gif' border='0' align='absmiddle'>"
ImgRate25 = "<img src='%s/plugins/rating/2+.gif' border='' align='absmiddle'>"
ImgRate3 = "<img src='%s/plugins/rating/3.gif' border='0' align='absmiddle'>"
ImgRate35 = "<img src='%s/plugins/rating/3+.gif' border='0' align='absmiddle'>"
ImgRate4 = "<img src='%s/plugins/rating/4.gif' border='0' align='absmiddle'>"
ImgRate45 = "<img src='%s/plugins/rating/4+.gif' border='0' align='absmiddle'>"
ImgRate5 = "<img src='%s/plugins/rating/5.gif' border='0' align='absmiddle'>"
|
Done. Sample: http://www.sgallery.net/artnews/
|
|
| Thu Jun 22, 2006 12:31 pm |
 |
 |
zumbuluk
Joined: 26 Sep 2005 Posts: 43
|
|
|
|
 |  | Check out the demo page (templates) to see how to put the rating form to each article.
Specific article won't work. But you can put it to a specific template - all articles with this template will have the rating form. |
But on http://english.cutenews.ru/cuteru/example/ I still have no option to rate. How do you rate this?
|
|
| Thu Jun 29, 2006 10:53 pm |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2801 Location: Germany |
|
|
|
Yeah, I installed the randomize hack which broke the full story.
Check again. The rating form is right above the comment form.
|
|
| Thu Jun 29, 2006 11:10 pm |
|
 |
|