NukeXchange Network

          

Nuke Sites Link Directory
Nuke Fixes · NukeForums · NukeZone Hosting · NukeUnited · Nuke Sites · Nuke Skins · NukeLance
Nuke Resources
 :: Home  :: Downloads  :: Your Account  :: Forums  :: Advertise :: 
Login or Register
Main Menu
General
 Main
 AvantGo
 Banner_Clients
 cfaq
 Donations
 Downloads
 Forums
 Members_List
 Private_Messages
 Search
 Stories_Archive
 Submit_News
 Surveys
 Topics
 Web_Links
 Your_Account

Your Account
 Login
 Register
 Lost Pass

Modules
Quick Links
· CMS Focus
· Domain Names
. Game Quest
· Learning Linux
. MateMaker
· NukeFixes
· NukeForums
· NukeLance
· Nuke Sites
· Nuke Skins
· NukeZone Hosting
. SearchDevil
Other Options

Download Resources
· Nuke Downloads
· Add a Link
· New Files
· Top Rated
· Most Popular

Web Site Resources
· Nuke Sites
· Add A Site
· New Sites
· Top Rated
· Most Popular

Support
· NukeZone Hosting
· NukeSkins.com
· NukeForums.com
· phpnuke.org
· NukeFixes.com
Information
NukeForums
·decompressing EN-Book-Nuke.tar.tar
·How to allow spaces/gaps/"-" in allowed usernames
·How to Setup PHPNUKE on win2k
·cannot save changes
·voting?
·Nuke forum picture problem
·How to change smtp port on wampserver and windows
·yet another 301 redirect problem
·Image display? - newbie
·php nuke help

read more...
Top10 Links
· 1: Nuke Forums
· 2: PHPNukeFiles
· 3: NukeSkins
· 4: Nuke Templates
· 5: EcomJunk
· 6: MDesign
· 7: Windows Installation: PHP
· 8: FLASH-FOR-NUKE
· 9: Dezina
· 10: Global Dream News Sharing Portal!
Site Visitors
User Login:

Nickname:
Password:
Security Code: Security Code
Type Security Code Here:

Members List Membership:
Latest: GiLli
Today: 2
Yesterday: 1
Overall: 15104

Visitation:
Guests: 542
Members: 0
Total: 542


You are Anonymous user. You can register for free by clicking here
Sponsor Links
php-Nuke Themes and Templates
php-Nuke Themes and Templates

NukeResources :: View topic - Adding photo upload capbility to PHP-Nuke in a module
NukeResources Forum Index

NukeResources Forum Index -> Upgrading PHP-Nuke -> Adding photo upload capbility to PHP-Nuke in a module
Post new topic  Reply to topic    View previous topic :: View next topic 
Adding photo upload capbility to PHP-Nuke in a module
PostPosted: Sun Jul 22, 2007 6:59 pm Reply with quote
chadrt
Resource Seeker
Resource Seeker
 
Joined: Feb 16, 2006
Posts: 14




This is the final step to my profile modifications system. What I am trying to do here is make it so that each member can upload a photo for the purpose of having it in their profile. I have found and tested several little scripts that are capable of doing what I want but this particular script has a lot of little features that I found be desireable. Like image resizing and detection of the of the current size so if it is already below the max size reqirements it wont bother to resize. Plus max file size makes this one the best. I have tried to incorporate it into a function within the Your_Account main index.php file but alas I am having dificulty.

The script is conveniently located on the web:
http://www.blazonry.com/scripting/upload-size.phps

I dropped the function at the end and the main portion of the scrip into a function I am building in index.php then I rewrote the submit form in pure php so it wouldnt blank out the page. For all intense purposes it should work but it doesent it dose nothing but die after you try and submit a picture.

My Site:
http://callsigndb.info

Code:
case "editphoto":
    editphoto($MAX_FILE_SIZE, $imgfile);
    break;
View user's profile Send private message
PostPosted: Tue Jul 24, 2007 8:28 am Reply with quote
chadrt
Resource Seeker
Resource Seeker
 
Joined: Feb 16, 2006
Posts: 14




I decided to try and load it into a module of its own so as not to mess with Your_Account. I have messed that up enough but I will deal with that in another post. So here goes.

I have made the module index.php file and my layout is good except for the placement of the blocks on the right hand side are even with the top of the screen that is weird. But I will just dissable those. I have saved the file as a text file here http://callsigndb.info/external/index.txt to show you exactly what my code is. There are references to a couple fields I added to nuke db myself. The code for the upload is not dependant on those though not now anyway. All I need is for it to upload the file and the final stored file name to be $photoname and this will be ready. But when you try and upload a photo it exits rather abruptly and I dont know why. I have tried everything I can think of. Any help would be so greatly appreciated...
View user's profile Send private message
Sorry no help, but
PostPosted: Wed Dec 12, 2007 10:33 am Reply with quote
gregb49
Resource Seeker
Resource Seeker
 
Joined: Dec 12, 2007
Posts: 3




I am interested in your module. Have you managed to make any progress? Greg
View user's profile Send private message
Adding photo upload capbility to PHP-Nuke in a module
 NukeResources Forum Index -> Upgrading PHP-Nuke
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
All times are GMT - 4 Hours  
Page 1 of 1  

  
  
 Post new topic  Reply to topic     



Powered by phpBB © 2001-2005 phpBB Group.     Theme created by Vjacheslav Trushkin.
There have been 133 unique hit(s) in the past 24 hours.
Forums ©
NukeZone Hosting - Fast, Affordable and Dependable


Best viewed with a Browser
All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2001 - 2007 by NukeResources.com
You can syndicate our news using the file .backend.php or ultramode.txt
PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 1.44 Seconds

:: Eos phpbb2 style by Cyberalien :: PHP-Nuke theme by www.nukemods.com ::