vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - CND Garage - Timeslips (https://vborg.vbsupport.ru/showthread.php?t=217751)

burntire 08-02-2009 07:08 PM

Quote:

Originally Posted by Dylanblitz (Post 1859828)
I'm working on it as well as a bunch of other features requested. It will probably be a few weeks before the next release.

Cool when it is done I will upgrade to the Pro version.

Neckster 08-02-2009 08:48 PM

Question for you. I have an off road vehicle website. Most of the vehicles are custom built "tube chassis" type of rigs. Is there something that would allow users to write in their vehicle description, or is there only a list of pre defined vehicles to choose from (such as mustang, camaro, acura, etc)?

Thanx, Trevor

bposner 08-02-2009 10:56 PM

Quote:

Originally Posted by Dylanblitz (Post 1860274)
Don't run the xml that says new install only. That is the one that puts all the makes and models in there. If you dont run that then it will leave your current makes/models :)


Thanks, as always wonderful support for a wonderful mod!

Dylanblitz 08-03-2009 02:44 AM

Quote:

Originally Posted by Neckster (Post 1860314)
Question for you. I have an off road vehicle website. Most of the vehicles are custom built "tube chassis" type of rigs. Is there something that would allow users to write in their vehicle description, or is there only a list of pre defined vehicles to choose from (such as mustang, camaro, acura, etc)?

Thanx, Trevor

You can set it so the user can submit make/model. You can also set it so they can either submit and use them right away, or submit and wait for approval before they are used.

Neckster 08-03-2009 04:39 PM

Installed it, but having a couple of problems.

If I go to acp>cnd garage>usergroup permissions and try to change anything on any user group, I get this error

Database error in vBulletin 3.8.3:
Invalid SQL:
INSERT INTO garage_permissions (id, access_write, access_approve, access_del_own_comm, access_del_other_comm, access_reassign_vehicle, access_submit, access_submit_makes, access_submit_models, vehicle_quota, image_quota_type, image_quota, image_quota_vehicle, max_quota_qtrmile, image_quota_qtrmile, image_vehicle_enable, image_qtrmile_enable, image_max_size) VALUES ('4', '1', '1', '1', '0', '0', '', '1', '1', '5', '1', '20', '5', '0', '5', '1', '1', '1024');
MySQL Error : Duplicate entry '4' for key 1
Error Number : 1062
Request Date : Monday, August 3rd 2009 @ 11:30:24 AM
Error Date : Monday, August 3rd 2009 @ 11:30:25 AM
Script : .............. forum/admincp/garage_admin.php?do=add_permissions_submit
Referrer : .............. forum/admincp/garage_admin.php?do=add_permissions
IP Address : ................
Username : Neckster
Classname : vb_database
MySQL Version : 5.0.75-community-log


Secondly, when I am in garage, and create a profile, then try to upload a picture, it get this. I have tried uploading several pics from several different files on my computer.

Error testcar1.jpg - Error: Image could not be moved.

Thanx for any help.
Trevor

wottech 08-03-2009 04:46 PM

On the second issue, do you have the garage images folder permissions set correctly? The folder needs to have write access in order to move the image from the temp upload folder to the garage image folder.

As far as the permissions go, I'll wait for Dylan to answer. I have been running the pro version for over a year now (?), and I still get confused about the usergroup permissions...

Dylanblitz 08-03-2009 04:59 PM

From the script reference it looks like you are trying to add permissions?
If you want to edit a permission group, there are two icon's you select from to edit/delete a groups permissions.

If you are trying to add a groups permissions, there is a bug that will be fixed in the next release. You select a group, say Registered Users, and click Add Permissions. When the next screen comes up, no mater what you selected on the previous, it will show the COPPA group. Just select the proper group again and it will work fine.

The error you are getting is a error when someone tries to add permissions for a group that already has permissions set on it.

On the second issue, it sounds like a permissions problem. The error happens when the image was uploaded but the server didn't let the script move the image. Verify that you have a folder forum/images/garage/attach that has permissions to allow the script to write to it. If you have it in another location verify that Relative Attachment Path variable is pointing to the right directory in the ACP.

Neckster 08-03-2009 06:25 PM

Quote:

Originally Posted by Dylanblitz (Post 1860795)
From the script reference it looks like you are trying to add permissions?
If you want to edit a permission group, there are two icon's you select from to edit/delete a groups permissions.

If you are trying to add a groups permissions, there is a bug that will be fixed in the next release. You select a group, say Registered Users, and click Add Permissions. When the next screen comes up, no mater what you selected on the previous, it will show the COPPA group. Just select the proper group again and it will work fine.

That was it!!! Thank you.



Quote:

Originally Posted by Dylanblitz (Post 1860795)
On the second issue, it sounds like a permissions problem. The error happens when the image was uploaded but the server didn't let the script move the image. Verify that you have a folder forum/images/garage/attach that has permissions to allow the script to write to it. If you have it in another location verify that Relative Attachment Path variable is pointing to the right directory in the ACP.

Once again, that was it. I didn't not have the attach folder set to write.

Thanx for all the great support you give for a great product!!

Dylanblitz 08-24-2009 07:05 AM

Quote:

Originally Posted by burntire (Post 1860280)
Cool when it is done I will upgrade to the Pro version.

The resizing should be fixed now. I tested it out with my system and I didn't run into any problems. Also added some cool features :)

burntire 08-25-2009 08:26 PM

1 Attachment(s)
I found a few minor bugs. Upgrades are very nice.

Red X where the close button should be
Attachment 103709

Style is broken around the drop downs
Attachment 103710

Some missing details on what these settings are for.
Attachment 103711

Is there a way to limit the size of the thumbs?
Attachment 103712

Dylanblitz 08-25-2009 08:42 PM

Quote:

Originally Posted by burntire (Post 1874332)
I found a few minor bugs. Upgrades are very nice.

Red X where the close button should be
Attachment 103709

I don't know how that ended up in the wrong place.
On your local drive go to where you have the package uninstalled
In the directory upload/clientscript/cndgarage/
Upload these files to the forums/images/garage/ folder
closelabel.gif
loading.gif
nextlabel.gif
prevlabel.gif


I'll fix their location in the next release

Quote:

Originally Posted by burntire (Post 1874332)
Style is broken around the drop downs
Attachment 103710

I have this fixed, I'll have a release ready for it tonight

Quote:

Originally Posted by burntire (Post 1874332)
Some missing details on what these settings are for.
Attachment 103711

Not sure why the language isn't there. I'll check the language file and see if I left something out before I upload the fix.

Thanks for letting me know about these :)

