What is vldPersonals?

vldPersonals is a very easy to use dating/social software. It allows you to create a fully functioning & modern dating website in a matter of minutes. If You think it's too complicated - check vldPersonals!
Know more about how You can become a dating website owner

What is vldCrowd?

vldCrowd.com is the biggest unofficial community of vldPersonals owners. It is a place to share ideas and thoughts about Your dating website. It is a place to answer questions and receive answers.
Do You own a vldPersonals license? Don't hesitate and join!

Connect Today

Community members help each other to take their dating websites to the next level. Can You make your vldPersonals website better? Join and find out...

Connect With More Than 500 Dating Website Owners! Sign Up Today
503 1 3
Thanks to SCN for spotting this problem. In friends activity on account_home you can see previews even of the password protected album images. To prevent that open your ext.activity.php and find (~ line 288):
PHP
                               
//------------------------------------------------
// Get new pictures in albums
//------------------------------------------------
                                $result = $DB->query("SELECT *
                                                                        FROM "
. DB_PREFIX . "pictures as p
                                                                        WHERE dateadded > $timeframe AND member_id IN ($friend_ids)
                                                                        ORDER BY dateadded DESC LIMIT 50"
);
 
replace with
PHP

//------------------------------------------------
// Get new pictures in albums
//------------------------------------------------
                                $result = $DB->query("SELECT p.*
                                                                        FROM "
. DB_PREFIX . "pictures as p, " . DB_PREFIX . "albums as a
                                                                        WHERE p.dateadded > $timeframe AND p.member_id IN ($friend_ids) AND p.album_id=a.album_id AND a.password = ''
                                                                        ORDER BY dateadded DESC LIMIT 50"
);
 

Comments

godyn

  • Posted on 01/20/2010 05:41 AM
thanks Ramil !
so it's not for your mod you write a while a go?

radioact

  • Posted on 11/10/2009 11:50 AM
Since {activity:} extension was introduced in last update it's 2.5.5 only post. I should mention it though.

db3204

  • Posted on 11/10/2009 09:13 AM
Is this change only for 2.5.5 or other versions as well.

Log in to leave a comment