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)

magnus 04-10-2004 11:18 PM

Quote:

Originally Posted by esoin
Limit attachments?

Limit attachment size?

Thanks again

You can already limit attachments. Edit the $vbgarage_total_images variable in vbgarage.php. It's currently set to [high]6[/high]. This will eventually be an AdminCP option.

Attachment size will be added soon, too.

magnus 04-10-2004 11:19 PM

Quote:

Originally Posted by Envy-UK
I've just made the update, however, although thumbnails do display, when clicked, I get the dreaded red 'X'.

Secondly, the username of the garage has gone completely, both from list and view.

Re-download the .ZIP file and vbgarage.php. Upload and overwrite the existing vbgarage.php. Let me know if you still have problems.

Make sure you perform the template replacements, too.

Envy-UK 04-10-2004 11:22 PM

Quote:

Originally Posted by magnus
Re-download the .ZIP file and vbgarage.php. Upload and overwrite the existing vbgarage.php. Let me know if you still have problems.

Make sure you perform the template replacements, too.

I've overwritten the previous version three times now, and yes, template replacements have been done. :speechless:

magnus 04-10-2004 11:25 PM

Quote:

Originally Posted by Envy-UK
I've overwritten the previous version three times now, and yes, template replacements have been done. :speechless:

Err.. vB.org is being weird, I've uploaded the corrected .zip 3 times and it's not accepting it. Try now, I think it took.

Envy-UK 04-10-2004 11:27 PM

Bingo, all sorted. :)

Envy-UK 04-10-2004 11:28 PM

Apart from the images, when clicked, still show up as red X's. :(

magnus 04-10-2004 11:29 PM

Quote:

Originally Posted by Envy-UK
Apart from the images, when clicked, still show up as red X's. :(

Hrm, that has to be template related. Highlight an image, and show me the link it's trying to go to. Look in the status bar at the bottom of your browser (if you're using IE).

It *should* be:

http://url/vbgarage.php?do=popup&image=http://url/vbgarage.php?do=getimage&id={x}

Envy-UK 04-10-2004 11:31 PM

It's linked to the following:

/vbgarage.php?do=popup&image=http://www.envy-uk.co.uk/vbgarage.php?do=thumb&width=175&id=12

magnus 04-10-2004 11:34 PM

My fault! Typo in my previous upgrade post. This is the correct instruction (I've gone ahead and updated the previous post, too):

3. Edit the vbgarage_imagebits TEMPLATE:

REPLACE with:
[high](be sure to leave a SPACE after the closing </a>)[/high]
HTML Code:

<a style="cursor:pointer; cursor-hand" href="vbgarage.php?do=popup&amp;image=$vboptions[bburl]/vbgarage.php?do=getimage&amp;id=$image[vbgarageid]" onclick="PopupPic(this.href); return false;" target="_blank"><img src="$vboptions[bburl]/vbgarage.php?do=thumb&amp;width=175&amp;id=$image[vbgarageid]" alt="$image[name]" border="0" /></a>

Envy-UK 04-10-2004 11:37 PM

Problem solved, however, now the initial thumbnail view of the image is broken. :(


All times are GMT. The time now is 08:59 AM.

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.02242 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_html_printable
  • (5)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