vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - VB Pro Garage Timeslips (https://vborg.vbsupport.ru/showthread.php?t=236888)

bosken 08-03-2011 07:14 AM

Installed the product on new 4.1.5, works perfect. ( you can check my site )

Thanx for a great product.

PS: Have almost translated all to Swedish if somebody wants that.

matt94gt 08-03-2011 05:14 PM

Hi I am getting these errors:

Warning: mkdir() [function.mkdir]: Permission denied in [path]/includes/garage_func_var.php on line 2744

Warning: mkdir() [function.mkdir]: No such file or directory in [path]/includes/garage_func_var.php on line 2744

Warning: mkdir() [function.mkdir]: No such file or directory in [path]/includes/garage_func_var.php on line 2744

Warning: mkdir() [function.mkdir]: No such file or directory in [path]/includes/garage_func_var.php on line 2744

Warning: move_uploaded_file(images/garage/attach/7/9/6/4/garage_vehicle-4-13123951741_full.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in [path]/includes/garage_func_var.php on line 2821

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/php7wVpvf' to 'images/garage/attach/7/9/6/4/garage_vehicle-4-13123951741_full.jpg' in [path]/includes/garage_func_var.php on line 2821

I set the arage_func_var.php permissions to 777...

any suggestions?

bosken 08-03-2011 09:03 PM

Noticed this feature on an another forum.. (FYI running vB 3.7.1)

Is it possible to add this feature? I like it..

https://vborg.vbsupport.ru/external/2012/01/59.jpg

Dylanblitz 08-04-2011 04:14 PM

Quote:

Originally Posted by matt94gt (Post 2228812)
Hi I am getting these errors:

Warning: mkdir() [function.mkdir]: Permission denied in [path]/includes/garage_func_var.php on line 2744

Warning: mkdir() [function.mkdir]: No such file or directory in [path]/includes/garage_func_var.php on line 2744

Warning: mkdir() [function.mkdir]: No such file or directory in [path]/includes/garage_func_var.php on line 2744

Warning: mkdir() [function.mkdir]: No such file or directory in [path]/includes/garage_func_var.php on line 2744

Warning: move_uploaded_file(images/garage/attach/7/9/6/4/garage_vehicle-4-13123951741_full.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in [path]/includes/garage_func_var.php on line 2821

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/php7wVpvf' to 'images/garage/attach/7/9/6/4/garage_vehicle-4-13123951741_full.jpg' in [path]/includes/garage_func_var.php on line 2821

I set the arage_func_var.php permissions to 777...

any suggestions?

It's not the file permissions itself. The images folder doesn't sound like it has permissions for the script to write to. You can change it in the script but the default is images/garage/attach and any sub folders that are created.

bosken 08-05-2011 06:55 PM

Anyone can vote on a "bike" how many times they want, and even vote on their own :(

Can this be disabled somehow?

Dylanblitz 08-06-2011 02:44 AM

Quote:

Originally Posted by bosken (Post 2229802)
Anyone can vote on a "bike" how many times they want, and even vote on their own :(

Can this be disabled somehow?

It's a bug that I have fixed in the next version

Open includes/garage_func_var.php
Find
Code:

$rating_query = $vbulletin->db->query_read("SELECT id FROM " . TABLE_PREFIX . "garage_ratings WHERE vehicle_id = '$id' && user_id = '$bbuserinfo[userid]'");
replace with

Code:

$rating_query = $vbulletin->db->query_read("SELECT id FROM " . TABLE_PREFIX . "garage_ratings WHERE vehicle_id = '" . $id . "' && user_id = " . $vbulletin->userinfo['userid'] . "");
That should fix it.

Dylanblitz 08-06-2011 02:45 AM

Quote:

Originally Posted by bosken (Post 2228938)
Noticed this feature on an another forum.. (FYI running vB 3.7.1)

Is it possible to add this feature? I like it..

https://vborg.vbsupport.ru/external/2012/01/59.jpg

I'll take a look at the code and see what would need to be modified.

bosken 08-07-2011 08:00 AM

Quote:

Originally Posted by Dylanblitz (Post 2229952)
It's a bug that I have fixed in the next version

Open includes/garage_func_var.php
Find
Code:

$rating_query = $vbulletin->db->query_read("SELECT id FROM " . TABLE_PREFIX . "garage_ratings WHERE vehicle_id = '$id' && user_id = '$bbuserinfo[userid]'");
replace with

Code:

$rating_query = $vbulletin->db->query_read("SELECT id FROM " . TABLE_PREFIX . "garage_ratings WHERE vehicle_id = '" . $id . "' && user_id = " . $vbulletin->userinfo['userid'] . "");
That should fix it.


It did! Great, thanx! :up:

bosken 08-07-2011 08:00 AM

Quote:

Originally Posted by Dylanblitz (Post 2229953)
I'll take a look at the code and see what would need to be modified.

If it is to any help, site is www.hdforums.com where the avatar mod is.

RollaJedi 08-08-2011 01:59 PM

any help with my question??


All times are GMT. The time now is 06:31 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.02011 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

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

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