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)

GoTTi 04-28-2004 03:10 PM

Quote:

Originally Posted by magnus
Import what images and/or attachments, exactly?

images already uploaded into a forum...in threads/post...would be loaded into the users garage

the vbgarage could possibly just load the users attached photos (extensions: bmp, jpg, jpeg) into their garage (or as i have modified into gallery) on command through the admin panel after install or a option added on...

GoTTi 04-28-2004 03:19 PM

Quote:

Originally Posted by magnus
As stated before, include a space at the end of the vbgarage_imagebits template. Search this thread for more information.

you said this in #609

my template already has a space there, and i added 1 more, and in the editgarage, images are still crawling off to the right side and not wrapping.

my issue is in "vbgarage.php?do=editgarage" (thats editgarage template right?)

Rick Sample 04-28-2004 03:40 PM

Ok I'm trying to put the Vbgarage latest uploads on my main vbulletin page. (index.php.) I followed the coding you have but when I save it and go to my forum it comes up with a white screen and a box that says something like invalid SQL quiry please hit refresh or contact your technical staff. Any suggestions?

Rick Sample 04-28-2004 03:53 PM

EDIT: here is the exact error message:

Database error in vBulletin 3.0.0:

Invalid SQL:
SELECT vbgarage_images.*
FROM vbgarage_images
ORDER BY vbgarage_images.id DESC
LIMIT 5

mysql error: Unknown column 'vbgarage_images.id' in 'order clause'

mysql error number: 1054

Date: Wednesday 28th of April 2004 12:54:08 PM
Script: http://www.muscle-mustangs.com/forums/index.php
Referer:

magnus 04-28-2004 03:59 PM

Quote:

Originally Posted by muscle-mustangs
EDIT: here is the exact error message:

Database error in vBulletin 3.0.0:

Invalid SQL:
SELECT vbgarage_images.*
FROM vbgarage_images
ORDER BY vbgarage_images.id DESC
LIMIT 5

mysql error: Unknown column 'vbgarage_images.id' in 'order clause'

mysql error number: 1054

Date: Wednesday 28th of April 2004 12:54:08 PM
Script: http://www.muscle-mustangs.com/forums/index.php
Referer:

Argh, damnit.. I need to stop drinking. My database is modified, so I have to try and remember what I had it set to previously. Change vbgarage_images.id to vbgarage_images.vbgarageid.

magnus 04-28-2004 04:00 PM

Quote:

Originally Posted by Da_GoTTi
you said this in #609

my template already has a space there, and i added 1 more, and in the editgarage, images are still crawling off to the right side and not wrapping.

my issue is in "vbgarage.php?do=editgarage" (thats editgarage template right?)

Well, all my experiences with that problem have been solved with a space. So, you have a problem elsewhere in a template then.

magnus 04-28-2004 04:00 PM

Quote:

Originally Posted by Da_GoTTi
images already uploaded into a forum...in threads/post...would be loaded into the users garage

the vbgarage could possibly just load the users attached photos (extensions: bmp, jpg, jpeg) into their garage (or as i have modified into gallery) on command through the admin panel after install or a option added on...

Err.. that's a bit out of the scope of of what vBGarage does. I don't really see myself doing that. I'm sure if it's requested, someone else may go ahead and make an importer.

Rick Sample 04-28-2004 04:07 PM

Quote:

Originally Posted by magnus
Argh, damnit.. I need to stop drinking. My database is modified, so I have to try and remember what I had it set to previously. Change vbgarage_images.id to vbgarage_images.vbgarageid.

LOL...funny

Ok I got it but can you visit my forum real fast? Its not getting the whole box around like it does in latest uploads. Like the guy with the cadalac forum has the whole box around his. Is their still something missing?


*EDIT* also, is their a way to like block out the image? What I mean is when people are on my homepage it makes it looks like their viewing those images instead of viewing forumhome.

GoTTi 04-28-2004 04:12 PM

the attachment is my problem.

template: vbgarage_editgarage

PHP Code:

