Version: 1.0.6, by Action-N
Developer Last Online: Aug 2015
Category: Major Additions -
Version: 4.2.0
Rating:
Released: 08-03-2014
Last Update: 04-08-2015
Installs: 38
DB Changes Uses Plugins Auto-Templates
Additional Files Translations
No support by the author.
vbRides is a vBulletin Garage plugin for vBulletin Suite 4 forum software. Members of your website can showcase their rides with the community. This is not a port or copy of another garage but a unique mod designed by a car guy for the car community. My intentions with vbrides is avoid the bloat of unnecessary extensions an keep a simple 'showcase' style garage.
I have wanted to build a 'garage' add-on since I first started with vbulletin an worked on something with Magnus ten years ago. It was Christeris new add-ons that had the style an layout that inspired me to create this new add-on. He has since abandon his work an given ozzy47 his code who has given me permission to use Christeris code to build a new garage add-on called "vbRides".
Due to starting with code from another project this add-on will remain free an not offered as a pro or lite edition. However there was extensive work writing vbrides an would appreciate your support.
Key Features
User management of rides through the User Control Panel
Forty fields of specifications to fill out for a detailed ride profile.
Support for an audio clip embedded with the HTML5 audio player.
Ride owners can add a single YouTube video.
RSS feed for new rides with photo, title, an description.
Searchable fields include owner, VIN, and keywords.
Unlimited categories an subcategories.
Lightbox presentation of ride images
Create new ride thread in a specified forum showing the ride year, make, model, an it's main image with a short description.
Up to 5 ride listings can be automatically generated an added to owners forum signature.
Social Media block can either use AddThis account or choose Twitter, Google, Pin It, an Facebook like buttons.
Owners ride listings tab can be shown on their user profile.
Vehicle of the day within it's category added with cron.
Extra fields can be added under the user stats block.
Under Construction
SEO Friendly URLs has not been tested an should be considered under development.
Custom Facebook Open Graph isn't working as intended.
Signature hook is only showing ride for first post. To Fix Plugin Manager > Edit Plugin vbRides: Postbit, Signatures and PM's, Remove the "_once" from require_once. :erm:
Missing side padding for text in side blocks with last update.
Future Plans / Wishlist
Drag Strip stats, an extension to add drag racing information with timeslip images.
Modification system, an extension to add searchable database based on the parts. So a Holley carb install would be linked to other rides who have done the same install.
Add activity stream support
Installation
Download and unzip the file 'product-vbRides_x.x.x.zip'
Upload the content of upload folder to your existing vBulletin directory. If your admincp folder is renamed from default manually move vbrides_admin.php to it.
I think he is a bit tied up with his personal life ATM.
Quote:
Originally Posted by Action-N
Been having a little trouble getting the time to work on this product. I got a new puppy, the high energy kind that if it doesn't get enough attention it starts to chew on my arm.
I am currently trying to use this addon in my forum and have noticed that the author doesn't use the usual vbulletin way to create the breadcrumb-navbits (he is inserting custom arrow-images).
I have coded a custom recursive function that makes perfect use of vbulletins breadcrumb-navbits. You just have to replace the function getRidesNavBar in functions_vbrides.php with the following function:
PHP Code:
function getRidesNavBarArray($navbitsarray, $catid, $lastnavbit) { global $db, $vbulletin, $vbphrase, $vboptions, $navbitsarray;
if ($catid < 0) { return ''; }
$qry = $db->query_read("SELECT * FROM ".TABLE_PREFIX."vbrides_categories WHERE id = $catid AND active = 1"); $row = $db->fetch_array($qry);
After doing these 3 changes, you will see a breadcrumb in your forum's layout and not with these custom arrows that might not match your forum's style.
Another suggestion to the addon-author: you could parse the video-ID of Youtube-videos from Youtube-URLs with this little function (that I have found using Google) which will make it much more intuitive for users to add a youtube-link to their ride-profile because they no longer will have to add the exact embed url and can also add the usual URL from their browser's address bar:
PHP Code:
/* * Function to parse the id from all different types of Youtube Embed Codes and Youtube Urls * * @author Andreas Grundner * @date 22.07.2011 * @licence freeware * @param string youtube url, embed code, share code, channel code ... * @return string youtube_id */ function getYoutubeId($sYoutubeUrl) {
# set to zero $youtube_id = ""; $sYoutubeUrl = trim($sYoutubeUrl);
# the User entered only the eleven chars long id, Case 1 if(strlen($sYoutubeUrl) === 11) { $youtube_id = $sYoutubeUrl; return $sYoutubeUrl; }
# the User entered a Url else {
# try to get all Cases if (preg_match('~(?:youtube.com/(?:user/.+/|(?:v|e(?:mbed)?)/|.*[?&]v=)|youtu.be/)([^"&?/ ]{11})~i', $sYoutubeUrl, $match)) { $youtube_id = $match[1]; return $youtube_id; } # try to get some other channel codes, and fallback extractor elseif(preg_match('~http://www.youtube.com/v/([A-Za-z0-9-_]+).+?|embed/([0-9A-Za-z-_]{11})|watch?v=([0-9A-Za-z-_]{11})|#.*/([0-9A-Za-z-_]{11})~si', $sYoutubeUrl, $match)) {
for ($i=1; $i<=4; $i++) { if (strlen($match[$i])==11) { $youtube_id = $match[$i]; break; } } return $youtube_id; } else { $youtube_id = "No valid YoutubeId extracted"; return $youtube_id; } } }
If you want to call this function in vbrides.php, do it this way:
There's a small bug in vbrides_usercp.php that prevents the comments-counter for a ride-entry from decreasing after a moderator has deleted a comment. That means that the comment-counter does not represent the correct number of comments for an entry as soon as one comment will be deleted. To fix this, you only have to change one single character:
Another suggestion to the addon-author: you could parse the video-ID of Youtube-videos from Youtube-URLs with this little function (that I have found using Google) which will make it much more intuitive for users to add a youtube-link to their ride-profile because they no longer will have to add the exact embed url and can also add the usual URL from their browser's address bar:
PHP Code:
/*
* Function to parse the id from all different types of Youtube Embed Codes and Youtube Urls
*
* @author Andreas Grundner
* @date 22.07.2011
* @licence freeware
* @param string youtube url, embed code, share code, channel code ...
* @return string youtube_id
*/
function getYoutubeId($sYoutubeUrl) {
# set to zero
$youtube_id = "";
$sYoutubeUrl = trim($sYoutubeUrl);
# the User entered only the eleven chars long id, Case 1
if(strlen($sYoutubeUrl) === 11) {
$youtube_id = $sYoutubeUrl;
return $sYoutubeUrl;
}
# the User entered a Url
else {
# try to get all Cases
if (preg_match('~(?:youtube.com/(?:user/.+/|(?:v|e(?:mbed)?)/|.*[?&]v=)|youtu.be/)([^"&?/ ]{11})~i', $sYoutubeUrl, $match)) {
$youtube_id = $match[1];
return $youtube_id;
}
# try to get some other channel codes, and fallback extractor
elseif(preg_match('~http://www.youtube.com/v/([A-Za-z0-9-_]+).+?|embed/([0-9A-Za-z-_]{11})|watch?v=([0-9A-Za-z-_]{11})|#.*/([0-9A-Za-z-_]{11})~si', $sYoutubeUrl, $match)) {
for ($i=1; $i<=4; $i++) {
if (strlen($match[$i])==11) {
$youtube_id = $match[$i];
break;
}
}
return $youtube_id;
}
else {
$youtube_id = "No valid YoutubeId extracted";
return $youtube_id;
}
}
}
If you want to call this function in vbrides.php, do it this way:
i have to substitute my VB Pro Garage because it's no longer supported.
I was wondering if i can import the old users/rides/images from the old mod into this new one.
Thanks a lot
i have to substitute my VB Pro Garage because it's no longer supported.
I was wondering if i can import the old users/rides/images from the old mod into this new one.
Thanks a lot