Announcement

Collapse
No announcement yet.

[RELEASE vB 2.0.1] Image Gallery v1.0

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • clubplanet
    replied
    working?

    I think I finally have this working...

    http://bbs.clubplanet.com/gallery.php

    But it is INCREDIBLY slow. Is it supposed to be this slow? The rest of the site is not... Thinking maybe I did something wrong.

    Anyone?

    Leave a comment:


  • Delhaze
    replied
    Re: ANYONE?

    Originally posted by Maverick1236
    anyone get this up on a windows machine yet?
    Try looking above

    Leave a comment:


  • Maverick1236
    replied
    ANYONE?

    anyone get this up on a windows machine yet?

    Leave a comment:


  • Kengan
    replied
    Where is the new version ?

    Leave a comment:


  • RobAC
    replied
    THANKS!!!!!!

    Leave a comment:


  • Delhaze
    replied
    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.

    Leave a comment:


  • RobAC
    replied
    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.

    Leave a comment:


  • Delhaze
    replied
    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.

    Leave a comment:


  • RobAC
    replied
    Re: Netscape View

    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

    Leave a comment:


  • phumphries
    replied
    Netscape View

    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.)

    Leave a comment:


  • Delhaze
    replied
    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?

    Leave a comment:


  • fmoise99
    replied
    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.

    Leave a comment:


  • ToraTora!
    replied
    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.

    Leave a comment:


  • fmoise99
    replied
    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?

    Leave a comment:


  • mojotim
    replied
    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.

    Leave a comment:

widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X