$stylevar[htmldoctype]
<
html dir="$stylevar[textdirection]lang="$stylevar[languagecode]">
<
head><title>$vboptions[bbtitle] - $vbphrase[vbgarage]</title>
$headinclude
</head>
<
body>
$header
$navbar

<form action="vbgarage.php" method="post" enctype="multipart/form-data">
<
input type="hidden" name="s" value="$session[sessionhash]/>
<
input type="hidden" name="max_file_size" value="$vboptions[vbgmaxfilesize]">

<
table cellpadding="$stylevar[outerborderwidth]cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]align="center"><tr><td>
<
table cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%">
<
tr>
    <
td class="tcat" colspan="2"><b>$user[username]'s $vbphrase[vbgarage]</b></td>
</tr>
<tr>
</td>
    <td class="alt2"><b>$vbphrase[vbgarage_uploaded_images]:</b><br />
    <span class="smallfont">$vbphrase[vbgarage_allowed_total]</span></td>
    <td class="alt2"><table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" class="alt2">
    <tr>
    $editimagebits
    </tr>
    </table></td>
<tr>
<if condition="$count != $vboptions[vbgmaxupload]">
<tr>
    <td class="alt2"><b>$vbphrase[vbgarage_file]:</b></td>
    <td class="alt2"><input type="file" class="bginput" name="src" size="30" /></td>
</tr>
</if>
</table>
</td></tr></table>

<br />

<table cellpadding="2" cellspacing="0" border="0" width="$stylevar[tablewidth]" align="center">
<tr>
    <td align="center">
    <input type="submit" class="button" value="$vbphrase[submit]" accesskey="s" />
    <input type="hidden" name="do" value="edit" />
    <input type="hidden" name="id" value="$id" />    
    </td>
</tr>
</table>

</form>

$footer

</body>
</html> 


magnus 04-28-2004 05:02 PM

Quote:

Originally Posted by Da_GoTTi
the attachment is my problem.

template: vbgarage_editgarage

PHP Code:

$stylevar[htmldoctype]
<
html dir="$stylevar[textdirection]lang="$stylevar[languagecode]">
<
head><title>$vboptions[bbtitle] - $vbphrase[vbgarage]</title>
$headinclude
</head>
<
body>
$header
$navbar

<form action="vbgarage.php" method="post" enctype="multipart/form-data">
<
input type="hidden" name="s" value="$session[sessionhash]/>
<
input type="hidden" name="max_file_size" value="$vboptions[vbgmaxfilesize]">

<
table cellpadding="$stylevar[outerborderwidth]cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]align="center"><tr><td>
<
table cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%">
<
tr>
    <
td class="tcat" colspan="2"><b>$user[username]'s $vbphrase[vbgarage]</b></td>
</tr>
<tr>
</td>
    <td class="alt2"><b>$vbphrase[vbgarage_uploaded_images]:</b><br />
    <span class="smallfont">$vbphrase[vbgarage_allowed_total]</span></td>
    <td class="alt2"><table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" class="alt2">
    <tr>
    $editimagebits
    </tr>
    </table></td>
<tr>
<if condition="$count != $vboptions[vbgmaxupload]">
<tr>
    <td class="alt2"><b>$vbphrase[vbgarage_file]:</b></td>
    <td class="alt2"><input type="file" class="bginput" name="src" size="30" /></td>
</tr>
</if>
</table>
</td></tr></table>

<br />

<table cellpadding="2" cellspacing="0" border="0" width="$stylevar[tablewidth]" align="center">
<tr>
    <td align="center">
    <input type="submit" class="button" value="$vbphrase[submit]" accesskey="s" />
    <input type="hidden" name="do" value="edit" />
    <input type="hidden" name="id" value="$id" />    
    </td>
</tr>
</table>

</form>

$footer

</body>
</html> 


Put a space after the last character in [high]vbgarage_editimagesbits[/high].


All times are GMT. The time now is 05:08 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.03375 seconds
  • Memory Usage 1,802KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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