Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

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

Version: 2.2.x Rating:
Released: 06-29-2001 Last Update: Never Installs: 26
 
No support by the author.

Instructions in the ZIP file (gallery.txt). Should explain most details of installation. I haven't done an INSTALL from scratch, so you get to beta test that part of the program.

The gallery itself seems quite stable. I added some load limiting/checking options before releasing as well. Let me know how your installs go, features you'd like to see, etc.

If you want to see an example:

http://www.noows.com/gallery.php?s=&forumid=88

Show Your Support

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

Comments
  #2  
Old 06-30-2001, 03:38 AM
Zamtil
Guest
 
Posts: n/a
Default

Hadn't really explored the differences between JPG and GIF. I figured the files were so small, that file size wouldn't be much difference.. boy was I wrong. This is an updated copy that uses JPEG compression instead of GIF. If you've already install this hack, just replace the files, use a SQL tool to "DELETE FROM thumb" and rerun admin/gallerymakethumbs.php.

In the future I may make thumbnail type a config option, but when I saw 20k thumbnails go to 3-5k, I decided quality was a mute point.

The main change is this line in functions.php:

PHP Code:
system("$galleryconvert -geometry '160x120>' $path GIF:$thumbname"); 
to

PHP Code:
system("$galleryconvert -geometry '160x120>' $path -quality '75' JPEG:$thumbname"); 
Reply With Quote
  #3  
Old 06-30-2001, 03:41 AM
eva2000's Avatar
eva2000 eva2000 is offline
 
Join Date: Oct 2001
Location: Brisbane, Australia
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just another thing, what font and settings did you use for the gallery button ? mind attaching the psd file for it too
Reply With Quote
  #4  
Old 06-30-2001, 03:42 AM
Znaper Znaper is offline
 
Join Date: Oct 2001
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you forgot the thumb.php in the zip file!
Reply With Quote
  #5  
Old 06-30-2001, 03:45 AM
Zamtil
Guest
 
Posts: n/a
Default

Quote:
Originally posted by eva2000
just another thing, what font and settings did you use for the gallery button ? mind attaching the psd file for it too
It's the exact buttons from the vBulletin 2.0 graphics development kit. I just edited one of the top_ templates and the find template. Changed the word to gallery. Actually, I didn't even save the Photoshop version, just the exported GIFs.
Reply With Quote
  #6  
Old 06-30-2001, 03:48 AM
Zamtil
Guest
 
Posts: n/a
Default

Quote:
Originally posted by Znaper
you forgot the thumb.php in the zip file!
Yep, you're right. The ZIP is now: JPEG thumbnails + thumb.php. About 8 people got ahold of the original GIF version, I'd suggest switching to this.
Reply With Quote
  #7  
Old 06-30-2001, 03:52 PM
Zamtil
Guest
 
Posts: n/a
Default

Would like to see it on someone else's site, post URL please.
Reply With Quote
  #8  
Old 06-30-2001, 05:24 PM
mojotim mojotim is offline
 
Join Date: Oct 2001
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, great hack, but I'm having problems.

Parse error: parse error in /usr/local/xxxxxx/httpdocs/admin/galleryinstall.php on line 17

Looks ok to me, but I keep getting this.
Using, Apache, RedHat Linux 7

-Tim
Reply With Quote
  #9  
Old 06-30-2001, 05:48 PM
Zamtil
Guest
 
Posts: n/a
Default

Quote:
Originally posted by mojotim
Hey, great hack, but I'm having problems.

Parse error: parse error in /usr/local/xxxxxx/httpdocs/admin/galleryinstall.php on line 17

Looks ok to me, but I keep getting this.
Using, Apache, RedHat Linux 7

-Tim
Change line 17 to this:

PHP Code:
$DB_site->query("INSERT INTO setting VALUES (NULL,$groupid,'Pages to show in nav bar','gallerynavpages','5','','',1)"); 
Looks like there's an extra ") at the end of the line in the released file.
Reply With Quote
  #10  
Old 06-30-2001, 05:56 PM
mojotim mojotim is offline
 
Join Date: Oct 2001
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got a new one:

Warning: Division by zero in /usr/xxxxx/httpdocs/gallery.php on line 108

Should there be an "@" somewhere in there?
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 03:20 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04934 seconds
  • Memory Usage 2,283KB
  • 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
  • (3)bbcode_php
  • (3)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
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (4)postbit_onlinestatus
  • (10)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