Some of you who moved to vldPersonals v.2.5.5 probably faced that you can't pass profile_gender1="" as param calling extension. That's not a bug or something...
In a nutshell if you don't care what Profile types is and not going to add more (having default one) you may open your ext.member.php and replace sql query with this one:
$result = $DB->query("SELECT m.*, if(m.totalvotes,m.totalscore/m.totalvotes,0) as ratings
FROM " . DB_PREFIX . "members AS m, " . DB_PREFIX . "members_data_members AS d " .($visitors_id ? ", " . DB_PREFIX . "visitors AS v" : "")."
WHERE m.member_id=d.data_id AND m.active='1' AND m.group_id NOT IN (".$PREFS->conf['pending_member_group'].",".$PREFS->conf['canceled_member_group'].")
".($visitors_id ? "AND v.member_id=$visitors_id AND v.visitor_id=m.member_id" : "")." $wheresql
ORDER BY $orderby $orderdir
LIMIT $limit");
From this moment you can pass profile_label parameters as search criteria.
One moment though. Using this fix you can't use checkbox type values.
Good luck!
UPDATE:
For later versions all you need is just to pass one more parameter ,types=1 and extension will understand profile_lable param without any sql query changes.





Comments
radioact
godyn
http://www.vldpersonals.com/forum/viewtopic.php?id=7243
Also 2.5.3 (the upgrade is a problem because of the many mods)
radioact
gugu
radioact
If you remember profile avatars and albums feature were not welcomed the time they were introduced. And I still don't like very much photo/avatar - albums relations :)
I'll send you downgraded and youtube mod adapted activities files tomorrow. Not sure if somebody else needs that.
db3204
If you are creating a {activities:} mod/extension for 2.5.3, that would be great. We need something new and exciting :)
I wonder how many members upgraded to 2.5.5. I did not want to post on vldForum, but part of me wanted to tell other members who were using 2.5.3 that it was better to stick with 2.5.3 than to upgrade to 2.5.5.
Not sure what future vldPersonals scripts will be like, but if they are like 2.5.5, I may be staying with 2.5.3 for a long time.
radioact
Quite a lot things have been changed since 2.5.3
I'm not going to update vldCrowd's engine (vldP 2.5.3) cause I'm more than satisfied with it.
One of the tasty things version 2.5.5 has is {activities:} extension. So what? I'm going to downgrade it to v.2.5.3 right now!
db3204
That is why I asked you on the forum if a lot of the variables/calls are different for 2.5.5 compared to 2.5.3. I think you said there were not a lot of changes but every time I try to test a 2.5.3 call in 2.5.5 I have no luck so I feel like I can't help 2.5.5 users much on vldForum.
Log in to leave a comment