View Full Version : Major Additions - vbRides ? Garage
Action-N
08-03-2014, 10:00 PM
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 (https://vborg.vbsupport.ru/showpost.php?p=2514668&postcount=29)
YouTube Channel
vbRides Instructional & Demo Videos (https://www.youtube.com/channel/UCuLbv1FYNeIGtxhu4LE1plg)
Demo:
http://www.action-network.com/vbrides.php
Demo Account:
vbrides:W5K9VK
More Screenshots (http://www.action-network.com/images/vbRides_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
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
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/attachment.php?attachmentid=149956&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
Action-N
08-09-2014, 01:54 PM
Everything outside the admin should be phrased that will allow different languages. So instead of using a different language you could have the text read whatever you wanted. The inputs at the top of the edit page would still need to represent the same thing as there used for other parts of the mod. However, further down the page, almost forty of the custom fields are separate an can be customized towards any product you'd want. (Fields in this example (https://vborg.vbsupport.ru/attachment.php?attachmentid=149954&d=1407131555)). Then that might make the signature template screwy cause it only supports the variables I added. The only thing you'd have to live with is the php file names. So for what I think you want to do the answer is yes it should be possible to use this for things other than cars.
joeychgo
08-09-2014, 05:58 PM
Very nice. I would consider it but I have no way to pull my existing garage data into this
Action-N
08-09-2014, 06:52 PM
Looking at your website you must be using vbPicGallery as a garage. Tried looking at your data page an your register popup was in the way an I couldn't close it. What I could see from the mods website your page specs are manually added as the description an not separate fields. If so then yeah not much an importer could do to separate them, only repost as a description then the owner would be responsible to cut-n-paste that into the new rides fields.
I've been waiting to make sure vbrides is installable an in stable running condition before working on importers. When I do it will take a copy of the database structure an a sample data in order to make one an I didn't see a free version of that mod. It also doesn't look to be available or in development any longer. I hope you might reconsider at some point an maybe ask your members how they'd feel about trying vbrides.
I'd be curious if people would be allowed to send me structure an a data entry from phpMyAdmin export so I could make importers. If anyone knows how that part works I'd like to hear it. The paid version of vb Pro Garage is another I don't have that would be wanted.
Action-N
08-10-2014, 02:34 PM
Hey EcoCav,
I'm adding a defualt style forum button on the front page over the right side blocks. Another is on the view ride page but the permission setting was wrong so it wasn't showing. I have the delete ride issue fixed, functions file wasn't updated with the zip. Probably fixes some other stuff now. Typo was also an easy fix an done. Ride stats are done through cron so default is updates hourly, but will check to make sure the proper file is in the install zip. The enable tab works now, had something to do with extra space in the install file. Can't seem to reproduce the problem with the sections not working as you upload new images.
For your ideas, If I understand what your asking you want to add more section to the already chassis, engine, body, and interior? Right now there is only code for the four, but I'm sure it's possible to ad more sections manually. Exhaust and suspension are spec under engine an chassis sections. By audio meaning the stereo it would go in dash specs an overflow could go in 'Other Interior'. Unless you run a audio genre garage then for now you could rename the section title in the options an edit the phrases for that section for what you need. End users won't see the variable names so other than some variables are selected to make the members signature shouldn't run into problems.
Action-N
08-10-2014, 04:39 PM
Updated: Reupload functions_vbrides.php to the includes folder. Re run the product.xml allowing overwrite. Template changes to 'vbrides_view_ride', 'vbrides_rightside', and 'vbrides_my_comments_bit'. So revert them if you've made changes, backup if you want to re add your edits.
Gadget_Guy
08-18-2014, 03:11 PM
Installed, but now getting this when entering my forums:
Parse error: syntax error, unexpected T_FUNCTION in /home/torontos/public_html/forums/includes/functions_vbrides.php on line 1142
KenDude
08-18-2014, 06:23 PM
IMHO the input boxes for some items should NOT be free form text as shown in this image:
https://vborg.vbsupport.ru/attachment.php?attachmentid=149956&d=1407131555
Things like model should be from a drop down, otherwise you have someone spelling it "Camaro" while someone else spells it "Camero" etc. If a model isn't on the list then there should be a link to add a model to the list pending admin approval. This is how VBGaragePro works and is preferable to free-form fields prone to user errors which will make later searching/sorting/displaying more difficult.
Action-N
08-18-2014, 10:59 PM
Hey Gadget Guy, that error was in the delete directory function. Looked up the error an it said something about being from an older version of PHP 5.2. I actually had two different delete directory functions I left in there an the second one seems to have worked. I uploaded the vbrides_usercp file with the new function call, the function file I just deleted that other delete directory function in case your server won't work with it still in there.
KenDude, I knew that might be a concern in the future. Right now I don't depend on the make an model fields for anything, but in the future your right there might be a need for standards. I've been trying to avoid being a vb pro garage copycat, but that might be one feature I would want to implement.
I have an import script working for vb pro garage 3.0.9 with timeslips, just want to better organize I guess.
Gadget_Guy
08-19-2014, 02:53 AM
Thanks... testing now.
I'd be happy to give that importer a whirl if you want.
D.
Gadget_Guy
08-19-2014, 03:30 AM
Got it working now.
The forum home block however is not displaying.
D.
Action-N
08-19-2014, 04:11 AM
I had tried implementing something so it didn't show an empty block. Obviously that didn't work so hot. I'm posting an updated file... Go to /vbrides/hooks/ an replace add_rides_forumhome.php
Update, no longer needed as of version 1.0.3
Gadget_Guy
08-19-2014, 04:29 AM
That worked!
D.
Action-N
09-09-2014, 04:12 PM
New update fixes some issues an changes the thumbnail to use a set height an width as oppose to the previous single max variable. Other bigger changes, pm system now uses the data manger an has been tested so all intended pm's are sent. Comment avatar width is hardcoded so widths bigger than 80px didn't break the layout.
Thanks to gadget guy for letting me see the addon on his server. Let me find most of the issues fixed in this patch.
Gadget_Guy
09-09-2014, 04:21 PM
My pleasure!
Let me know when you want to start testing the import from my other garage software.
This is my only hold up from switching to your product for the production site.
D.
Action-N
09-09-2014, 06:15 PM
If there are no new issues with this release I can get back on the import. So far it's importing the data so next is images. The only thing I could see me possibly using from the paid version was the dyno part. Are your members using that? An was there another part of the paid that members are actually gonna want to keep?
MaxSof
09-11-2014, 09:20 AM
I installed the product but do not see it at a navbar! How to enable it to make it work?
Action-N
09-11-2014, 12:27 PM
Hi Maxsof, You will need to set the usergroup permissions for which groups get to do an see what.
Goto Admincp, Usergroups > Usergroup Manager > Default Usergroups and select a group
There are two sections to set, one for the main system an another for comments. An administrator would have everything checked. I'd also recommend letting Unregistered / Not Logged In have Can Enter vbRides, Can View Rides, and Can Search Rides.
I've included a screenshot for administrator and registered user permissions.
I.G.O.T.A.
09-11-2014, 06:45 PM
Love this program so far.
Two small issues:
When trying to delete a garage it won't, and where does the video show?
Action-N
09-11-2014, 06:53 PM
Where are you trying to delete it from? On the moderate rides page or the my rides page as the user? Was working for me last night on rides. I wonder if permissions are set to let you delete them. I don't recall if there is anything to hide the option if you didn't have permission to moderate.
The video is at the bottom of the right sideblocks on the view ride page. There hard set to like 240px wide.
I.G.O.T.A.
09-11-2014, 06:57 PM
I found out where to delete it at, lol. My bad. Also just saw the Video.
Why do you have a forum to post the ride in? Do you need the forum post?
I.G.O.T.A.
09-11-2014, 10:28 PM
One more thing. When a post is first made in the forum there is a small image that is broke. Any idea what it should be?
Action-N
09-11-2014, 10:53 PM
Why do you have a forum to post the ride in? Do you need the forum post?
Why is there posting new rides in a forum? Can use it in a member introduction type forum as a notice to members of the new activity. It's not necessary at all especially if forum home block is showing new rides. To disable it you just wouldn't pick any forum, no other on off option.
I found your website an looked at the post, did you already edit the post to take out the bad image? Was curious to what it was pointing to.
Also there was a error in functions_facebook.php when viewing sub categories that I'm looking at right now... It's looking for a function from function_vbride.php that isn't being called for some reason. For now you should go to Plugin Manager, scroll to Product : vbRides an turn off 'Open Graph Description / Title Override' or update with the following code.
if (THIS_SCRIPT == 'rides' && $_REQUEST['do'] == 'main') //For Main Page
{
$og_array['og:description'] = $vbulletin->options['vbrides_og_description'];
$og_array['og:image'] = $vbulletin->options['bburl'].$vbulletin->options['vbrides_og_image'];
$og_array['og:url'] = $vbulletin->options['bburl'].'/vbrides.php';
}
I.G.O.T.A.
09-12-2014, 10:06 AM
Thanks for the heads up. I turned off the Open Graph Description. Any idea what is going on there with that issue?
I also took the image out. It was putting it into some type of chart. The error was showing on Tapatalk and not the forum. It was doing a table of some type.
Also people are having issues creating a garage. Their getting this error below.
"Small description too long/too short. Give specific character range."
One more thing. How do you get the program to work on the home page as a widget? Not working on my end.
Action-N
09-12-2014, 12:29 PM
I don't know about why that function is not found, the other sites work the way it was. Anyway I took that function out, was using it to take off a backslash from the home an forum url. But the settings for those specifically tells admins no backslash in the description so I shouldn't have to check for it.
Ok yes I used a table bb code to format the text an image in the post. I don't have Tapatalk an never even thought about it. Guess I'll have to check that out this weekend.
There is settings in the admincp for setting a minimum an maximum characters for the small description field. I put those in because that description is used in the listing throughout the mod so it needs something an one word entries looked bad. So give them more or less in the settings. I'll update the help text under the input to specify a min an max characters will be needed.
The widget is there an would just need to be added to a layout used on your front page.
I.G.O.T.A.
09-12-2014, 09:45 PM
Got all them fixed. Thank you.
The next question is having a small color issue with some small items. That in your css?
Action-N
09-12-2014, 11:34 PM
There are a few colors still set in css, the others are style variables. What's not in there uses the themes colors. If the issue your referring too was the number portion of the rating bar the fonts in css an background in style variables. On the three themes of yours it's the same on two an the black background one has the issue. I should add a style variable for the whole rating to make it easier.
I see that Tapatalk was third party so probably not gonna be able to set a conditional for new ride posts. Gonna have to find a different way to format the post apparently.
...Oh an you can set a background image for the intro text in style variables too, thought that would be cool option.
I.G.O.T.A.
09-13-2014, 09:56 PM
Yes I was referring to that, lol.
Tapatalk is 3rd party, but used by lots of forums.
What do you mean about the background image?
Action-N
09-14-2014, 12:44 AM
Ok IGOTASTi, I've been working on the new issues an manage to take care of most of them. So far I think the permissions for admins edit icon an report ride icon permissions. Thought I had them once, but on your site unregistered could still see the report icon. Confirmed on my site so need to mess with that again. Another thing is the image count for stats doesn't look to work right.
I.G.O.T.A.
09-14-2014, 11:13 PM
Glad I could help. Really nice program once everything gets worked out.
Would love to help you promote it. ;)
Action-N
09-14-2014, 11:23 PM
I think the update is ready to go. Got distracted making a video presentation for install an setup. Was just coming on to get the files updated. :)
Yeah about getting everything gets worked out, this is a brand new add-on not converted from older vbulletin versions. So considering that an this was my first add-on built out of necessity it's doing pretty good.
In regards to help promoting I wanted to make sure it's bugs are worked out an I have an importer for vbgarage before I focused on promotion. But to help get the word leaving the vbRides copyright active so anyone seeing the add-on knows where to get it. It only shows on the rides pages an not the whole website.
I.G.O.T.A.
09-15-2014, 09:38 AM
Just updated now, and the issue I see is the comments. Can't see them that well. Any ideas?
Action-N
09-15-2014, 12:26 PM
Fasted way would be edit the style variable, however I don't see where else it'd be used on your site to know what it'd look like there.
Go to Style Variable Editor > Comments > postbitlite_header_color an change it to the white font for your black background theme an black for the two white themes. Might even get away with saving them with no color an see if they inherit the main font color.
Alternative would be edit the css for each theme, find:
.commentbit_head {color: {vb:stylevar postbitlite_header_color}; text-align:{vb:stylevar left};margin-left: 90px;}
and change '{vb:stylevar postbitlite_header_color}' to the color you need.
I.G.O.T.A.
09-15-2014, 01:16 PM
Changed that at the CSS level.
We have 3 themes. Hate it, lol. On the more details what is the text color for that in the css? We can see it on the dark theme, but not the light themes we have.
Action-N
09-15-2014, 11:56 PM
I'll make a demo video on how to find out the css tag an where to change them. In your case it looks like your ride in question on your website. Looks to me you added a font color when you wrote the description. Edit your ride an take out the font color code an you'll be fine.
Did you upload any files with this latest version? The image count is wrong so if you haven't you should upload the 'vbrides_stats.php' to the cron directory. Other than that file maybe just the vbrides an vbrides_usercp files where updated. Was trying to keep track of what I worked on in the files but forgot which ones I worked in. Also the stars.gif has a transparent background to take out the white edge on the blue stars then darkened the grey area so they show better in white themes.
Was gonna ask if there is anyone else creating a ride on the site cause I don't see but just the two. Thought I should make sure you know that new rides are moderated an need approved before there live. Then I saw it'd cost me $45 to make a ride so maybe not many can.
I.G.O.T.A.
09-16-2014, 12:27 AM
We have changed that to all premium members for just right now. Our memberships get t-shirts, hoodies and so on with them. There is a lot in involved with our memberships and we have over 150,000 plus members. We want to figure out the program before we open it to everyone.
I don't remember putting that code in there for the color. Duh on my part sorry, lol.
What do you mean image count? I also uploaded the vbrides_stats.php' to the cron directory. What did that do?
Also the social media icon box you can't see the number in it.
Action-N
09-16-2014, 12:57 AM
Well I figured out why I could still see the report ride icon on your site. I did a export plugin from my dev site an put that in the upload, an apparently it wasn't totally updated. I'm doing a file compare now to see what I need between the install script I manually edit. Both files had the code to change the stats to update every ten minutes. Your stats say 1 image, but you have one extra photo an the two main images. The new counter should have counted to three. Is there anyway you can view the file on the server to see what is there? This time I changed the version number in the top description.
Holy crap that's a lot of members to manage. I've been online almost three years now an think the only real member I got was the my friend from high school I begged to signup out of pity. This garage was the last part I needed before I got serious about promotion.
I.G.O.T.A.
09-16-2014, 10:24 AM
Where is that stat at?
I.G.O.T.A.
09-18-2014, 12:12 PM
Also went to upload to another site we own and it crashed. Seems the files are messed up.
Can you check that out?
Action-N
09-18-2014, 12:28 PM
Was it like something was missing error or like a file had a coding error? Was it when using the install xml? That one in the 1.0.4 was the one I got from exporting from the product page an might not right. I usually just re-upload the new files onto my online server. I'll try deleting it first an see if I'm not putting something in the zip.
I was working on another version to fix the report icon code not getting updated. I'm also going through the widget code since that didn't seem to work right. I even spell checked the phrases for this one an it did need it. Give me a little more time on the widget stuff an to make sure the instal script is write this time. What you could try is using the install xml from 1.0.3 to see if it works.
I.G.O.T.A.
09-18-2014, 08:02 PM
I tried both ways and it crashed. The program was just crashing out. Nothing worked, but when I looked at some of the files some were new and others were old so I'm lost on this one.
The one working on igotasti.com works great, but when we tried to add one to igotacummins.com it bombed.
dennisuello
09-19-2014, 01:51 PM
Keep getting a number of these errors.
Database error in vBulletin 4.2.2:
Invalid SQL:
SELECT COUNT(id) AS ownerrides FROM vb_vbrides_rides WHERE userid= AND active=1 AND status<>2 ORDER BY userid;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND active=1 AND status<>2 ORDER BY userid' at line 1
Error Number : 1064
They seem to come from "User:unregistered", so I'm guessing search engine crawler bots.
Action-N
09-19-2014, 11:10 PM
Hey dennis, thanks for posting the error. From what you posted it's not getting the userid variable which comes right from the ride query. So I first thought it was getting the userid from the person viewing the page which made sense if their a bot. However coming from the ride query itself I can't see right off why. I'll keep looking, but what I see that's more an issue is your forum doesn't have the CMS installed does it? I styled this addon to blend into CMS using it's css style tags so people didn't have to custom modify css for each skin. That being the first site I've seen without it I'll have to change that somehow. Did you have any issues with the install file or php errors other than the one?
I.G.O.T.A.
09-23-2014, 10:19 PM
The newest version seems to be working correctly. :)
Action-N
09-24-2014, 05:01 AM
Oh interesting, must have just been that exported product xml. I'm working on a final 1.0.5 to release, I am reworking the css code so those not having cms or blog don't get a broken layout. Getting their so not much longer.
I.G.O.T.A.
09-24-2014, 08:19 PM
Oh interesting, must have just been that exported product xml. I'm working on a final 1.0.5 to release, I am reworking the css code so those not having cms or blog don't get a broken layout. Getting their so not much longer.
So you'll be able to turn that on and off then?
I.G.O.T.A.
09-25-2014, 07:58 PM
Seems that when the picture size is bigger than 1meg the server times out. We're going to increase the file size to 3 meg see what happens.
Action-N
09-28-2014, 06:10 AM
I uploaded an official 1.0.5 that should help fix the layout problems with those not having CMS or Blog systems. I started to add a no cms css separate that can be turned on by those needing it. Then the more I got into it I ended up switching the cms_widget over to use the forum sidebar code that gave the same layout. By the time I was finished I only had one tag I needed so I made new stylevar for it.
When updating copy your template edits an revert them back before upgrading. Then apply your changes afterwords so templates can be updated to 1.0.5.
I also looked at the image file size to see if it was working with the imagesize setting. If it's bigger than in the options it gives size exceeded redirect. Did let me find that I had the code converting the size to kb, but it needed to be bytes which it was already. Easy fix an works now, I tried a 3mb image against the 2mb default an got exceeded error.
BGN64
09-29-2014, 09:19 AM
How easy/difficult would it be to use this mod for boats instead of cars?
Action-N
09-29-2014, 12:25 PM
Everything should be phrased so in theory just a matter of editing the text through the phrase manager. I'd still try to keep them close to the comparable specification field since it uses certain ones to use in the auto signature. If your cool with referring to the boats as a ride you should just need to edit the spec fields, those with something else would have fun editing all the rides references. I'd defiantly back up the phrases afterwards, not sure if updates would overwrite them.
Actually what i can do is export the phrases now that they should be final. Then people can use the file for translations as well as rephrasing for different genre's like boats. Then i can post them here to share.
I.G.O.T.A.
10-01-2014, 09:23 AM
I uploaded an official 1.0.5 that should help fix the layout problems with those not having CMS or Blog systems. I started to add a no cms css separate that can be turned on by those needing it. Then the more I got into it I ended up switching the cms_widget over to use the forum sidebar code that gave the same layout. By the time I was finished I only had one tag I needed so I made new stylevar for it.
When updating copy your template edits an revert them back before upgrading. Then apply your changes afterwords so templates can be updated to 1.0.5.
I also looked at the image file size to see if it was working with the imagesize setting. If it's bigger than in the options it gives size exceeded redirect. Did let me find that I had the code converting the size to kb, but it needed to be bytes which it was already. Easy fix an works now, I tried a 3mb image against the 2mb default an got exceeded error.
How do I do the template? Don't quite understand.
Action-N
10-01-2014, 04:11 PM
Let's see, go to your templates an under vbrides group look for template names in red. Click to edit then open a html editor or notepad program. Copy the template name an paste it in the editor. Next copy all the text an paste it in the editor under the name so you know they are together. Do that for any templates in red in the group. Other than vbrides group the other template would be under cms grpup with rides in the name. Once done save the text in the editor as edited backup. Then i believe if you have already installed the latest version you can still just click revert next to the template edit link an it'll revert to the latest template. After that you can see what you edited from the old template to change it in the new template.
Btw igotsti, i see the new garage posted has the hard coded white font too. Are they doing that on purpose or is it automatic in that style. Might need to make a mention not to since your styles use different color backgrounds.
I.G.O.T.A.
10-01-2014, 08:31 PM
Just updated two of the sites.
Everything seems to be working correctly. Go ahead and check it out.
Action-N
10-01-2014, 10:06 PM
It's getting added as a font color tag when you edit the garage itself. I can select an view page source an see it. Dang wysiwyg editors, that's what i was refering to in previous post.
I.G.O.T.A.
10-02-2014, 12:07 AM
It's getting added as a font color tag when you edit the garage itself. I can select an view page source an see it. Dang wysiwyg editors, that's what i was refering to in previous post.
Got it. On another note everything seems good so far.
I.G.O.T.A.
10-02-2014, 11:26 AM
What also would be nice is if you could comment back to the person who left you comment and they would get a pm. :)
Action-N
10-03-2014, 02:41 AM
I have a importer for VB Pro Garage Timeslips 3.0.9 I just finished. It's working on my localhost, so I'm posting it for testing. I can't say if older versions work, but considering what little there is to import it might. The images an database is not modified so your old garage files will still be there. If your rides product already had stuff in it the importer adds to them, so nothing gets cleared. A new category named 'Imported' is also made that holds the new rides that are placed in inactive or hidden mode. So the owners can find them in the Usercp under my rides. Almost forgot upload the file to the admincp folder an link to the file directly.
Once I know it's working for people I'll post it in the downloads in the main posting.
I.G.O.T.A.
10-17-2014, 12:51 AM
How's it coming along?
Action-N
10-17-2014, 02:21 AM
Haven't really done much since posting the importer. All I had planned next was to get something designed for drag strip information an ability to link to a blog category (aka Blog build progress). An I suppose your idea for comment notification is possible. Have you seen any issues with 1.0.5 yet?
Past few weeks I guess I've been getting back on my real life car, have a 77 Camaro in bare metal.
I.G.O.T.A.
10-18-2014, 10:10 AM
Haven't seen any issues yet so far. :)
77 Camaro nice.
Hendrik83
10-25-2014, 04:59 PM
Hi,
I have this database error when i try to install.
Database error in vBulletin 4.2.2:
Invalid SQL:
SELECT COUNT(images.id) AS images_num, image.id, image.logo
FROM vbrides_photos AS images
LEFT JOIN vbrides_rides AS image ON(images.rideid = image.id);
MySQL Error : Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause
Error Number : 1140
Request Date : Saturday, October 25th 2014 @ 07:53:55 PM
Error Date : Saturday, October 25th 2014 @ 07:53:55 PM
Script : http://...../admincp/plugin.php?do=productimport
Referrer : http://...../admincp/plugin.php?do=productadd
IP Address : *.*.*.*
Username : Hendrik
Classname : vB_Database
MySQL Version : 5.0.51a-community
Action-N
10-26-2014, 01:41 AM
I'll have you try the attached install file. It installed with no error for me, but since I didn't have the error before I don't know if this will work.
Hendrik83
10-27-2014, 12:01 PM
I'll have you try the attached install file. It installed with no error for me, but since I didn't have the error before I don't know if this will work.
It worked with product-vbrides.xml.
Thx.
gijsje
10-30-2014, 07:54 PM
I have this error comming in.
Changed some things to xxx
Database error in vBulletin 4.2.2:
Invalid SQL:
SELECT COUNT(id) AS ownerrides FROM vbrides_rides WHERE userid= AND active=1 AND status<>2 ORDER BY userid;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND active=1 AND status<>2 ORDER BY userid' at line 1
Error Number : 1064
Request Date : Thursday, October 30th 2014 @ 08:42:18 PM
Error Date : Thursday, October 30th 2014 @ 08:42:18 PM
Script : http://www.xxx.nl/showthread.php?xxx
Referrer :
IP Address : xxx
Username : xx
Classname : vB_Database
MySQL Version : 5.5.37-cll
I.G.O.T.A.
10-31-2014, 11:44 AM
Today someone put something in quotes and the program added extra characters.
Any ideas what this may be?
Action-N
10-31-2014, 04:12 PM
In which section igota, the main description or one of the fields. Guess i can just look on your site huh. Looks like I'll be working on an update version.
Gijsje the error code is missing the userid value, looking into that too. I'm on a phone at work so not sure, but if if that error is crashing the site look if i but an option in admin settings to turn off that in postbit. Otherwise you can go to manage plugins an turn off the one relating to postbit count for now.
I.G.O.T.A.
11-03-2014, 01:12 PM
In which section igota, the main description or one of the fields. Guess i can just look on your site huh. Looks like I'll be working on an update version.
Gijsje the error code is missing the userid value, looking into that too. I'm on a phone at work so not sure, but if if that error is crashing the site look if i but an option in admin settings to turn off that in postbit. Otherwise you can go to manage plugins an turn off the one relating to postbit count for now.
In the short summary if someone uses " it shows this > "
romaszek
11-05-2014, 05:16 PM
Hi, thank you for the great plugin. It is wonderful. I want to disable mandatory fields (Year, Make and Model) how to do it?
Is it possible to "Short Summary" add character count?
Thanks.
Action-N
11-06-2014, 01:43 AM
romaszek, there isn't gonna be an easy way to disable those, would at least require deleting some code from the template. I looked into adding a character count, didn't get anything solid yet.
The year, make, an model are added together to make the title, so if you where to eliminate them how would you suggest coming up with a title.
romaszek
11-06-2014, 04:52 AM
I have a music portal, your wonderful plugin I want to adapt to CV for musicians. It is perfect for my purposes, I adopt only those fields if you agree. That's why I want to disable the forced field. Can you help me to do it in code?
Thank you very much.
The problem with the audio. I added an mp3 file but no player...
Sorry bad english ...
romaszek
11-10-2014, 07:40 PM
Hi,
I made a primitive character count for Short Summary.
1. Create a file: sign_limit.js
function SignLimit(tab,max)
{
var oSpan = document.getElementById( 'counter' );
oSpan.innerHTML = ( ( tab.value.length ) ) +'/' + max;
if ( tab.value.length = max )
{
input = tab.value.substring(0,max - 1);
tab.value = input;
}
}
2. Upload file to your server sign_limit.js (eg. a folder vbrides)
3. Template: 'vbrides_addedit_ride'
find:
<textarea name="smalldesc" style="width:100%;height:100px;">{vb:raw smalldesc}</textarea>
replace with:
<textarea name="smalldesc" style="width:100%;height:100px;" id="smalldesc" onkeyup="SignLimit(this,255);" cols="\"25"">{vb:raw smalldesc}</textarea>
<small>...<strong><span style="color:red;font-weight:bold;" id="counter">0/255</span></strong> ...</small>
4. In the first line of the template, insert:
<script src="http://yourdomain/vbrides/sign_limit.js" type="text/javascript"></script>
The limit must be set in the code.
This is very primitive but for me it works.
Action-N
11-14-2014, 02:06 AM
romaszek,
First thanks for offering the counter code, if it does what I think it does it'll definitely make it in the add-on. Primitive is better you have it looking simple enough to understand. I"m post below what you can do to remove the required fields when adding a new entry. Still not a 100% fix though, the year is still added as a default 0.
Open the vbrides_addedit_ride template an delete the following code from the beginning.
if(document.forms["vbform"].year.value.length == 0) {
document.forms["vbform"].year.value.length = '{vb:stylevar general_hilite_color}';
alert('{vb:var vbphrase.vbrides_error_year}');
return false;
}
if(document.forms["vbform"].make.value.length == 0) {
document.forms["vbform"].make.value.length = '{vb:stylevar general_hilite_color}';
alert('{vb:var vbphrase.vbrides_error_make}');
return false;
}
if(document.forms["vbform"].model.value.length == 0) {
document.forms["vbform"].model.value.length = '{vb:stylevar general_hilite_color}';
alert('{vb:var vbphrase.vbrides_error_model}');
return false;
}
Then use the "Search in Template" for the word "required" an delete it. Should find three.
That will remove the required restrictions an let you complete the entry. Though as I mentioned before those fields make the title the add-on uses to refer to the entry. The year will default to "0", I didn't figure out where this is being done. It needs some number entered,m wouldn't take text. So this might not get you to far so I'll work on being able to set them as required from the control panel.
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.
romaszek
11-14-2014, 05:21 PM
I understand. Thank you for your work.
I have a problem with audio. I added an mp3 file but I can not see player.
what to do?
Action-N
11-14-2014, 06:30 PM
It uses the Html5 audio player. So either your browser doesn't support html5 yet or maybe have the wrong link format. It's confusing, but was the only way to work it at the time, it requires the embed link not the share link given as itself. So the correct link comes from clicking on the embed code an copying the link used in that code.
romaszek
11-14-2014, 08:42 PM
Audio test for my browser with this page:
http://html5test.com/index.html
is it OK?
Action-N
11-14-2014, 09:16 PM
First my bad l the talk about the link was me thinking the youtube video link. Audio is html5 just would be uploaded not linked.
From the image you posted it shows mp3 as not supported. Looks like you'll need ogg audio file.
romaszek
11-15-2014, 01:07 PM
Thank you very much. I updated FF and everything works :)
romaszek
11-16-2014, 07:53 AM
The problem with the distribution block search. What to do?
I.G.O.T.A.
11-30-2014, 11:08 AM
Any new updates on this friend?
I.G.O.T.A.
12-07-2014, 07:08 PM
Found a small grammar error on the short summary.
Post a small description. This is used on the main listing pages *an* is required. Administrators may have set a min/max character requirement.
Should say *and* instead.
I.G.O.T.A.
12-30-2014, 11:15 PM
First my bad l the talk about the link was me thinking the youtube video link. Audio is html5 just would be uploaded not linked.
From the image you posted it shows mp3 as not supported. Looks like you'll need ogg audio file.
You around anymore?
ozzy47
12-31-2014, 01:55 AM
You around anymore?
I think he is a bit tied up with his personal life ATM.
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.G.O.T.A.
12-31-2014, 02:40 PM
I think he is a bit tied up with his personal life ATM.
I see that. ;)
Keyser Soze
01-07-2015, 02:11 PM
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:
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);
$seolink = 'vbrides.php?do=main&catid=' . $row['id'];
if (count($navbitsarray) == 0) {
// add custom lastnavbit if supplied
if (!empty($lastnavbit)) {
$navbitsarray = array($seolink => $row['name'], '' => $lastnavbit);
} else {
$navbitsarray = array('' => $row['name']);
}
} else {
$navbitsarray = array_merge(array($seolink => $row['name']), $navbitsarray);
}
// still have parents?
if ($row['parentid'] != 0) {
getRidesNavBarArray($navbitsarray, $row['parentid'], $lastnavbit);
}
return $navbitsarray;
}And you will have to call this function in vbrides.php a little bit differently 2 times:
$navbits = array_merge($navbits, getRidesNavBarArray(array(), $catid, $ride['title']));
and
$navbits = array_merge($navbits, getRidesNavBarArray(array(), $ride['categoryid'], $ride['title']));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.
P.S.: Thanks for this great addon!
Keyser Soze
01-07-2015, 02:15 PM
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:
/*
* 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:
$html_video .= '<iframe width="280" height="158" src="//www.youtube.com/embed/' . getYoutubeId($ride['video']) . '" frameborder="0" allowfullscreen></iframe>';
Keyser Soze
01-08-2015, 07:53 AM
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:
Open vbrides_usercp.php and replace
if ($comments['state'] == 'visible')
with
if ($comment['state'] == 'visible')
romaszek
01-19-2015, 03:17 PM
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:
/*
* 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:
$html_video .= '<iframe width="280" height="158" src="//www.youtube.com/embed/' . getYoutubeId($ride['video']) . '" frameborder="0" allowfullscreen></iframe>';
Thank you for that. How is it used?
giaguaro
02-06-2015, 10:02 AM
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
llecount
02-16-2015, 01:25 AM
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 am wondering this as well.
cdoyle
03-12-2015, 07:34 PM
I am wondering this as well.
Same here, it would be great to not lose the ones we already have.
Has there been any other updates to this mod? I'm really hoping to move to a better garage soon.
PaulProe
03-18-2015, 03:09 AM
I am investigating this plugin and have run into an issue of approvals. Maybe I can't see the forest for all the trees in the way.
I post vehicle with information and it shows up. But it shows as un-approved. Where do I go to approve the post?
Then when I log out and come back, the vehicle doesn't show up in the list. Any ideas of what I'm doing wrong?
Thanks
Paul
Action-N
04-09-2015, 03:16 AM
Thanks to Keyser Soze for his contributions, they where pretty easy to implement.
I didn't remember where I left off or what I was working on so this update was to mainly add what Keyser had posted. Yes I have been preoccupied lately with other things, but had hoped the product was left in a usable state. Got a few quarantine emails from vb.org an none where for this mod so figured it's all good. We'll see if I can't catch a second wind on this project now.
As for an importer for VB Pro Garage I posted one back in post 66 for someone to test before adding it to the official downloads. Will post it again here, if it works then let me know. Since I don't intend to add all the extra stuff that was in their product the only thing that is getting imported was the timeslip data. The photo's are copied to vbrides folder so not to risk data loss in case of an error. Once you have successfully transfers garages then you would need to manually delete the photos from their garage.
PaulProe, if your admin then check the usergroup settings to see if you have "Can Moderate New Rides
If enabled, the member of this usergroup can approve new rides waiting for approval." checked yes. I'm thinking admins already got permission to moderate an their posts bypassed moderation. The menu options for moderating are on the rides page in the header, you'll see a moderation link there or your usercp sideblocks if you have permissions.
SPEEDKILLZ
07-04-2015, 03:52 PM
Anyone had an issue with the blockheads and text on the rides page? Also i have two description boxes?
Action-N
07-05-2015, 05:56 PM
Hey SPEEDKILLZ, I went to your site an use a css tag inspector an was able to track down what tag is causing the jumbled header.
#sidebar_container .blocksubhead span.blocktitle {
width: auto;
display: block;
white-space: nowrap;
float: left;
overflow: hidden;
padding-left: 3px;
}
When I turn off the "float: left;" tag it goes to a normal layout as intended. So we need to figure out how to cancel that tag for vbride pages. Try adding the following to the vbrides.css template. Doesn't matter where, but I do have a sidebar_container tag already in there if you want to keep it together.
#sidebar_container .blocksubhead span.blocktitle {
float: none;
}
The two description boxes you mentioned are on the rides page? If so the small Short Summary box is what is used on the listing description. The other one is for a whatever else about the car.
SPEEDKILLZ
07-05-2015, 09:36 PM
Hey SPEEDKILLZ, I went to your site an use a css tag inspector an was able to track down what tag is causing the jumbled header.
#sidebar_container .blocksubhead span.blocktitle {
width: auto;
display: block;
white-space: nowrap;
float: left;
overflow: hidden;
padding-left: 3px;
}
When I turn off the "float: left;" tag it goes to a normal layout as intended. So we need to figure out how to cancel that tag for vbride pages. Try adding the following to the vbrides.css template. Doesn't matter where, but I do have a sidebar_container tag already in there if you want to keep it together.
#sidebar_container .blocksubhead span.blocktitle {
float: none;
}
The two description boxes you mentioned are on the rides page? If so the small Short Summary box is what is used on the listing description. The other one is for a whatever else about the car.
Great man that seemed to fix the header issue. Both boxed have to have something in them to submit a ride though? Also if you dont add enough characters in the small box it turns solid black (the box turns black) after trying to submit.
Action-N
07-05-2015, 11:16 PM
Yeah it does need both for now, kinda encourages people to fill it out since the whole point of them adding a page is to show their car.
The description block turning black is a highlight feature to show what section you need to fix. I noticed on your calendar widget the current date is blacked out as well. So that is gonna be in your skin settings to fix for the whole site.
SPEEDKILLZ
07-06-2015, 07:28 PM
Great thank you. I will try to figure out where that is or if it is a stylevar
Action-N
07-07-2015, 12:16 AM
It's the "general_hilite_color" under Common group
SPEEDKILLZ
07-07-2015, 12:43 AM
Great man thank you. Glad to see you offer great support for a great mod.
RSprinkel
08-23-2015, 07:20 PM
Hello,
Awesome mod and very easy to configure and stuff, however I have ran into one slight issue. I am using this for a Motorcycle forum which is not up and running at this time and when I go to add additional images when adding a ride, it is asking me to select a photo category from the drop down box (chassis, engine, body and interior), I really prefer not to use a category or just rename the categoires for photos if at all possible.
I have searched the settings and stuff and cannot find anything on those categories. Would it be possible to point me in the right direction for either of the methods.
Thank you for your time and understanding and again GREAT MOD.
Dragonsys
09-24-2015, 12:24 AM
I have searched the settings and stuff and cannot find anything on those categories. Would it be possible to point me in the right direction for either of the methods.
They appear to be hardcoded in the script. look in /vbrides_usercp.php and find:
$photo_types = ('chassis, engine, body, interior');
It is in there 2 times (line #178 & #294)
Dragonsys
10-02-2015, 03:56 AM
I noticed a couple of bugs:
1: When deleting Extra Fields, the data is not removed from the DB, this causes for a strange display on the ride page.
2: If images fail to upload, due to size (might happen if deleted after upload as well), they are still counted towards the # of photos, even though they do not exist on the system.
I also made a couple of tweaks, and I can share them with the author if he is interested in them:
A: Display location from User Profile, instead of per ride
B: Timeslips display (still working on add/edit) - Best 1/8 & 1/4 mile displayed on ride profile.
A: Changing the location display is rather easy
edit vbrides_view_ride (template)
Find:
<dd>{vb:raw location}</dd>
Replace With:
<dd>{vb:raw userinfo.field2}</dd>
If location is not Custom User Profile Field #2, then adjust to the correct #.
B: Timeslips
I have this working with List, Profile Tab, Best Slips on vbRides page, Add/Edit/List Tracks and Add/Edit Slips. I can release this to anyone who wants it, but it does require making some edits to vbRides core files & templates (I will fix this later). I am still working on Delete Slips, Delete Tracks and a few tweaks, so be aware, if you ask for this, it is in beta, and if Action-N asks me to, I will remove it. Once I get it in better shape, I might release it as an add-on for vbRides, separately. You can see a demo at my site linked below (this is a dev site, and so might not work from time to time). EDIT: This is pretty much working without requiring edits to the core rides files; however, my custom display for view_rides (mod list, partsbin & wishlist) does require edits to vbrides.php, functions_vbrides.php & vbrides_view_ride template.
I would love to give this to Action-N so he can add it to his scripts if he wants.
Issue #1 Fix:
Open admincp/vbrides_admin.php
Find:
$db->query_write("DELETE FROM ".TABLE_PREFIX."vbrides_fields WHERE id=$itemfieldid");
Replace with:
$db->query_write("DELETE FROM ".TABLE_PREFIX."vbrides_fields WHERE id=".$itemfieldid."");
$db->query_write("DELETE FROM ".TABLE_PREFIX."vbrides_values WHERE fieldid=".$itemfieldid."");
Issue #2 Fix:
create file - includes/cron/vbrides_photos.php:
<?php
/*================================================= =====================*\
|| ################################################## ################## ||
|| # vBulletin vbRide 1.0.0 # ||
|| # ---------------------------------------------------------------- # ||
|| # Copyright ?2013-2014 vbRide Action-Network All Rights Reserved. # ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| ################################################## ################## ||
\*================================================ ======================*/
// ######################## SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
if (!is_object($vbulletin->db))
{
exit;
}
// ################################################## ######################
// ######################### START MAIN SCRIPT ############################
// ################################################## ######################
$get_rides = $vbulletin->db->query_read("SELECT id FROM ".TABLE_PREFIX."vbrides_rides ORDER BY id ASC");
while ($row = $vbulletin->db->fetch_array($get_rides)) {
$query_logo = $vbulletin->db->query_read("SELECT logo FROM ".TABLE_PREFIX."vbrides_rides WHERE id=".$row['id']."");
$num_rows_logo = $vbulletin->db->num_rows($query_logo);
$query_photos = $vbulletin->db->query_read("SELECT id FROM ".TABLE_PREFIX."vbrides_photos WHERE rideid=".$row['id']."");
$num_rows_photos = $vbulletin->db->num_rows($query_photos);
$total_pics = $num_rows_logo + $num_rows_photos;
$vbulletin->db->query_write("UPDATE ".TABLE_PREFIX."vbrides_rides SET photos=".$total_pics." WHERE id=".$row['id']."");
}
$vbulletin->db->free_result($get_rides);
log_cron_action('', $nextitem, 1);
?>
Add Schedule Task:
admincp -> Scheduled Tasks -> Add New Scheduled Task:
(See attached image for Task Example)
once per day should be enough
http://forums.txracers.com/vbrides.php?do=viewride&rideid=1
Dragonsys
11-04-2015, 05:25 PM
@RSprinkle: to remove the photo types do the following.
Open: vbrides_usercp.php
Find (twice; lines #189 & #308):
<select size="1" name="phototype['.$p.']" style="width:90px;">
<option value="0" />'.$vbphrase['vbrides_select'].'</option>
' . $html_types . '
</select></div>
Replace With:
<!-- <select size="1" name="phototype['.$p.']" style="width:90px;">
<option value="0" />'.$vbphrase['vbrides_select'].'</option>
' . $html_types . '
</select> --></div>
Edit Template: vbrides_edit_photo
Replace All With:
<div class="blockrow">
<label for="photo{vb:raw photo_id}">
<img border="0" src="{vb:raw photo_photopath}" />
</label>
<div class="rightcol">
<input type="text" name="editphototitle[{vb:raw photo_id}]" value="{vb:raw photo_title}" style="width:80%;" />
<!-- <select size="1" name="editphototype[{vb:raw photo_id}]" style="width:90px;">
<option value="0" />{vb:var vbphrase.vbrides_select}</option>
{vb:raw html_types}
</select> -->
<br /><br />
<input type="checkbox" name="delete[{vb:raw photo_id}]" value="{vb:raw photo_id}" /> {vb:var vbphrase.vbrides_remove_photo}
<input type="hidden" name="editphotoname[{vb:raw photo_id}]" value="{vb:raw photo_photoname}" />
</div>
</div>
Dragonsys
12-11-2015, 09:19 PM
I found another issue. Approve Rides does not work properly, though Reject does. When trying to approve a ride I get the following message:
You're trying to add a new ride, or to activate an old one, but this is not permitted from your usergroup's settings.
This only seems to occur if the total number of rides, in the entire system, exceeds the Maximum number allowed for the person owning the ride being approved.
For example, my user is allowed 2 active rides max. He submits his ride, at this point he has 1 ride in the system, and I have 2, making a total of 3 rides. I cannot approve his ride, unless I delete one of mine first (therefore making the total be 2). If I allow him to have 3 rides, then I can freely approve his ride, as 3 is the total in the system; however, I would not be able to approve a 2nd ride for him.
I will try and get the fix this weekend.
Dragonsys
12-16-2015, 06:44 PM
Ok, fix for the above:
Open: {forumroot}/vbrides_modcp.php
Find:
// And now let's count user's rides excluding hiddens
$active_rides = $db->query_read("SELECT * FROM ".TABLE_PREFIX."vbrides_rides WHERE userid=$checkuserid AND status=1");
Replace With:
// And now let's count user's rides excluding hiddens
$active_rides = $db->query_read("SELECT * FROM ".TABLE_PREFIX."vbrides_rides WHERE userid=$checkuserid AND active=1");
Dragonsys
12-25-2015, 01:28 AM
I'm almost ready to release a Timeslips & Tracks Listing addon for this, I just have a few final changes to make before it will be ready for others to use. This does require vBrides & my Font Awesome (https://vborg.vbsupport.ru/showthread.php?t=320828) addon to work properly
I wanted to get feed back on what things you would like to see, currently the following is tracked:
Timeslips:
Date & Time
Vehicle (linked to vBrides)
Driver
Track
Lane
Temp
DA
Dial-In
R/T
60'
330'
1/8 ET & MPH
1000'
1/4 ET & MPH
Win/Lose
Notes
Tracks:
Name
Website & Facebook
Address
Coordiantes (with link to Google Maps)
Elevation
Type & Size (currently Drag only)
Notes
Timeslips are listed on User's profile
Best 1/8 & 1/4 Timeslip are listed on Vehicle profile (vBrides page)
RobAC
01-06-2016, 06:56 PM
I tried installing this mod on vbulletin 4.2.3, but when importing the XML file I get the following message:
Invalid value '' for 'widgettypeid'
Dragonsys
01-06-2016, 07:02 PM
I tried installing this mod on vbulletin 4.2.3, but when importing the XML file I get the following message:
Invalid value '' for 'widgettypeid'
Do you have the full CMS?
RobAC
01-06-2016, 07:14 PM
No. I don't use the CMS or blog parts of vBulletin.
Dragonsys
01-06-2016, 07:18 PM
No. I don't use the CMS or blog parts of vBulletin.
ok, but do you have them? If the CMS is not installed you should not get that error, as the cms_widget table should not exist. try this, edit the product-vbrides.xml and delete the below (lines 276-342)
$wg = $db->query_first("SELECT widgetid FROM " . TABLE_PREFIX . "cms_widget where product = '" . $info['productid'] . "'");
if (!$db->errno())
{
echo('<li>Adding widget <strong>Member Rides</strong> ... ');
if ($wg['widgetid'])
{
$widgetid = $wg['widgetid'];
require_once(DIR . '/includes/adminfunctions_cms.php');
require_once(DIR . '/packages/vbcms/dm/widget.php');
$widgets = new vBCms_Collection_Widget($widgetid);
if (isset($widgets[$widgetid]))
{
$widget = $widgets[$widgetid];
}
else
{
print_stop_message('invalid_x_specified', 'widgetid');
}
$widgetdm = $widget->getDM();
try
{
$widgetdm->set('title', 'Member Rides');
$widgetdm->set('description', $info['description']);
$widgetdm->set('config', array(
'template_name' => 'vbcms_widget_rides_page',
'cache_ttl' => 0,
'phpcode' => $arr['widgetphp'],
));
if (!$widgetdm->save())
{
print_cp_message($widgetdm->error);
}
}
catch (vB_Exception $e)
{
print_cp_message($e->getMessage());
}
}
else
{
require_once(DIR . '/packages/vbcms/dm/widget.php');
$widgetdm = new vBCms_DM_Widget();
$widgetdm->set('widgettypeid', '12');
$widgetdm->set('title', 'Member Rides');
$widgetdm->set('description', $info['description']);
$widgetdm->set('config', array(
'template_name' => 'vbcms_widget_rides_page',
'cache_ttl' => 5,
'phpcode' => $arr['widgetphp'],
));
$widgetid = $widgetdm->save();
if (!$widgetid)
{
$errmsg = implode("\n<br /><br />", $widgetdm->getErrors());
print_cp_message($errmsg);
}
else
{
$db->query_write("UPDATE " . TABLE_PREFIX . "cms_widget set product = '" . $info['productid'] . "' where widgetid = $widgetid");
}
}
}
Then try installing again
RobAC
01-06-2016, 07:26 PM
That worked. Thanks!
sdynak
01-30-2016, 11:51 PM
Thanks Action! Exactly what my site needed as finishing touches.. www.camaro-talk.com (http://www.camaro-talk.com)
Even looks like you are in a similar style & Camaro enthusiast as I am :)
VecSignia
04-26-2016, 08:30 AM
Don't suppose this will work with vB5.2.1 ??
Dragonsys
06-13-2016, 03:46 PM
Don't suppose this will work with vB5.2.1 ??
Doubt it
bmwfans
12-03-2016, 05:22 PM
Awesome plugin!!!!! :)
I was wondering if anyone have implemented any related VBA CMPS module e.g. in order to display Popular rides like in vbrides.php main page.
Dragonsys
12-05-2016, 12:28 PM
Awesome plugin!!!!! :)
I was wondering if anyone have implemented any related VBA CMPS module e.g. in order to display Popular rides like in vbrides.php main page.
Not that I'm aware of. I have been thinking about this for my site though.
rcull
12-25-2016, 05:49 PM
My importer was motoring along just fine until it got to importing rides.
It appeared to import 8 vehicles and on the 9th it threw this error:
[CODE]Database error in vBulletin 4.2.3:
Database error in vBulletin 4.2.3:
Invalid SQL:
INSERT INTO vb3_vbrides_rides
(categoryid, userid, username, title, carname, year, make, model, options, smalldesc, bodytext, price, paint_color, views, postdate, updated, active, status)
VALUES
('33', '11351', 'dale's48', '1948 Buick Super', '', '1948', 'Buick', 'Super' , '', 'it\'s a 2 door sedanet,all there, much work done, but needs the motor rebuilt', 'it\'s a 2 door sedanet,all there, much work done, but needs the motor rebuilt', '0.00', '', '0', '1301957903', '1301957903', '1', '2');
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's48', '1948 Buick Super', '', '1948', 'Buick', 'Super' , '', 'it\'s a 2 door sed' at line 4
Error Number : 1064
Request Date : Saturday, December 31st 2016 @ 04:02:42 PM
Error Date : Saturday, December 31st 2016 @ 04:02:43 PM
Script : http://www.teambuick.com/forums/admincp/vbrides_import.php?do=import_vehicle
Referrer : https://www.teambuick.com/forums/admincp/vbrides_import.php?do=import_trim
IP Address : 172.218.123.142
Username : Bob
Classname : vB_Database_MySQLi
MySQL Version : 5.6.34
I have gone into the database, and deleted this vehicle, run the script again and had the same error after it imported a few more vehicles. I deleted each problem vehicle as it came up. The script came to an end and loaded the vbulletin admincp. Unfortunately, when I go to rides, they are not there:(
https://www.teambuick.com/forums/vbrides.php
Sal Collaziano, below, you mention Approving, the script I ran did not require approving, not that it means much as it did not work either:)
Thanks,
Sal Collaziano
12-31-2016, 01:45 PM
I'm finding I need to manually approve every submission by editing each one and clicking "Approve" to submit. Did I configure something incorrectly?
Dragonsys
12-31-2016, 03:02 PM
My importer was motoring along just fine until it got to importing rides.
This is the problem: 'dale's48' the middle ' isn't being escaped.
I'm finding I need to manually approve every submission by editing each one and clicking "Approve" to submit. Did I configure something incorrectly?
That is how it works, all new rides require moderation. I have not found a way to turn it off in the options.
Sal Collaziano
12-31-2016, 03:23 PM
That is how it works, all new rides require moderation. I have not found a way to turn it off in the options.
Thank you very much! Certainly not a deal breaker... :)
rcull
12-31-2016, 05:13 PM
I am afraid I am still having a problem.
The import script appears to work properly. Then I go to the rides and there is a list on the left like:
Buick0
Ford0
AMC0
Pontiac0
Chevrolet0
Cadillac0
Other0
Imported1
Imported1
Imported1
Imported1
Imported0
Imported0
Imported0
Imported0
Imported0
Imported
I have enabled the administration options.
Nothing appears on the main page. I click Moderation/Approve Rides, under the navbar and it takes me to: Settings - Rides - Approve Rides , which appears to be in my settings. However the page doesn't contain anything to approve.
I went to My Profile - Rides and I see my rides there, but it has a default "No Image Available".
Dragonsys
01-01-2017, 02:26 AM
I am afraid I am still having a problem.
Are there any errors?
I have not looked at the importer, so I'm not familiar with it at all, but I will help as much as I can.
Dragonsys
01-01-2017, 02:27 AM
Thank you very much! Certainly not a deal breaker... :)
I will look into this when I get a chance.
rcull
01-01-2017, 06:28 PM
To me, it looks like it develops the Photos directories, but doesn't place any images in them. It does place a blank index.php in each.
I am not getting any errors since the removal of the files related to not having the delimiter /'s
I really hate to abandon the hundreds of users who have taken the time to upload into Garage, but maybe that is what I am just going to have to accept if I want to clean up my board.
MarkFL
01-01-2017, 06:39 PM
To me, it looks like it develops the Photos directories, but doesn't place any images in them. It does place a blank index.php in each.
I am not getting any errors since the removal of the files related to not having the delimiter /'s
I really hate to abandon the hundreds of users who have taken the time to upload into Garage, but maybe that is what I am just going to have to accept if I want to clean up my board.
Give Eric (Dragonsys) a chance to look into this...he knows what he's doin' and I suspect he'll get it rockin' again (no pressure, Eric LOL!) :p
Dragonsys
01-02-2017, 02:01 AM
(no pressure, Eric LOL!) :p
lol, thanks
Dragonsys
01-02-2017, 02:01 AM
To me, it looks like it develops the Photos directories, but doesn't place any images in them. It does place a blank index.php in each.
I am not getting any errors since the removal of the files related to not having the delimiter /'s
I really hate to abandon the hundreds of users who have taken the time to upload into Garage, but maybe that is what I am just going to have to accept if I want to clean up my board.
hmmm, ok I will take a look at it as soon as I can.
rcull
01-04-2017, 01:27 PM
I have another site running the same vbulletin version and garage. I attempted an import of rides there too with similar results. The other forum is pretty plain and has no problems with garage.
Is there something basic I can be doing wrong?
On my first attempt I did show this error:
[26-Dec-2016 00:11:08 UTC] PHP Fatal error: Call to undefined function can_administer() in /home/carscene/public_html/forums/vbrides_import.php on line 36
[26-Dec-2016 01:28:52 UTC] die 4 false
Dragonsys
01-06-2017, 11:51 PM
I have another site running the same vbulletin version and garage. I attempted an import of rides there too with similar results. The other forum is pretty plain and has no problems with garage.
Is there something basic I can be doing wrong?
On my first attempt I did show this error:
[26-Dec-2016 00:11:08 UTC] PHP Fatal error: Call to undefined function can_administer() in /home/carscene/public_html/forums/vbrides_import.php on line 36
[26-Dec-2016 01:28:52 UTC] die 4 false
No, it is probably an issue with the importer. I have been sick all week and have not been able to look at it yet.
rcull
01-07-2017, 01:35 AM
Thanks, so often I just don't see the problem.
Sorry to hear you have been sick, hope you are feeling better soon. It is easy enough to get something with all the seasonal socializing.
Dragonsys
01-09-2017, 08:34 PM
try this.
Add the below to line 200-201 (vbrides_import.php):
create_photo_directories($photodir . 'full/');
create_photo_directories($photodir . 'thumb/');
Save and try running the import again. Not sure if this is the issue, just stood our to me that the script doesn't seem to create all the folders it tries to use.
rcull
01-10-2017, 12:35 AM
That wasn't it:( It just created a second set of files full and thumb under each of full and thumb. They were still empty.
Dragonsys
01-10-2017, 12:58 AM
did it create files, or just the empty folders?
rcull
01-10-2017, 11:22 AM
Just empty folders containing an empty index.php
Each time the script is run, it creates another consecutive set of files for all the vehicles.
Dragonsys
01-10-2017, 04:36 PM
Just empty folders containing an empty index.php
Each time the script is run, it creates another consecutive set of files for all the vehicles.
ok, do you have this installed on test system?
rcull
01-11-2017, 02:20 AM
No, the one site is a very small, not well used site which did not have a problem with the Garage version. If you would like log in info, I can give it to you.
Dragonsys
01-17-2017, 06:54 PM
Sorry, I have not forgotten about you, I'm just still getting over being sick, and am not on the computer very much.
I will go through things on the test site you sent me and see what I can find.
rcull
04-15-2017, 01:46 AM
Sure would be nice to have a widget for the vbulletin CMS:)
Wouldn't even mind a piece of code to show latest vbrides on another site.
rcull
04-28-2017, 10:42 PM
I finally gave up on the import:( and installed it anyway.
Is it possible to put the vbrides directory in a subdomain?
rcull
04-28-2017, 11:05 PM
When moderating a ride with the "New Rides Forum", the posting is made by the moderator, I would have thought it should be by the person who uploaded the ride.
Sal Collaziano
05-22-2017, 01:13 PM
I'm having issues with the plugin since upgrading from PHP 5.6 to PHP 7.1. Any solutions?
syntax error, unexpected '/', expecting '-' or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) on line 4 in /home/username/public_html/forum/vbrides_modcp.php(254) : eval()'d code
#0 {main}
rcull
05-22-2017, 05:37 PM
Do you need 7.1?
I have had similar problems, you should only run as new a PHP version as you need to run the programs you are using.
If not you should be able to roll it back in your Cpanel. I think your host can even roll it back for certain programs. You could ask them.
I am probably going to abandon this plugin too:(
By the way, I don't know nut'in, so hopefully someone else will give you better help!
MarkFL
05-22-2017, 05:43 PM
I would think the errors/warning are due to deprecated function, and in many cases the scripts/plugins can be edited to rewrite the deprecated functions in terms of non-deprecated functions.
Sal Collaziano
05-22-2017, 05:46 PM
Interesting... Well... I upgraded to the latest version of vBulletin to keep up to date and figured I'd jump to PHP 7.1 while I was at it. So far this is the only piece of my puzzle that's not working. I'd like to keep it running but it's not absolutely necessary. I guess if there's no fix I'll close it down. But it IS a nice feature and I do like using it. I hope somebody comes up with a fix some time soon...
MarkFL
05-22-2017, 05:50 PM
Interesting... Well... I upgraded to the latest version of vBulletin to keep up to date and figured I'd jump to PHP 7.1 while I was at it. So far this is the only piece of my puzzle that's not working. I'd like to keep it running but it's not absolutely necessary. I guess if there's no fix I'll close it down. But it IS a nice feature and I do like using it. I hope somebody comes up with a fix some time soon...
What errors are you getting? I'd like to help resolve these if I can. :)
Sal Collaziano
05-22-2017, 05:51 PM
What errors are you getting? I'd like to help resolve these if I can. :)
Thank you. When I attempt to moderate a new ride. For example, if I try to reject one, I get the following error:
syntax error, unexpected '/', expecting '-' or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) on line 4 in /home/username/public_html/forum/vbrides_modcp.php(254) : eval()'d code
#0 {main}
Sal Collaziano
05-22-2017, 05:53 PM
To note, approving works fine...
MarkFL
05-22-2017, 06:01 PM
Thank you. When I attempt to moderate a new ride. For example, if I try to reject one, I get the following error:
syntax error, unexpected '/', expecting '-' or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) on line 4 in /home/username/public_html/forum/vbrides_modcp.php(254) : eval()'d code
#0 {main}
I'll have to download and install this product on my local dev site to investigate this. I will let you know what I find when I do this tonight. :)
Sal Collaziano
05-22-2017, 06:02 PM
I'll have to download and install this product on my local dev site to investigate this. I will let you know what I find when I do this tonight. :)
Thank you very much! I appreciate it! :)
MarkFL
05-23-2017, 01:00 AM
Thank you very much! I appreciate it! :)
Okay, I installed the product, and encountered the same error you reported when rejecting a ride.
To resolve this issue, locate the file "vbrides_modcp.php" and locate line 254 which reads:
eval(fetch_email_phrases('vbrides_mail_delete_ride ', $userinfo['languageid']));
Change this line to read:
fetch_email_phrases('vbrides_mail_delete_ride', $userinfo['languageid']);
Once I did that, the rejection process functioned correctly. :)
Sal Collaziano
05-23-2017, 11:21 AM
That did it! Thank you very much! I hope the developer makes this change for those using the latest versions of PHP...
Okay, I installed the product, and encountered the same error you reported when rejecting a ride.
To resolve this issue, locate the file "vbrides_modcp.php" and locate line 254 which reads:
eval(fetch_email_phrases('vbrides_mail_delete_ride ', $userinfo['languageid']));
Change this line to read:
fetch_email_phrases('vbrides_mail_delete_ride', $userinfo['languageid']);
Once I did that, the rejection process functioned correctly. :)
rcull
07-26-2017, 01:36 AM
It would be nice to have a switch to not show rides without pictures.
Another bug is that if you are posting new rides to a forum, they are posted as the moderator. I think the posting should be as the member.
CAG CheechDogg
07-26-2017, 02:02 AM
It would be nice to have a switch to not show rides without pictures.
Another bug is that if you are posting new rides to a forum, they are posted as the moderator. I think the posting should be as the member.
Yeah that would be better to be posted as the OP ...
Sal Collaziano
07-27-2017, 05:42 PM
It would be nice to have a switch to not show rides without pictures.
Another bug is that if you are posting new rides to a forum, they are posted as the moderator. I think the posting should be as the member.
I'd love for the ability to just shut down the submission if pictures aren't added. As it is, I reject "rides" every day for having no picture. The instructions clearly state in big red letters that any entries without an image won't be accepted. Unfortunately, I need to reject every one manually. Not the end of the world, really, but it would be nice to have the ability to reject automatically...
bmwfans
03-22-2019, 07:45 PM
Hello! We are also using this plugin, however our moderators/administrators can not delete a vehicle submited from a member.
Do you have any ideas how we can perform this action?
Already tried to fetch a url like this
/forum/vbrides_usercp.php?do=ridestatus&action=4&rideid="the ride id to be deleted"
but all we get back is
vBulletin Message
, you do not have permission to access this page. This could be due to one of several reasons:
Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.