Announcement

Collapse
No announcement yet.

[RELEASE vB 2.0.1] Image Gallery v1.0

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

  • This work fine for me.

    But how i can get a page with a list of all user with the number of image in they gallery ?

    same style of this : http://www.chins-n-quills.com/forums/gallery.php


    who can help me !

    Comment


    • 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.
      Rob

      Comment


      • still works for me. are the templates still in there?

        Comment


        • Yep. When I ran the install script it came back and said that the templates were updated. They're all there. All 8, correct? I haven't hacked any of them. Did you upgrade to 2.0.3?
          Rob

          Comment


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

            Comment


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

              Comment


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

                Comment


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

                  Comment


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

                    Comment


                    • 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.)
                      Peter E. Humphries

                      Comment


                      • 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
                        Rob

                        Comment


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

                          Comment


                          • 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.
                            Rob

                            Comment


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

                              Comment


                              • THANKS!!!!!!
                                Rob

                                Comment

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