burntire 08-25-2009 09:12 PM

Thanks for the info. I added on more question to my previous post. I was curious about thumb height on the main page blocks.

Dylanblitz 08-25-2009 11:17 PM

Quote:

Originally Posted by burntire (Post 1874368)
Thanks for the info. I added on more question to my previous post. I was curious about thumb height on the main page blocks.

Yeah, the problem with timeslips is that they are pretty tall images.
You could change the code on that block so that it limits by height instead.

Open includes/garage_func_vars.php
Line 2443

Change from

Quote:

$image_id = '<a href="garage_attachment.php?id=' . $vehicle_img[attach_id] . '" rel="lightbox" title="&lt;a href=&quot;garage_attachment.php?id=' . $vehicle_img[attach_id] . '&attach_type=full&quot; target=&quot;NewResource&quot;&gt;' . $vbphrase[garage_txt_view_lrg_img] . '&lt;/a&gt;"><img src="' . $filedir . '/' . $vehicle_img[attach_thumb_location] . '" border="0" width="50"></a>';
to something like

Quote:

$image_id = '<a href="garage_attachment.php?id=' . $vehicle_img[attach_id] . '" rel="lightbox" title="&lt;a href=&quot;garage_attachment.php?id=' . $vehicle_img[attach_id] . '&attach_type=full&quot; target=&quot;NewResource&quot;&gt;' . $vbphrase[garage_txt_view_lrg_img] . '&lt;/a&gt;"><img src="' . $filedir . '/' . $vehicle_img[attach_thumb_location] . '" border="0" height="75"></a>';

burntire 08-26-2009 12:16 AM

