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
As we probably probably already know, vldPersonals and Vbulletin current have the integration module to allow a duplication of user account / password / and logged on session. Thus, any software that integrates with Vbulletin will be able to access vldPersonals user table as well.
 
Cometchat 1.5 beta works with Vbulletin 3.x to a limited extent. If will pull user session from the user table, getting the userID for avatar and profile linking.
 
I have vldPersonals as the front engine; thus, I would like to change the following function to call the VLD avatar and profiles, instead of vbulletin's profiles.
 
Text
function getLink($link) {
        return "member.php?u=".$link;
}
 
function getAvatar($image) {
        return "image.php?u=".$image."&type=profile";
}
 
function getTimeStamp() {
        return time();
}

Also, I've been looking around for a way to automatically pass the session over from vld after a user has logged on so that no accessing of the forum is required for CometChat to function.
 
Edit vbulletin_forum/login.php:
Text

Header("Location: http://yourdomain.com/index.php?m=account_logout");
 
Edit includes/lib/lib.account_login.php, edit:
Text
redirect( VIR_PATH . ($PREFS->conf['fancy_urls'] ? "forums_path/" : "/forum_path/index.php") );
below:
Text
$_SESSION['REQUEST_URI'] = '';
 if ( isset($_POST['islogin']) && $_POST['islogin'] && (strcmp($request_uri, VIR_PATH) == 0 || strcmp($request_uri.'/', VIR_PATH) == 0 || strpos($request_uri, 'account_login') !== false || strpos($request_uri, 'account/login') !== false) ) {

There must be a better way from our real coders here in the community. I would be appreciative if someone steps up and make this work seamlessly.
View Comments & Reply...