The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Image Hosting Script
Hello guys. I am still learning PHP but this is what I want someone to do for me:
I would like a script done in PHP that would tie along with my HTML script with the file form. A great example would be http://www.imageshack.us . I would like to allow anyone to visit my site and have them upload a jpg, gif, png, psd, and bmp image. And then in return give them the link to their picture, a forum link [IMG] [/IMG], and HTML link. If someone could do that or at least help me code one over AOL Instant Messenger, that would be good. If this type of request is not allowed on this board, please tell me for future reference. |
#2
|
|||
|
|||
I haven't looked into image uploading yet (I'd be more interested in the thumbnail creation actually) so it would be great if anyone could post what they know about it.
|
#3
|
|||
|
|||
Quote:
I still want an Image Hosting script. Anyone? |
#4
|
||||
|
||||
Like i said, before, you can't come here and expect someone to code an entire hack for you, well, unless one of the coders is willing to.. you should at the Modification Requests forum, or unless you are willing to pay, in which case, you should look at the Service Requests forum. However, you can always ask for advice around here. There are always people willing to help.
Here are my tips: 1. Look into file upload via PHP. 2. Tie your script with vBulletin for easy thumbnail creation, since the functionality is already there. You just need to tweak it to suit your needs. Check the includes/functions_image.php file. |
#5
|
|||
|
|||
<a href="https://vborg.vbsupport.ru/showthread.php?t=69088" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=69088</a>
Doesn't contain the thumbnailing, but it has some pretty clean code that is easy to read if you're interested. |
#6
|
|||
|
|||
Quote:
PHP Code:
Could not copy And here is the error I get with a .jpg: Not an image file (Divine.jpg) Does anyone know how I could fix this? I wrote the image/jpg all the way to png myself from just looking at the code and changing the /gif to my desire. EDIT: I dont want a vB hack. I am talking about a real script for a site. Not forums. |
#7
|
||||
|
||||
make sure the folder exists and is world-writable (chmod 777). Also, use the move_uploaded_file function instead of copy.
|
#8
|
|||
|
|||
Quote:
|
#9
|
|||
|
|||
my suggestion, use the search button, there has been some made already, if not what your looking for, then you will have to pay someone most likely
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|