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

0 Members and 1 Guest are viewing this topic.

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: [MOD] Hot or Not Rating
« Reply #30 on: February 18, 2006, 04:49:41 PM »
so you have to install it: (first post updated)
http://www.4homepages.de/forum/index.php?topic=7493.0

Offline JensF

  • Addicted member
  • ******
  • Posts: 1.028
    • View Profile
    • http://www.terraristik-galerie.de
Re: [MOD] Hot or Not Rating
« Reply #31 on: February 18, 2006, 05:00:13 PM »
so you have to install it: (first post updated)
http://www.4homepages.de/forum/index.php?topic=7493.0

I think i´m very stupid but i have this mod in my galery and which if - endif tags must i use for the rating

{if user_rating} ????
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 #32 on: February 18, 2006, 05:15:43 PM »
Code: [Select]
<FORM action={if next_image_url}{next_image_url}{endif next_image_url}{ifno next_image_url}{self}{endifno next_image_url}  method=post target=_top>
I don't think toure stupid, just read step 3

Offline JensF

  • Addicted member
  • ******
  • Posts: 1.028
    • View Profile
    • http://www.terraristik-galerie.de
Re: [MOD] Hot or Not Rating
« Reply #33 on: February 18, 2006, 05:26:57 PM »
Code: [Select]
<FORM action={if next_image_url}{next_image_url}{endif next_image_url}{ifno next_image_url}{self}{endifno next_image_url}  method=post target=_top>
I don't think toure stupid, just read step 3

hhmm, but this tags brings me to the next image, or not???

But i don´t will go to the next image. I will diable the radio buttons after vote...
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 #34 on: February 18, 2006, 08:04:32 PM »
I'am sorry, i cannot answer you on that question. The MOD is about to be like Hot or Not, so that includes to direct you automaticly to the next image. Maybe V@no or Oracle can tell you how to combine these two MODs  :wink:

Offline aleem316

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: [MOD] Hot or Not Rating
« Reply #35 on: May 27, 2006, 10:56:56 AM »
ok i tried it the hot or not thing came up  but i   when you rate  a pic the page  doesnt load it just gets an error page cant be displayed
??

   can some one  post back the  hotornotback.gif   
thnx

Offline aleem316

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: [MOD] Hot or Not Rating
« Reply #36 on: May 28, 2006, 01:00:59 PM »
just  to be clear on this  part

Code: [Select]
1.
open details.php

find:

Code:
show_image($image_row, $mode, 0, 1);
move below:

Code:
unset($next_prev_cache); 

i am cutting the first line of code and pasting it below    unset($next_prev_cache);[/   
???

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: [MOD] Hot or Not Rating
« Reply #37 on: May 29, 2006, 12:54:42 PM »
just  to be clear on this  part

Code: [Select]
1.
open details.php

find:

Code:
show_image($image_row, $mode, 0, 1);
[b]move below[/b]:

Code:
unset($next_prev_cache); 

i am cutting the first line of code and pasting it below    unset($next_prev_cache);[/   
???

yes

Offline aleem316

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: [MOD] Hot or Not Rating
« Reply #38 on: May 31, 2006, 12:50:00 AM »
pls   post bak the  hotornotback.gif       file...

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: [MOD] Hot or Not Rating
« Reply #39 on: June 04, 2006, 09:22:00 PM »
pls   post bak the  hotornotback.gif       file...

fixed, sorry for the delay. (*.gif file in my first post)

Offline Silversand

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: [MOD] Hot or Not Rating
« Reply #40 on: August 19, 2006, 03:56:25 PM »
Hi Guys,

I also installed the Hotornot Mod and it works fine and the image also jumps to the next one after voting. now I noticed that the shown pic and the random image in the box on the left are the same.

Is this 'normal' or can it be changed? Changing it would be great, because this feature also provides easy navigation.

Thanks for your answers!

Silver

Offline imafox

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: [MOD] Hot or Not Rating
« Reply #41 on: September 06, 2006, 03:16:05 PM »
First of all, thanks for the Mod and the efforts you spend on development and support!

Anyway, i really tried a lot (probably too much), but i don't get it runing, as it should:
Main Problem is, after voting, you are not forwarded to the next picture. The same picture is displayed again; the vote got counted correctly.

I use rev. 1.7.3., the star rating mod (which works fine).
As mentioned above, conditional tag modification should not be necessary since 1.7.2. However, i had a couple of problems without modifiying the original template.php (parse error), so i swapped the whole "compile condition tags" to those over here:  http://www.4homepages.de/forum/index.php?topic=7493.0

Now that conditional tags should be working, i tried version 'a' of the form tag, however this one caused a "file not found" (bad url, starting with method=post...)
This one (version 'b' without "&"):
"<FORM action={if next_image_url}{next_image_url}{endif next_image_url}{self} method=post target=_top>"
now works, however, as mentioned above, without moving to the next picture.

Going to the next picture works by clicking on the picture!

I tried so much and i'm so glad the voting itself is working now; please excuse that i can't report all detailed errors i had! :-)


***
Another unimportant thing: Where/How can i disable the reload / revote function?
***

Thanks in advance for your help!
Maybe anybody can provide a working rate_form and templates.php for 1.7.3?   :)

Cheers,
Hardy

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: [MOD] Hot or Not Rating
« Reply #42 on: September 10, 2006, 02:31:42 PM »
Hello,

since i've coded the MOD for 1.7.2 i can't give you any support - because i still don't use 1.7.3
The issue has to be somewhere in the rating_form.html within the tags - but what exactly, i don't know.

I hope someone with a much better level of PHP/HTML knowledge like V@no or Mawenzi can help you on that.

Good Luck :)

Offline Smoothice

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • Casual Victims
Re: [MOD] Hot or Not Rating
« Reply #43 on: November 06, 2006, 04:07:03 AM »
Does this mod work with one cataorie or all the catagories  I would like if possible to keep my current catagories the way they are but yet addanother catagory that would run on the hot or not script. 

Smoothice

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: [MOD] Hot or Not Rating
« Reply #44 on: November 06, 2006, 04:35:58 PM »
that mod has nothing to do with categories - or did you mean the images in particular categorys? If yes: No, it works only for the whole 4images installation.