Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives

Reply
 
Thread Tools
Details »»

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

Version: Unknown Rating:
Released: 12-17-2000 Last Update: Never Installs: 0
 
No support by the author.

I don't recall seeing this done exactly this way before. If it has been, I apologize to the author.

Anyway, what this will allow a user to do is upload a file to your webserver that they can insert into their post. It's modelled after the old UBB image upload hack.

Please keep in mind that this was a quick and dirty hack job, and I wasn't making it with the intentions of releasing it.

You can specify the maximum file size that you'd like to use - that's about it as far as security goes.

Here's the file:
http://www.bronx-bombers.com/forums/...age_upload.zip

Here's an example:
http://forums.bronx-bombers.com/

Hope someone will find this useful .

-jim

Show Your Support

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

Comments
  #22  
Old 12-23-2000, 07:25 PM
Guest
 
Posts: n/a
Default

Contact your host about it. If you are on vservers, then he will take care of it for you. If you are on a dedicated server, thats your job
Reply With Quote
  #23  
Old 12-25-2000, 06:03 PM
Guest
 
Posts: n/a
Default

(php noobie alert!)

I must be doing something wrong that is very basic to php. I tried to implement this hack, which is seemingly very simple to implement, and can't even get close. After following the text file, editing the necessary items, I get an INTERNAL SERVER ERROR when I attempt to use it. I have triple checked my edits and everything seems copacetic. I made sure that I uploaded the files using ASCII mode. I have to edit all of my php files and add the following to the top, but that doesn't seem to be it in this instance:
#!/usr/bin/php
<?php
I made sure everything was 777. I just don't know how to debug this. The error message is useless, so I don't know where to start to debug. Does anyone have any ideas?

At the bottom of the error message is the following:
"Apache/1.3.12 Server" so I assume it's a unix box. I get the same error if I go directly to the upload.php or the upload_file.php.
Reply With Quote
  #24  
Old 12-25-2000, 09:45 PM
Guest
 
Posts: n/a
Default

This hack is really messed. I've been trying forever to set it up. It's not sripted right or something, or the version that JimF uploaded is missing some coding inside.

But I'm not going to care about it, a GOOD version of it will come out with the vBulletin version 2.0

Fred Salari
Reply With Quote
  #25  
Old 01-01-2001, 12:50 PM
Guest
 
Posts: n/a
Default

Not support Arabic .

becaus it is save the file that i upload as :

nomber&username&filename

And the server well not read Arabic letters becaus our user name in Arabic .


Can we change something in file upload_file.php to let it save the file that i upload As :

nomber&usernomber(serialNo)&file name ?


I hope that ..




Thank you ,,,

[Edited by dellow on 01-01-2001 at 09:52 AM]
Reply With Quote
  #26  
Old 01-07-2001, 03:28 AM
Guest
 
Posts: n/a
Default

Churchi , did you ever get your error resolved , I'm getting that error as well. If you did can you tell me how. Thanks
Reply With Quote
Reply

Thread Tools

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 01:04 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.10526 seconds
  • Memory Usage 2,230KB
  • Queries Executed 22 (?)
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
  • (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
  • (2)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)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_postinfo_query
  • fetch_postinfo
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete