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.
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:
Header("Location: http://yourdomain.com/index.php?m=account_logout");
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...






Latest Comments
Cometchat sucks, or is it me??
about 20 hours ago
SELL VLdPersonals commercal license 125$
4 days ago
Cometchat sucks, or is it me??
4 days ago