Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

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
  #122  
Old 08-11-2001, 05:49 AM
mojotim mojotim is offline
 
Join Date: Oct 2001
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, I updated to 2.03.

I just checked my gallery php files and they are the same as the last zip. So, know changes were made and mine works.
Reply With Quote
  #123  
Old 09-14-2001, 05:15 PM
fmoise99 fmoise99 is offline
 
Join Date: Oct 2001
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by RobAC
This hack no longer seems to work after upgrading vBulletin 2.0.3. I've rehacked the functions.php file and reran the gallery installation hack and for some reason, the page navigation does not show up on gallery.php and the page will not load in netscape. No matter what changes you make to the options in the Admin CP, they don't work.
That is true. I am having the same problem. Appearently, vbulletin changed the page navigation style they were using and now the page navigation does not work on the image gallery. I checked, the template names were changed.

Does anyone have the new code that will fix this?
Reply With Quote
  #124  
Old 09-14-2001, 06:06 PM
ToraTora! ToraTora! is offline
 
Join Date: Nov 2001
Posts: 255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by RobAC
This hack no longer seems to work after upgrading vBulletin 2.0.3. I've rehacked the functions.php file and reran the gallery installation hack and for some reason, the page navigation does not show up on gallery.php and the page will not load in netscape. No matter what changes you make to the options in the Admin CP, they don't work.
I noticed you said netscape...it is possible that the tables are not showing up for nutscrape. it happened with a couple of things before i tried to add..
Try using IE, and if that doesnt display, than i would take a look at your tables in MYSQL, and see if there is any info going in or out. I am assuming that the pics are strored in a folder, so it is possible that the folder is no longer chmodded or even there to begin with..of course, i am just throwing out loose ideas here, so dont bite my head off.
Reply With Quote
  #125  
Old 09-14-2001, 08:14 PM
fmoise99 fmoise99 is offline
 
Join Date: Oct 2001
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The real problem is with the page navigation. If I can get my hands on the old vbulletin 2.01 templates numbernav and numbernav_pages.

That would fix the page navigation problem without modifying code.
Reply With Quote
  #126  
Old 09-17-2001, 11:12 AM
Delhaze Delhaze is offline
 
Join Date: Oct 2001
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I managed to get this working on IIS 5 on Windows 2000 Server.

I have a few questions

I changed the line

PHP Code:
system("$galleryconvert -geometry '160x120>' $path -flatten -quality '75' JPEG:$thumbname"); 
to

PHP Code:
system("$galleryconvert -geometry 160x120 $path -flatten -quality 75 JPEG:$thumbname"); 
as the convert was creating 0 length files.

What are the ' and > for ?

I also had to //comment out the
PHP Code:
if ($filesize != 0
line as the test was always failing.

Any idea why?
Reply With Quote
  #127  
Old 09-17-2001, 11:53 AM
phumphries's Avatar
phumphries phumphries is offline
 
Join Date: Nov 2001
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All the galleries that I checked out had the same problem with an unclosed table.

If you can get through the spurious HTML errors on this validator, you will see that there is a FORM embedded improperly and an unclosed table. IE doesn't care, but NS does crap out.

(Corvette Action Center: I hope that you do not mind that I used your gallery as an example.)
Reply With Quote
  #128  
Old 09-17-2001, 12:16 PM
RobAC RobAC is offline
 
Join Date: Oct 2001
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by phumphries
All the galleries that I checked out had the same problem with an unclosed table.

(Corvette Action Center: I hope that you do not mind that I used your gallery as an example.)
Not at all. I had looked into the problem a while ago and couldn't figure out what the problem was given the amount of time I had to look into. I dropped it for a while, but will go back and revisit it now. Thanks!

-Rob Loszewski, Site Administrator
Corvette Action Center
Reply With Quote
  #129  
Old 09-17-2001, 04:15 PM
Delhaze Delhaze is offline
 
Join Date: Oct 2001
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Delhaze
What are the ' and > for ?
Answering my own question.

I read the docs and found out the > stops it making images smaller than the thumbnail size bigger.

I've put it back in and it is working OK.
Reply With Quote
  #130  
Old 09-20-2001, 06:46 PM
RobAC RobAC is offline
 
Join Date: Oct 2001
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by fmoise99
The real problem is with the page navigation. If I can get my hands on the old vbulletin 2.01 templates numbernav and numbernav_pages.

That would fix the page navigation problem without modifying code.
Does anyone have an update for this? This hack would work perfectly if either numbernav templates were made (I no longer have these after upgrading to 2.0.3), or if the code in gallery.php was corrected to utilize the correct templates.
Reply With Quote
  #131  
Old 09-25-2001, 11:01 PM
Delhaze Delhaze is offline
 
Join Date: Oct 2001
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didn't have enough images on my board to require page navigation until now, so I couldn't see the bug some of you had noticed.

But I do now.

Anyway I had a look in an old backup and found the required templates.

As they are no longer in use I hope it's not a problem posting the code here.

numbernav
PHP Code:
 $firstpage_atag<<$endfirstprevtag  &nbsp$prevpage_atag<$endfirstprevtag  &nbsp$pagenumbers $nextpage_atag>$endlastnexttag  &nbsp$lastpage_atag>>$endlastnexttag 
numbernav_pages
PHP Code:
 $numbernav_atag$curpage$endpagetag  &nbsp
I have tested them and they are working fine.
Reply With Quote
Reply

Thread Tools

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 10:13 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.04881 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
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
  • (5)bbcode_php
  • (5)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_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