Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by Zamtil (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 06-26-2001 Last Update: Never Installs: 0
 
No support by the author.

<a href="http://www.noows.com/gallery.php" target="_blank">http://www.noows.com/gallery.php</a>

I know gallery.php is the same filename Freddie uses. However, this is my own hack, from scratch (although I do have some large chunks of borrowed vBulletin code).

It adds a new table called 'thumb' and uses ImageMack to generate thumbnails ONCE. It also adds a thumb.php file, which is basically a modified copy of attachment.php. No changes to existing PHP files or tables are necessary. I've written a small PHP file to make thumbs of all existing JPG/GIF/BMP/PNG attachments. Thumbs are generated and stored as GIFs.

AFAIK all security aspects are intact. My release will only support ImageMagick (via PHP system() call), if someone else needs GD/NetPBM support, they're welcome to hack-my-hack.

I'd like to get some feedback from Jesoft before I release. As I mentioned, I use some fairly large blocks of their code (from search.php and attachment.php) and want to make sure their are no issues. If it provides enough functionality, I'd have no problem with Jelsoft incorporating it into their next release, rather than me maintaining it as a hack.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 06-28-2001, 03:43 AM
JenniferS
Guest
 
Posts: n/a
Default

i'd like to try to install this hack as soon as it is ready.

btw i really dig the dancing bacon!
Reply With Quote
  #13  
Old 06-28-2001, 02:30 PM
Blackangel Blackangel is offline
 
Join Date: Oct 2001
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great great great i need the same

hehe
Reply With Quote
  #14  
Old 06-28-2001, 11:47 PM
mojotim mojotim is offline
 
Join Date: Oct 2001
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey this hack looks great. Are you using the convert function in ImageMagick? If so you could easily just make jpg thumbs. Anyways, I would love to get a hold of this hack! Let us know when you're ready! If you want someone else to test it for you let me know.
Reply With Quote
  #15  
Old 06-29-2001, 01:32 AM
Zamtil
Guest
 
Posts: n/a
Default

Quote:
Originally posted by mojotim
Hey this hack looks great. Are you using the convert function in ImageMagick? If so you could easily just make jpg thumbs. Anyways, I would love to get a hold of this hack! Let us know when you're ready! If you want someone else to test it for you let me know.
PHP Code:
system("/usr/X11R6/bin/convert -geometry '160x120>' -quality '75' $filename GIF:$thumbname"); 
Is all I'm doing to make thumbnails. My server got slammed yesterday (Everquest Game servers were down, so EVERYONE hits the message boards).. made alot of fixes and improvements. And yeah, you could use JPG thumbs just by changing GIF: to JPG: ... I used GIFs cause I didn't want further quality loss in the already shrunk image. I dunno how 100% quality JPG would compare against a GIF. GIF also seems to preserve animations, whereas JPG wouldn't. Could try PNG too...

I need to add some options to the admin menus, then I'll put a copy up. I have another hack people are anxious for too, I just hate the documentation/instructions part.
Reply With Quote
  #16  
Old 06-30-2001, 12:16 AM
Zamtil
Guest
 
Posts: n/a
Default

<a href="http://vbulletin.com/forum/showthread.php?s=&threadid=21602" target="_blank">http://vbulletin.com/forum/showthrea...threadid=21602</a>
Reply With Quote
  #17  
Old 11-05-2001, 01:31 AM
ScottW ScottW is offline
 
Join Date: Nov 2001
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check out PhotoPost, released on 11/4/01 -- it integrates with the VBulletin user DB:
http://www.techimo.com/photopost/index.html
Reply With Quote
  #18  
Old 07-12-2002, 07:56 AM
SoloX SoloX is offline
 
Join Date: Jun 2002
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Zamtil
http://vbulletin.com/forum/showthrea...threadid=21602
I cannot access this page . is it still out there?
Reply With Quote
  #19  
Old 07-12-2002, 08:02 AM
Steve Machol's Avatar
Steve Machol Steve Machol is offline
 
Join Date: Nov 2001
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try changing the 'com' to 'org'.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:48 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.04952 seconds
  • Memory Usage 2,274KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (5)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete