vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - vbRides ? Garage (https://vborg.vbsupport.ru/showthread.php?t=313438)

Action-N 08-03-2014 10:00 PM

vbRides ? Garage
 
1 Attachment(s)
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.
  • CMOD 777 the directories:
    • vbrides/photos
    • vbrides/audio
  • Goto Admincp, Plugins & Products > Manage Products > Add/Import Product and import product-vbrides.xml
  • Set the various settings in vbRides
  • Set Usergroup permissions See Post

YouTube Channel
vbRides Instructional & Demo Videos

Demo:
http://www.action-network.com/vbrides.php

Demo Account:
Code:

vbrides:W5K9VK

More Screenshots

Translations
Phrases are included in the install xml, the file in downloads is extra for use in translating or rephrase for different uses.

Change Log
  • Version 1.0.1
    • Updated functions_vbrides.php to correct missing deleteDir() function
    • Fixed template bugs in 'vbrides_view_ride', 'vbrides_my_comments_bit'
    • Added post new ride button to front page in 'vbrides_rightside' template
    • Product xml should now install on forums without cms although template is still added
  • Version 1.0.2
    • Updated vbrides.php, vbrides_modcp.php, vbrides_usercp.php to fix bugs with comments
    • Updated add_rides_forumhome.php to hide block if no rides to show
    • Changed the moderate.png from site_icon folder to a filled in comment bubble
  • Version 1.0.3
    • Added hard coded avatar width in comments to avoid breaking the layout
    • Redesigned how thumbnail images are made, now set a fixed height an width
    • Reworked RSS feed, now 100% validates so should work as intended
    • Fixed various bugs, so reupload all files
  • Version 1.0.4
    • Inserted link to "AddThis" in AddThis profile ID description
    • Fixed Show Empty Categories to work as intended
    • Removed removeslash function as it didn't work on all servers causing fatal error
    • Removed bbc table structure in new ride forum post template to work with TapaTalk
    • Added min/max character info to small description input description so users are aware
    • Added style variables for adjusting the rating text in view ride page
    • Reworked pm and new thread code an phrase template
    • Edited moderate.png, moderated.png, and stars.gif
    • Fixed broken style in member ride tab caused by last update
    • Rewrote vbrides_stats.php to correctly count photos and main images as total images
    • Fixed various bugs, reupload all files
  • Version 1.0.5
    • Ride report permission should be fixed to hide from Guests
    • Removed dependancy on cms an blog css tags
    • New setting Show Create Rides Button as graphic button, link, or hide
    • Fixed bug if overwriting main photo would add to the photo count
    • Performed a spellcheck on the phrases to fix misspelling an grammar
    • Added new style variables for list header to make up for removing blog.css
    • Fixed various bugs, reupload all files
  • Version 1.0.6 Thanks to Keyser Soze for his contributions regarding this version.
    • Changed breadcrumb nav to better use vbulletins breadcrumb-navbits
    • Removed dependency on cms an blog css tags
    • Changed how YouTube videos are added, can now enter full urls
    • Fixed bug with comment counter

tbworld 08-04-2014 06:47 PM

Nice work @Action-N, should be a big hit around here! :)

davew 08-06-2014 11:03 AM

Keen to try this out :)

