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
  #142  
Old 01-18-2002, 08:23 PM
gabs's Avatar
gabs gabs is offline
 
Join Date: Nov 2001
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got this working with minor modifications after upgrading a 2.0.3 board that had a working gallery in it. I have no idea if this will work in other cases.

Anyways, what I did was this:

follow the instructions in gallery.txt, untill you get to :
Quote:
Find function acceptupload() (Line 1277):
Find (Line 1347):
...
Skip the whole part, and Do this instead:

Find function acceptupload():

Find:
PHP Code:
fclose($filenum);
unlink($attachment); 
Replace it with:
PHP Code:
fclose($filenum);
//unlink($attachment); //galhack 

Find:
PHP Code:
$attachmentid=$DB_site->insert_id(); 
Replace it with:
PHP Code:
$attachmentid=$DB_site->insert_id();
makeThumb($attachmentid$attachment_name$attachment); //galhack
unlink($attachment); //galhack 
And then follow further instructions in gallery.txt from CONTROLL PANEL OPTIONS.


That's all folks

"This is all i actually had to do too get it working, as I did a code comparison upgrade..."
Reply With Quote
  #143  
Old 01-18-2002, 08:35 PM
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Posts: 1,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What if I have a 2.0.3 board? Will the original code work? and WHAT DOES THIS HACK DOOOOO? :frus:
Reply With Quote
  #144  
Old 01-18-2002, 08:43 PM
gabs's Avatar
gabs gabs is offline
 
Join Date: Nov 2001
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh it works great with 2.0.3 -

What it does, well it gives you an Image gallery on your forum.
It makes thumbnails of all attachments, and provides easy access to them and theyr post..

oh hell, heres a screenshot - a picture say's more than a thousand words ( the "please select image gallery" is your forums list ):
Reply With Quote
  #145  
Old 02-18-2002, 04:23 PM
Steph2k Steph2k is offline
 
Join Date: Dec 2001
Location: Northern California
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do Gabs modifications work for 2.2.2???

Steph
Reply With Quote
  #146  
Old 02-18-2002, 04:38 PM
gabs's Avatar
gabs gabs is offline
 
Join Date: Nov 2001
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

they work for me..
Reply With Quote
  #147  
Old 03-06-2002, 09:05 PM
fmoise99 fmoise99 is offline
 
Join Date: Oct 2001
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Worked fine for me too.
Reply With Quote
  #148  
Old 04-28-2002, 06:27 PM
AndyTSJ AndyTSJ is offline
 
Join Date: Feb 2002
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seems like a while since this hack was last discussed ! Anyone still running it, using vbulletin2.2.2 + ?
Reply With Quote
  #149  
Old 04-30-2002, 11:55 AM
george_proost george_proost is offline
 
Join Date: Nov 2001
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

:chinese:
Reply With Quote
  #150  
Old 04-30-2002, 08:16 PM
TechTalk TechTalk is offline
 
Join Date: Dec 2001
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by george_proost
:chinese:
It doesnt work on 2.2.x without an assload of changes. I have been there and tried it, and none of the instructions match up with the code.
Reply With Quote
  #151  
Old 05-01-2002, 05:17 PM
AndyTSJ AndyTSJ is offline
 
Join Date: Feb 2002
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's what I suspected after reading some of the earlier posts. Sounds like some folks were making a ton of code changes that were not documented in the original installation instructions, making it an extremely difficult hack to install.
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 01:39 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.11564 seconds
  • Memory Usage 2,310KB
  • Queries Executed 27 (?)
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
  • (4)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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (11)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_postinfo_query
  • fetch_postinfo
  • 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