| Author |
Message |
ChadRT New Member


Joined: Mar 02, 2006 Posts: 7
|
Posted:
Wed Jul 25, 2007 1:52 am |
|
I have already posted about this and I guess that after a few days with out a single response at the I think 5 sites means that I will have to seek alternative means of getting my module built. If someone could give me a quote to fix my module that I have started I would be most appreciative of this.
My module is supposed to give control to every user of my site to manage a single photo. This photo is used in my new profile layout that is meant to accompany information about Amateur Radio Operators. Here is the new layout I have simply added fields and picture display to the site. that is the new display. The only thing I have left to do is complete the picture manager module I have named ProPhoto or Profile Photo it can already show the pic if one exists if not put a placeholder in instead. It can delete the photo and its db entry but it cannot accept an upload.
I dont care if you use the current scripting or if you use new scripting but it has to follow the guidelines below. The current problems are that it doesnt take the upload and that it doesnt display the blocks on the right hand side properly. It shoves them to the top of the screen if I am going to pay for this it must be able to include() the navbar.php found in the Your_Account area.
Requirements:
=> Resize on Upload to less than 250 wide.
=> Maintain Aspect Ratio
=> If current size is less than or equal to above no resize is done
=> Right Side Blocks must be displayed properly
=> Final file name must be in this format - user_id-username.jpg like 2-Chad.jpg
=> It must add the final filename to the database field user_photo in users
=> Uploads to "images/userphotos/"
Most of the code is already there I have used the included script outside of PHP-Nuke and it does what I want but it is just acting weird and knowing my luck there are only two or three lines that need to be changed but I am sort of at a stopping point here so any quotes that you may have would be great.
Chad Taylor
Please use the messaging system here and if you need to talk I will PM you my email address or I can call you, you can call me toll-free number provided.
Original Code:
My module:
|
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 7481 Location: Arizona
|
Posted:
Mon Aug 06, 2007 10:23 pm |
|
|
|
 |
Loki Moderator

Joined: Oct 05, 2003 Posts: 102 Location: Illinois
|
Posted:
Mon Nov 12, 2007 3:51 pm |
|
ok let me get this straight. You are wanting to allow the ability to add your users own personal profile image to their profile correct? Why dont you just use or modify the profile photo mod which does exactly that?
I have a version converted to platinum if you want to look at it, maybe it might help you get to what you want.
look for the Photo in Profile Mod. |
|
|
|
 |
Guardian2003 Site Admin

Joined: Aug 28, 2003 Posts: 4856
|
Posted:
Mon Nov 12, 2007 4:31 pm |
|
Unless you trust all those that have the facility to upload their picture/photo then you really must get the script to randomise the file name to help prevent possible XSS attacks. |
|
|
|
 |
Loki Moderator

Joined: Oct 05, 2003 Posts: 102 Location: Illinois
|
Posted:
Mon Nov 12, 2007 10:41 pm |
|
yes that is true but his does not have that option either so I guess it just depends on what your willing to risk. I doubt he will find someone to take on that project, but a premade mod that he could modify might be a more viable option. |
|
|
|
 |
|
|
|
|