https://www.icyphoenix.com/viewtopic.php?f=26&t=2470
-----------------------------------
luckyou03
Sat 14 Jul, 2007 17:17

FAP SUPPORT - Guests Can't Rate
-----------------------------------
ok here is a screen shot of my settings, 

[IMG]http://image.gottaphoto.com/364.gif[/IMG]

yet when i'm logged out i can't rate anything. After I rate as a guest it says "

[size=10]Your message has been entered successfully.

Click Here to view your message

Click here to return to the Album Index [/size]

"

The rating doesnt change when i do this several times. Then I'll log in and rate and it works perfect.


-----------------------------------
Artie
Sun 15 Jul, 2007 17:47

Re: Guests Can't Rate
-----------------------------------
When I set to allow unregistered user to rate, the Rate option does not even appear.  :?


-----------------------------------
luckyou03
Sun 15 Jul, 2007 19:02

Re: Guests Can't Rate
-----------------------------------
I have this allowed: 

[IMG]http://image.gottaphoto.com/365.gif[/IMG]

I'm guessing it shows the rate box, says success but then doesnt actually do anything.


-----------------------------------
Artie
Sun 15 Jul, 2007 21:31

Re: Guests Can't Rate
-----------------------------------
I was checking with Icy Phoenix's FAP and the rate option doesn't seem to appear for unregistered users ... either a bug or my error

I did check FAP on a standard phpBB board and got the same results as you.

Try this fix...it should work

OPEN [b]album_showpage.php[/b]

FIND
[codeblock]if ( ($album_config['rate'] == 1) && ($auth_data['rate'] == 1) && ($userdata['session_logged_in']) )[/codeblock]
REPLACE WITH
[codeblock]	if ( ($album_config['rate'] == 1) && ($auth_data['rate'] == 1) )[/codeblock]


-----------------------------------
luckyou03
Sun 15 Jul, 2007 22:51

Re: Guests Can't Rate
-----------------------------------
That did it! Thank you. Sending you pm.


-----------------------------------
Artie
Mon 16 Jul, 2007 00:20

Re: Guests Can't Rate
-----------------------------------
You're most welcome.  8)


-----------------------------------
Mighty Gorgon
Sun 29 Jul, 2007 13:53

Re: SOLVED - Guests Can't Rate
-----------------------------------
[quote user="Artie" post="17739"]I was checking with Icy Phoenix's FAP and the rate option doesn't seem to appear for unregistered users ... either a bug or my error[/quote]
I've removed in Icy Phoenix (and probably next FAP) the possibility for guests to rate pictures... I think it is not a good idea allowing guests to rate, because someone may rate pictures more than once, distorting rating results.


