![]() |
Quote:
|
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.....
|
Quote:
I wish you luck with it my freind! AO |
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? |
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. |
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
|
Quote:
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! |
Quote:
thnx Sandy... |
Try looking here; https://vborg.vbsupport.ru/showpost....&postcount=640
It wouldn't take much effort to change the field names, etc. |
Quote:
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|