Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
News Ratings
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
 
Reply to topic    Forum Index » Additional Downloads View previous topic
View next topic
News Ratings
Author Message
PJR



Joined: 17 Oct 2005
Posts: 161
Location: Czech republic

Post Reply with quote
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? Wink
Wed Feb 01, 2006 10:42 pm View user's profile Send private message
Guest








Please login to hide the ads.

SwiZZeR
Moderator


Joined: 24 Oct 2005
Posts: 71

Post Reply with quote
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 View user's profile Send private message Visit poster's website ICQ Number
PJR



Joined: 17 Oct 2005
Posts: 161
Location: Czech republic

Post Reply with quote
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 View user's profile Send private message
PepeT



Joined: 11 Nov 2005
Posts: 92
Location: Finland

Post Reply with quote
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 View user's profile Send private message
SwiZZeR
Moderator


Joined: 24 Oct 2005
Posts: 71

Post Reply with quote
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 View user's profile Send private message Visit poster's website ICQ Number
PepeT



Joined: 11 Nov 2005
Posts: 92
Location: Finland

Post Reply with quote
well i still use version 2.4.1
Sun Feb 05, 2006 4:41 pm View user's profile Send private message
snoopy



Joined: 28 Mar 2006
Posts: 25

Post Error Reply with quote
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 View user's profile Send private message
scottdallas



Joined: 04 May 2006
Posts: 1943
Location: US

Post Reply with quote
soooo good. you have no idea what doors this opens to me. i could never be more greatful.

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Fri May 05, 2006 2:15 pm View user's profile Send private message Visit poster's website AIM Address
zumbuluk



Joined: 26 Sep 2005
Posts: 43

Post Reply with quote
Quote:
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 View user's profile Send private message
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2801
Location: Germany

Post Reply with quote
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 View user's profile Send private message
scottdallas



Joined: 04 May 2006
Posts: 1943
Location: US

Post Reply with quote
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 Smile
last update: 07-22-08: 8:30 pm
Sat Jun 17, 2006 12:03 am View user's profile Send private message Visit poster's website AIM Address
x-byte



Joined: 14 Nov 2005
Posts: 170

Post Reply with quote
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 Smile
Mon Jun 19, 2006 1:10 am View user's profile Send private message Visit poster's website
SS



Joined: 09 Jun 2006
Posts: 23

Post half in ratings Reply with quote
(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

Code:
        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



Code:
         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
Code:
         $rating = @round(($row['rating'] / $row['votes']), 0);


and replace with
Code:
         $rating = @round(($row['rating'] / $row['votes']), 1);




In file /inc/lang/en/plugins/rating.ini find



Code:


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



Code:


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 View user's profile Send private message Visit poster's website ICQ Number
zumbuluk



Joined: 26 Sep 2005
Posts: 43

Post Reply with quote
FI-DD wrote:
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 View user's profile Send private message
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2801
Location: Germany

Post Reply with quote
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 View user's profile Send private message
Display posts from previous:    
Reply to topic    Forum Index » Additional Downloads All times are GMT + 1 Hour
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 5 of 7

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.