![]() |
could someone help me. when i upload a picture. it says that it uploaded it but i cannot find the file. i have the upload path settings correct but it still wont work.. here is my code
Quote:
|
also it seems it wont let me upload .gif files.
Quote:
|
At first glance.. I cannot actually tell why it won't upload or it uploads but you can find it..
I take it your public_html folder is your root web folder, and inside that folder is some vb files, like index.php, member.php, register.php and that inside that is your admin, mod, images folder.. and inside the images folder is the uploaded folder.. which is set to chmod @ 777.. and you have your actual username.. or account name instead of username in this next lines username area.. $path = "/home/username/public_html/images/uploaded"; IF so.. then I am not for sure.. it does not show up at all anywhere on the server.. does the script find it? Like after it refreshes.. does it show the image, or a small box with a Red X in it? Also on the second question you asked.. there is one more section.. that needs to be changed.. to be able to use gif... which is on line. 307.. that reads and looks like this. PHP Code:
just reply either way.. so I know and if it does not.. we can take it another step :) |
Hi,
i had problems with this hack. Upload went well but for heavens sake :) the photos weren?t shown in the profiles of my users. After testing eveything (chmod, paths ..) teh solution for my problem was the following: I took the second solution for the getinfo-template from the html-filechangesfile: Edit to this template: getinfo And add these two variables: Original (no Fotos): PHP Code:
PHP Code:
Hope it helps ... but i have one last question for this hack: Is it possible to define a standard-pic (f.e. nofoto.jpg) for users that havn?t uploaded their photo yet? joergh |
Glad that way works for ya... interesting... never really tried it that way. :)
and yes... I know a couple of people that added a no photo for those users that don't have a photo.. in your template named : photo_unknown it says this "Sorry, No Photo Available" just change that to have an image instead of saying text.. like <img src="images/nophoto.jpg"> or something like that.. |
thanks for the help. i am now able to show the image, which it only showed a box with a red x in it before. but i still cant get it to upload .gif files it gives me a erroe saying its not one of the correct files extensions.
|
Here is the code I have in my script..
PHP Code:
but maybe instead of being && .. && make it OR.. like this PHP Code:
|
umm ok i try that aswell and it still does not seems to want to wrok so i got the upload.php file and if you could take a quick look and see if their is anything wrond that would help out alot.
|
Yah forgot to change what I said above..
but that is ok.. you were suppose to uncomment this line: PHP Code:
but I attached it again so see if this new one works :) |
thats alot this really help. to bad i cant think or i would have figured it out:rolleyes:
|
All times are GMT. The time now is 06:18 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|