Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 09-05-2001 Last Update: Never Installs: 29
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #102  
Old 09-25-2001, 05:49 PM
webhost's Avatar
webhost webhost is offline
 
Join Date: Oct 2001
Location: St. Louis
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

mind uploades gif files, you need to make a change in the upload.php file I believe

PHP Code:
/* File Type Restrictions Variables                                */
/*-----------------------------------------------------------------*/
$max_height "200";         /* Max Image Height                   */
$max_width "200";          /* Max Image Width                    */
$Size_Restrictions "2000000";       /* image size limit in bytes */
$Width_Restrictions "200";          /* your width limit          */
$Height_Restrictions "200";         /* your height limit         */
/*-----------------------------------------------------------------*/
/* If you want to have it chosen where you can enable users to be  */
/* able to upload gif formated pictures to... then use this next   */
/* line that is commented out, instead of the other one.           */
$Type_Restrictions "jpg,gif,jpeg";    /* your upload file types    */
/* $Type_Restrictions = "";           /* your upload file types    */
//*---------------------------------------------------------------*//
/* This is where you fill in your server information so that it    */
/* knows where and what to connect to.                             */
//*---------------------------------------------------------------*// 
PHP Code:
    $error_msg .= "<font color=\"$errortext\" face=\"$font\" size=\"$smallerfontsize\">You Did Not Specify a ""Photo to Upload! Please Re-Submit!!</font>";
       }
       
/* again if you are giving the users the ability to upload gif formated pictures use the commented out line */
    /* else if (($picture_type != "image/pjpeg") && ($picture_type != "image/jpeg") && ($picture_type != "image/gif")) */
    
else if (($picture_type != "image/pjpeg") && ($picture_type != "image/jpeg"))
    {
        
$error_msg .= "<font color=\"$errortext\" face=\"$font\" size=\"$smallerfontsize\">Your file is not a $Type_Restrictions type, please only try to upload: $Type_Restrictions formated images.</font></font></td></tr></table></td></tr></table>";
    }
    else if ( 
$picture_size $Size_Restrictions 
Reply With Quote
  #103  
Old 09-27-2001, 03:27 PM
BradC
Guest
 
Posts: n/a
Default

Here in a week or so.. I might start on version 2.0 of this, where it will be more closely intergrated into vb... and hopefully stop and fix all the little problems in my first release version.

I will try to make it where, if you are still running the first version... the changes for the new one can be easily updated or changed to be the new version

and I might make it where you can have up to 2 or 3.. uploads .. but that is just a thought, not for sure.. really.
Reply With Quote
  #104  
Old 09-27-2001, 10:41 PM
maverick1236 maverick1236 is offline
 
Join Date: Oct 2001
Location: NY
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

your not gonna believe this!!......

I just Installed the "store custom avatars as files" hack-and its working perfect!!!

It uploads the avatar to the server and renames it according to UserID!!!

Not a single problem!!!

My paths are correct-ive confirmed that numerous ways-and the DB IS updating!!-But with your hack the files wont upload!!??

what do u think of this?

tx
Reply With Quote
  #105  
Old 09-27-2001, 11:55 PM
BradC
Guest
 
Posts: n/a
Default

I already knew about this... but I can't explain it... because I am a complete moron

Besides installing it myself on your server, I have no way of knowing why it won't.. I mean the way it seems.. it should work just fine with the amount of help that has been given to ya.. so I dunno.
Reply With Quote
  #106  
Old 09-29-2001, 10:50 AM
rez
Guest
 
Posts: n/a
Default

In the getinfo you made a mistake.

PHP Code:
    <td bgcolor="#DFDFDF"><normalfont></normalfont><b>$userinfo[username]'s
      Photo</b></td>
    <td bgcolor="#DFDFDF"><normalfont>$picture_name<br><br>$userinfo[photodesc]</normalfont></td>
</tr>
<tr> 
It should be:

PHP Code:
    <td bgcolor="#DFDFDF"><normalfont><b>$userinfo[username]'s
      Photo</b></normalfont></td>
    <td bgcolor="#DFDFDF"><normalfont>$picture_name<br><br>$userinfo[photodesc]</normalfont></td>
</tr>
<tr> 
Im not sure if this has been mentioned already but anyway..
Reply With Quote
  #107  
Old 10-01-2001, 01:44 AM
SirSteve SirSteve is offline
 
Join Date: Oct 2001
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When viewing Who's online and a visitor is on the upload.php page, it displays "Unknown Location", to fix this:

Look in online.php:

Around the 200 lines mark your see lots of "case" statements

You need to add this:

PHP:
--------------------------------------------------------------------------------
case 'upload':
$userinfo[where] = "Viewing the <a href='upload.php?s=$session[sessionhash]'>Photo Upload</a>";
break;
--------------------------------------------------------------------------------

Also around the 500 lines mark you see more "case" statements

You need to add this:

PHP:
--------------------------------------------------------------------------------
case 'upload.php':
$userinfo[activity] = 'upload';
break;
--------------------------------------------------------------------------------

Now, can someone tell me how to pull in the photo when viewing your "Edit Options" page via User CP?

I also would like to add the vB header and footer to my upload.php page, anyone done this yet?
Reply With Quote
  #108  
Old 10-01-2001, 02:00 AM
VirtueTech VirtueTech is offline
 
Join Date: Oct 2001
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Version 2.0 should use ImageMagick to resize the photo into a thumbnail. That would rule.

Nice hack.
Reply With Quote
  #109  
Old 10-01-2001, 02:47 PM
BradC
Guest
 
Posts: n/a
Default

Quote:
Originally posted by VirtueTech
Version 2.0 should use ImageMagick to resize the photo into a thumbnail. That would rule.

Nice hack.
Not a bad idea, but most likely I will not be adding it .. in my release.. reason being that some people if not a lot of people may not have the access to imagemagik.. so it would do them no good.. and then there is.. what would the thumbnail be used for? Cause I have other methods I use.. to make thumbnails..

as for the header and fooder SirSteve... I will most likely make it more intergrated into the user control panel.. so that part might be taken care of easily
Reply With Quote
  #110  
Old 10-10-2001, 03:19 AM
topgun
Guest
 
Posts: n/a
Default

It can run on win2000?
Reply With Quote
  #111  
Old 10-10-2001, 04:52 AM
BradC
Guest
 
Posts: n/a
Default

I am not actually for sure, I think it does for a lot of people certain people have messed up servers, so it will not work... and lucky anything else does..

But I only test my stuff on linux right now till I setup another win2k server to play with at my house
Reply With Quote
Reply


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 12: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.05137 seconds
  • Memory Usage 2,320KB
  • 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
  • (4)bbcode_php
  • (1)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
  • (4)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