Thanks. I added a height in addition to a width to keep the style in check.

burntire 08-26-2009 12:32 AM

When I select a purchase date of October -----January is displayed after saving?

burntire 08-26-2009 01:11 AM

1 Attachment(s)
garage_vehicle_view_user_row Template

<span class="style5">$vbphrase[garage_thead_totalspent]:</span> $spentdata

Phrase not in language.

Producing a blank field

Attachment 103726

Dylanblitz 08-26-2009 04:53 AM

Ah thanks, since mods aren't part of the timeslips release I edit out all the things like total mods and total spend. I missed that one, I'll fix it for the release tonight :)

Not sure about the purchase date, I'll try it out on my test board and see what's going on with it.

Dylanblitz 08-26-2009 05:28 AM

Quote:

Originally Posted by burntire (Post 1874478)
When I select a purchase date of October -----January is displayed after saving?

Got this worked out, it's fixed for tonight.


Edit:
Posted new release, hopefully it fixes all the bugs, let me know if you have any you run into :)

burntire 08-26-2009 06:37 AM

Cool
So is the Commercial Version also up to date on the code?

Dylanblitz 08-26-2009 06:45 AM

Same bugs fixed on it yes, some other ones on stuff that's not released on the free one. I'll probably upload that release tomorrow after I get some more info from the users having problems.

Delw 08-27-2009 05:46 AM

Quote:

Database error in vBulletin 3.8.2:

Invalid SQL:
INSERT INTO garage_user_vehicle (user_id, made_year, engine_type, veh_class, color, mileage, mileage_unit_new, price, currency, comments, views, mod_count, money_spent, avg_rating, date_created, date_updated, make_id, model_id, trim_id, main_vehicle, vehicle_url, purchase_month, purchase_day, purchase_year, active) VALUES ('1', '2006', '', '', '', '', '1', '', '1', 'ooooo', '0', '0', '0', '0', '1251355335', '1251355335', '152', '1', '93', '1', '', '', '', '', '1');

MySQL Error : Unknown column 'mod_count' in 'field list'
Error Number : 1054
Request Date : Thursday, August 27th 2009 @ 02:42:15 AM
Error Date : Thursday, August 27th 2009 @ 02:42:15 AM
Script : XXXXXXX/forum/garage_vehicle.php
Referrer : XXXXXXXX/forum/garage_vehicle.php?do=add_vehicle
IP Address : ****
Username : Admin
Classname : vB_Database
MySQL Version : 5.0.81-community

Trying to add a vehicle in and i get this error,
I set the permission to 777 in the correct directory

Thanks
Delw

Dylanblitz 08-27-2009 06:11 AM

Sorry about that, it's got an extra field in the sql insert that shouldn't be there. I have this and one other thing I'm working on then I'll have the package ready to upload, probably about 30 min.

Edit:
New version uploaded. I tested and was able to create a vehicle, let me know if you still have problems.

Delw 08-27-2009 02:10 PM

No problem.
should I uninstall the product then do a new install or ? just use upgrade

Dylanblitz 08-27-2009 03:04 PM

Just overwrite the files and import the xmls for the product and language. If you ever need to uninstall I would put it in big letters because it's very out of the norm :)

Delw 08-27-2009 03:58 PM

Thanks I will try it later today.

EcoCav 09-06-2009 03:39 PM

The read me file says the install manual is located at "http://www.cnd-systems.com/docs/garage_ts/html/"

But when you go to that link its a 404 page.
Quote:

/docs/garage_ts/html/ Does not exist.
It should be http://www.cnd-systems.com/docs/garage_ts/HTML/

Dylanblitz 09-06-2009 04:35 PM

sorry about that, I made it lower case, don't know why it was capitalized.

EcoCav 09-06-2009 04:50 PM

I have a few other issues, not sure if you will want to adjust them.

Where we race, our times are like this on our slips "R/T: 0.3261" (they go to the ten thousandths)
But when entered into the TS garage, it rounds them to R/T: 0.33" (only goes to the hundredths)

We have a lot of members with 0.0047 and 0.0042 Reaction times. Is there anyway you can have all the timeslip information go to the 0.0000 = ten thousandths?

