Author Topic: [MOD] Hot or Not Rating  (Read 67526 times)

0 Members and 1 Guest are viewing this topic.

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: [MOD] Hot or Not Rating (working)
« Reply #15 on: January 31, 2006, 06:35:04 PM »
Quote

He always says i have to complete my topic and comment field?!
he doesn't get my vote Sad what to do?


More details would really be amended here ... your question is too shrinked up ... how can we help you if you're not posting with details ? ;)

Offline insane

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Gallery
Re: [MOD] Hot or Not Rating (working)
« Reply #16 on: January 31, 2006, 09:11:31 PM »
After i click on a number (1-5) the site refreshes and and shows above the hot-not frame that i should fill the topic/heading and comment fields with text.

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: [MOD] Hot or Not Rating (working)
« Reply #17 on: January 31, 2006, 09:16:00 PM »
Screenshots ?

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
Re: [MOD] Hot or Not Rating (working)
« Reply #18 on: February 01, 2006, 02:05:38 AM »
After i click on a number (1-5) the site refreshes and and shows above the hot-not frame that i should fill the topic/heading and comment fields with text.
That wouldnt happend with a fresh 4images code...You should remmember that every change you made to the code could possible break other mods...this seems to be the case...
Start digging in details.php and includes/page_header.php
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 insane

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Gallery
Re: [MOD] Hot or Not Rating (working)
« Reply #19 on: February 02, 2006, 02:21:28 PM »
The problem has solved itself -.-

but would be nice if anyone can tell me how i can delete this ugly bug grey box outta there
www.p4ddy-online.de.vu/4images
acc: test pw: test

any idea?

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: [MOD] Hot or Not Rating (working)
« Reply #20 on: February 03, 2006, 03:30:40 PM »
The problem has solved itself -.-

but would be nice if anyone can tell me how i can delete this ugly bug grey box outta there
www.p4ddy-online.de.vu/4images
acc: test pw: test

any idea?

Should be in your rate_form.html, PM me if you need further assistance

treZ


Offline insane

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Gallery
Re: [MOD] Hot or Not Rating (working)
« Reply #21 on: February 04, 2006, 12:41:58 PM »
i sent you a pm, don't know what to change that the grey box disappears.

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: [MOD] Hot or Not Rating (working)
« Reply #22 on: February 04, 2006, 03:08:23 PM »
i sent you a pm, don't know what to change that the grey box disappears.

Yes, please discuss further actions via PM with me, to keep this thread clean ;)

Offline pjp

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: [MOD] Hot or Not Rating (working)
« Reply #23 on: February 12, 2006, 11:32:17 AM »
I setup my practice rateme site at lsatforum.com/rateme and it looks great!

I have three problems I need to work on.

1.  when I open the site, I just wanna skip the index page and go straight into pictures.  It just makes easier for people.  How do I do that?

2. Consequently I gotta have some category links on my site probably somewhere on top or the left side.  How and where do I do that?

3. For random image information, I wanna show not only the average rating (which is {image_rating} i believe) I currently have but also your own rating (number you just clicked).  hotornot.com as you click numbers, it will tell you your vote is 4, average vote is 5.66.  However, this needs to be conditional.  If you just voted, it will show up.  Otherwise, it won't.

Thanks people! 
« Last Edit: February 12, 2006, 12:26:04 PM by pjp »

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: [MOD] Hot or Not Rating (working)
« Reply #24 on: February 12, 2006, 02:20:30 PM »
I setup my practice rateme site at lsatforum.com/rateme and it looks great!

I have three problems I need to work on.

1.  when I open the site, I just wanna skip the index page and go straight into pictures.  It just makes easier for people.  How do I do that?

If you want your users to see directly the thumbnails, you can use the search.php, that allows you to specify how to sort the images (votes, rating, views, etc) Simply put a index.html into you root folder, with a redirect script to e.g. search.php?search_new_images=1 to show for example the newest pictures

2. Consequently I gotta have some category links on my site probably somewhere on top or the left side.  How and where do I do that?

That was explained many times, use the search ;)


3. For random image information, I wanna show not only the average rating (which is {image_rating} i believe) I currently have but also your own rating (number you just clicked).  hotornot.com as you click numbers, it will tell you your vote is 4, average vote is 5.66.  However, this needs to be conditional.  If you just voted, it will show up.  Otherwise, it won't.

