vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   vbProArcade Beta 2 (https://vborg.vbsupport.ru/showthread.php?t=42880)

Cloudrunner 06-18-2003 10:17 PM

The images are stored in the database as binary MEDUIMBLOB columns.

Thus if your query with the binary string is corrupted, so will your image be.

Like Talisman said, the fix is to edit your games images in the AdminCP. and then add any new games via the AdminCP. The HTML is EXACTLY the same for all of them.

bharvey42 06-19-2003 03:59 AM

What do you mean when you say edit your games images in the AdminCP? Like try and re-upload them? If thats what you mean it doesn't work I have tried it numerous times. I have even tried to manually upload the image into the db and it STILL doesn't work.

It would be nice for it to just look for the .gif associated with the game name or even number so we didn't have to worry about the uploads not working. It would also probably be better security as well.

Talisman 06-19-2003 04:26 AM

It's a weird hack, bharvey. The normal stuff we're used to don't work with this, for some reason. Guess it's because it's still a beta. I imagine futureal will tidy things up in time.

I had the same problems you guys are describing. So I searched the thread and found little scattered comments in here that serve as work-arounds. But they're not easy to find and they're not very thoroughly described. Sounds more like those who posted knew what was going on at the time, but it's not so clear to the rest of us. (At least it made little sense to me, at first.)

There are two things you need to look at:

1. If your situation is like mine..... any time you upload the graphic files to your database yourself, it won't work. Same thing if you run the queries, either using a script or doing it manually. The big globs of gobbledygook (great big columns of binary blob things) in the database come out differently than they do if you upload them using the "add game" or "modify games" options in the ACP.

2. The other thing to check if this isn't working right is the path provided by the hack in the ACP. It's not correct..... you have to delete the first slash. (This is mentioned in passing early on in this thread.)

Sounds like these might be the reasons your graphics aren't getting in there. You can't enter them by query or manually yourself ...... and the bad path in the ACP prevents you from the uploading them the way this hack wants you to do it.

Look at the screenshot I took of this and you'll see what I mean.

Hope that works for you.

Talisman 06-19-2003 04:32 AM

Quote:

10-02-02 at 07:50 PM \ \ - Speedy - / / said this in Post #477
Thank You So Much!!! That did the trick!!!

from

/games/

to

games/



\ \ - Speedy - / /

Here's the message I found about this from last October.

Futureal, maybe you could edit your first post to explain this and make a few minor corrections to the txt file?

Cloudrunner 06-19-2003 04:37 AM

Quote:

Today at 09:59 PM bharvey42 said this in Post #1382
What do you mean when you say edit your games images in the AdminCP? Like try and re-upload them? If thats what you mean it doesn't work I have tried it numerous times. I have even tried to manually upload the image into the db and it STILL doesn't work.

It would be nice for it to just look for the .gif associated with the game name or even number so we didn't have to worry about the uploads not working. It would also probably be better security as well.

Well, my redneck english might be hard to understand sometimes bein that I done went and growed up in tha middle of Utah in the desert, but I think it's pretty straight forward what I meant. ;)

Go into the admin CP, choose edit game....then scroll to the game you wanna edit. You'll see the corrupted image, then below that there is a radio button that says something like delete current image? you answer yes, then below that there is a file browser. Select the image file you want to use, hit submit, and it stores it CORRECTLY in the database using the proper BLOB format.

As far as security goes, what's more secure? a file, or a datastream protected via MD5 encryption and pass within MySQL...

Personally, I find that uploading the image into the database is alot easier than having to make sure that my uploads directory is properly CHMODed and that the paths are correct, etc.etc....just put the binary in the database, then pull when needed.

Talisman 06-19-2003 04:42 AM

He he.... we'll just blame it all on futureal. He spent all that time making it possible for us to upload these things from the ACP, and he damn well intends for us to use it.

Whether we want to or not ...... lol. ;)

Cloudrunner 06-19-2003 04:59 AM

;)

Dean C 06-19-2003 10:58 AM

No such luck in any of the solutions described here regarding my images :(

- miSt

bharvey42 06-19-2003 02:58 PM

Quote:

Today at 01:37 AM Cloudrunner said this in Post #1385
Well, my redneck english might be hard to understand sometimes bein that I done went and growed up in tha middle of Utah in the desert, but I think it's pretty straight forward what I meant. ;)

Go into the admin CP, choose edit game....then scroll to the game you wanna edit. You'll see the corrupted image, then below that there is a radio button that says something like delete current image? you answer yes, then below that there is a file browser. Select the image file you want to use, hit submit, and it stores it CORRECTLY in the database using the proper BLOB format.

Personally, I find that uploading the image into the database is alot easier than having to make sure that my uploads directory is properly CHMODed and that the paths are correct, etc.etc....just put the binary in the database, then pull when needed.

That was the first thing I tried amongst other things and still doesn't work.

Doesn't work with the / in front of games or not in front.

Also Database, Files, who cares I like solutions that work for everybody. And this seems to be a common issue for some dumb reason.

Littlebit 06-20-2003 12:24 PM

Quote:

06-09-03 at 07:32 PM futureal said this in Post #1363
Hi guys,

Sorry for the lack of support/updates these past few weeks. I've been terribly busy with outside stuff: work, fiance, buying a house, etc. Lots of stuff that has kept me away.

Beta 2.1 is still mostly done and will be released as soon as I have time to package it and come up with an update procedure from 2 to 2.1.

Thanks for sticking with me, and enjoying the hack!

Hi Futureal,
Thanks for keeping this on your ToDo list even during all your exciting endeavors!

:classic:


All times are GMT. The time now is 02:07 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.02264 seconds
  • Memory Usage 1,749KB
  • 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
  • (4)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