Also is there a way to remove the "vehicle of the month" after you have put it on a user?

Dylanblitz 09-06-2009 05:09 PM

Quote:

Originally Posted by EcoCav (Post 1880660)
I have a few other issues, not sure if you will want to adjust them.

Where we race, our times are like this on our slips "R/T: 0.3261" (they go to the ten thousandths)
But when entered into the TS garage, it rounds them to R/T: 0.33" (only goes to the hundredths)

We have a lot of members with 0.0047 and 0.0042 Reaction times. Is there anyway you can have all the timeslip information go to the 0.0000 = ten thousandths?

Also is there a way to remove the "vehicle of the month" after you have put it on a user?

You know, I didn't think about removing it heh. I'll put that in there. Right now, when you select someone else for VOTM it removed it from the last one.
On the TS, I thought they went out 3 places. Rounding it to 2 was a mistake for when the data is displayed, it does store the data as 3 places out. I'll make it go to 4 and upload the new files.

Dylanblitz 09-06-2009 06:36 PM

Quote:

Originally Posted by EcoCav (Post 1880660)
I have a few other issues, not sure if you will want to adjust them.

Where we race, our times are like this on our slips "R/T: 0.3261" (they go to the ten thousandths)
But when entered into the TS garage, it rounds them to R/T: 0.33" (only goes to the hundredths)

We have a lot of members with 0.0047 and 0.0042 Reaction times. Is there anyway you can have all the timeslip information go to the 0.0000 = ten thousandths?

Also is there a way to remove the "vehicle of the month" after you have put it on a user?

Fixed the timeslips issue. I also added the ability to remove the VOTM and Featured Vehicle.
Thanks for letting me know about the timeslips.

EcoCav 09-09-2009 02:38 AM

I found a few other things, not sure if they are bugs or not.

When you go to the garage main page (/forum/garage.php) the Top Timeslips block are listed slowest to fastest. Would it be possible to add the members name to the timslip block too? If there are more then 5 slips, it removed the fastest slips.

On the "Latest Vehicle Comments" block it says "Posted Date" but lists the car owners name.

Another problem I found was the Top Rated Vehicles. No matter how many times someone votes on a members car, it wont go above 10.00/10, if you vote a lower number, it still stays at 10.00/10.

Would it be possible to have a larger "Add Vehicle" button on the main page? Many of my users where unable to see the Add Vehicle link.

Dylanblitz 09-09-2009 06:06 AM

Quote:

Originally Posted by EcoCav (Post 1881870)
I found a few other things, not sure if they are bugs or not.

When you go to the garage main page (/forum/garage.php) the Top Timeslips block are listed slowest to fastest. Would it be possible to add the members name to the timslip block too? If there are more then 5 slips, it removed the fastest slips.

In the ACP, under the CND Garage left menu pane you can change the sort order. The problem with adding the user to that block is there is a lot of data in it and everything would get squished. But if you want it I can give you directions on what to edit :)

Quote:

Originally Posted by EcoCav (Post 1881870)
On the "Latest Vehicle Comments" block it says "Posted Date" but lists the car owners name.

On the includes/garage_func_var.php on line 2262 Change
'ThirdCol' => $vbphrase['garage_thead_posteddate']
to
'FourthCol' => $vbphrase['garage_thead_posteddate']

Quote:

Originally Posted by EcoCav (Post 1881870)
Another problem I found was the Top Rated Vehicles. No matter how many times someone votes on a members car, it wont go above 10.00/10, if you vote a lower number, it still stays at 10.00/10.

10 out of 10 is the highest, not sure why you would want it to go higher? As to it not going down, I'm not sure why it's doing that. On my dev system it's working correctly. I'll see if I can figure out what's going on.

Quote:

Originally Posted by EcoCav (Post 1881870)
Would it be possible to have a larger "Add Vehicle" button on the main page? Many of my users where unable to see the Add Vehicle link.

I'll try and think of something better then having it on the main menu bar. It does blend in a little too much. I tried having it on the row with the vehicles but if you have more then 5 vehicles it would screw up the layout.

