vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBGarage v3.1.1 (now with GD-Lib support!) (https://vborg.vbsupport.ru/showthread.php?t=63681)

alfaowner 05-31-2004 07:08 AM

Quote:

Originally Posted by Larry@IOG
I installed it and its sorta on my site. I can not attach a pics it says :
Uploaded Image(s):
You are allowed a preset number of images. Once that limit is reached, you will no longer be able to upload. Delete existing pictures to regain upload ability. But no browse button to upload with.

Also vbgarage is not uner my VBOptions

Thanks

You need to re add your hack, you have missed something out.

stangcentral 05-31-2004 04:11 PM

Well the thing is someone has uploaded 2 pictures and it worked fine.... i have the limit set to 6....... i could try a reupload of the hack but i hate to make everyone redo their garage.....

alfaowner 05-31-2004 04:26 PM

Quote:

Originally Posted by stangcentral
Well the thing is someone has uploaded 2 pictures and it worked fine.... i have the limit set to 6....... i could try a reupload of the hack but i hate to make everyone redo their garage.....

well, i was meaning just the files, the other stuff will be kept on the server/db. Double check them as its working fine for me at the moment, but these things are sometimes weird, they work for one server, and not the other!

I wish you luck with it my freind!

AO

mpikounis 06-01-2004 12:30 PM

Ok, this may have been answered before but I have been searching this thread for about 1 hour now and I cannot find anything similar :-)

It all works fine except when you upload an image it does not display it. Instead I get a red X. Looking at the database the row is there BUT the size of the "data" field is 0. Any ideas? Please?

alfaowner 06-01-2004 01:30 PM

Ok, A REQUEST:

When submitting for the first time, is there a way to have the vb garage displayed rather than it going to the forum home. Perhaps the submit button requires some attn, I have no idea, but it is a little annoying so far.

frankenberrie 06-01-2004 06:58 PM

Is it possible to customize the fields? I would love to install this hack on my boards. I have a n ATV / Snowmobile site that I would like to add this onto. I do not need the slip feature.. Thank you

mpikounis 06-02-2004 07:48 AM

Quote:

Originally Posted by mpikounis
Ok, this may have been answered before but I have been searching this thread for about 1 hour now and I cannot find anything similar :-)

It all works fine except when you upload an image it does not display it. Instead I get a red X. Looking at the database the row is there BUT the size of the "data" field is 0. Any ideas? Please?

I managed to make this work so here is how if anyone else runs into the same problem:

My guess was that uploads were failining due to the fact that my service provider is using SAFE_MODE. Looking at the file upload code of vbulletin I did the following changes to vbgarage.php:

Look for

$name = $_FILES['src']['name'];
$data = addslashes(fread(fopen($_FILES['src']['tmp_name'], "r"), filesize($_FILES['src']['tmp_name'])));
$type = $_FILES['src']['type'];


and replace with

// make up a temporary name
$tmp_name = 'vbupload' . substr(TIMENOW, -4);

// check file exists on server
if ($vboptions['safeupload'])
{
$path = $vboptions['tmppath'] . "/$tmp_name";
if (move_uploaded_file($_FILES['src']['tmp_name'], $path) AND file_exists($path))
{
$filename = $path;
}
}
else if (file_exists($upload))
{
$filename = $_FILES['src']['tmp_name'] ;
}

$name = $_FILES['src']['name'];
$data = addslashes(fread(fopen($filename, "r"), filesize($filename)));
$type = $_FILES['src']['type'];


Now... this worked with my server that uses SAFE_MODE. I am not sure it will work if SAFE_MODE is not used, I haven't tried it!

SaN-DeeP 06-02-2004 08:17 AM

Quote:

Originally Posted by SaN-DeeP
i want to add additional fields to description area where users add there cards etc.
how can i do that. please help a little here.

I want to enable a drop down box from where users can select some components etc. ;) to customize the area quite well.
and also add a few more fields to the display area where all users cars etc. are shown in garage

thnx.
Sandy...

bumping again can someone please help.
thnx
Sandy...

Envy-UK 06-02-2004 10:02 AM

Try looking here; https://vborg.vbsupport.ru/showpost....&postcount=640

It wouldn't take much effort to change the field names, etc.

alfaowner 06-02-2004 12:12 PM

Quote:

Originally Posted by alfaowner
Ok, A REQUEST:

When submitting for the first time, is there a way to have the vb garage displayed rather than it going to the forum home. Perhaps the submit button requires some attn, I have no idea, but it is a little annoying so far.

I apologise to bump, but this is so frustrating to have to keep navigating back through the board just to get back to the page you was on, it really does need a redirect after submit has been pressed just the same way it would redirect if you posted to a thread, please someone help. with 3500 budding members wanting to post and edit the garage, its rateher annoying not being able to have the knowledge to make the fix on my own. i tried to fix this and broke the board :( all repaired now though)

Please help if you can.

AO


All times are GMT. The time now is 04:46 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.04551 seconds
  • Memory Usage 1,747KB
  • 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
  • (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