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)

pportuese 08-18-2010 06:35 PM

I also took a pdf file and converted it to jpg. I tired to upload it and got this error.
Quote:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 8808 bytes) in /home/mitsuwor/public_html/forums/includes/garage_func_var.php on line 1882

Dylanblitz 08-18-2010 07:09 PM

Quote:

Originally Posted by pportuese (Post 2085909)
I also took a pdf file and converted it to jpg. I tired to upload it and got this error.

Hmm, how large is the jpg? It shouldn't hit your max, which seems to be 32M

pportuese 08-18-2010 07:14 PM

315k that's it.

Dylanblitz 08-18-2010 07:24 PM

Quote:

Originally Posted by pportuese (Post 2085931)
315k that's it.

Can you send it to me? I'll set my php to that limit and see if I can replicate the problem. I'll pm you my email.

pportuese 08-18-2010 08:03 PM

ok i will for sure. thanks
Also I can access the garage and add cars. Regular members can see cars but not add them. How do I fix this?

Dylanblitz 08-18-2010 08:19 PM

Quote:

Originally Posted by pportuese (Post 2085960)
ok i will for sure. thanks
Also I can access the garage and add cars. Regular members can see cars but not add them. How do I fix this?

Did you enable the button for all and not just admin?
ACP->Settings->Options->Garage General Settings->Garage Menu Button

If that's set to Enabled then it depends on the permissions you used.

ACP->Settings->Options->Garage General Settings->Usergroup Permissions
If you used Basic permissions it should set the registered users group by default to be able to post vehicles.
The groups are set on the tab
ACP->Settings->Options->Garage Basic Permissions Settings

If you used Advanced then it's controlled on the left side pane
ACP->VB Pro Garage->Usergroup Permissions

pportuese 08-18-2010 08:21 PM

I got it figured out thanks. I had to add the numbers 1,2,3, etc for the usergroups.

Dylanblitz 08-19-2010 05:56 AM

Quote:

Originally Posted by pportuese (Post 2085973)
I got it figured out thanks. I had to add the numbers 1,2,3, etc for the usergroups.

Good to hear. I'm not sure what I'll be able to do with the image upload error. I was able to replicate it but I don't know how much more I can trim it down to not generate the error.

The problem is that GD is a big memory hog when resizing images and 32M isn't that much anymore. Maybe you can ask your host if they can raise it up to 64M or ask if you are allowed to temporarily set it through scripts. Otherwise you'll have to set the garage to not resize and just set a max size for images.

I was able to upload the image with my memory limit set as low as 48M.

discontained 08-23-2010 12:12 PM

Hi, i installed this and its great so far. Just 1 question. It does not match my theme, the background of the text boxes are white, and my site is black background. Is there a way to edit this?

Thanks!

Dylanblitz 08-23-2010 03:40 PM

Quote:

Originally Posted by discontained (Post 2088268)
Hi, i installed this and its great so far. Just 1 question. It does not match my theme, the background of the text boxes are white, and my site is black background. Is there a way to edit this?

Thanks!

It does this with a few styles. You can manually set the box colors by doing the following
ACP->Styles & Templates->Style Manager
On the style having the problem, select Edit Templates on the dropdown box
Scroll down to VB Pro Garage Templates
Expand it and double click the garage_css template

About 7/8th of the way down find .alt1 and .alt2
Change the background from
background: {vb:raw alt1_background};
to something like
background: #000;

You also want the alt2 background to be slightly off from that if you want to have the alternate rows colors to be different.


All times are GMT. The time now is 10:03 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.01880 seconds
  • Memory Usage 1,745KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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