Big Kahuna 09-16-2009 05:44 PM

I installed and tried to upload the first vehicle and got the message

Quote:

Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

Dylanblitz 09-16-2009 06:04 PM

If it's a new install, you might have another mod that is taking care of CSRF protection. You can go to the ACP and disable it on my mod.
ACP -> vBulletin Options -> vBulletin Options -> Garage General Settings
Set CSRF Protection to disabled

2k05gt 09-17-2009 07:06 PM

I have a question, if I install this version and next month purchase the full version, will it upgrade or do I need to uninstall then re-instal the full version?

Dylanblitz 09-17-2009 07:30 PM

Quote:

Originally Posted by 2k05gt (Post 1886584)
I have a question, if I install this version and next month purchase the full version, will it upgrade or do I need to uninstall then re-instal the full version?

Technically you uninstall and reinstall the full.

The uninstall doesn't delete any tables/data so you would uninstall the product, move the commercial files over and install the upgrade from free script. This will modify the tables to match the commercial product.

I did it this way so I could get rid of all the vb templates/phrases/plugins/etc while retaining the data.

2k05gt 09-18-2009 03:24 AM

While posting a timeslip for the first time I got this error

Fatal error: Call to undefined function CheckIfNumber() in /home/public_html/forum/includes/garage_func_var.php on line 147

cellarius 09-18-2009 04:53 AM

1 Attachment(s)
Hi, I'm the developer of photo popup (see sig) and have been approached to issue a new config file.

To do that, I just tried to install this. First of all: My testbed runs on PHP 5.3.0 - this mod is not yet ready for that version. See this post on what to do, it's an easy change, really.

Now, I followed the installation and post installation instructions to the letter (and I think I'm quite able to do that :D - you may prove me wrong there, tho), but all I get is, well, see screenshot. Note that there is no menu bar for cnd.

This is a rather virginal 3.8.4 testbed, running PHP 5.3.0 and MySQL 5.1.37

Dylanblitz 09-18-2009 05:11 AM

Quote:

Originally Posted by 2k05gt (Post 1886783)
While posting a timeslip for the first time I got this error

Fatal error: Call to undefined function CheckIfNumber() in /home/public_html/forum/includes/garage_func_var.php on line 147


Sorry about that. The function didn't get moved over. I created it after I found out vb doesn't do well with cleaning non English language numbers.
In includes/garage_func_var.php at about line 700 you'll find

PHP Code:

function NotifyUsers($subject$from_id$to_id)


Before that put

PHP Code:

function CheckIfNumber($number)
{
$lang_number preg_match
  
('/^[+-]?'
  
'(((([0-9]+)|([0-9]{1,4}(,[0-9]{3,4})+)))?(\\.[0-9])?([0-9]*)|'
  
'((([0-9]+)|([0-9]{1,4}(\\.[0-9]{3,4})+)))?(,[0-9])?([0-9]*))'
  
'(e[0-9]+)?'
  
'$/'
  
$number) == 1
    if (
$lang_number != 1)
    {
    
$number 0;    
    }
return 
$number;



Dylanblitz 09-18-2009 05:22 AM

Quote:

Originally Posted by cellarius (Post 1886802)
Hi, I'm the developer of photo popup (see sig) and have been approached to issue a new config file.

To do that, I just tried to install this. First of all: My testbed runs on PHP 5.3.0 - this mod is not yet ready for that version. See this post on what to do, it's an easy change, really.

Thanks for the info on that. Seems easy enough heh.


Quote:

Originally Posted by cellarius (Post 1886802)
Now, I followed the installation and post installation instructions to the letter (and I think I'm quite able to do that :D - you may prove me wrong there, tho), but all I get is, well, see screenshot. Note that there is no menu bar for cnd.

This is a rather virginal 3.8.4 testbed, running PHP 5.3.0 and MySQL 5.1.37

I've never seen that problem before. It's like it's not recognizing even basic vb commands like construct_phrase.


All times are GMT. The time now is 06:14 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.01479 seconds
  • Memory Usage 1,873KB
  • 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
  • (2)bbcode_php_printable
  • (26)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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