vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   [RELEASE vb2.0+] vB Photo Upload (https://vborg.vbsupport.ru/showthread.php?t=27475)

09-05-2001 10:00 PM

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

Sarge 09-06-2001 04:55 AM

How is this better than just attaching the image?

Thanks for the hard work

wajones 09-06-2001 05:46 AM

Quote:

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.

Sarge 09-06-2001 05:51 AM

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?

Sarge 09-06-2001 06:14 AM

anyone having the same problem?

theflow 09-06-2001 07:10 AM

Quote:

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

BradC 09-06-2001 09:56 AM

$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 :)

BradC 09-06-2001 09:59 AM

Quote:

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 :p

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.

FreshFroot 09-06-2001 02:01 PM

Quote:

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.

BradC 09-06-2001 03:36 PM

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


All times are GMT. The time now is 11:21 PM.

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.01188 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete