| 304 | 0 | 0 | View Entry |
You could probably add Part 2 of this mod to member pictures and other member pages too, with no - or little modification.
Please backup, backup, backup. And test.. (I've only tested it a little).
Part 1 in lang.core.php AFTER "You cannot access this page.",
ADD:
"no_access_member_profile" => //MOD
"You cannot access this member's profile.", //MOD
Part 2 in lib.member_profile.php BEFORE " // Get connections " comment section, ADD:
//MOD START - PREVENT VIEWING PROFILE IF YOUR BLOCKED
//------------------------------------------------
// Get blocked
//------------------------------------------------
$result = $DB->query("SELECT blocked_id FROM " . DB_PREFIX . "blocked WHERE (blocked_id='" . $SESSION->conf['member_id'] . "' AND member_id='" . $profile_obj['member_id'] . "') LIMIT 1");
//------------------------------------------------
// Check if resultset contains any rows
//------------------------------------------------
if ($DB->num_rows($result))
{
$TEMPLATE->set_message("error", ($LANG['core']['no_access_member_profile']), 0, 0);
redirect(VIR_PATH);
}
//MOD END
Oh yeah, for this mod to work (as it is above), you will need to make sure you have included the message template on your homepage.tpl somewhere, like:
Enjoy View Comments & Reply...
| 627 | 1 | 5 | View Entry |
I said this before and I will say it again, the status mod is a winner big time for anyone running a dating site. Member’s find the status mod familiar with features on sites like facebook and myspace and is why they love it.
There are two versions of the status mod. The more Trim Down version is what I had put on my site initially. Because it was so popular, I upgraded to the Cadillac version.
The Cadillac version has all the features of the Trim Down version but the Cadillac version has some extra features that will make your site even more cool.
NEW FEATURES:
1. Male, Female and Admin Icons to help identify the gender.
2. Admin can delete a status message from the home page. Boy did I need this. I had a few members who would put an inappropriate message that needed to be deleted immediately. For example, if you look at the image, a member added their email address to the status message. I can immediately delete it with a click of a mouse.
3. Admin can put a html link in his status message. This is a god send. If I want to put little reminders in the Admin status message, I can now put a link right in my status message for members to click to go to a vldP feature.
4. Mood icon added. This is just one of those things that keeps members coming back.
5. Good chance I overlooked something. I know Ramil always takes care of the coding for security when adding links or html to a mod.
If you own a website, add the status mod to your site. You won’t regret it. IM Ramil for pricing. Remember there are two versions (1) Trim Down and (2) Cadillac Version. Even though it is more expensive, the Cadillac version will make your site unique from your competitors and fun for your members.
Click for my Instructions for Installing Cadillac Status Mod (note: you need to purchase from Ramil to get the files for uploading to your site).
Thanks again, Ramil, for excellent work.
UPDATE:
This mod is even more amazing. I had a member ask me how could he search for other members with the same mood icon. For example, he wanted to search for other members whose mood icon was Musical hoping he could connect with other members who have some common interests.
It turns out, this mod makes searching by mood easy.
1. Go to your Settings - Custom Fields
2. Edit your group - Status and Mood - change to "Load in Simple Search"
3. Edit your field - My Mood - change to "Load in Simple Search"
Done. Now members can search for other members who have the same moods. View Comments & Reply...
This mod allows hardcoded searches like:
http://www.yoursite.com/index.php?m=search&issearch=1&gender1=2
to be RSSd, by adding &rss to the query string.
eg:
http://www.yoursite.com/index.php?m=search&issearch=1&gender1=2&rss
So in this example , with the above link, people will have access to an RSS feed for the last X females who joined your dating site, assuming:
gender1 value of 2 is a female
X being the number of results shown per search results page
It took me 10mins to write this mod, so please backup your code, and if you see any potential problems, or ways it could be done better, or bugs please let us know.
In my very limited testing with my site (which is not open yet) it seems to work, so fingers crossed.
Also this is tested with vld 2.5.3
In .htaccess:
Find
RewriteRule ^search/([0-9a-zA-Z]+)/?$ index.php?m=search&s=$1
Replace with:
RewriteRule ^search/([0-9a-zA-Z]+)/?$ index.php?m=search&s=$1&%{QUERY_STRING}
In lib.search.php:
Find the line starting with:
redirect(VIR_PATH . ($PREFS->conf['fancy_urls'] ? "search/$search_hash/
IMPORTANT: ONLY THE ONE WITHIN THE FUNCTION show_search($advanced)
Replace it with:
//MOD START
$rss_string = "";
$rss_fancy_string = "";
if ( isset($_GET['rss']) ) {
$rss_string = "&rss";
$rss_fancy_string = "?rss";
}
redirect(VIR_PATH . ($PREFS->conf['fancy_urls'] ? "search/$search_hash/$rss_fancy_string" : "index.php?m=search&s=$search_hash$rss_string"));
//MOD END
The final mods are all within the function show_search_results($hash, $page).
Find:
$TEMPLATE->set_template("search_results.tpl");
Replace it with:
//MOD START
if ( !isset($_GET['rss']) ) {
$TEMPLATE->set_template("search_results.tpl");
} else {
$search_orderby = 'joindate';
}
//MOD END
Find:
$search_orderby = $obj->query_orderby ? $obj->query_orderby : 'lastvisit';
Replace it with:
if ( !isset($_GET['rss']) ) $search_orderby = $obj->query_orderby ? $obj->query_orderby : 'lastvisit'; //MOD
Find:
$directionbox['asc'] = $LANG['search']['ascending'];
THEN PLACE AFTER (NOT REPLACE):
//MOD START
if ( isset($_GET['rss']) ) {
//------------------------------------------------
// Parse feed header
//------------------------------------------------
$output =
'<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>'.htmlentities2utf8($PREFS->conf['app_title'] . ' | ' . $LANG['search']['app_search_rss']).'</title>
<link></link>
<description>'.htmlentities2utf8($PREFS->conf['app_description']).'</description>';
//------------------------------------------------
// Parse feed items
//------------------------------------------------
$TEMPLATE->assign('search_profiles', $profile_obj);
$output .= $TEMPLATE->result('search_rss.tpl');
$output .= '</channel></rss>';
header('Content-Type: application/rss+xml; charset=utf-8');
echo $output;
exit();
}
//MOD END
If anybody adds this their live site I would love to know, and see it in action with a more complete member base than my 10 test members.
A mod like this will hopefully keep your members coming back. View Comments & Reply...
But it seems some cannot register to the site and get an error :-/
I will need to find out what's their problem.
Did any of you experience this? View Comments & Reply...
you can read the first tutorial here ...
and a few weeks later he write this tutorial you can read it here ...
and see the demo here ...
you can download free status icons here ...
you can take a look at this to ...
next week I should make some example how we can have it on vldpersonal ...
example in bottom of register have a message saying that you now have to confirm you membership and also look in your junk mail if you not found it on your mail ... maybee like this ?
"Please ... don't forget to check your junk mail sometimes the mail been there ..."
have you another example of text instead of mine please tell me View Comments & Reply...
question.. i have the version 2.5.3 and i have 2 lanuages in my website..
if i want to creat a survey.. i can only do that in 1 language..
some on has an idea what can do to get 1 survey with 2 languages..
thX for your help ;) View Comments & Reply...
| 342 | 0 | 1 | View Entry |
Such as Demo View Comments & Reply...
| 207 | 1 | 4 | View Entry |
does any one know, if its possible to convert some features from the new version
into the old version v2.5.3 ?
i dont want to install or update from v2.5.3 to v2.5.4
is it possible to use new function from 2.5.4 in v2.5.3 ? View Comments & Reply...
Templates SexyPeople & LovePeople have been updated for version 2.5.5
Please, stay cool and relaxed)) All templates will be updated during the next week.
Important! Download instructions:
1. Use your login and password (you've got with purchase) to login to Luvpoint and download the new package.
2. If you have no login and password send me a message to info[at]luvpoint.com with the copy of your purchase. I will send you new version by e-mail.
Thank you. View Comments & Reply...







Latest Comments
Looking for Developer - VLD Site Mods and Fixes - Paid Job
about 10 hours ago
Looking for Developer - VLD Site Mods and Fixes - Paid Job
about 19 hours ago
Looking for Developer - VLD Site Mods and Fixes - Paid Job
about 20 hours ago