FAP SUPPORT - Disable Vote Own Image


Subject: FAP SUPPORT - Disable Vote Own Image
I'd like disable vote own image.
Can I do it?
I've FAP 1.4.1
Thanks

Profile PM  
Subject: Re: Disable Vote Own Image
Simplest way would be below, but be warned, it does removes the rate ability, but message appears that users has already rated pic.

OPEN album_showpage.php

FIND
Code: [Download] [Hide] [Select]
if ($db->sql_numrows($result) > 0)

REPLACE WITH
Code: [Download] [Hide] [Select]
if (($db->sql_numrows($result) > 0) || ($thispic['pic_user_id'] == $userdata['user_id']))

Profile PM  
Subject: Re: Disable Vote Own Image
felix968 wrote: [View Post]
I'd like disable vote own image.
Can I do it?
I've FAP 1.4.1
Thanks


Good thing ;-)

Maybe it should be standard in future FAP but with another message... :mricy:

"You can not vote your own pictures." ;-)

Profile PM  
Subject: Re: Disable Vote Own Image
Thank you Artie ... 0056

Profile PM  
Subject: Re: Disable Vote Own Image
TheSteffen wrote: [View Post]


Maybe it should be standard in future FAP but with another message... :mricy:

"You can not vote your own pictures." ;-)

That would be pretty simple to do, I just didn't feel like doing it. :wink:

felix968 wrote: [View Post]
Thank you Artie ... 0056

You are welcome.

Profile PM  
Subject: Re: Disable Vote Own Image
Thanks... added to FAP.


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1384s (PHP: 13% SQL: 87%)
SQL queries: 10 - Debug Off - GZIP Enabled