vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   VbGarage 3.5 (https://vborg.vbsupport.ru/showthread.php?t=109924)

Trigunflame 03-09-2006 11:56 PM

Quote:

Originally Posted by drumsy
Will this work with previous uploads? I still have all of the old garage entries in my database.

I have no idea.. theoretically it should work with the old database tables, as I really didnt change the query in regards to how it reads/writes the image table.

Trigunflame 03-09-2006 11:57 PM

Quote:

Originally Posted by waza
wow, trigun your going to break the record of most hack releases in one week, nice job man.

I dont know about that, 1 month maybe though ;)

TTG 03-10-2006 12:09 AM

gifs show Ok but jpg and png don't !?

Gio~Logist 03-10-2006 12:13 AM

I suppose this works just like Noppid's version correct?

Job well done. I believe several people have been looking for the ability for users to have their own galleries.

interceptor 03-10-2006 12:33 AM

I found something that prevent to display images.

In SQL in vbgarage_images there is a type in thats shows this " image/pjpeg ".

I have correct this to image/jpeg and image work normaly.

but when user upload image same thing happen again.

Trigunflame 03-10-2006 12:51 AM

Quote:

Originally Posted by TTG
gifs show Ok but jpg and png don't !?

Well on my test on my local forum, i could use jpg/png/gifs. I had no problem whatsoever, like I said in my post this is Not my hack and Im not going to rewrite all the code in this hack; I might as well have made my own if I wanted to do that.

Trigunflame 03-10-2006 12:52 AM

Quote:

Originally Posted by interceptor
I found something that prevent to display images.

In SQL in vbgarage_images there is a type in thats shows this " image/pjpeg ".

I have correct this to image/jpeg and image work normaly.

but when user upload image same thing happen again.

Hmm thats quite interesting, I might could modify the code to get the type from the filename instead of getting it from GD itself.

Ill work on a patch and upload it, that might solve some peoples problems.

Trigunflame 03-10-2006 12:54 AM

Quote:

Originally Posted by gio~logist
I suppose this works just like Noppid's version correct?

Job well done. I believe several people have been looking for the ability for users to have their own galleries.

This is based on magnus version, but Im probably going to merge it with noppids code as well as he stopped all developement on his version of vbgarage anyway.

TunerNetwork 03-10-2006 12:55 AM

I need to add this back.

But, when i got to import the product, i get this error:
Code:

Database error in vBulletin 3.5.3:

Invalid SQL:

                                INSERT INTO setting
                                (varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, product)
                                VALUES
                                (
                                        'vbgenable',
                                        'vbgarage',
                                        '1',
                                        '1',
                                        'boolean',
                                        'yesno',
                                        10,
                                        0,
                                        1,
                                        '_vbgarage'
        ),
        (
                                        'vbgcomments',
                                        'vbgarage',
                                        '1',
                                        '1',
                                        'boolean',
                                        'yesno',
                                        20,
                                        0,
                                        1,
                                        '_vbgarage'
        ),
        (
                                        'vbgmaxupload',
                                        'vbgarage',
                                        '6',
                                        '6',
                                        'number',
                                        '',
                                        30,
                                        0,
                                        1,
                                        '_vbgarage'
        ),
        (
                                        'vbgmaxfilesize',
                                        'vbgarage',
                                        '200000',
                                        '200000',
                                        'number',
                                        '',
                                        40,
                                        0,
                                        1,
                                        '_vbgarage'
        );

MySQL Error  : Duplicate entry 'vbgenable' for key 1
Error Number : 1062

any ideas?

Trigunflame 03-10-2006 01:09 AM

Quote:

Originally Posted by TunerNetwork
I need to add this back.

But, when i got to import the product, i get this error:
Code:

Database error in vBulletin 3.5.3:

Invalid SQL:

                                INSERT INTO setting
                                (varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, product)
                                VALUES
                                (
                                        'vbgenable',
                                        'vbgarage',
                                        '1',
                                        '1',
                                        'boolean',
                                        'yesno',
                                        10,
                                        0,
                                        1,
                                        '_vbgarage'
        ),
        (
                                        'vbgcomments',
                                        'vbgarage',
                                        '1',
                                        '1',
                                        'boolean',
                                        'yesno',
                                        20,
                                        0,
                                        1,
                                        '_vbgarage'
        ),
        (
                                        'vbgmaxupload',
                                        'vbgarage',
                                        '6',
                                        '6',
                                        'number',
                                        '',
                                        30,
                                        0,
                                        1,
                                        '_vbgarage'
        ),
        (
                                        'vbgmaxfilesize',
                                        'vbgarage',
                                        '200000',
                                        '200000',
                                        'number',
                                        '',
                                        40,
                                        0,
                                        1,
                                        '_vbgarage'
        );

MySQL Error  : Duplicate entry 'vbgenable' for key 1
Error Number : 1062

any ideas?

1. uninstall product
2. delete any vbgarage tables if they exist
3. in the settings, deleted any vbgarage ones..

preferably do step 2,3 from phpmyadmin.


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