Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 8.0
Author Message
ChadRT
New Member
New Member



Joined: Mar 02, 2006
Posts: 7

PostPosted: Sun Jul 22, 2007 9:45 pm Reply with quote

I have been making a lot of modifications to the profiles section for an upcomming major change. I am near completion only having one mod left to complete. I found a lot of great scripts out there for uploading photo's but this particular one is really it automatically resizes the photo unless it is already smaller than the required size. And it will limit size so I decided to try my hand at incorporating this script. I have done ok with it I ironed out the bugs that were making the whole screen go white and I have converted the form portion to an all PHP instead of using php tags within for the variables. But when I click on the Upload button it does nothing but die rather abruptly. I think it is a problem in passing variables. If someone could look it over that would be great.

Link to script:
Only registered users can see links on this board! Get registered or login!

There are three major sections to this script the first is the uploader code and I have placed that in a custom function within the Your_Account index.php code and the second is the html and the third is a function that this script relys on. I added that function and the main script into my Your_Account function and I placed my rewritten form into there as well. I need to know how the "case" should look. If someone could help me out that would be great and I think I may need to change how the script receives the "POST" information from the form and the "case". Thank you...

My current case:
Code:
case "editphoto":

    editphoto($MAX_FILE_SIZE, $imgfile);
    break;


But I am sure that is not correct.
 
View user's profile Send private message
ChadRT







PostPosted: Sun Jul 22, 2007 11:53 pm Reply with quote

I just read some post by Evaders I didnt realize that you all had the mods as NukeResources site. I have double posted I hope no one gets upset that I posted the same thing at two sites. Wink
 
ChadRT







PostPosted: Fri Jul 27, 2007 6:25 pm Reply with quote

I am really desperate here I have tried just about everything I could think of. I am ready to beg here and no wants a grown man to beg. lol
 
Gremmie
Former Moderator in Good Standing



Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Fri Jul 27, 2007 6:49 pm Reply with quote

Well just some general debugging advice. Turn on error reporting and check your error logs. That may help you find the problem.

_________________
Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 8.0

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©