Thats can be done with the "Save votes to database A" which V@no created, it will be a little addon to his MOD, so write him about that, and if he finds it necessary he will write it.

Thanks people! 

Offline JensF

  • Addicted member
  • ******
  • Posts: 1.028
    • View Profile
    • http://www.terraristik-galerie.de
Re: [MOD] Hot or Not Rating
« Reply #25 on: February 17, 2006, 01:29:58 AM »
Hi there,

i have install the Mod but not with the "bring to the next image after vote" function.

I will have a function that the radio buttons are disabled after vote. what must i do to have this???

this is my rate_form.html

Code: [Select]
<FORM action="{self}" method="post" target="_top">
<table width="235" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="head1"><div align="center">Bewerten! - Vote!</div></td>
  </tr>
</table>
<table class="row1" border="0" cellspacing="1" width="235">
  <tr>
                              <td align="center">1</td>
                              <td align="center">2</td>
                              <td align="center">3</td>
                              <td align="center">4</td>
                              <td align="center">5</td>
                              <td align="center">6</td>
                              <td align="center">7</td>
                              <td align="center">8</td>
                              <td align="center">9</td>
                              <td align="center">10</td>
                            </tr>
                            <tr>


                              <td><input onclick=submit() type="radio" value="1" name="rating" ></td>
                              <td><input onclick=submit() type="radio" value="2" name="rating"></td>
                              <td><input onclick=submit() type="radio" value="3" name="rating"></td>
                              <td><input onclick=submit() type="radio" value="4" name="rating"></td>
                              <td><input onclick=submit() type="radio" value="5" name="rating"></td>
                              <td><input onclick=submit() type="radio" value="6" name="rating" ></td>
                              <td><input onclick=submit() type="radio" value="7" name="rating"></td>
                              <td><input onclick=submit() type="radio" value="8" name="rating"></td>
                              <td><input onclick=submit() type="radio" value="9" name="rating"></td>
                              <td><input onclick=submit() type="radio" value="10" name="rating"></td>

                            </tr>

                          </table>
  <input type="hidden" name="action" value="rateimage">
  <input type="hidden" name="id" value="{image_id}">
</form>

Thanks for help...
Mit freundlichem Gruß
Jens Funk



-> Sorry for my bad English <-

Offline IcEcReaM

  • Hero Member
  • *****
  • Posts: 714
    • View Profile
    • My little Testboard
Re: [MOD] Hot or Not Rating
« Reply #26 on: February 17, 2006, 09:51:36 AM »



Do you have installed vanos Mod that vots are saved in DB?
So with this mod then you can check if a user already voted,
and if yes, don't show the rating form.
This has here in the forum already been posted i think.
Coding is a everlasting competition between programmers who tries to write larger, better and idiot-safe programs and the universe producing larger and stupider idiots...
...so far the universe won
bump

Offline JensF

  • Addicted member
  • ******
  • Posts: 1.028
    • View Profile
    • http://www.terraristik-galerie.de
Re: [MOD] Hot or Not Rating
« Reply #27 on: February 17, 2006, 10:22:03 AM »



Do you have installed vanos Mod that vots are saved in DB?
So with this mod then you can check if a user already voted,
and if yes, don't show the rating form.
This has here in the forum already been posted i think.

Yes i have install this Mod and when i use a Dropdown Form to rate then the Button where diabled after vote. But not with the Hot or Not Rate...
Mit freundlichem Gruß
Jens Funk



-> Sorry for my bad English <-

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: [MOD] Hot or Not Rating
« Reply #28 on: February 17, 2006, 03:12:59 PM »



Do you have installed vanos Mod that vots are saved in DB?
So with this mod then you can check if a user already voted,
and if yes, don't show the rating form.
This has here in the forum already been posted i think.

Yes i have install this Mod and when i use a Dropdown Form to rate then the Button where diabled after vote. But not with the Hot or Not Rate...

You didn't do Step 3

Offline JensF

  • Addicted member
  • ******
  • Posts: 1.028
    • View Profile
    • http://www.terraristik-galerie.de
Re: [MOD] Hot or Not Rating
« Reply #29 on: February 18, 2006, 04:07:33 PM »
Quote
You didn't do Step 3

I do but i don´t use the if - ifnot function. That´s all. Look at my rate form some replys above...
Mit freundlichem Gruß
Jens Funk



-> Sorry for my bad English <-