vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Flash Gallery Hack v 1.1 (https://vborg.vbsupport.ru/showthread.php?t=42674)

Demonslayer 08-25-2002 07:01 PM

I made the sql table myself but it doesn't seem to work properly....:(

Lanigironu 08-25-2002 08:52 PM

Hmmm.... Something is wrong. I copied and pasted the outputed command that PHPMyAdmin gave me, but when I try it in the SQL window it gives me the same error.

I'll see if I can figure it out.

Lanigironu 08-25-2002 09:08 PM

Ignore this post. Thanks to futureal, the query is in my next post.

Demonslayer 08-25-2002 09:33 PM

I still get errors...:(

(Btw. shouldn't this "CREATE TABLE 'flash2'" say flash, not flash2?

Lanigironu 08-25-2002 09:43 PM

Ok, here's the fixed query, thanks to futureal:

Code:

CREATE TABLE flash (
  flashid INT(10) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
  userid INT(10) UNSIGNED NOT NULL DEFAULT '0',
  name VARCHAR(100) NOT NULL,
  filesize INT(5) DEFAULT '0' NOT NULL,
  filename VARCHAR(50) NOT NULL,
  thumb VARCHAR(100) NOT NULL,
  author VARCHAR(50) NOT NULL,
  type VARCHAR(50) NOT NULL,
  height INT(5) DEFAULT '480' NOT NULL,
  width INT(5) DEFAULT '640' NOT NULL,
  dateline INT(10) UNSIGNED NOT NULL DEFAULT '0',
  leaderboardurl VARCHAR(50) NOT NULL,
  INDEX (userid)
 )


Lanigironu 08-25-2002 09:44 PM

Yes, yes it should. Sorry about that. I was trying to make a new table to see if it works, instead of overwriting my own one.

Lanigironu 08-25-2002 09:59 PM

There, it's all fixed now. I'll replace it in the instructions.

Lanigironu 08-25-2002 10:03 PM

Done.

Demonslayer 08-25-2002 10:10 PM

thanks :)

Demonslayer 08-25-2002 10:11 PM

you should fix your instructions and that query with 1 thing.....the table name is flash, not flash2 :)


All times are GMT. The time now is 06:58 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.00969 seconds
  • Memory Usage 1,727KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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