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

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

0 Members and 1 Guest are viewing this topic.

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Re: [Mod] Star Rating
« Reply #15 on: December 01, 2002, 12:45:42 AM »
Quote from: Nicky
// HERE EXAMPLE PICS

standard 4images color on white background (55x10 px)








// DEMO: no more available

Offline adular

  • Pre-Newbie
  • Posts: 5
    • View Profile
Wo im Queltext soll das eingefügt werden?
« Reply #16 on: December 09, 2002, 03:34:15 PM »
Hi,
habe das selbe Problem wie Ihr auch. Ich habe
<img src="{template_url}/images/{rating_pic}" width="55" height="10" alt="" /> schon überall in der design.html eingefügt aber nichts passiert? ;-(

Ich danke Euch

Offline Shap

  • Full Member
  • ***
  • Posts: 114
    • View Profile
[Mod] Star Rating
« Reply #17 on: December 13, 2002, 03:50:56 AM »
just wanted to say GREAT MOD!

THANKS!

Offline KSA

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
[Mod] Star Rating
« Reply #18 on: January 11, 2003, 11:53:38 AM »
please demo

Offline Harry

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • http://7summits.com
Demo
« Reply #19 on: January 11, 2003, 01:46:38 PM »
Quote from: KSA
please demo

A demo of the start system (slightly adapted, see posts) can be found on
http://7summits.com/images

Regards,

Harry
Trips & Expeditions to the 7 summits: the highest mountains on the seven continents. Kilimanjaro, Aconcagua and more!
Check out http://7summits.com

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
[Mod] Star Rating
« Reply #20 on: January 12, 2003, 11:26:08 AM »
Very nice MOD, thank you!

Standard stars doesn't look very good, but I've found hundreds of rank images at http://www.phpbb.com/styles/downloads/index.php?t=sub_pages&cat=32

Offline Lucifix

  • Hero Member
  • *****
  • Posts: 710
    • View Profile
    • http://www.slo-foto.net
[Mod] Star Rating
« Reply #21 on: February 01, 2003, 02:26:31 PM »
Quote
// ADD IN TEMPLATE(S) / FÜGE DIES IN DEIN(E) TEMPLATE(S)
Code:

<img src="{template_url}/images/{rating_pic}" width="55" height="10" alt="" />

I dont get it... in which file should i insert this?  :oops:

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
[Mod] Star Rating
« Reply #22 on: February 01, 2003, 03:43:01 PM »
Quote from: Lucifix1
I dont get it... in which file should i insert this?  :oops:

into category_bit.html

Offline Lucifix

  • Hero Member
  • *****
  • Posts: 710
    • View Profile
    • http://www.slo-foto.net
[Mod] Star Rating
« Reply #23 on: February 05, 2003, 10:56:05 AM »
Quote
into category_bit.html


Then the code looks like this?
Quote
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top">
     <img src="{template_url}/images/folder.gif" width="20" height="13" alt="" />
      <!-- {if random_cat_image_file}<a href="{cat_url}"><img src="{random_cat_image_file}" border="1"></a>{endif random_cat_image_file}  -->
    </td>
    <td>
     <a href="{cat_url}" class="maincat">{cat_name}</a>&nbsp;({num_images})
      {if cat_is_new}<sup class="new">{lang_new}</sup>{endif cat_is_new}
   </td>
  </tr>
</table>
{if cat_description}<span class="smalltext">{cat_description}</span><br />{endif cat_description}
{if sub_cats}{sub_cats}{endif sub_cats}
<img src="{template_url}/images/{rating_pic}" width="55" height="10" alt="" />


OR should i insert it somewhere else?

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
[Mod] Star Rating
« Reply #24 on: February 07, 2003, 09:05:29 PM »
Sorry, just noticed, that I gave you the wrong answer  :oops:
You should insert it under the thumbnail, info thumbnail_bit.html
Quote
<!-- you wish detail page in a small javascript open window, use {thumbnail_openwindow} -->
{thumbnail}<br />
<b>{image_name}</b> {if image_is_new}<sup class="new">{lang_new}</sup>{endif image_is_new} ({user_name_link})
<br />
<a href="{cat_url}">{cat_name}</a><br />
{if allow_comments}{lang_comments} {image_comments}{endif allow_comments}<br />
<img src="{template_lang_image_url}/{rating_pic}" alt="{lang_rating} {image_rating} ({image_votes} {lang_votes})" /><br />
{lightbox_button}

Offline remus

  • Newbie
  • *
  • Posts: 27
    • View Profile
rating
« Reply #25 on: February 09, 2003, 03:45:33 AM »
hi

ich habe den code in die function.php eingefügt und in die details.html aber ich sehe kein rating und die pics habe ich auch in den images ordner geladen, könnt ihr mir helfen?

Offline remus

  • Newbie
  • *
  • Posts: 27
    • View Profile
hallo???
« Reply #26 on: February 09, 2003, 04:59:33 PM »
keine antowort :) :lol:

Offline Fuztug

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
[Mod] Star Rating
« Reply #27 on: March 22, 2003, 09:31:26 PM »
In welchem Template?!?

Offline uksoreeyes

  • Full Member
  • ***
  • Posts: 117
    • View Profile
    • http://www.myleeneklass.com
[Mod] Star Rating
« Reply #28 on: April 24, 2003, 04:17:28 AM »
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

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
[Mod] Star Rating
« Reply #29 on: April 24, 2003, 03:43:57 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'].")";
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)