But first attempt at install (I'm NOT running the CMS)..

--------------------

Database error in vBulletin 4.2.2:

Invalid SQL:
SELECT widgetid FROM cms_widget
where product = 'vbrides';

MySQL Error : Table 'xxx.cms_widget' doesn't exist
Error Number : 1146
Request Date : Wednesday, August 6th 2014 @ 09:01:33 PM
Error Date : Wednesday, August 6th 2014 @ 09:01:34 PM
Script : xxxxxxxxxxxxxxxxxxxxx
Referrer : xxxxxxxxxxxxxx
IP Address : xxxxxxxxxxxxxxxx
Username : xxxxxxxxxx
Classname : vB_Database_MySQLi
MySQL Version : 5.5.35-2

Action-N 08-06-2014 06:09 PM

Hey thanks for responding, I didn't realize that an hadn't put in a conditional for it. Going to be a few hours still before I can update it. Has anyone else with cms had a problem installing? As whether to remove the cms block from the main install or put in a conditional.

foureyedpride 08-06-2014 06:32 PM

Tagging as this is right up my alley. May attempt install tomorrow with CMS and vB 4.2.1

Action-N 08-06-2014 11:42 PM

1 Attachment(s)
I couldn't figure out how to check for widget table so I took the install code out for it an uploaded a file to this post. However while I was searching the code the whole add-on is designed as a cms styled page using the existing css code. Which means if you don't have vbulletin cms you won't have the css to make it look as it was designed. I checked in member area of vbulletin.com an all I have access to is the vbulletin publishing suite.

Try the product-vbrides_nocms.xml an get back to me.

Update: version 1.0.1 xml should skip widget install now for those not having CMS installed.

davew 08-07-2014 09:07 AM

Quote:

Originally Posted by Action-N (Post 2510099)
I couldn't figure out how to check for widget table so I took the install code out for it an uploaded a file to this post. However while I was searching the code the whole add-on is designed as a cms styled page using the existing css code. Which means if you don't have vbulletin cms you won't have the css to make it look as it was designed. I checked in member area of vbulletin.com an all I have access to is the vbulletin publishing suite.

Try the product-vbrides_nocms.xml an get back to me.

Yep!

That's looking better - Well done!

Next problem! :)

Works fine in the default skin - but not in the other one I have installed..

davew 08-09-2014 05:25 AM

I tracked down the skin problem.. not your mod at all..

And I've had a couple emails come through like this..

Database error in vBulletin 4.2.2:

Invalid SQL:

SELECT languageid,
phrasegroup_global AS phrasegroup_global,
phrasegroup_garage AS phrasegroup_garage,
phrasegroup_user AS phrasegroup_user,
phrasegroup_postbit AS phrasegroup_postbit,
phrasegroupinfo AS lang_phrasegroupinfo,
options AS lang_options,
languagecode AS lang_code,
charset AS lang_charset,
locale AS lang_locale,
imagesoverride AS lang_imagesoverride,
dateoverride AS lang_dateoverride,
timeoverride AS lang_timeoverride,
registereddateoverride AS lang_registereddateoverride,
calformat1override AS lang_calformat1override,
calformat2override AS lang_calformat2override,
logdateoverride AS lang_logdateoverride,
decimalsep AS lang_decimalsep,
thousandsep AS lang_thousandsep
FROM language
WHERE languageid = 1;

MySQL Error : Unknown column 'phrasegroup_garage' in 'field list'
Error Number : 1054
Request Date : Saturday, August 9th 2014 @ 02:35:24 PM
Error Date : Saturday, August 9th 2014 @ 02:35:24 PM

Action-N 08-09-2014 05:58 AM

Oh well that's a good thing in regards to the skin issue. I've been trying to find out more about vbulletin 4 without the CMS an haven't had any luck. I figured I would need to make a new install with the cms css added but thought there would be no real way to know what is or isn't included with non cms installs. I'll keep looking at support for it anyway, but hopefully your gonna be set for now. Be sure to post a link when your sites live, I'd like to include live sites in the mod post.

As for the phase group trouble that wouldn't be from this mod as it's id is 'vbrides'. What you have there is from VB Pro Garage. Did you also have that installed an not upload the separate language file?

markoroots 08-09-2014 10:38 AM

Hi, also this look really a wonderful mod.
But i think that if it's possible to personalize the texts of the description of the "vehicle" with the descriptions of other items, like it is shown in this page https://vborg.vbsupport.ru/attachmen...6&d=1407131555

Like all "General informations" description like:

Year
Make
Model
Trim
etc.....

is it possible to personalize those descriptions???

so that they can use this mod also for other products.
This will make this mod really great and useful mod for many others forum.

All the best


All times are GMT. The time now is 11:05 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02863 seconds
  • Memory Usage 1,778KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete