Announcement

Collapse
No announcement yet.

[RELEASE vb2.0+] vB Photo Upload

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

  • [RELEASE vb2.0+] vB Photo Upload

    Update : Sept 6
    -- Thanks to wajones who pointed out a couple of things, I updated the files.
    -- 1. The icons in the top right corner, one of them was suppose to point to the user help file but it was renamed and I forgot to update the code.
    -- 2. There was a header error in the admin panel, which was corrected by wajones... if future problems happens please tell me.

    ------end update.

    Well everyone, I decided tonight to release this and just see what happens from there on. I got caught up in working on my multi-page profile for my site, and kind of forgot about this. Sorry I do that a lot, in which I am sure everyone does.

    First off... please read all of the files that I have included in this, the Installation.txt file is something I slapped together at the last minute and probably needs proof read... but who cares. The Readme.txt file explains what all the files are, and has some other tidbit information.

    The only things you will really need to upload is: upload.php, userhelp.html, vbuploadinstall.php and the images and image folder.

    I tried to explain the best way to have it... is putting those three files in the root of your vb folder, then just upload the images folder, which will create a sub folder inside that for the two image icons. Then you will have to create another folder like I suggested named "uploaded" meaning uploaded pictures. Then you will have to chmodd that to 777 and go from there. Then you will have to go through the upload.php file and change the variable preferences to fit your site. I tried to do the best possible explanation of how to do it through my comments throughout the files. So pay attention to those, also feel free to customize the userhelp file to fit your site and everything.

    One thing I kind of fell short on.. was a cool profile page.. I mean I included a getinfo template that I used when I first made this, which was on vb2.0.1 and now that added like ignore and stuff so.. you might just want to create your own template up in your favorite web page builder or in notepad.. whatever. And go from there with the variables that I include.

    Just pretty much go through the installation files and everything and follow the steps and you should not have any problems.. not saying you won't but... hopefully the F.A.Q. file will help with that.

    Some might hate it, some might like it... if you hate it.. don't download it.. or install it.

    To uninstall, follow the steps you took to install it and reverse them

    ALWAYS BACKUP Before doing hacks... installations, changes, etc!

    **Warning** Install at your own risk!

    and... there is no place like home! Just remember that!

    P.S. search these forums.. for screen shots and there is no demo as of right now... well there was but I Took it down
    Last edited by BradC; Wed 19th Sep '01, 4:52pm.

  • #2
    How is this better than just attaching the image?

    Thanks for the hard work

    Comment


    • #3
      Originally posted by Sarge
      How is this better than just attaching the image?

      Thanks for the hard work
      It's better because, you can't just attach a picture to the users profile.

      Comment


      • #4
        Parse error: parse error in /home/dlrarmy/public_html/forums/upload.php on line 110



        line 110 is


        109 $today=date( "M-D-d-Y", time() );
        110 $updatetime = $timenow;
        111 $pic_lastupdated=$bbuserinfo['pictime'];


        Any Clues?

        Comment


        • #5
          anyone having the same problem?

          Comment


          • #6
            Re: [RELEASE vb2.0+] vB Photo Upload

            Originally posted by BradC
            P.S. search these forums.. for screen shots and there is no demo as of right now
            Hey, congrats Brad!

            Are these fairly accurate screen shots? If not, I will edit them out and remove...

            http://www.vbulletin.com/forum/attac...&postid=155195
            .

            Comment


            • #7
              $today = date( "M-D-d-Y", time() );
              $updatetime = $timenow;
              $pic_lastupdated = $bbuserinfo['pictime'];


              try that out.. I just added a space in between the line above and line below line 110..

              cause I don't get this error on my server.

              and theflow... that is ToraTora!'s edited version with different colors but yes for the most part that is the latest

              Comment


              • #8
                Originally posted by Sarge
                How is this better than just attaching the image?

                Thanks for the hard work
                Good thing I never said this is better... or anything like that

                I simply made this for me, and since there was a few people that wanted it, I started making at a best a customized version for release. There is many different ways this could have been done, but this is the way I went... plus I had already done most of it like this for my site.. so I did not want to re-write something just to release it.. so I kept it for the most part intact from what I have.

                Comment


                • #9
                  Originally posted by BradC
                  $today = date( "M-D-d-Y", time() );
                  $updatetime = $timenow;
                  $pic_lastupdated = $bbuserinfo['pictime'];


                  try that out.. I just added a space in between the line above and line below line 110..

                  cause I don't get this error on my server.

                  and theflow... that is ToraTora!'s edited version with different colors but yes for the most part that is the latest
                  I did this and am still getting the parse error on line 110.

                  Comment


                  • #10
                    I don't get this.. and either did Tora.. when he installed it.. so I will have to take a look at it again.. it does not mean it is on line 110.. it could be before it... it just did not show up till then lol

                    Comment


                    • #11
                      Ok... I just attached a fresh copy. Now I went through and customized it and added it to my board and it works fine without any parse errors...

                      http://www.addictedusers.com/board/upload.php

                      and yes I know you cannot go to it without registering lol..

                      but it should work now..
                      Last edited by BradC; Thu 6th Sep '01, 12:04pm.

                      Comment


                      • #12
                        Hey Brad and Toratora, thanks for all the hard works for all these wonderful hacks. I knew that some ppl already have these features on their sites but u are the first to release the hacks. Many thanks. I think vBulletin should be thankful to u too. In my opinion, these are important features (hehe) and I was a bit surprise that vBulletin did not have these add-ons when I furst bought the program, considering some other forum programs already have these...

                        Again thanks for everything.
                        Kooooool Girl

                        StreetRacingGallery.com
                        Click here to add your auto club/team in our new Automotive Directory
                        Our website is proudly hosted by Siteomatic.net

                        Comment


                        • #13
                          Thanx
                          just so happen to be working on the profile pages today so i'll have to give this a look see

                          Comment


                          • #14
                            Please post any problems.. and/or fixes that you may run into..

                            I would just like to know how things go with this.. cause I tried to do the best I could at making a helpfull guide to installing this.

                            Btw I know my coding may look a little wierd.. with the way I name stuff and everything, but I am new at php .. so give me a chance

                            *Kool Girl* thanks for the kind words, that REALLY mean a lot to me. As for vb and having these features... I think they were talking about intergrating an upload script into a future release of vb. So... everyone be aware that might happen

                            thanks again,

                            Brad C.

                            Comment


                            • #15
                              Looks like everything is going pretty well so far...

                              Comment

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