• [Mod] Star Rating 5 0 5 1
Currently:  

Author Topic: [Mod] Star Rating  (Read 131960 times)

0 Members and 1 Guest are viewing this topic.

Offline andersen

  • Newbie
  • *
  • Posts: 34
    • View Profile
[Mod] Star Rating
« Reply #45 on: May 14, 2003, 06:22:23 AM »
Thanks V@no!

since I had add below

"image_rating_round" => round($image_row['image_rating']),

to includes/functions.php

it works!

Thanks
What's wrong, huh?

Offline devance

  • Pre-Newbie
  • Posts: 2
    • View Profile
[Mod] Star Rating
« Reply #46 on: May 15, 2003, 03:05:27 AM »
Parse error: parse error, unexpected T_STRING in /www/htdocs/v032550/4u/dev/4images/includes/functions.php on line 195


^^ dieser fehler kommt bei mir nach der installation des "star rating"-mods. was kann ich tun???


in line 195 steht folgendes:

Code: [Select]
if ($image_row['image_rating'] == '5.00') {

drhtm

  • Guest
[Mod] Star Rating
« Reply #47 on: May 24, 2003, 11:25:00 PM »
great mod...wanted to know if it's possible to do two things:

first add the rating system to even the thumbnail section and second can it be set up so when the user rates, it doesn't refresh the page.  I have the 'add lightbox mod' created by V@no where you can add the pictures to your favorites without refreshing the page...anyway of doing this for the rating system...and even better, can it be made so the users just hover over the rating and picks the one they want instead of using a dropdown menu to rate.

I've seen this done at MSN entertainment with music rating.

Any help would be awesome..maybe if this is possible you can create a new Sticky Mod instead of letting this great idea get buried. Thanks.

drhtm

  • Guest
[Mod] Star Rating
« Reply #48 on: May 29, 2003, 12:07:12 AM »
Quote from: drhtm
great mod...wanted to know if it's possible to do two things:

first add the rating system to even the thumbnail section and second can it be set up so when the user rates, it doesn't refresh the page.  I have the 'add lightbox mod' created by V@no where you can add the pictures to your favorites without refreshing the page...anyway of doing this for the rating system...and even better, can it be made so the users just hover over the rating and picks the one they want instead of using a dropdown menu to rate.

I've seen this done at MSN entertainment with music rating.

Any help would be awesome..maybe if this is possible you can create a new Sticky Mod instead of letting this great idea get buried. Thanks.


just wanted to bumb this up!

Offline matthias44

  • Newbie
  • *
  • Posts: 34
    • View Profile
[Mod] Star Rating
« Reply #49 on: May 29, 2003, 02:21:43 PM »
guter mod


mfg
Matthias

Offline brandkanne

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
    • http://www.jan-hendrik.com
[Mod] Star Rating
« Reply #50 on: June 13, 2003, 12:36:43 AM »
is it possible to configure the rating system so, that every user has to rate a pic by clicking to next or preview pic?

like an imagevote gallery?
I do not have anything against it, if you try all possible out on my side, but please announce you on not with TESTACCOUNT's to test purposes... Thank you for the understanding.

Offline Fuztug

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
[Mod] Star Rating
« Reply #51 on: June 22, 2003, 06:08:43 PM »
Quote from: Nicky
well, you can add it where you want,


maybe just into details.html, just look for a good place ;)
nope does'nt work!

Offline marod0er

  • Full Member
  • ***
  • Posts: 199
    • View Profile
Re: [Mod] Star Rating
« Reply #52 on: March 16, 2005, 11:51:11 PM »
Quote from: uksoreeyes
Anyway to add the star rating to the top.php? It would be nice to show the start rating in the top 10s. Ive tried everything but cant get it to work. little help?

Carl
from the original MOD find:
Code: [Select]
   $register_array['image_rating_number_'.$i] = "<b>".$top_list[$i]['image_rating']."</b> (".$top_list[$i]['image_votes']." ".$lang['votes'].")";replace with:
Code: [Select]
   $register_array['image_rating_number_'.$i] = "<b><img src=\"".TEMPLATE_PATH."/images/".floor($top_list[$i]['image_rating']).".gif\">"."</b> (".$top_list[$i]['image_votes']." ".$lang['votes'].")";

This is all well and fine, but it just doesn't work.

What is it exactly you've done here? In my top.html i have:
Code: [Select]
{image_rating_1}

{image_rating_2}

{image_rating_3}

{image_rating_4}

{image_rating_5}

{image_rating_6}

{image_rating_7}

{image_rating_8}

{image_rating_9}

{image_rating_10}

Now, by placing the "star-rating" code next to those "ranking-varibles" how will it know which is which?

Let me demonstrate:

Code: [Select]
<table>
 <tr>
  <td>{image_rating_1}</td>
  <td>img src="templates/site/images/{rating_pic}"></td>
 </tr>
</table>

How can it know whether {rating_pic} refers to {image_rating_1}, {image_rating_2} or any of the others?
Greetz: Lasse

Offline ascanio

  • Hero Member
  • *****
  • Posts: 569
    • View Profile
    • http://www.surfourspace.net
Re: [Mod] Star Rating
« Reply #53 on: April 24, 2005, 01:45:12 AM »
Here a I post new "stars" with transparent backgorund
I hopeu like them







If u use the 10 rating stars modification here are the other 5 :P






Offline Prashant

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: [Mod] Star Rating
« Reply #54 on: April 25, 2005, 02:27:42 PM »
OK, this will sound silly to you all but my stars dont appear. I dont know what I did wrong but can somebody please point me to the answer.
the url is http://www.merofoto.com/main there is a picture space there but the starts dont appear.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [Mod] Star Rating
« Reply #55 on: April 25, 2005, 02:43:48 PM »
inserted the new code in functions.php in the wrong place? (please dont post entire code of the file here ;))
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Prashant

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: [Mod] Star Rating
« Reply #56 on: April 25, 2005, 03:09:16 PM »
V@NO : Ok, I had made myself clear that I was silly  8O yes and I had forgotten to upload the modified functions.php, thank you for the hint. All in a tiring day  :wink:

Offline ascanio

  • Hero Member
  • *****
  • Posts: 569
    • View Profile
    • http://www.surfourspace.net
Re: [Mod] Star Rating
« Reply #57 on: May 03, 2005, 06:42:25 PM »
More Stars!!! If any body has the graph modification please post it, like the one that is on the privete message inbox folder

Offline ascanio

  • Hero Member
  • *****
  • Posts: 569
    • View Profile
    • http://www.surfourspace.net
Re: [Mod] Star Rating
« Reply #58 on: May 09, 2005, 03:59:36 AM »
and more  :lol: :lol: :lol:

Offline martrix

  • Hero Member
  • *****
  • Posts: 755
    • View Profile
    • overlord.cz
Re: [Mod] Star Rating
« Reply #59 on: May 09, 2005, 04:58:32 PM »
very nice stars, Ascanio!  :D
MAяTRIX


 

Post your comments here